sass.dart.js 4.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404
  1. exports.load = function(_cli_pkg_requires) {
  2. // make sure to keep this as 'var'
  3. // we don't want block scoping
  4. var dartNodePreambleSelf = typeof global !== "undefined" ? global : window;
  5. var self = Object.create(dartNodePreambleSelf);
  6. self.scheduleImmediate = typeof setImmediate !== "undefined"
  7. ? function (cb) {
  8. setImmediate(cb);
  9. }
  10. : function(cb) {
  11. setTimeout(cb, 0);
  12. };
  13. // CommonJS globals.
  14. self.exports = exports;
  15. // Node.js specific exports, check to see if they exist & or polyfilled
  16. if (typeof process !== "undefined") {
  17. self.process = process;
  18. }
  19. if (typeof __dirname !== "undefined") {
  20. self.__dirname = __dirname;
  21. }
  22. if (typeof __filename !== "undefined") {
  23. self.__filename = __filename;
  24. }
  25. if (typeof Buffer !== "undefined") {
  26. self.Buffer = Buffer;
  27. }
  28. // if we're running in a browser, Dart supports most of this out of box
  29. // make sure we only run these in Node.js environment
  30. var dartNodeIsActuallyNode = !dartNodePreambleSelf.window
  31. try {
  32. // Check if we're in a Web Worker instead.
  33. if ("undefined" !== typeof WorkerGlobalScope && dartNodePreambleSelf instanceof WorkerGlobalScope) {
  34. dartNodeIsActuallyNode = false;
  35. }
  36. // Check if we're in Electron, with Node.js integration, and override if true.
  37. if ("undefined" !== typeof process && process.versions && process.versions.hasOwnProperty('electron') && process.versions.hasOwnProperty('node')) {
  38. dartNodeIsActuallyNode = true;
  39. }
  40. } catch(e) {}
  41. if (dartNodeIsActuallyNode) {
  42. // This line is to:
  43. // 1) Prevent Webpack from bundling.
  44. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  45. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  46. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  47. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  48. // as a property instead to be safe.
  49. Object.defineProperty(self, "location", {
  50. value: {
  51. get href() {
  52. if (url.pathToFileURL) {
  53. return url.pathToFileURL(process.cwd()).href + "/";
  54. } else {
  55. // This isn't really a correct transformation, but it's the best we have
  56. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  57. // For example, it will fail for paths that contain characters that need
  58. // to be escaped in URLs.
  59. return "file://" + (function() {
  60. var cwd = process.cwd();
  61. if (process.platform != "win32") return cwd;
  62. return "/" + cwd.replace(/\\/g, "/");
  63. })() + "/"
  64. }
  65. }
  66. }
  67. });
  68. (function() {
  69. function computeCurrentScript() {
  70. try {
  71. throw new Error();
  72. } catch(e) {
  73. var stack = e.stack;
  74. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  75. var lastMatch = null;
  76. do {
  77. var match = re.exec(stack);
  78. if (match != null) lastMatch = match;
  79. } while (match != null);
  80. return lastMatch[1];
  81. }
  82. }
  83. // Setting `self.document=` isn't known to throw an error anywhere like
  84. // `self.location=` does on Electron, but it's better to be future-proof
  85. // just in case..
  86. var cachedCurrentScript = null;
  87. Object.defineProperty(self, "document", {
  88. value: {
  89. get currentScript() {
  90. if (cachedCurrentScript == null) {
  91. cachedCurrentScript = {src: computeCurrentScript()};
  92. }
  93. return cachedCurrentScript;
  94. }
  95. }
  96. });
  97. })();
  98. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  99. try {
  100. load(uri);
  101. successCallback();
  102. } catch (error) {
  103. errorCallback(error);
  104. }
  105. };
  106. }
  107. self.util = require("util");
  108. self.immutable = require("immutable");
  109. self.fs = require("fs");
  110. self.chokidar = _cli_pkg_requires.chokidar;
  111. self.readline = _cli_pkg_requires.readline;
  112. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, deferred-serialization, csp), the Dart to JavaScript compiler version: 2.18.4.
  113. // The code supports the following hooks:
  114. // dartPrint(message):
  115. // if this function is defined it is called instead of the Dart [print]
  116. // method.
  117. //
  118. // dartMainRunner(main, args):
  119. // if this function is defined, the Dart [main] method will not be invoked
  120. // directly. Instead, a closure that will invoke [main], and its arguments
  121. // [args] is passed to [dartMainRunner].
  122. //
  123. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId):
  124. // if this function is defined, it will be called when a deferred library
  125. // is loaded. It should load and eval the javascript of `uri`, and call
  126. // successCallback. If it fails to do so, it should call errorCallback with
  127. // an error. The loadId argument is the deferred import that resulted in
  128. // this uri being loaded.
  129. //
  130. // dartCallInstrumentation(id, qualifiedName):
  131. // if this function is defined, it will be called at each entry of a
  132. // method or constructor. Used only when compiling programs with
  133. // --experiment-call-instrumentation.
  134. (function dartProgram() {
  135. function copyProperties(from, to) {
  136. var keys = Object.keys(from);
  137. for (var i = 0; i < keys.length; i++) {
  138. var key = keys[i];
  139. to[key] = from[key];
  140. }
  141. }
  142. function mixinPropertiesHard(from, to) {
  143. var keys = Object.keys(from);
  144. for (var i = 0; i < keys.length; i++) {
  145. var key = keys[i];
  146. if (!to.hasOwnProperty(key))
  147. to[key] = from[key];
  148. }
  149. }
  150. function mixinPropertiesEasy(from, to) {
  151. Object.assign(to, from);
  152. }
  153. var supportsDirectProtoAccess = function() {
  154. var cls = function() {
  155. };
  156. cls.prototype = {p: {}};
  157. var object = new cls();
  158. if (!(object.__proto__ && object.__proto__.p === cls.prototype.p))
  159. return false;
  160. try {
  161. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  162. return true;
  163. if (typeof version == "function" && version.length == 0) {
  164. var v = version();
  165. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  166. return true;
  167. }
  168. } catch (_) {
  169. }
  170. return false;
  171. }();
  172. function inherit(cls, sup) {
  173. cls.prototype.constructor = cls;
  174. cls.prototype["$is" + cls.name] = cls;
  175. if (sup != null) {
  176. if (supportsDirectProtoAccess) {
  177. cls.prototype.__proto__ = sup.prototype;
  178. return;
  179. }
  180. var clsPrototype = Object.create(sup.prototype);
  181. copyProperties(cls.prototype, clsPrototype);
  182. cls.prototype = clsPrototype;
  183. }
  184. }
  185. function inheritMany(sup, classes) {
  186. for (var i = 0; i < classes.length; i++)
  187. inherit(classes[i], sup);
  188. }
  189. function mixinEasy(cls, mixin) {
  190. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  191. cls.prototype.constructor = cls;
  192. }
  193. function mixinHard(cls, mixin) {
  194. mixinPropertiesHard(mixin.prototype, cls.prototype);
  195. cls.prototype.constructor = cls;
  196. }
  197. function lazyOld(holder, name, getterName, initializer) {
  198. var uninitializedSentinel = holder;
  199. holder[name] = uninitializedSentinel;
  200. holder[getterName] = function() {
  201. holder[getterName] = function() {
  202. A.throwCyclicInit(name);
  203. };
  204. var result;
  205. var sentinelInProgress = initializer;
  206. try {
  207. if (holder[name] === uninitializedSentinel) {
  208. result = holder[name] = sentinelInProgress;
  209. result = holder[name] = initializer();
  210. } else
  211. result = holder[name];
  212. } finally {
  213. if (result === sentinelInProgress)
  214. holder[name] = null;
  215. holder[getterName] = function() {
  216. return this[name];
  217. };
  218. }
  219. return result;
  220. };
  221. }
  222. function lazy(holder, name, getterName, initializer) {
  223. var uninitializedSentinel = holder;
  224. holder[name] = uninitializedSentinel;
  225. holder[getterName] = function() {
  226. if (holder[name] === uninitializedSentinel)
  227. holder[name] = initializer();
  228. holder[getterName] = function() {
  229. return this[name];
  230. };
  231. return holder[name];
  232. };
  233. }
  234. function lazyFinal(holder, name, getterName, initializer) {
  235. var uninitializedSentinel = holder;
  236. holder[name] = uninitializedSentinel;
  237. holder[getterName] = function() {
  238. if (holder[name] === uninitializedSentinel) {
  239. var value = initializer();
  240. if (holder[name] !== uninitializedSentinel)
  241. A.throwLateFieldADI(name);
  242. holder[name] = value;
  243. }
  244. var finalValue = holder[name];
  245. holder[getterName] = function() {
  246. return finalValue;
  247. };
  248. return finalValue;
  249. };
  250. }
  251. function makeConstList(list) {
  252. list.immutable$list = Array;
  253. list.fixed$length = Array;
  254. return list;
  255. }
  256. function convertToFastObject(properties) {
  257. function t() {
  258. }
  259. t.prototype = properties;
  260. new t();
  261. return properties;
  262. }
  263. function convertAllToFastObject(arrayOfObjects) {
  264. for (var i = 0; i < arrayOfObjects.length; ++i)
  265. convertToFastObject(arrayOfObjects[i]);
  266. }
  267. var functionCounter = 0;
  268. function instanceTearOffGetter(isIntercepted, parameters) {
  269. var cache = null;
  270. return isIntercepted ? function(receiver) {
  271. if (cache === null)
  272. cache = A.closureFromTearOff(parameters);
  273. return new cache(receiver, this);
  274. } : function() {
  275. if (cache === null)
  276. cache = A.closureFromTearOff(parameters);
  277. return new cache(this, null);
  278. };
  279. }
  280. function staticTearOffGetter(parameters) {
  281. var cache = null;
  282. return function() {
  283. if (cache === null)
  284. cache = A.closureFromTearOff(parameters).prototype;
  285. return cache;
  286. };
  287. }
  288. var typesOffset = 0;
  289. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  290. if (typeof funType == "number")
  291. funType += typesOffset;
  292. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  293. }
  294. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  295. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  296. var getterFunction = staticTearOffGetter(parameters);
  297. holder[getterName] = getterFunction;
  298. }
  299. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  300. isIntercepted = !!isIntercepted;
  301. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  302. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  303. prototype[getterName] = getterFunction;
  304. }
  305. function setOrUpdateInterceptorsByTag(newTags) {
  306. var tags = init.interceptorsByTag;
  307. if (!tags) {
  308. init.interceptorsByTag = newTags;
  309. return;
  310. }
  311. copyProperties(newTags, tags);
  312. }
  313. function setOrUpdateLeafTags(newTags) {
  314. var tags = init.leafTags;
  315. if (!tags) {
  316. init.leafTags = newTags;
  317. return;
  318. }
  319. copyProperties(newTags, tags);
  320. }
  321. function updateTypes(newTypes) {
  322. var types = init.types;
  323. var length = types.length;
  324. types.push.apply(types, newTypes);
  325. return length;
  326. }
  327. function updateHolder(holder, newHolder) {
  328. copyProperties(newHolder, holder);
  329. return holder;
  330. }
  331. var hunkHelpers = function() {
  332. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  333. return function(container, getterName, name, funType) {
  334. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  335. };
  336. },
  337. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  338. return function(container, getterName, name, funType) {
  339. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  340. };
  341. };
  342. 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};
  343. }();
  344. function initializeDeferredHunk(hunk) {
  345. typesOffset = init.types.length;
  346. hunk(hunkHelpers, init, holders, $);
  347. }
  348. var A = {JS_CONST: function JS_CONST() {
  349. },
  350. CastIterable_CastIterable(source, $S, $T) {
  351. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  352. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  353. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  354. },
  355. LateError$fieldADI(fieldName) {
  356. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  357. },
  358. LateError$fieldNI(fieldName) {
  359. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  360. },
  361. LateError$localNI(localName) {
  362. return new A.LateError("Local '" + localName + "' has not been initialized.");
  363. },
  364. LateError$fieldAI(fieldName) {
  365. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  366. },
  367. hexDigitValue(char) {
  368. var letter,
  369. digit = char ^ 48;
  370. if (digit <= 9)
  371. return digit;
  372. letter = char | 32;
  373. if (97 <= letter && letter <= 102)
  374. return letter - 87;
  375. return -1;
  376. },
  377. SystemHash_combine(hash, value) {
  378. hash = hash + value & 536870911;
  379. hash = hash + ((hash & 524287) << 10) & 536870911;
  380. return hash ^ hash >>> 6;
  381. },
  382. SystemHash_finish(hash) {
  383. hash = hash + ((hash & 67108863) << 3) & 536870911;
  384. hash ^= hash >>> 11;
  385. return hash + ((hash & 16383) << 15) & 536870911;
  386. },
  387. checkNotNullable(value, $name, $T) {
  388. return value;
  389. },
  390. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  391. A.RangeError_checkNotNegative(_start, "start");
  392. if (_endOrLength != null) {
  393. A.RangeError_checkNotNegative(_endOrLength, "end");
  394. if (_start > _endOrLength)
  395. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  396. }
  397. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  398. },
  399. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  400. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  401. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  402. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  403. },
  404. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  405. var _s9_ = "takeCount";
  406. A.ArgumentError_checkNotNull(takeCount, _s9_);
  407. A.RangeError_checkNotNegative(takeCount, _s9_);
  408. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  409. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  410. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  411. },
  412. SkipIterable_SkipIterable(iterable, count, $E) {
  413. var _s5_ = "count";
  414. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  415. A.ArgumentError_checkNotNull(count, _s5_);
  416. A.RangeError_checkNotNegative(count, _s5_);
  417. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  418. }
  419. A.ArgumentError_checkNotNull(count, _s5_);
  420. A.RangeError_checkNotNegative(count, _s5_);
  421. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  422. },
  423. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  424. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  425. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  426. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  427. },
  428. IterableElementError_noElement() {
  429. return new A.StateError("No element");
  430. },
  431. IterableElementError_tooMany() {
  432. return new A.StateError("Too many elements");
  433. },
  434. IterableElementError_tooFew() {
  435. return new A.StateError("Too few elements");
  436. },
  437. Sort_sort(a, compare) {
  438. A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare);
  439. },
  440. Sort__doSort(a, left, right, compare) {
  441. if (right - left <= 32)
  442. A.Sort__insertionSort(a, left, right, compare);
  443. else
  444. A.Sort__dualPivotQuicksort(a, left, right, compare);
  445. },
  446. Sort__insertionSort(a, left, right, compare) {
  447. var i, t1, el, j, j0;
  448. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  449. el = t1.$index(a, i);
  450. j = i;
  451. while (true) {
  452. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  453. break;
  454. j0 = j - 1;
  455. t1.$indexSet(a, j, t1.$index(a, j0));
  456. j = j0;
  457. }
  458. t1.$indexSet(a, j, el);
  459. }
  460. },
  461. Sort__dualPivotQuicksort(a, left, right, compare) {
  462. var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
  463. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  464. index1 = left + sixth,
  465. index5 = right - sixth,
  466. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  467. index2 = index3 - sixth,
  468. index4 = index3 + sixth,
  469. t1 = J.getInterceptor$asx(a),
  470. el1 = t1.$index(a, index1),
  471. el2 = t1.$index(a, index2),
  472. el3 = t1.$index(a, index3),
  473. el4 = t1.$index(a, index4),
  474. el5 = t1.$index(a, index5);
  475. if (compare.call$2(el1, el2) > 0) {
  476. t0 = el2;
  477. el2 = el1;
  478. el1 = t0;
  479. }
  480. if (compare.call$2(el4, el5) > 0) {
  481. t0 = el5;
  482. el5 = el4;
  483. el4 = t0;
  484. }
  485. if (compare.call$2(el1, el3) > 0) {
  486. t0 = el3;
  487. el3 = el1;
  488. el1 = t0;
  489. }
  490. if (compare.call$2(el2, el3) > 0) {
  491. t0 = el3;
  492. el3 = el2;
  493. el2 = t0;
  494. }
  495. if (compare.call$2(el1, el4) > 0) {
  496. t0 = el4;
  497. el4 = el1;
  498. el1 = t0;
  499. }
  500. if (compare.call$2(el3, el4) > 0) {
  501. t0 = el4;
  502. el4 = el3;
  503. el3 = t0;
  504. }
  505. if (compare.call$2(el2, el5) > 0) {
  506. t0 = el5;
  507. el5 = el2;
  508. el2 = t0;
  509. }
  510. if (compare.call$2(el2, el3) > 0) {
  511. t0 = el3;
  512. el3 = el2;
  513. el2 = t0;
  514. }
  515. if (compare.call$2(el4, el5) > 0) {
  516. t0 = el5;
  517. el5 = el4;
  518. el4 = t0;
  519. }
  520. t1.$indexSet(a, index1, el1);
  521. t1.$indexSet(a, index3, el3);
  522. t1.$indexSet(a, index5, el5);
  523. t1.$indexSet(a, index2, t1.$index(a, left));
  524. t1.$indexSet(a, index4, t1.$index(a, right));
  525. less = left + 1;
  526. great = right - 1;
  527. if (J.$eq$(compare.call$2(el2, el4), 0)) {
  528. for (k = less; k <= great; ++k) {
  529. ak = t1.$index(a, k);
  530. comp = compare.call$2(ak, el2);
  531. if (comp === 0)
  532. continue;
  533. if (comp < 0) {
  534. if (k !== less) {
  535. t1.$indexSet(a, k, t1.$index(a, less));
  536. t1.$indexSet(a, less, ak);
  537. }
  538. ++less;
  539. } else
  540. for (; true;) {
  541. comp = compare.call$2(t1.$index(a, great), el2);
  542. if (comp > 0) {
  543. --great;
  544. continue;
  545. } else {
  546. great0 = great - 1;
  547. if (comp < 0) {
  548. t1.$indexSet(a, k, t1.$index(a, less));
  549. less0 = less + 1;
  550. t1.$indexSet(a, less, t1.$index(a, great));
  551. t1.$indexSet(a, great, ak);
  552. great = great0;
  553. less = less0;
  554. break;
  555. } else {
  556. t1.$indexSet(a, k, t1.$index(a, great));
  557. t1.$indexSet(a, great, ak);
  558. great = great0;
  559. break;
  560. }
  561. }
  562. }
  563. }
  564. pivots_are_equal = true;
  565. } else {
  566. for (k = less; k <= great; ++k) {
  567. ak = t1.$index(a, k);
  568. if (compare.call$2(ak, el2) < 0) {
  569. if (k !== less) {
  570. t1.$indexSet(a, k, t1.$index(a, less));
  571. t1.$indexSet(a, less, ak);
  572. }
  573. ++less;
  574. } else if (compare.call$2(ak, el4) > 0)
  575. for (; true;)
  576. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  577. --great;
  578. if (great < k)
  579. break;
  580. continue;
  581. } else {
  582. great0 = great - 1;
  583. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  584. t1.$indexSet(a, k, t1.$index(a, less));
  585. less0 = less + 1;
  586. t1.$indexSet(a, less, t1.$index(a, great));
  587. t1.$indexSet(a, great, ak);
  588. less = less0;
  589. } else {
  590. t1.$indexSet(a, k, t1.$index(a, great));
  591. t1.$indexSet(a, great, ak);
  592. }
  593. great = great0;
  594. break;
  595. }
  596. }
  597. pivots_are_equal = false;
  598. }
  599. t2 = less - 1;
  600. t1.$indexSet(a, left, t1.$index(a, t2));
  601. t1.$indexSet(a, t2, el2);
  602. t2 = great + 1;
  603. t1.$indexSet(a, right, t1.$index(a, t2));
  604. t1.$indexSet(a, t2, el4);
  605. A.Sort__doSort(a, left, less - 2, compare);
  606. A.Sort__doSort(a, great + 2, right, compare);
  607. if (pivots_are_equal)
  608. return;
  609. if (less < index1 && great > index5) {
  610. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  611. ++less;
  612. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  613. --great;
  614. for (k = less; k <= great; ++k) {
  615. ak = t1.$index(a, k);
  616. if (compare.call$2(ak, el2) === 0) {
  617. if (k !== less) {
  618. t1.$indexSet(a, k, t1.$index(a, less));
  619. t1.$indexSet(a, less, ak);
  620. }
  621. ++less;
  622. } else if (compare.call$2(ak, el4) === 0)
  623. for (; true;)
  624. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  625. --great;
  626. if (great < k)
  627. break;
  628. continue;
  629. } else {
  630. great0 = great - 1;
  631. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  632. t1.$indexSet(a, k, t1.$index(a, less));
  633. less0 = less + 1;
  634. t1.$indexSet(a, less, t1.$index(a, great));
  635. t1.$indexSet(a, great, ak);
  636. less = less0;
  637. } else {
  638. t1.$indexSet(a, k, t1.$index(a, great));
  639. t1.$indexSet(a, great, ak);
  640. }
  641. great = great0;
  642. break;
  643. }
  644. }
  645. A.Sort__doSort(a, less, great, compare);
  646. } else
  647. A.Sort__doSort(a, less, great, compare);
  648. },
  649. _CastIterableBase: function _CastIterableBase() {
  650. },
  651. CastIterator: function CastIterator(t0, t1) {
  652. this._source = t0;
  653. this.$ti = t1;
  654. },
  655. CastIterable: function CastIterable(t0, t1) {
  656. this._source = t0;
  657. this.$ti = t1;
  658. },
  659. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  660. this._source = t0;
  661. this.$ti = t1;
  662. },
  663. _CastListBase: function _CastListBase() {
  664. },
  665. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  666. this.$this = t0;
  667. this.compare = t1;
  668. },
  669. CastList: function CastList(t0, t1) {
  670. this._source = t0;
  671. this.$ti = t1;
  672. },
  673. CastSet: function CastSet(t0, t1, t2) {
  674. this._source = t0;
  675. this._emptySet = t1;
  676. this.$ti = t2;
  677. },
  678. CastMap: function CastMap(t0, t1) {
  679. this._source = t0;
  680. this.$ti = t1;
  681. },
  682. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  683. this.$this = t0;
  684. this.f = t1;
  685. },
  686. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  687. this.$this = t0;
  688. },
  689. LateError: function LateError(t0) {
  690. this._message = t0;
  691. },
  692. CodeUnits: function CodeUnits(t0) {
  693. this.__internal$_string = t0;
  694. },
  695. nullFuture_closure: function nullFuture_closure() {
  696. },
  697. SentinelValue: function SentinelValue() {
  698. },
  699. EfficientLengthIterable: function EfficientLengthIterable() {
  700. },
  701. ListIterable: function ListIterable() {
  702. },
  703. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  704. var _ = this;
  705. _.__internal$_iterable = t0;
  706. _.__internal$_start = t1;
  707. _._endOrLength = t2;
  708. _.$ti = t3;
  709. },
  710. ListIterator: function ListIterator(t0, t1) {
  711. var _ = this;
  712. _.__internal$_iterable = t0;
  713. _.__internal$_length = t1;
  714. _.__internal$_index = 0;
  715. _.__internal$_current = null;
  716. },
  717. MappedIterable: function MappedIterable(t0, t1, t2) {
  718. this.__internal$_iterable = t0;
  719. this._f = t1;
  720. this.$ti = t2;
  721. },
  722. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  723. this.__internal$_iterable = t0;
  724. this._f = t1;
  725. this.$ti = t2;
  726. },
  727. MappedIterator: function MappedIterator(t0, t1) {
  728. this.__internal$_current = null;
  729. this._iterator = t0;
  730. this._f = t1;
  731. },
  732. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  733. this._source = t0;
  734. this._f = t1;
  735. this.$ti = t2;
  736. },
  737. WhereIterable: function WhereIterable(t0, t1, t2) {
  738. this.__internal$_iterable = t0;
  739. this._f = t1;
  740. this.$ti = t2;
  741. },
  742. WhereIterator: function WhereIterator(t0, t1) {
  743. this._iterator = t0;
  744. this._f = t1;
  745. },
  746. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  747. this.__internal$_iterable = t0;
  748. this._f = t1;
  749. this.$ti = t2;
  750. },
  751. ExpandIterator: function ExpandIterator(t0, t1, t2) {
  752. var _ = this;
  753. _._iterator = t0;
  754. _._f = t1;
  755. _._currentExpansion = t2;
  756. _.__internal$_current = null;
  757. },
  758. TakeIterable: function TakeIterable(t0, t1, t2) {
  759. this.__internal$_iterable = t0;
  760. this._takeCount = t1;
  761. this.$ti = t2;
  762. },
  763. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  764. this.__internal$_iterable = t0;
  765. this._takeCount = t1;
  766. this.$ti = t2;
  767. },
  768. TakeIterator: function TakeIterator(t0, t1) {
  769. this._iterator = t0;
  770. this._remaining = t1;
  771. },
  772. SkipIterable: function SkipIterable(t0, t1, t2) {
  773. this.__internal$_iterable = t0;
  774. this._skipCount = t1;
  775. this.$ti = t2;
  776. },
  777. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  778. this.__internal$_iterable = t0;
  779. this._skipCount = t1;
  780. this.$ti = t2;
  781. },
  782. SkipIterator: function SkipIterator(t0, t1) {
  783. this._iterator = t0;
  784. this._skipCount = t1;
  785. },
  786. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  787. this.__internal$_iterable = t0;
  788. this._f = t1;
  789. this.$ti = t2;
  790. },
  791. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  792. this._iterator = t0;
  793. this._f = t1;
  794. this._hasSkipped = false;
  795. },
  796. EmptyIterable: function EmptyIterable(t0) {
  797. this.$ti = t0;
  798. },
  799. EmptyIterator: function EmptyIterator() {
  800. },
  801. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  802. this.__internal$_first = t0;
  803. this._second = t1;
  804. this.$ti = t2;
  805. },
  806. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  807. this.__internal$_first = t0;
  808. this._second = t1;
  809. this.$ti = t2;
  810. },
  811. FollowedByIterator: function FollowedByIterator(t0, t1) {
  812. this._currentIterator = t0;
  813. this._nextIterable = t1;
  814. },
  815. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  816. this._source = t0;
  817. this.$ti = t1;
  818. },
  819. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  820. this._source = t0;
  821. this.$ti = t1;
  822. },
  823. FixedLengthListMixin: function FixedLengthListMixin() {
  824. },
  825. UnmodifiableListMixin: function UnmodifiableListMixin() {
  826. },
  827. UnmodifiableListBase: function UnmodifiableListBase() {
  828. },
  829. ReversedListIterable: function ReversedListIterable(t0, t1) {
  830. this._source = t0;
  831. this.$ti = t1;
  832. },
  833. Symbol: function Symbol(t0) {
  834. this.__internal$_name = t0;
  835. },
  836. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  837. },
  838. ConstantMap_ConstantMap$from(other, $K, $V) {
  839. var allStrings, k, object, t2,
  840. keys = A.List_List$from(other.get$keys(other), true, $K),
  841. t1 = keys.length,
  842. _i = 0;
  843. while (true) {
  844. if (!(_i < t1)) {
  845. allStrings = true;
  846. break;
  847. }
  848. k = keys[_i];
  849. if (typeof k != "string" || "__proto__" === k) {
  850. allStrings = false;
  851. break;
  852. }
  853. ++_i;
  854. }
  855. if (allStrings) {
  856. object = {};
  857. for (_i = 0; t2 = keys.length, _i < t2; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  858. k = keys[_i];
  859. object[k] = other.$index(0, k);
  860. }
  861. return new A.ConstantStringMap(t2, object, keys, $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  862. }
  863. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  864. },
  865. ConstantMap__throwUnmodifiable() {
  866. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  867. },
  868. GeneralConstantMap__constantMapHashCode(key) {
  869. if (typeof key == "number")
  870. return B.JSNumber_methods.get$hashCode(key);
  871. if (type$.Symbol._is(key))
  872. return key.get$hashCode(key);
  873. if (type$.Type._is(key))
  874. return A.Primitives_objectHashCode(key);
  875. return A.objectHashCode(key);
  876. },
  877. GeneralConstantMap__typeTest($T) {
  878. return new A.GeneralConstantMap__typeTest_closure($T);
  879. },
  880. instantiate1(f, T1) {
  881. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  882. t1.Instantiation$1(f);
  883. return t1;
  884. },
  885. unminifyOrTag(rawClassName) {
  886. var preserved = init.mangledGlobalNames[rawClassName];
  887. if (preserved != null)
  888. return preserved;
  889. return rawClassName;
  890. },
  891. isJsIndexable(object, record) {
  892. var result;
  893. if (record != null) {
  894. result = record.x;
  895. if (result != null)
  896. return result;
  897. }
  898. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  899. },
  900. S(value) {
  901. var result;
  902. if (typeof value == "string")
  903. return value;
  904. if (typeof value == "number") {
  905. if (value !== 0)
  906. return "" + value;
  907. } else if (true === value)
  908. return "true";
  909. else if (false === value)
  910. return "false";
  911. else if (value == null)
  912. return "null";
  913. result = J.toString$0$(value);
  914. return result;
  915. },
  916. Primitives_objectHashCode(object) {
  917. var hash,
  918. property = $.Primitives__identityHashCodeProperty;
  919. if (property == null)
  920. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  921. hash = object[property];
  922. if (hash == null) {
  923. hash = Math.random() * 0x3fffffff | 0;
  924. object[property] = hash;
  925. }
  926. return hash;
  927. },
  928. Primitives_parseInt(source, radix) {
  929. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  930. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  931. if (match == null)
  932. return _null;
  933. decimalMatch = match[3];
  934. if (radix == null) {
  935. if (decimalMatch != null)
  936. return parseInt(source, 10);
  937. if (match[2] != null)
  938. return parseInt(source, 16);
  939. return _null;
  940. }
  941. if (radix < 2 || radix > 36)
  942. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  943. if (radix === 10 && decimalMatch != null)
  944. return parseInt(source, 10);
  945. if (radix < 10 || decimalMatch == null) {
  946. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  947. digitsPart = match[1];
  948. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  949. if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode)
  950. return _null;
  951. }
  952. return parseInt(source, radix);
  953. },
  954. Primitives_parseDouble(source) {
  955. var result, trimmed;
  956. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  957. return null;
  958. result = parseFloat(source);
  959. if (isNaN(result)) {
  960. trimmed = B.JSString_methods.trim$0(source);
  961. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  962. return result;
  963. return null;
  964. }
  965. return result;
  966. },
  967. Primitives_objectTypeName(object) {
  968. return A.Primitives__objectTypeNameNewRti(object);
  969. },
  970. Primitives__objectTypeNameNewRti(object) {
  971. var interceptor, dispatchName, $constructor, constructorName;
  972. if (object instanceof A.Object)
  973. return A._rtiToString(A.instanceType(object), null);
  974. interceptor = J.getInterceptor$(object);
  975. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  976. dispatchName = B.C_JS_CONST(object);
  977. if (dispatchName !== "Object" && dispatchName !== "")
  978. return dispatchName;
  979. $constructor = object.constructor;
  980. if (typeof $constructor == "function") {
  981. constructorName = $constructor.name;
  982. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  983. return constructorName;
  984. }
  985. }
  986. return A._rtiToString(A.instanceType(object), null);
  987. },
  988. Primitives_currentUri() {
  989. if (!!self.location)
  990. return self.location.href;
  991. return null;
  992. },
  993. Primitives__fromCharCodeApply(array) {
  994. var result, i, i0, chunkEnd,
  995. end = array.length;
  996. if (end <= 500)
  997. return String.fromCharCode.apply(null, array);
  998. for (result = "", i = 0; i < end; i = i0) {
  999. i0 = i + 500;
  1000. chunkEnd = i0 < end ? i0 : end;
  1001. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  1002. }
  1003. return result;
  1004. },
  1005. Primitives_stringFromCodePoints(codePoints) {
  1006. var t1, _i, i,
  1007. a = A._setArrayType([], type$.JSArray_int);
  1008. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1009. i = codePoints[_i];
  1010. if (!A._isInt(i))
  1011. throw A.wrapException(A.argumentErrorValue(i));
  1012. if (i <= 65535)
  1013. a.push(i);
  1014. else if (i <= 1114111) {
  1015. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1016. a.push(56320 + (i & 1023));
  1017. } else
  1018. throw A.wrapException(A.argumentErrorValue(i));
  1019. }
  1020. return A.Primitives__fromCharCodeApply(a);
  1021. },
  1022. Primitives_stringFromCharCodes(charCodes) {
  1023. var t1, _i, i;
  1024. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1025. i = charCodes[_i];
  1026. if (!A._isInt(i))
  1027. throw A.wrapException(A.argumentErrorValue(i));
  1028. if (i < 0)
  1029. throw A.wrapException(A.argumentErrorValue(i));
  1030. if (i > 65535)
  1031. return A.Primitives_stringFromCodePoints(charCodes);
  1032. }
  1033. return A.Primitives__fromCharCodeApply(charCodes);
  1034. },
  1035. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1036. var i, result, i0, chunkEnd;
  1037. if (end <= 500 && start === 0 && end === charCodes.length)
  1038. return String.fromCharCode.apply(null, charCodes);
  1039. for (i = start, result = ""; i < end; i = i0) {
  1040. i0 = i + 500;
  1041. chunkEnd = i0 < end ? i0 : end;
  1042. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1043. }
  1044. return result;
  1045. },
  1046. Primitives_stringFromCharCode(charCode) {
  1047. var bits;
  1048. if (0 <= charCode) {
  1049. if (charCode <= 65535)
  1050. return String.fromCharCode(charCode);
  1051. if (charCode <= 1114111) {
  1052. bits = charCode - 65536;
  1053. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1054. }
  1055. }
  1056. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1057. },
  1058. Primitives_lazyAsJsDate(receiver) {
  1059. if (receiver.date === void 0)
  1060. receiver.date = new Date(receiver._core$_value);
  1061. return receiver.date;
  1062. },
  1063. Primitives_getYear(receiver) {
  1064. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1065. return t1;
  1066. },
  1067. Primitives_getMonth(receiver) {
  1068. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1069. return t1;
  1070. },
  1071. Primitives_getDay(receiver) {
  1072. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1073. return t1;
  1074. },
  1075. Primitives_getHours(receiver) {
  1076. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  1077. return t1;
  1078. },
  1079. Primitives_getMinutes(receiver) {
  1080. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  1081. return t1;
  1082. },
  1083. Primitives_getSeconds(receiver) {
  1084. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  1085. return t1;
  1086. },
  1087. Primitives_getMilliseconds(receiver) {
  1088. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  1089. return t1;
  1090. },
  1091. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  1092. var $arguments, namedArgumentList, t1 = {};
  1093. t1.argumentCount = 0;
  1094. $arguments = [];
  1095. namedArgumentList = [];
  1096. t1.argumentCount = positionalArguments.length;
  1097. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  1098. t1.names = "";
  1099. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1100. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  1101. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  1102. },
  1103. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  1104. var t1, argumentCount, jsStub;
  1105. if (Array.isArray(positionalArguments))
  1106. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  1107. else
  1108. t1 = false;
  1109. if (t1) {
  1110. argumentCount = positionalArguments.length;
  1111. if (argumentCount === 0) {
  1112. if (!!$function.call$0)
  1113. return $function.call$0();
  1114. } else if (argumentCount === 1) {
  1115. if (!!$function.call$1)
  1116. return $function.call$1(positionalArguments[0]);
  1117. } else if (argumentCount === 2) {
  1118. if (!!$function.call$2)
  1119. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  1120. } else if (argumentCount === 3) {
  1121. if (!!$function.call$3)
  1122. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  1123. } else if (argumentCount === 4) {
  1124. if (!!$function.call$4)
  1125. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  1126. } else if (argumentCount === 5)
  1127. if (!!$function.call$5)
  1128. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  1129. jsStub = $function["call" + "$" + argumentCount];
  1130. if (jsStub != null)
  1131. return jsStub.apply($function, positionalArguments);
  1132. }
  1133. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  1134. },
  1135. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  1136. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  1137. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  1138. argumentCount = $arguments.length,
  1139. requiredParameterCount = $function.$requiredArgCount;
  1140. if (argumentCount < requiredParameterCount)
  1141. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1142. defaultValuesClosure = $function.$defaultValues;
  1143. t1 = defaultValuesClosure == null;
  1144. defaultValues = !t1 ? defaultValuesClosure() : null;
  1145. interceptor = J.getInterceptor$($function);
  1146. jsFunction = interceptor["call*"];
  1147. if (typeof jsFunction == "string")
  1148. jsFunction = interceptor[jsFunction];
  1149. if (t1) {
  1150. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1151. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1152. if (argumentCount === requiredParameterCount)
  1153. return jsFunction.apply($function, $arguments);
  1154. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1155. }
  1156. if (Array.isArray(defaultValues)) {
  1157. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1158. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1159. maxArguments = requiredParameterCount + defaultValues.length;
  1160. if (argumentCount > maxArguments)
  1161. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  1162. if (argumentCount < maxArguments) {
  1163. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  1164. if ($arguments === positionalArguments)
  1165. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1166. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  1167. }
  1168. return jsFunction.apply($function, $arguments);
  1169. } else {
  1170. if (argumentCount > requiredParameterCount)
  1171. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1172. if ($arguments === positionalArguments)
  1173. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  1174. keys = Object.keys(defaultValues);
  1175. if (namedArguments == null)
  1176. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1177. defaultValue = defaultValues[keys[_i]];
  1178. if (B.C__Required === defaultValue)
  1179. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1180. B.JSArray_methods.add$1($arguments, defaultValue);
  1181. }
  1182. else {
  1183. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  1184. t2 = keys[_i];
  1185. if (namedArguments.containsKey$1(t2)) {
  1186. ++used;
  1187. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  1188. } else {
  1189. defaultValue = defaultValues[t2];
  1190. if (B.C__Required === defaultValue)
  1191. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1192. B.JSArray_methods.add$1($arguments, defaultValue);
  1193. }
  1194. }
  1195. if (used !== namedArguments.__js_helper$_length)
  1196. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  1197. }
  1198. return jsFunction.apply($function, $arguments);
  1199. }
  1200. },
  1201. diagnoseIndexError(indexable, index) {
  1202. var $length, _s5_ = "index";
  1203. if (!A._isInt(index))
  1204. return new A.ArgumentError(true, index, _s5_, null);
  1205. $length = J.get$length$asx(indexable);
  1206. if (index < 0 || index >= $length)
  1207. return A.IndexError$(index, indexable, _s5_, null, $length);
  1208. return A.RangeError$value(index, _s5_, null);
  1209. },
  1210. diagnoseRangeError(start, end, $length) {
  1211. if (start < 0 || start > $length)
  1212. return A.RangeError$range(start, 0, $length, "start", null);
  1213. if (end != null)
  1214. if (end < start || end > $length)
  1215. return A.RangeError$range(end, start, $length, "end", null);
  1216. return new A.ArgumentError(true, end, "end", null);
  1217. },
  1218. argumentErrorValue(object) {
  1219. return new A.ArgumentError(true, object, null, null);
  1220. },
  1221. checkNum(value) {
  1222. return value;
  1223. },
  1224. wrapException(ex) {
  1225. var wrapper, t1;
  1226. if (ex == null)
  1227. ex = new A.NullThrownError();
  1228. wrapper = new Error();
  1229. wrapper.dartException = ex;
  1230. t1 = A.toStringWrapper;
  1231. if ("defineProperty" in Object) {
  1232. Object.defineProperty(wrapper, "message", {get: t1});
  1233. wrapper.name = "";
  1234. } else
  1235. wrapper.toString = t1;
  1236. return wrapper;
  1237. },
  1238. toStringWrapper() {
  1239. return J.toString$0$(this.dartException);
  1240. },
  1241. throwExpression(ex) {
  1242. throw A.wrapException(ex);
  1243. },
  1244. throwConcurrentModificationError(collection) {
  1245. throw A.wrapException(A.ConcurrentModificationError$(collection));
  1246. },
  1247. TypeErrorDecoder_extractPattern(message) {
  1248. var match, $arguments, argumentsExpr, expr, method, receiver;
  1249. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  1250. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  1251. if (match == null)
  1252. match = A._setArrayType([], type$.JSArray_String);
  1253. $arguments = match.indexOf("\\$arguments\\$");
  1254. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  1255. expr = match.indexOf("\\$expr\\$");
  1256. method = match.indexOf("\\$method\\$");
  1257. receiver = match.indexOf("\\$receiver\\$");
  1258. 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);
  1259. },
  1260. TypeErrorDecoder_provokeCallErrorOn(expression) {
  1261. return function($expr$) {
  1262. var $argumentsExpr$ = "$arguments$";
  1263. try {
  1264. $expr$.$method$($argumentsExpr$);
  1265. } catch (e) {
  1266. return e.message;
  1267. }
  1268. }(expression);
  1269. },
  1270. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  1271. return function($expr$) {
  1272. try {
  1273. $expr$.$method$;
  1274. } catch (e) {
  1275. return e.message;
  1276. }
  1277. }(expression);
  1278. },
  1279. JsNoSuchMethodError$(_message, match) {
  1280. var t1 = match == null,
  1281. t2 = t1 ? null : match.method;
  1282. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  1283. },
  1284. unwrapException(ex) {
  1285. if (ex == null)
  1286. return new A.NullThrownFromJavaScriptException(ex);
  1287. if (ex instanceof A.ExceptionAndStackTrace)
  1288. return A.saveStackTrace(ex, ex.dartException);
  1289. if (typeof ex !== "object")
  1290. return ex;
  1291. if ("dartException" in ex)
  1292. return A.saveStackTrace(ex, ex.dartException);
  1293. return A._unwrapNonDartException(ex);
  1294. },
  1295. saveStackTrace(ex, error) {
  1296. if (type$.Error._is(error))
  1297. if (error.$thrownJsError == null)
  1298. error.$thrownJsError = ex;
  1299. return error;
  1300. },
  1301. _unwrapNonDartException(ex) {
  1302. var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null;
  1303. if (!("message" in ex))
  1304. return ex;
  1305. message = ex.message;
  1306. if ("number" in ex && typeof ex.number == "number") {
  1307. number = ex.number;
  1308. ieErrorCode = number & 65535;
  1309. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  1310. switch (ieErrorCode) {
  1311. case 438:
  1312. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null));
  1313. case 445:
  1314. case 5007:
  1315. t1 = A.S(message);
  1316. return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null));
  1317. }
  1318. }
  1319. if (ex instanceof TypeError) {
  1320. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  1321. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  1322. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  1323. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  1324. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  1325. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  1326. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  1327. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  1328. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  1329. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  1330. match = nsme.matchTypeError$1(message);
  1331. if (match != null)
  1332. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1333. else {
  1334. match = notClosure.matchTypeError$1(message);
  1335. if (match != null) {
  1336. match.method = "call";
  1337. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  1338. } else {
  1339. match = nullCall.matchTypeError$1(message);
  1340. if (match == null) {
  1341. match = nullLiteralCall.matchTypeError$1(message);
  1342. if (match == null) {
  1343. match = undefCall.matchTypeError$1(message);
  1344. if (match == null) {
  1345. match = undefLiteralCall.matchTypeError$1(message);
  1346. if (match == null) {
  1347. match = nullProperty.matchTypeError$1(message);
  1348. if (match == null) {
  1349. match = nullLiteralCall.matchTypeError$1(message);
  1350. if (match == null) {
  1351. match = undefProperty.matchTypeError$1(message);
  1352. if (match == null) {
  1353. match = undefLiteralProperty.matchTypeError$1(message);
  1354. t1 = match != null;
  1355. } else
  1356. t1 = true;
  1357. } else
  1358. t1 = true;
  1359. } else
  1360. t1 = true;
  1361. } else
  1362. t1 = true;
  1363. } else
  1364. t1 = true;
  1365. } else
  1366. t1 = true;
  1367. } else
  1368. t1 = true;
  1369. if (t1)
  1370. return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method));
  1371. }
  1372. }
  1373. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  1374. }
  1375. if (ex instanceof RangeError) {
  1376. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  1377. return new A.StackOverflowError();
  1378. message = function(ex) {
  1379. try {
  1380. return String(ex);
  1381. } catch (e) {
  1382. }
  1383. return null;
  1384. }(ex);
  1385. return A.saveStackTrace(ex, new A.ArgumentError(false, _null, _null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  1386. }
  1387. if (typeof InternalError == "function" && ex instanceof InternalError)
  1388. if (typeof message == "string" && message === "too much recursion")
  1389. return new A.StackOverflowError();
  1390. return ex;
  1391. },
  1392. getTraceFromException(exception) {
  1393. var trace;
  1394. if (exception instanceof A.ExceptionAndStackTrace)
  1395. return exception.stackTrace;
  1396. if (exception == null)
  1397. return new A._StackTrace(exception);
  1398. trace = exception.$cachedTrace;
  1399. if (trace != null)
  1400. return trace;
  1401. return exception.$cachedTrace = new A._StackTrace(exception);
  1402. },
  1403. objectHashCode(object) {
  1404. if (object == null || typeof object != "object")
  1405. return J.get$hashCode$(object);
  1406. else
  1407. return A.Primitives_objectHashCode(object);
  1408. },
  1409. fillLiteralMap(keyValuePairs, result) {
  1410. var index, index0, index1,
  1411. $length = keyValuePairs.length;
  1412. for (index = 0; index < $length; index = index1) {
  1413. index0 = index + 1;
  1414. index1 = index0 + 1;
  1415. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  1416. }
  1417. return result;
  1418. },
  1419. fillLiteralSet(values, result) {
  1420. var index,
  1421. $length = values.length;
  1422. for (index = 0; index < $length; ++index)
  1423. result.add$1(0, values[index]);
  1424. return result;
  1425. },
  1426. invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  1427. switch (numberOfArguments) {
  1428. case 0:
  1429. return closure.call$0();
  1430. case 1:
  1431. return closure.call$1(arg1);
  1432. case 2:
  1433. return closure.call$2(arg1, arg2);
  1434. case 3:
  1435. return closure.call$3(arg1, arg2, arg3);
  1436. case 4:
  1437. return closure.call$4(arg1, arg2, arg3, arg4);
  1438. }
  1439. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  1440. },
  1441. convertDartClosureToJS(closure, arity) {
  1442. var $function;
  1443. if (closure == null)
  1444. return null;
  1445. $function = closure.$identity;
  1446. if (!!$function)
  1447. return $function;
  1448. $function = function(closure, arity, invoke) {
  1449. return function(a1, a2, a3, a4) {
  1450. return invoke(closure, arity, a1, a2, a3, a4);
  1451. };
  1452. }(closure, arity, A.invokeClosure);
  1453. closure.$identity = $function;
  1454. return $function;
  1455. },
  1456. Closure_fromTearOff(parameters) {
  1457. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  1458. container = parameters.co,
  1459. isStatic = parameters.iS,
  1460. isIntercepted = parameters.iI,
  1461. needsDirectAccess = parameters.nDA,
  1462. applyTrampolineIndex = parameters.aI,
  1463. funsOrNames = parameters.fs,
  1464. callNames = parameters.cs,
  1465. $name = funsOrNames[0],
  1466. callName = callNames[0],
  1467. $function = container[$name],
  1468. t1 = parameters.fT;
  1469. t1.toString;
  1470. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  1471. $prototype.$initialize = $prototype.constructor;
  1472. if (isStatic)
  1473. $constructor = function static_tear_off() {
  1474. this.$initialize();
  1475. };
  1476. else
  1477. $constructor = function tear_off(a, b) {
  1478. this.$initialize(a, b);
  1479. };
  1480. $prototype.constructor = $constructor;
  1481. $constructor.prototype = $prototype;
  1482. $prototype.$_name = $name;
  1483. $prototype.$_target = $function;
  1484. t2 = !isStatic;
  1485. if (t2)
  1486. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  1487. else {
  1488. $prototype.$static_name = $name;
  1489. trampoline = $function;
  1490. }
  1491. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  1492. $prototype[callName] = trampoline;
  1493. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  1494. stub = funsOrNames[i];
  1495. if (typeof stub == "string") {
  1496. stub0 = container[stub];
  1497. stubName = stub;
  1498. stub = stub0;
  1499. } else
  1500. stubName = "";
  1501. stubCallName = callNames[i];
  1502. if (stubCallName != null) {
  1503. if (t2)
  1504. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  1505. $prototype[stubCallName] = stub;
  1506. }
  1507. if (i === applyTrampolineIndex)
  1508. applyTrampoline = stub;
  1509. }
  1510. $prototype["call*"] = applyTrampoline;
  1511. $prototype.$requiredArgCount = parameters.rC;
  1512. $prototype.$defaultValues = parameters.dV;
  1513. return $constructor;
  1514. },
  1515. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  1516. if (typeof functionType == "number")
  1517. return functionType;
  1518. if (typeof functionType == "string") {
  1519. if (isStatic)
  1520. throw A.wrapException("Cannot compute signature for static tearoff.");
  1521. return function(recipe, evalOnReceiver) {
  1522. return function() {
  1523. return evalOnReceiver(this, recipe);
  1524. };
  1525. }(functionType, A.BoundClosure_evalRecipe);
  1526. }
  1527. throw A.wrapException("Error in functionType of tearoff");
  1528. },
  1529. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  1530. var getReceiver = A.BoundClosure_receiverOf;
  1531. switch (needsDirectAccess ? -1 : arity) {
  1532. case 0:
  1533. return function(entry, receiverOf) {
  1534. return function() {
  1535. return receiverOf(this)[entry]();
  1536. };
  1537. }(stubName, getReceiver);
  1538. case 1:
  1539. return function(entry, receiverOf) {
  1540. return function(a) {
  1541. return receiverOf(this)[entry](a);
  1542. };
  1543. }(stubName, getReceiver);
  1544. case 2:
  1545. return function(entry, receiverOf) {
  1546. return function(a, b) {
  1547. return receiverOf(this)[entry](a, b);
  1548. };
  1549. }(stubName, getReceiver);
  1550. case 3:
  1551. return function(entry, receiverOf) {
  1552. return function(a, b, c) {
  1553. return receiverOf(this)[entry](a, b, c);
  1554. };
  1555. }(stubName, getReceiver);
  1556. case 4:
  1557. return function(entry, receiverOf) {
  1558. return function(a, b, c, d) {
  1559. return receiverOf(this)[entry](a, b, c, d);
  1560. };
  1561. }(stubName, getReceiver);
  1562. case 5:
  1563. return function(entry, receiverOf) {
  1564. return function(a, b, c, d, e) {
  1565. return receiverOf(this)[entry](a, b, c, d, e);
  1566. };
  1567. }(stubName, getReceiver);
  1568. default:
  1569. return function(f, receiverOf) {
  1570. return function() {
  1571. return f.apply(receiverOf(this), arguments);
  1572. };
  1573. }($function, getReceiver);
  1574. }
  1575. },
  1576. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  1577. var arity, t1;
  1578. if (isIntercepted)
  1579. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  1580. arity = $function.length;
  1581. t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
  1582. return t1;
  1583. },
  1584. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  1585. var getReceiver = A.BoundClosure_receiverOf,
  1586. getInterceptor = A.BoundClosure_interceptorOf;
  1587. switch (needsDirectAccess ? -1 : arity) {
  1588. case 0:
  1589. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  1590. case 1:
  1591. return function(entry, interceptorOf, receiverOf) {
  1592. return function() {
  1593. return interceptorOf(this)[entry](receiverOf(this));
  1594. };
  1595. }(stubName, getInterceptor, getReceiver);
  1596. case 2:
  1597. return function(entry, interceptorOf, receiverOf) {
  1598. return function(a) {
  1599. return interceptorOf(this)[entry](receiverOf(this), a);
  1600. };
  1601. }(stubName, getInterceptor, getReceiver);
  1602. case 3:
  1603. return function(entry, interceptorOf, receiverOf) {
  1604. return function(a, b) {
  1605. return interceptorOf(this)[entry](receiverOf(this), a, b);
  1606. };
  1607. }(stubName, getInterceptor, getReceiver);
  1608. case 4:
  1609. return function(entry, interceptorOf, receiverOf) {
  1610. return function(a, b, c) {
  1611. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  1612. };
  1613. }(stubName, getInterceptor, getReceiver);
  1614. case 5:
  1615. return function(entry, interceptorOf, receiverOf) {
  1616. return function(a, b, c, d) {
  1617. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  1618. };
  1619. }(stubName, getInterceptor, getReceiver);
  1620. case 6:
  1621. return function(entry, interceptorOf, receiverOf) {
  1622. return function(a, b, c, d, e) {
  1623. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  1624. };
  1625. }(stubName, getInterceptor, getReceiver);
  1626. default:
  1627. return function(f, interceptorOf, receiverOf) {
  1628. return function() {
  1629. var a = [receiverOf(this)];
  1630. Array.prototype.push.apply(a, arguments);
  1631. return f.apply(interceptorOf(this), a);
  1632. };
  1633. }($function, getInterceptor, getReceiver);
  1634. }
  1635. },
  1636. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  1637. var arity, t1;
  1638. if ($.BoundClosure__interceptorFieldNameCache == null)
  1639. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  1640. if ($.BoundClosure__receiverFieldNameCache == null)
  1641. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  1642. arity = $function.length;
  1643. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  1644. return t1;
  1645. },
  1646. closureFromTearOff(parameters) {
  1647. return A.Closure_fromTearOff(parameters);
  1648. },
  1649. BoundClosure_evalRecipe(closure, recipe) {
  1650. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  1651. },
  1652. BoundClosure_receiverOf(closure) {
  1653. return closure._receiver;
  1654. },
  1655. BoundClosure_interceptorOf(closure) {
  1656. return closure._interceptor;
  1657. },
  1658. BoundClosure__computeFieldNamed(fieldName) {
  1659. var t1, i, $name,
  1660. template = new A.BoundClosure("receiver", "interceptor"),
  1661. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  1662. for (t1 = names.length, i = 0; i < t1; ++i) {
  1663. $name = names[i];
  1664. if (template[$name] === fieldName)
  1665. return $name;
  1666. }
  1667. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  1668. },
  1669. throwCyclicInit(staticName) {
  1670. throw A.wrapException(new A.CyclicInitializationError(staticName));
  1671. },
  1672. getIsolateAffinityTag($name) {
  1673. return init.getIsolateTag($name);
  1674. },
  1675. LinkedHashMapKeyIterator$(_map, _modifications) {
  1676. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  1677. t1._cell = _map._first;
  1678. return t1;
  1679. },
  1680. defineProperty(obj, property, value) {
  1681. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  1682. },
  1683. lookupAndCacheInterceptor(obj) {
  1684. var interceptor, interceptorClass, altTag, mark, t1,
  1685. tag = $.getTagFunction.call$1(obj),
  1686. record = $.dispatchRecordsForInstanceTags[tag];
  1687. if (record != null) {
  1688. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1689. return record.i;
  1690. }
  1691. interceptor = $.interceptorsForUncacheableTags[tag];
  1692. if (interceptor != null)
  1693. return interceptor;
  1694. interceptorClass = init.interceptorsByTag[tag];
  1695. if (interceptorClass == null) {
  1696. altTag = $.alternateTagFunction.call$2(obj, tag);
  1697. if (altTag != null) {
  1698. record = $.dispatchRecordsForInstanceTags[altTag];
  1699. if (record != null) {
  1700. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1701. return record.i;
  1702. }
  1703. interceptor = $.interceptorsForUncacheableTags[altTag];
  1704. if (interceptor != null)
  1705. return interceptor;
  1706. interceptorClass = init.interceptorsByTag[altTag];
  1707. tag = altTag;
  1708. }
  1709. }
  1710. if (interceptorClass == null)
  1711. return null;
  1712. interceptor = interceptorClass.prototype;
  1713. mark = tag[0];
  1714. if (mark === "!") {
  1715. record = A.makeLeafDispatchRecord(interceptor);
  1716. $.dispatchRecordsForInstanceTags[tag] = record;
  1717. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1718. return record.i;
  1719. }
  1720. if (mark === "~") {
  1721. $.interceptorsForUncacheableTags[tag] = interceptor;
  1722. return interceptor;
  1723. }
  1724. if (mark === "-") {
  1725. t1 = A.makeLeafDispatchRecord(interceptor);
  1726. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1727. return t1.i;
  1728. }
  1729. if (mark === "+")
  1730. return A.patchInteriorProto(obj, interceptor);
  1731. if (mark === "*")
  1732. throw A.wrapException(A.UnimplementedError$(tag));
  1733. if (init.leafTags[tag] === true) {
  1734. t1 = A.makeLeafDispatchRecord(interceptor);
  1735. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  1736. return t1.i;
  1737. } else
  1738. return A.patchInteriorProto(obj, interceptor);
  1739. },
  1740. patchInteriorProto(obj, interceptor) {
  1741. var proto = Object.getPrototypeOf(obj);
  1742. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  1743. return interceptor;
  1744. },
  1745. makeLeafDispatchRecord(interceptor) {
  1746. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  1747. },
  1748. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  1749. var interceptor = interceptorClass.prototype;
  1750. if (init.leafTags[tag] === true)
  1751. return A.makeLeafDispatchRecord(interceptor);
  1752. else
  1753. return J.makeDispatchRecord(interceptor, proto, null, null);
  1754. },
  1755. initNativeDispatch() {
  1756. if (true === $.initNativeDispatchFlag)
  1757. return;
  1758. $.initNativeDispatchFlag = true;
  1759. A.initNativeDispatchContinue();
  1760. },
  1761. initNativeDispatchContinue() {
  1762. var map, tags, fun, i, tag, proto, record, interceptorClass;
  1763. $.dispatchRecordsForInstanceTags = Object.create(null);
  1764. $.interceptorsForUncacheableTags = Object.create(null);
  1765. A.initHooks();
  1766. map = init.interceptorsByTag;
  1767. tags = Object.getOwnPropertyNames(map);
  1768. if (typeof window != "undefined") {
  1769. window;
  1770. fun = function() {
  1771. };
  1772. for (i = 0; i < tags.length; ++i) {
  1773. tag = tags[i];
  1774. proto = $.prototypeForTagFunction.call$1(tag);
  1775. if (proto != null) {
  1776. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  1777. if (record != null) {
  1778. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  1779. fun.prototype = proto;
  1780. }
  1781. }
  1782. }
  1783. }
  1784. for (i = 0; i < tags.length; ++i) {
  1785. tag = tags[i];
  1786. if (/^[A-Za-z_]/.test(tag)) {
  1787. interceptorClass = map[tag];
  1788. map["!" + tag] = interceptorClass;
  1789. map["~" + tag] = interceptorClass;
  1790. map["-" + tag] = interceptorClass;
  1791. map["+" + tag] = interceptorClass;
  1792. map["*" + tag] = interceptorClass;
  1793. }
  1794. }
  1795. },
  1796. initHooks() {
  1797. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  1798. hooks = B.C_JS_CONST0();
  1799. 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)))))));
  1800. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  1801. transformers = dartNativeDispatchHooksTransformer;
  1802. if (typeof transformers == "function")
  1803. transformers = [transformers];
  1804. if (transformers.constructor == Array)
  1805. for (i = 0; i < transformers.length; ++i) {
  1806. transformer = transformers[i];
  1807. if (typeof transformer == "function")
  1808. hooks = transformer(hooks) || hooks;
  1809. }
  1810. }
  1811. getTag = hooks.getTag;
  1812. getUnknownTag = hooks.getUnknownTag;
  1813. prototypeForTag = hooks.prototypeForTag;
  1814. $.getTagFunction = new A.initHooks_closure(getTag);
  1815. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  1816. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  1817. },
  1818. applyHooksTransformer(transformer, hooks) {
  1819. return transformer(hooks) || hooks;
  1820. },
  1821. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  1822. var m = multiLine ? "m" : "",
  1823. i = caseSensitive ? "" : "i",
  1824. u = unicode ? "u" : "",
  1825. s = dotAll ? "s" : "",
  1826. g = global ? "g" : "",
  1827. regexp = function(source, modifiers) {
  1828. try {
  1829. return new RegExp(source, modifiers);
  1830. } catch (e) {
  1831. return e;
  1832. }
  1833. }(source, m + i + u + s + g);
  1834. if (regexp instanceof RegExp)
  1835. return regexp;
  1836. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  1837. },
  1838. stringContainsUnchecked(receiver, other, startIndex) {
  1839. var t1;
  1840. if (typeof other == "string")
  1841. return receiver.indexOf(other, startIndex) >= 0;
  1842. else if (other instanceof A.JSSyntaxRegExp) {
  1843. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  1844. return other._nativeRegExp.test(t1);
  1845. } else {
  1846. t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
  1847. return !t1.get$isEmpty(t1);
  1848. }
  1849. },
  1850. escapeReplacement(replacement) {
  1851. if (replacement.indexOf("$", 0) >= 0)
  1852. return replacement.replace(/\$/g, "$$$$");
  1853. return replacement;
  1854. },
  1855. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  1856. var match = regexp._execGlobal$2(receiver, startIndex);
  1857. if (match == null)
  1858. return receiver;
  1859. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
  1860. },
  1861. quoteStringForRegExp(string) {
  1862. if (/[[\]{}()*+?.\\^$|]/.test(string))
  1863. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  1864. return string;
  1865. },
  1866. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  1867. var nativeRegexp;
  1868. if (typeof pattern == "string")
  1869. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  1870. if (pattern instanceof A.JSSyntaxRegExp) {
  1871. nativeRegexp = pattern.get$_nativeGlobalVersion();
  1872. nativeRegexp.lastIndex = 0;
  1873. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  1874. }
  1875. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  1876. },
  1877. stringReplaceAllGeneral(receiver, pattern, replacement) {
  1878. var t1, startIndex, t2, match;
  1879. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  1880. match = t1.get$current(t1);
  1881. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  1882. startIndex = match.get$end(match);
  1883. }
  1884. t1 = t2 + receiver.substring(startIndex);
  1885. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1886. },
  1887. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  1888. var $length, t1, i, index;
  1889. if (pattern === "") {
  1890. if (receiver === "")
  1891. return replacement;
  1892. $length = receiver.length;
  1893. t1 = "" + replacement;
  1894. for (i = 0; i < $length; ++i)
  1895. t1 = t1 + receiver[i] + replacement;
  1896. return t1.charCodeAt(0) == 0 ? t1 : t1;
  1897. }
  1898. index = receiver.indexOf(pattern, 0);
  1899. if (index < 0)
  1900. return receiver;
  1901. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  1902. return receiver.split(pattern).join(replacement);
  1903. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  1904. },
  1905. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  1906. var index, t1, matches, match;
  1907. if (typeof pattern == "string") {
  1908. index = receiver.indexOf(pattern, startIndex);
  1909. if (index < 0)
  1910. return receiver;
  1911. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  1912. }
  1913. if (pattern instanceof A.JSSyntaxRegExp)
  1914. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  1915. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  1916. matches = t1.get$iterator(t1);
  1917. if (!matches.moveNext$0())
  1918. return receiver;
  1919. match = matches.get$current(matches);
  1920. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  1921. },
  1922. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  1923. return receiver.substring(0, start) + replacement + receiver.substring(end);
  1924. },
  1925. ConstantMapView: function ConstantMapView(t0, t1) {
  1926. this._map = t0;
  1927. this.$ti = t1;
  1928. },
  1929. ConstantMap: function ConstantMap() {
  1930. },
  1931. ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) {
  1932. var _ = this;
  1933. _.__js_helper$_length = t0;
  1934. _._jsObject = t1;
  1935. _.__js_helper$_keys = t2;
  1936. _.$ti = t3;
  1937. },
  1938. ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) {
  1939. this.$this = t0;
  1940. },
  1941. _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) {
  1942. this.__js_helper$_map = t0;
  1943. this.$ti = t1;
  1944. },
  1945. GeneralConstantMap: function GeneralConstantMap(t0, t1) {
  1946. this._jsData = t0;
  1947. this.$ti = t1;
  1948. },
  1949. GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) {
  1950. this.T = t0;
  1951. },
  1952. Instantiation: function Instantiation() {
  1953. },
  1954. Instantiation1: function Instantiation1(t0, t1) {
  1955. this._genericClosure = t0;
  1956. this.$ti = t1;
  1957. },
  1958. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  1959. var _ = this;
  1960. _.__js_helper$_memberName = t0;
  1961. _.__js_helper$_kind = t1;
  1962. _._arguments = t2;
  1963. _._namedArgumentNames = t3;
  1964. _._typeArgumentCount = t4;
  1965. },
  1966. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  1967. this._box_0 = t0;
  1968. this.namedArgumentList = t1;
  1969. this.$arguments = t2;
  1970. },
  1971. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  1972. var _ = this;
  1973. _._pattern = t0;
  1974. _._arguments = t1;
  1975. _._argumentsExpr = t2;
  1976. _._expr = t3;
  1977. _._method = t4;
  1978. _._receiver = t5;
  1979. },
  1980. NullError: function NullError(t0, t1) {
  1981. this.__js_helper$_message = t0;
  1982. this._method = t1;
  1983. },
  1984. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  1985. this.__js_helper$_message = t0;
  1986. this._method = t1;
  1987. this._receiver = t2;
  1988. },
  1989. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  1990. this.__js_helper$_message = t0;
  1991. },
  1992. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  1993. this._irritant = t0;
  1994. },
  1995. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  1996. this.dartException = t0;
  1997. this.stackTrace = t1;
  1998. },
  1999. _StackTrace: function _StackTrace(t0) {
  2000. this._exception = t0;
  2001. this._trace = null;
  2002. },
  2003. Closure: function Closure() {
  2004. },
  2005. Closure0Args: function Closure0Args() {
  2006. },
  2007. Closure2Args: function Closure2Args() {
  2008. },
  2009. TearOffClosure: function TearOffClosure() {
  2010. },
  2011. StaticClosure: function StaticClosure() {
  2012. },
  2013. BoundClosure: function BoundClosure(t0, t1) {
  2014. this._receiver = t0;
  2015. this._interceptor = t1;
  2016. },
  2017. RuntimeError: function RuntimeError(t0) {
  2018. this.message = t0;
  2019. },
  2020. _Required: function _Required() {
  2021. },
  2022. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  2023. var _ = this;
  2024. _.__js_helper$_length = 0;
  2025. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  2026. _._modifications = 0;
  2027. _.$ti = t0;
  2028. },
  2029. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  2030. this.$this = t0;
  2031. },
  2032. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  2033. this.$this = t0;
  2034. },
  2035. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  2036. var _ = this;
  2037. _.hashMapCellKey = t0;
  2038. _.hashMapCellValue = t1;
  2039. _._previous = _._next = null;
  2040. },
  2041. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  2042. this.__js_helper$_map = t0;
  2043. this.$ti = t1;
  2044. },
  2045. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  2046. var _ = this;
  2047. _.__js_helper$_map = t0;
  2048. _._modifications = t1;
  2049. _.__js_helper$_current = _._cell = null;
  2050. },
  2051. initHooks_closure: function initHooks_closure(t0) {
  2052. this.getTag = t0;
  2053. },
  2054. initHooks_closure0: function initHooks_closure0(t0) {
  2055. this.getUnknownTag = t0;
  2056. },
  2057. initHooks_closure1: function initHooks_closure1(t0) {
  2058. this.prototypeForTag = t0;
  2059. },
  2060. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  2061. var _ = this;
  2062. _.pattern = t0;
  2063. _._nativeRegExp = t1;
  2064. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  2065. },
  2066. _MatchImplementation: function _MatchImplementation(t0) {
  2067. this._match = t0;
  2068. },
  2069. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  2070. this._re = t0;
  2071. this._string = t1;
  2072. this._start = t2;
  2073. },
  2074. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  2075. var _ = this;
  2076. _._regExp = t0;
  2077. _._string = t1;
  2078. _._nextIndex = t2;
  2079. _.__js_helper$_current = null;
  2080. },
  2081. StringMatch: function StringMatch(t0, t1) {
  2082. this.start = t0;
  2083. this.pattern = t1;
  2084. },
  2085. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  2086. this._input = t0;
  2087. this._pattern = t1;
  2088. this.__js_helper$_index = t2;
  2089. },
  2090. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  2091. var _ = this;
  2092. _._input = t0;
  2093. _._pattern = t1;
  2094. _.__js_helper$_index = t2;
  2095. _.__js_helper$_current = null;
  2096. },
  2097. throwLateFieldADI(fieldName) {
  2098. return A.throwExpression(A.LateError$fieldADI(fieldName));
  2099. },
  2100. throwUnnamedLateFieldNI() {
  2101. return A.throwExpression(A.LateError$fieldNI(""));
  2102. },
  2103. throwUnnamedLateFieldAI() {
  2104. return A.throwExpression(A.LateError$fieldAI(""));
  2105. },
  2106. throwUnnamedLateFieldADI() {
  2107. return A.throwExpression(A.LateError$fieldADI(""));
  2108. },
  2109. _Cell$() {
  2110. var t1 = new A._Cell("");
  2111. return t1._value = t1;
  2112. },
  2113. _Cell$named(_name) {
  2114. var t1 = new A._Cell(_name);
  2115. return t1._value = t1;
  2116. },
  2117. _Cell: function _Cell(t0) {
  2118. this.__late_helper$_name = t0;
  2119. this._value = null;
  2120. },
  2121. _ensureNativeList(list) {
  2122. return list;
  2123. },
  2124. NativeInt8List__create1(arg) {
  2125. return new Int8Array(arg);
  2126. },
  2127. _checkValidIndex(index, list, $length) {
  2128. if (index >>> 0 !== index || index >= $length)
  2129. throw A.wrapException(A.diagnoseIndexError(list, index));
  2130. },
  2131. _checkValidRange(start, end, $length) {
  2132. var t1;
  2133. if (!(start >>> 0 !== start))
  2134. if (end == null)
  2135. t1 = start > $length;
  2136. else
  2137. t1 = end >>> 0 !== end || start > end || end > $length;
  2138. else
  2139. t1 = true;
  2140. if (t1)
  2141. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  2142. if (end == null)
  2143. return $length;
  2144. return end;
  2145. },
  2146. NativeTypedData: function NativeTypedData() {
  2147. },
  2148. NativeTypedArray: function NativeTypedArray() {
  2149. },
  2150. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  2151. },
  2152. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  2153. },
  2154. NativeInt16List: function NativeInt16List() {
  2155. },
  2156. NativeInt32List: function NativeInt32List() {
  2157. },
  2158. NativeInt8List: function NativeInt8List() {
  2159. },
  2160. NativeUint16List: function NativeUint16List() {
  2161. },
  2162. NativeUint32List: function NativeUint32List() {
  2163. },
  2164. NativeUint8ClampedList: function NativeUint8ClampedList() {
  2165. },
  2166. NativeUint8List: function NativeUint8List() {
  2167. },
  2168. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  2169. },
  2170. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2171. },
  2172. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  2173. },
  2174. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  2175. },
  2176. Rti__getQuestionFromStar(universe, rti) {
  2177. var question = rti._precomputed1;
  2178. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  2179. },
  2180. Rti__getFutureFromFutureOr(universe, rti) {
  2181. var future = rti._precomputed1;
  2182. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  2183. },
  2184. Rti__isUnionOfFunctionType(rti) {
  2185. var kind = rti._kind;
  2186. if (kind === 6 || kind === 7 || kind === 8)
  2187. return A.Rti__isUnionOfFunctionType(rti._primary);
  2188. return kind === 11 || kind === 12;
  2189. },
  2190. Rti__getCanonicalRecipe(rti) {
  2191. return rti._canonicalRecipe;
  2192. },
  2193. findType(recipe) {
  2194. return A._Universe_eval(init.typeUniverse, recipe, false);
  2195. },
  2196. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  2197. var t1, cache, key, probe, rti;
  2198. if (genericFunctionRti == null)
  2199. return null;
  2200. t1 = instantiationRti._rest;
  2201. cache = genericFunctionRti._bindCache;
  2202. if (cache == null)
  2203. cache = genericFunctionRti._bindCache = new Map();
  2204. key = instantiationRti._canonicalRecipe;
  2205. probe = cache.get(key);
  2206. if (probe != null)
  2207. return probe;
  2208. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  2209. cache.set(key, rti);
  2210. return rti;
  2211. },
  2212. _substitute(universe, rti, typeArguments, depth) {
  2213. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  2214. kind = rti._kind;
  2215. switch (kind) {
  2216. case 5:
  2217. case 1:
  2218. case 2:
  2219. case 3:
  2220. case 4:
  2221. return rti;
  2222. case 6:
  2223. baseType = rti._primary;
  2224. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2225. if (substitutedBaseType === baseType)
  2226. return rti;
  2227. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  2228. case 7:
  2229. baseType = rti._primary;
  2230. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2231. if (substitutedBaseType === baseType)
  2232. return rti;
  2233. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  2234. case 8:
  2235. baseType = rti._primary;
  2236. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  2237. if (substitutedBaseType === baseType)
  2238. return rti;
  2239. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  2240. case 9:
  2241. interfaceTypeArguments = rti._rest;
  2242. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  2243. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  2244. return rti;
  2245. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  2246. case 10:
  2247. base = rti._primary;
  2248. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2249. $arguments = rti._rest;
  2250. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  2251. if (substitutedBase === base && substitutedArguments === $arguments)
  2252. return rti;
  2253. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  2254. case 11:
  2255. returnType = rti._primary;
  2256. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  2257. functionParameters = rti._rest;
  2258. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  2259. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  2260. return rti;
  2261. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  2262. case 12:
  2263. bounds = rti._rest;
  2264. depth += bounds.length;
  2265. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  2266. base = rti._primary;
  2267. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  2268. if (substitutedBounds === bounds && substitutedBase === base)
  2269. return rti;
  2270. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  2271. case 13:
  2272. index = rti._primary;
  2273. if (index < depth)
  2274. return rti;
  2275. argument = typeArguments[index - depth];
  2276. if (argument == null)
  2277. return rti;
  2278. return argument;
  2279. default:
  2280. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  2281. }
  2282. },
  2283. _substituteArray(universe, rtiArray, typeArguments, depth) {
  2284. var changed, i, rti, substitutedRti,
  2285. $length = rtiArray.length,
  2286. result = A._Utils_newArrayOrEmpty($length);
  2287. for (changed = false, i = 0; i < $length; ++i) {
  2288. rti = rtiArray[i];
  2289. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2290. if (substitutedRti !== rti)
  2291. changed = true;
  2292. result[i] = substitutedRti;
  2293. }
  2294. return changed ? result : rtiArray;
  2295. },
  2296. _substituteNamed(universe, namedArray, typeArguments, depth) {
  2297. var changed, i, t1, t2, rti, substitutedRti,
  2298. $length = namedArray.length,
  2299. result = A._Utils_newArrayOrEmpty($length);
  2300. for (changed = false, i = 0; i < $length; i += 3) {
  2301. t1 = namedArray[i];
  2302. t2 = namedArray[i + 1];
  2303. rti = namedArray[i + 2];
  2304. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  2305. if (substitutedRti !== rti)
  2306. changed = true;
  2307. result.splice(i, 3, t1, t2, substitutedRti);
  2308. }
  2309. return changed ? result : namedArray;
  2310. },
  2311. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  2312. var result,
  2313. requiredPositional = functionParameters._requiredPositional,
  2314. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  2315. optionalPositional = functionParameters._optionalPositional,
  2316. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  2317. named = functionParameters._named,
  2318. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  2319. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  2320. return functionParameters;
  2321. result = new A._FunctionParameters();
  2322. result._requiredPositional = substitutedRequiredPositional;
  2323. result._optionalPositional = substitutedOptionalPositional;
  2324. result._named = substitutedNamed;
  2325. return result;
  2326. },
  2327. _setArrayType(target, rti) {
  2328. target[init.arrayRti] = rti;
  2329. return target;
  2330. },
  2331. closureFunctionType(closure) {
  2332. var signature = closure.$signature;
  2333. if (signature != null) {
  2334. if (typeof signature == "number")
  2335. return A.getTypeFromTypesTable(signature);
  2336. return closure.$signature();
  2337. }
  2338. return null;
  2339. },
  2340. instanceOrFunctionType(object, testRti) {
  2341. var rti;
  2342. if (A.Rti__isUnionOfFunctionType(testRti))
  2343. if (object instanceof A.Closure) {
  2344. rti = A.closureFunctionType(object);
  2345. if (rti != null)
  2346. return rti;
  2347. }
  2348. return A.instanceType(object);
  2349. },
  2350. instanceType(object) {
  2351. var rti;
  2352. if (object instanceof A.Object) {
  2353. rti = object.$ti;
  2354. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2355. }
  2356. if (Array.isArray(object))
  2357. return A._arrayInstanceType(object);
  2358. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  2359. },
  2360. _arrayInstanceType(object) {
  2361. var rti = object[init.arrayRti],
  2362. defaultRti = type$.JSArray_dynamic;
  2363. if (rti == null)
  2364. return defaultRti;
  2365. if (rti.constructor !== defaultRti.constructor)
  2366. return defaultRti;
  2367. return rti;
  2368. },
  2369. _instanceType(object) {
  2370. var rti = object.$ti;
  2371. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  2372. },
  2373. _instanceTypeFromConstructor(instance) {
  2374. var $constructor = instance.constructor,
  2375. probe = $constructor.$ccache;
  2376. if (probe != null)
  2377. return probe;
  2378. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  2379. },
  2380. _instanceTypeFromConstructorMiss(instance, $constructor) {
  2381. var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor,
  2382. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  2383. $constructor.$ccache = rti;
  2384. return rti;
  2385. },
  2386. getTypeFromTypesTable(index) {
  2387. var rti,
  2388. table = init.types,
  2389. type = table[index];
  2390. if (typeof type == "string") {
  2391. rti = A._Universe_eval(init.typeUniverse, type, false);
  2392. table[index] = rti;
  2393. return rti;
  2394. }
  2395. return type;
  2396. },
  2397. getRuntimeType(object) {
  2398. var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  2399. return A.createRuntimeType(rti == null ? A.instanceType(object) : rti);
  2400. },
  2401. createRuntimeType(rti) {
  2402. var recipe, starErasedRecipe, starErasedRti,
  2403. type = rti._cachedRuntimeType;
  2404. if (type != null)
  2405. return type;
  2406. recipe = rti._canonicalRecipe;
  2407. starErasedRecipe = recipe.replace(/\*/g, "");
  2408. if (starErasedRecipe === recipe)
  2409. return rti._cachedRuntimeType = new A._Type(rti);
  2410. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  2411. type = starErasedRti._cachedRuntimeType;
  2412. return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type;
  2413. },
  2414. typeLiteral(recipe) {
  2415. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  2416. },
  2417. _installSpecializedIsTest(object) {
  2418. var t1, unstarred, isFn, $name, testRti = this;
  2419. if (testRti === type$.Object)
  2420. return A._finishIsFn(testRti, object, A._isObject);
  2421. if (!A.isStrongTopType(testRti))
  2422. if (!(testRti === type$.legacy_Object))
  2423. t1 = false;
  2424. else
  2425. t1 = true;
  2426. else
  2427. t1 = true;
  2428. if (t1)
  2429. return A._finishIsFn(testRti, object, A._isTop);
  2430. t1 = testRti._kind;
  2431. unstarred = t1 === 6 ? testRti._primary : testRti;
  2432. if (unstarred === type$.int)
  2433. isFn = A._isInt;
  2434. else if (unstarred === type$.double || unstarred === type$.num)
  2435. isFn = A._isNum;
  2436. else if (unstarred === type$.String)
  2437. isFn = A._isString;
  2438. else
  2439. isFn = unstarred === type$.bool ? A._isBool : null;
  2440. if (isFn != null)
  2441. return A._finishIsFn(testRti, object, isFn);
  2442. if (unstarred._kind === 9) {
  2443. $name = unstarred._primary;
  2444. if (unstarred._rest.every(A.isTopType)) {
  2445. testRti._specializedTestResource = "$is" + $name;
  2446. if ($name === "List")
  2447. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  2448. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  2449. }
  2450. } else if (t1 === 7)
  2451. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  2452. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  2453. },
  2454. _finishIsFn(testRti, object, isFn) {
  2455. testRti._is = isFn;
  2456. return testRti._is(object);
  2457. },
  2458. _installSpecializedAsCheck(object) {
  2459. var t1, testRti = this,
  2460. asFn = A._generalAsCheckImplementation;
  2461. if (!A.isStrongTopType(testRti))
  2462. if (!(testRti === type$.legacy_Object))
  2463. t1 = false;
  2464. else
  2465. t1 = true;
  2466. else
  2467. t1 = true;
  2468. if (t1)
  2469. asFn = A._asTop;
  2470. else if (testRti === type$.Object)
  2471. asFn = A._asObject;
  2472. else {
  2473. t1 = A.isNullable(testRti);
  2474. if (t1)
  2475. asFn = A._generalNullableAsCheckImplementation;
  2476. }
  2477. testRti._as = asFn;
  2478. return testRti._as(object);
  2479. },
  2480. _nullIs(testRti) {
  2481. var t1,
  2482. kind = testRti._kind;
  2483. if (!A.isStrongTopType(testRti))
  2484. if (!(testRti === type$.legacy_Object))
  2485. if (!(testRti === type$.legacy_Never))
  2486. if (kind !== 7)
  2487. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  2488. else
  2489. t1 = true;
  2490. else
  2491. t1 = true;
  2492. else
  2493. t1 = true;
  2494. else
  2495. t1 = true;
  2496. return t1;
  2497. },
  2498. _generalIsTestImplementation(object) {
  2499. var testRti = this;
  2500. if (object == null)
  2501. return A._nullIs(testRti);
  2502. return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null);
  2503. },
  2504. _generalNullableIsTestImplementation(object) {
  2505. if (object == null)
  2506. return true;
  2507. return this._primary._is(object);
  2508. },
  2509. _isTestViaProperty(object) {
  2510. var tag, testRti = this;
  2511. if (object == null)
  2512. return A._nullIs(testRti);
  2513. tag = testRti._specializedTestResource;
  2514. if (object instanceof A.Object)
  2515. return !!object[tag];
  2516. return !!J.getInterceptor$(object)[tag];
  2517. },
  2518. _isListTestViaProperty(object) {
  2519. var tag, testRti = this;
  2520. if (object == null)
  2521. return A._nullIs(testRti);
  2522. if (typeof object != "object")
  2523. return false;
  2524. if (Array.isArray(object))
  2525. return true;
  2526. tag = testRti._specializedTestResource;
  2527. if (object instanceof A.Object)
  2528. return !!object[tag];
  2529. return !!J.getInterceptor$(object)[tag];
  2530. },
  2531. _generalAsCheckImplementation(object) {
  2532. var t1, testRti = this;
  2533. if (object == null) {
  2534. t1 = A.isNullable(testRti);
  2535. if (t1)
  2536. return object;
  2537. } else if (testRti._is(object))
  2538. return object;
  2539. A._failedAsCheck(object, testRti);
  2540. },
  2541. _generalNullableAsCheckImplementation(object) {
  2542. var testRti = this;
  2543. if (object == null)
  2544. return object;
  2545. else if (testRti._is(object))
  2546. return object;
  2547. A._failedAsCheck(object, testRti);
  2548. },
  2549. _failedAsCheck(object, testRti) {
  2550. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null))));
  2551. },
  2552. _Error_compose(object, objectRti, checkedTypeDescription) {
  2553. var objectDescription = A.Error_safeToString(object);
  2554. return objectDescription + ": type '" + A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  2555. },
  2556. _TypeError$fromMessage(message) {
  2557. return new A._TypeError("TypeError: " + message);
  2558. },
  2559. _TypeError__TypeError$forType(object, type) {
  2560. return new A._TypeError("TypeError: " + A._Error_compose(object, null, type));
  2561. },
  2562. _isObject(object) {
  2563. return object != null;
  2564. },
  2565. _asObject(object) {
  2566. if (object != null)
  2567. return object;
  2568. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  2569. },
  2570. _isTop(object) {
  2571. return true;
  2572. },
  2573. _asTop(object) {
  2574. return object;
  2575. },
  2576. _isBool(object) {
  2577. return true === object || false === object;
  2578. },
  2579. _asBool(object) {
  2580. if (true === object)
  2581. return true;
  2582. if (false === object)
  2583. return false;
  2584. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2585. },
  2586. _asBoolS(object) {
  2587. if (true === object)
  2588. return true;
  2589. if (false === object)
  2590. return false;
  2591. if (object == null)
  2592. return object;
  2593. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  2594. },
  2595. _asBoolQ(object) {
  2596. if (true === object)
  2597. return true;
  2598. if (false === object)
  2599. return false;
  2600. if (object == null)
  2601. return object;
  2602. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  2603. },
  2604. _asDouble(object) {
  2605. if (typeof object == "number")
  2606. return object;
  2607. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2608. },
  2609. _asDoubleS(object) {
  2610. if (typeof object == "number")
  2611. return object;
  2612. if (object == null)
  2613. return object;
  2614. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  2615. },
  2616. _asDoubleQ(object) {
  2617. if (typeof object == "number")
  2618. return object;
  2619. if (object == null)
  2620. return object;
  2621. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  2622. },
  2623. _isInt(object) {
  2624. return typeof object == "number" && Math.floor(object) === object;
  2625. },
  2626. _asInt(object) {
  2627. if (typeof object == "number" && Math.floor(object) === object)
  2628. return object;
  2629. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2630. },
  2631. _asIntS(object) {
  2632. if (typeof object == "number" && Math.floor(object) === object)
  2633. return object;
  2634. if (object == null)
  2635. return object;
  2636. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  2637. },
  2638. _asIntQ(object) {
  2639. if (typeof object == "number" && Math.floor(object) === object)
  2640. return object;
  2641. if (object == null)
  2642. return object;
  2643. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  2644. },
  2645. _isNum(object) {
  2646. return typeof object == "number";
  2647. },
  2648. _asNum(object) {
  2649. if (typeof object == "number")
  2650. return object;
  2651. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2652. },
  2653. _asNumS(object) {
  2654. if (typeof object == "number")
  2655. return object;
  2656. if (object == null)
  2657. return object;
  2658. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  2659. },
  2660. _asNumQ(object) {
  2661. if (typeof object == "number")
  2662. return object;
  2663. if (object == null)
  2664. return object;
  2665. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  2666. },
  2667. _isString(object) {
  2668. return typeof object == "string";
  2669. },
  2670. _asString(object) {
  2671. if (typeof object == "string")
  2672. return object;
  2673. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2674. },
  2675. _asStringS(object) {
  2676. if (typeof object == "string")
  2677. return object;
  2678. if (object == null)
  2679. return object;
  2680. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  2681. },
  2682. _asStringQ(object) {
  2683. if (typeof object == "string")
  2684. return object;
  2685. if (object == null)
  2686. return object;
  2687. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  2688. },
  2689. _rtiArrayToString(array, genericContext) {
  2690. var s, sep, i;
  2691. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  2692. s += sep + A._rtiToString(array[i], genericContext);
  2693. return s;
  2694. },
  2695. _functionRtiToString(functionType, genericContext, bounds) {
  2696. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  2697. if (bounds != null) {
  2698. boundsLength = bounds.length;
  2699. if (genericContext == null) {
  2700. genericContext = A._setArrayType([], type$.JSArray_String);
  2701. outerContextLength = null;
  2702. } else
  2703. outerContextLength = genericContext.length;
  2704. offset = genericContext.length;
  2705. for (i = boundsLength; i > 0; --i)
  2706. genericContext.push("T" + (offset + i));
  2707. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  2708. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  2709. boundRti = bounds[i];
  2710. kind = boundRti._kind;
  2711. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  2712. if (!(boundRti === t2))
  2713. t3 = false;
  2714. else
  2715. t3 = true;
  2716. else
  2717. t3 = true;
  2718. if (!t3)
  2719. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  2720. }
  2721. typeParametersText += ">";
  2722. } else {
  2723. typeParametersText = "";
  2724. outerContextLength = null;
  2725. }
  2726. t1 = functionType._primary;
  2727. parameters = functionType._rest;
  2728. requiredPositional = parameters._requiredPositional;
  2729. requiredPositionalLength = requiredPositional.length;
  2730. optionalPositional = parameters._optionalPositional;
  2731. optionalPositionalLength = optionalPositional.length;
  2732. named = parameters._named;
  2733. namedLength = named.length;
  2734. returnTypeText = A._rtiToString(t1, genericContext);
  2735. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  2736. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  2737. if (optionalPositionalLength > 0) {
  2738. argumentsText += sep + "[";
  2739. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  2740. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  2741. argumentsText += "]";
  2742. }
  2743. if (namedLength > 0) {
  2744. argumentsText += sep + "{";
  2745. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  2746. argumentsText += sep;
  2747. if (named[i + 1])
  2748. argumentsText += "required ";
  2749. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  2750. }
  2751. argumentsText += "}";
  2752. }
  2753. if (outerContextLength != null) {
  2754. genericContext.toString;
  2755. genericContext.length = outerContextLength;
  2756. }
  2757. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  2758. },
  2759. _rtiToString(rti, genericContext) {
  2760. var s, questionArgument, argumentKind, $name, $arguments, t1,
  2761. kind = rti._kind;
  2762. if (kind === 5)
  2763. return "erased";
  2764. if (kind === 2)
  2765. return "dynamic";
  2766. if (kind === 3)
  2767. return "void";
  2768. if (kind === 1)
  2769. return "Never";
  2770. if (kind === 4)
  2771. return "any";
  2772. if (kind === 6) {
  2773. s = A._rtiToString(rti._primary, genericContext);
  2774. return s;
  2775. }
  2776. if (kind === 7) {
  2777. questionArgument = rti._primary;
  2778. s = A._rtiToString(questionArgument, genericContext);
  2779. argumentKind = questionArgument._kind;
  2780. return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
  2781. }
  2782. if (kind === 8)
  2783. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  2784. if (kind === 9) {
  2785. $name = A._unminifyOrTag(rti._primary);
  2786. $arguments = rti._rest;
  2787. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  2788. }
  2789. if (kind === 11)
  2790. return A._functionRtiToString(rti, genericContext, null);
  2791. if (kind === 12)
  2792. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  2793. if (kind === 13) {
  2794. t1 = rti._primary;
  2795. return genericContext[genericContext.length - 1 - t1];
  2796. }
  2797. return "?";
  2798. },
  2799. _unminifyOrTag(rawClassName) {
  2800. var preserved = init.mangledGlobalNames[rawClassName];
  2801. if (preserved != null)
  2802. return preserved;
  2803. return rawClassName;
  2804. },
  2805. _Universe_findRule(universe, targetType) {
  2806. var rule = universe.tR[targetType];
  2807. for (; typeof rule == "string";)
  2808. rule = universe.tR[rule];
  2809. return rule;
  2810. },
  2811. _Universe_findErasedType(universe, cls) {
  2812. var $length, erased, $arguments, i, $interface,
  2813. t1 = universe.eT,
  2814. probe = t1[cls];
  2815. if (probe == null)
  2816. return A._Universe_eval(universe, cls, false);
  2817. else if (typeof probe == "number") {
  2818. $length = probe;
  2819. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  2820. $arguments = A._Utils_newArrayOrEmpty($length);
  2821. for (i = 0; i < $length; ++i)
  2822. $arguments[i] = erased;
  2823. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  2824. t1[cls] = $interface;
  2825. return $interface;
  2826. } else
  2827. return probe;
  2828. },
  2829. _Universe_addRules(universe, rules) {
  2830. return A._Utils_objectAssign(universe.tR, rules);
  2831. },
  2832. _Universe_addErasedTypes(universe, types) {
  2833. return A._Utils_objectAssign(universe.eT, types);
  2834. },
  2835. _Universe_eval(universe, recipe, normalize) {
  2836. var rti,
  2837. t1 = universe.eC,
  2838. probe = t1.get(recipe);
  2839. if (probe != null)
  2840. return probe;
  2841. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  2842. t1.set(recipe, rti);
  2843. return rti;
  2844. },
  2845. _Universe_evalInEnvironment(universe, environment, recipe) {
  2846. var probe, rti,
  2847. cache = environment._evalCache;
  2848. if (cache == null)
  2849. cache = environment._evalCache = new Map();
  2850. probe = cache.get(recipe);
  2851. if (probe != null)
  2852. return probe;
  2853. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  2854. cache.set(recipe, rti);
  2855. return rti;
  2856. },
  2857. _Universe_bind(universe, environment, argumentsRti) {
  2858. var argumentsRecipe, probe, rti,
  2859. cache = environment._bindCache;
  2860. if (cache == null)
  2861. cache = environment._bindCache = new Map();
  2862. argumentsRecipe = argumentsRti._canonicalRecipe;
  2863. probe = cache.get(argumentsRecipe);
  2864. if (probe != null)
  2865. return probe;
  2866. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  2867. cache.set(argumentsRecipe, rti);
  2868. return rti;
  2869. },
  2870. _Universe__installTypeTests(universe, rti) {
  2871. rti._as = A._installSpecializedAsCheck;
  2872. rti._is = A._installSpecializedIsTest;
  2873. return rti;
  2874. },
  2875. _Universe__lookupTerminalRti(universe, kind, key) {
  2876. var rti, t1,
  2877. probe = universe.eC.get(key);
  2878. if (probe != null)
  2879. return probe;
  2880. rti = new A.Rti(null, null);
  2881. rti._kind = kind;
  2882. rti._canonicalRecipe = key;
  2883. t1 = A._Universe__installTypeTests(universe, rti);
  2884. universe.eC.set(key, t1);
  2885. return t1;
  2886. },
  2887. _Universe__lookupStarRti(universe, baseType, normalize) {
  2888. var t1,
  2889. key = baseType._canonicalRecipe + "*",
  2890. probe = universe.eC.get(key);
  2891. if (probe != null)
  2892. return probe;
  2893. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  2894. universe.eC.set(key, t1);
  2895. return t1;
  2896. },
  2897. _Universe__createStarRti(universe, baseType, key, normalize) {
  2898. var baseKind, t1, rti;
  2899. if (normalize) {
  2900. baseKind = baseType._kind;
  2901. if (!A.isStrongTopType(baseType))
  2902. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  2903. else
  2904. t1 = true;
  2905. if (t1)
  2906. return baseType;
  2907. }
  2908. rti = new A.Rti(null, null);
  2909. rti._kind = 6;
  2910. rti._primary = baseType;
  2911. rti._canonicalRecipe = key;
  2912. return A._Universe__installTypeTests(universe, rti);
  2913. },
  2914. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  2915. var t1,
  2916. key = baseType._canonicalRecipe + "?",
  2917. probe = universe.eC.get(key);
  2918. if (probe != null)
  2919. return probe;
  2920. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  2921. universe.eC.set(key, t1);
  2922. return t1;
  2923. },
  2924. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  2925. var baseKind, t1, starArgument, rti;
  2926. if (normalize) {
  2927. baseKind = baseType._kind;
  2928. if (!A.isStrongTopType(baseType))
  2929. if (!(baseType === type$.Null || baseType === type$.JSNull))
  2930. if (baseKind !== 7)
  2931. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  2932. else
  2933. t1 = true;
  2934. else
  2935. t1 = true;
  2936. else
  2937. t1 = true;
  2938. if (t1)
  2939. return baseType;
  2940. else if (baseKind === 1 || baseType === type$.legacy_Never)
  2941. return type$.Null;
  2942. else if (baseKind === 6) {
  2943. starArgument = baseType._primary;
  2944. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  2945. return starArgument;
  2946. else
  2947. return A.Rti__getQuestionFromStar(universe, baseType);
  2948. }
  2949. }
  2950. rti = new A.Rti(null, null);
  2951. rti._kind = 7;
  2952. rti._primary = baseType;
  2953. rti._canonicalRecipe = key;
  2954. return A._Universe__installTypeTests(universe, rti);
  2955. },
  2956. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  2957. var t1,
  2958. key = baseType._canonicalRecipe + "/",
  2959. probe = universe.eC.get(key);
  2960. if (probe != null)
  2961. return probe;
  2962. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  2963. universe.eC.set(key, t1);
  2964. return t1;
  2965. },
  2966. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  2967. var t1, t2, rti;
  2968. if (normalize) {
  2969. t1 = baseType._kind;
  2970. if (!A.isStrongTopType(baseType))
  2971. if (!(baseType === type$.legacy_Object))
  2972. t2 = false;
  2973. else
  2974. t2 = true;
  2975. else
  2976. t2 = true;
  2977. if (t2 || baseType === type$.Object)
  2978. return baseType;
  2979. else if (t1 === 1)
  2980. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  2981. else if (baseType === type$.Null || baseType === type$.JSNull)
  2982. return type$.nullable_Future_Null;
  2983. }
  2984. rti = new A.Rti(null, null);
  2985. rti._kind = 8;
  2986. rti._primary = baseType;
  2987. rti._canonicalRecipe = key;
  2988. return A._Universe__installTypeTests(universe, rti);
  2989. },
  2990. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  2991. var rti, t1,
  2992. key = "" + index + "^",
  2993. probe = universe.eC.get(key);
  2994. if (probe != null)
  2995. return probe;
  2996. rti = new A.Rti(null, null);
  2997. rti._kind = 13;
  2998. rti._primary = index;
  2999. rti._canonicalRecipe = key;
  3000. t1 = A._Universe__installTypeTests(universe, rti);
  3001. universe.eC.set(key, t1);
  3002. return t1;
  3003. },
  3004. _Universe__canonicalRecipeJoin($arguments) {
  3005. var s, sep, i,
  3006. $length = $arguments.length;
  3007. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  3008. s += sep + $arguments[i]._canonicalRecipe;
  3009. return s;
  3010. },
  3011. _Universe__canonicalRecipeJoinNamed($arguments) {
  3012. var s, sep, i, t1, nameSep,
  3013. $length = $arguments.length;
  3014. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  3015. t1 = $arguments[i];
  3016. nameSep = $arguments[i + 1] ? "!" : ":";
  3017. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  3018. }
  3019. return s;
  3020. },
  3021. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  3022. var probe, rti, t1,
  3023. s = $name;
  3024. if ($arguments.length > 0)
  3025. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  3026. probe = universe.eC.get(s);
  3027. if (probe != null)
  3028. return probe;
  3029. rti = new A.Rti(null, null);
  3030. rti._kind = 9;
  3031. rti._primary = $name;
  3032. rti._rest = $arguments;
  3033. if ($arguments.length > 0)
  3034. rti._precomputed1 = $arguments[0];
  3035. rti._canonicalRecipe = s;
  3036. t1 = A._Universe__installTypeTests(universe, rti);
  3037. universe.eC.set(s, t1);
  3038. return t1;
  3039. },
  3040. _Universe__lookupBindingRti(universe, base, $arguments) {
  3041. var newBase, newArguments, key, probe, rti, t1;
  3042. if (base._kind === 10) {
  3043. newBase = base._primary;
  3044. newArguments = base._rest.concat($arguments);
  3045. } else {
  3046. newArguments = $arguments;
  3047. newBase = base;
  3048. }
  3049. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  3050. probe = universe.eC.get(key);
  3051. if (probe != null)
  3052. return probe;
  3053. rti = new A.Rti(null, null);
  3054. rti._kind = 10;
  3055. rti._primary = newBase;
  3056. rti._rest = newArguments;
  3057. rti._canonicalRecipe = key;
  3058. t1 = A._Universe__installTypeTests(universe, rti);
  3059. universe.eC.set(key, t1);
  3060. return t1;
  3061. },
  3062. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  3063. var sep, key, probe, rti, t1,
  3064. s = returnType._canonicalRecipe,
  3065. requiredPositional = parameters._requiredPositional,
  3066. requiredPositionalLength = requiredPositional.length,
  3067. optionalPositional = parameters._optionalPositional,
  3068. optionalPositionalLength = optionalPositional.length,
  3069. named = parameters._named,
  3070. namedLength = named.length,
  3071. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  3072. if (optionalPositionalLength > 0) {
  3073. sep = requiredPositionalLength > 0 ? "," : "";
  3074. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  3075. }
  3076. if (namedLength > 0) {
  3077. sep = requiredPositionalLength > 0 ? "," : "";
  3078. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  3079. }
  3080. key = s + (recipe + ")");
  3081. probe = universe.eC.get(key);
  3082. if (probe != null)
  3083. return probe;
  3084. rti = new A.Rti(null, null);
  3085. rti._kind = 11;
  3086. rti._primary = returnType;
  3087. rti._rest = parameters;
  3088. rti._canonicalRecipe = key;
  3089. t1 = A._Universe__installTypeTests(universe, rti);
  3090. universe.eC.set(key, t1);
  3091. return t1;
  3092. },
  3093. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  3094. var t1,
  3095. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  3096. probe = universe.eC.get(key);
  3097. if (probe != null)
  3098. return probe;
  3099. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  3100. universe.eC.set(key, t1);
  3101. return t1;
  3102. },
  3103. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  3104. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  3105. if (normalize) {
  3106. $length = bounds.length;
  3107. typeArguments = A._Utils_newArrayOrEmpty($length);
  3108. for (count = 0, i = 0; i < $length; ++i) {
  3109. bound = bounds[i];
  3110. if (bound._kind === 1) {
  3111. typeArguments[i] = bound;
  3112. ++count;
  3113. }
  3114. }
  3115. if (count > 0) {
  3116. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  3117. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  3118. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  3119. }
  3120. }
  3121. rti = new A.Rti(null, null);
  3122. rti._kind = 12;
  3123. rti._primary = baseFunctionType;
  3124. rti._rest = bounds;
  3125. rti._canonicalRecipe = key;
  3126. return A._Universe__installTypeTests(universe, rti);
  3127. },
  3128. _Parser_create(universe, environment, recipe, normalize) {
  3129. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  3130. },
  3131. _Parser_parse(parser) {
  3132. var t2, i, ch, t3, array, head, base, parameters, optionalPositional, named, item,
  3133. source = parser.r,
  3134. t1 = parser.s;
  3135. for (t2 = source.length, i = 0; i < t2;) {
  3136. ch = source.charCodeAt(i);
  3137. if (ch >= 48 && ch <= 57)
  3138. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  3139. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36)
  3140. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  3141. else if (ch === 46)
  3142. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  3143. else {
  3144. ++i;
  3145. switch (ch) {
  3146. case 44:
  3147. break;
  3148. case 58:
  3149. t1.push(false);
  3150. break;
  3151. case 33:
  3152. t1.push(true);
  3153. break;
  3154. case 59:
  3155. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  3156. break;
  3157. case 94:
  3158. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  3159. break;
  3160. case 35:
  3161. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  3162. break;
  3163. case 64:
  3164. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  3165. break;
  3166. case 126:
  3167. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  3168. break;
  3169. case 60:
  3170. t1.push(parser.p);
  3171. parser.p = t1.length;
  3172. break;
  3173. case 62:
  3174. t3 = parser.u;
  3175. array = t1.splice(parser.p);
  3176. A._Parser_toTypes(parser.u, parser.e, array);
  3177. parser.p = t1.pop();
  3178. head = t1.pop();
  3179. if (typeof head == "string")
  3180. t1.push(A._Universe__lookupInterfaceRti(t3, head, array));
  3181. else {
  3182. base = A._Parser_toType(t3, parser.e, head);
  3183. switch (base._kind) {
  3184. case 11:
  3185. t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n));
  3186. break;
  3187. default:
  3188. t1.push(A._Universe__lookupBindingRti(t3, base, array));
  3189. break;
  3190. }
  3191. }
  3192. break;
  3193. case 38:
  3194. A._Parser_handleExtendedOperations(parser, t1);
  3195. break;
  3196. case 42:
  3197. t3 = parser.u;
  3198. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3199. break;
  3200. case 63:
  3201. t3 = parser.u;
  3202. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3203. break;
  3204. case 47:
  3205. t3 = parser.u;
  3206. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  3207. break;
  3208. case 40:
  3209. t1.push(parser.p);
  3210. parser.p = t1.length;
  3211. break;
  3212. case 41:
  3213. t3 = parser.u;
  3214. parameters = new A._FunctionParameters();
  3215. optionalPositional = t3.sEA;
  3216. named = t3.sEA;
  3217. head = t1.pop();
  3218. if (typeof head == "number")
  3219. switch (head) {
  3220. case -1:
  3221. optionalPositional = t1.pop();
  3222. break;
  3223. case -2:
  3224. named = t1.pop();
  3225. break;
  3226. default:
  3227. t1.push(head);
  3228. break;
  3229. }
  3230. else
  3231. t1.push(head);
  3232. array = t1.splice(parser.p);
  3233. A._Parser_toTypes(parser.u, parser.e, array);
  3234. parser.p = t1.pop();
  3235. parameters._requiredPositional = array;
  3236. parameters._optionalPositional = optionalPositional;
  3237. parameters._named = named;
  3238. t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters));
  3239. break;
  3240. case 91:
  3241. t1.push(parser.p);
  3242. parser.p = t1.length;
  3243. break;
  3244. case 93:
  3245. array = t1.splice(parser.p);
  3246. A._Parser_toTypes(parser.u, parser.e, array);
  3247. parser.p = t1.pop();
  3248. t1.push(array);
  3249. t1.push(-1);
  3250. break;
  3251. case 123:
  3252. t1.push(parser.p);
  3253. parser.p = t1.length;
  3254. break;
  3255. case 125:
  3256. array = t1.splice(parser.p);
  3257. A._Parser_toTypesNamed(parser.u, parser.e, array);
  3258. parser.p = t1.pop();
  3259. t1.push(array);
  3260. t1.push(-2);
  3261. break;
  3262. default:
  3263. throw "Bad character " + ch;
  3264. }
  3265. }
  3266. }
  3267. item = t1.pop();
  3268. return A._Parser_toType(parser.u, parser.e, item);
  3269. },
  3270. _Parser_handleDigit(i, digit, source, stack) {
  3271. var t1, ch,
  3272. value = digit - 48;
  3273. for (t1 = source.length; i < t1; ++i) {
  3274. ch = source.charCodeAt(i);
  3275. if (!(ch >= 48 && ch <= 57))
  3276. break;
  3277. value = value * 10 + (ch - 48);
  3278. }
  3279. stack.push(value);
  3280. return i;
  3281. },
  3282. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  3283. var t1, ch, t2, string, environment, recipe,
  3284. i = start + 1;
  3285. for (t1 = source.length; i < t1; ++i) {
  3286. ch = source.charCodeAt(i);
  3287. if (ch === 46) {
  3288. if (hasPeriod)
  3289. break;
  3290. hasPeriod = true;
  3291. } else {
  3292. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36))
  3293. t2 = ch >= 48 && ch <= 57;
  3294. else
  3295. t2 = true;
  3296. if (!t2)
  3297. break;
  3298. }
  3299. }
  3300. string = source.substring(start, i);
  3301. if (hasPeriod) {
  3302. t1 = parser.u;
  3303. environment = parser.e;
  3304. if (environment._kind === 10)
  3305. environment = environment._primary;
  3306. recipe = A._Universe_findRule(t1, environment._primary)[string];
  3307. if (recipe == null)
  3308. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  3309. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  3310. } else
  3311. stack.push(string);
  3312. return i;
  3313. },
  3314. _Parser_handleExtendedOperations(parser, stack) {
  3315. var $top = stack.pop();
  3316. if (0 === $top) {
  3317. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  3318. return;
  3319. }
  3320. if (1 === $top) {
  3321. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  3322. return;
  3323. }
  3324. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  3325. },
  3326. _Parser_toType(universe, environment, item) {
  3327. if (typeof item == "string")
  3328. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  3329. else if (typeof item == "number")
  3330. return A._Parser_indexToType(universe, environment, item);
  3331. else
  3332. return item;
  3333. },
  3334. _Parser_toTypes(universe, environment, items) {
  3335. var i,
  3336. $length = items.length;
  3337. for (i = 0; i < $length; ++i)
  3338. items[i] = A._Parser_toType(universe, environment, items[i]);
  3339. },
  3340. _Parser_toTypesNamed(universe, environment, items) {
  3341. var i,
  3342. $length = items.length;
  3343. for (i = 2; i < $length; i += 3)
  3344. items[i] = A._Parser_toType(universe, environment, items[i]);
  3345. },
  3346. _Parser_indexToType(universe, environment, index) {
  3347. var typeArguments, len,
  3348. kind = environment._kind;
  3349. if (kind === 10) {
  3350. if (index === 0)
  3351. return environment._primary;
  3352. typeArguments = environment._rest;
  3353. len = typeArguments.length;
  3354. if (index <= len)
  3355. return typeArguments[index - 1];
  3356. index -= len;
  3357. environment = environment._primary;
  3358. kind = environment._kind;
  3359. } else if (index === 0)
  3360. return environment;
  3361. if (kind !== 9)
  3362. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  3363. typeArguments = environment._rest;
  3364. if (index <= typeArguments.length)
  3365. return typeArguments[index - 1];
  3366. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  3367. },
  3368. _isSubtype(universe, s, sEnv, t, tEnv) {
  3369. var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound;
  3370. if (s === t)
  3371. return true;
  3372. if (!A.isStrongTopType(t))
  3373. if (!(t === type$.legacy_Object))
  3374. t1 = false;
  3375. else
  3376. t1 = true;
  3377. else
  3378. t1 = true;
  3379. if (t1)
  3380. return true;
  3381. sKind = s._kind;
  3382. if (sKind === 4)
  3383. return true;
  3384. if (A.isStrongTopType(s))
  3385. return false;
  3386. if (s._kind !== 1)
  3387. t1 = false;
  3388. else
  3389. t1 = true;
  3390. if (t1)
  3391. return true;
  3392. leftTypeVariable = sKind === 13;
  3393. if (leftTypeVariable)
  3394. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  3395. return true;
  3396. tKind = t._kind;
  3397. t1 = s === type$.Null || s === type$.JSNull;
  3398. if (t1) {
  3399. if (tKind === 8)
  3400. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3401. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  3402. }
  3403. if (t === type$.Object) {
  3404. if (sKind === 8)
  3405. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3406. if (sKind === 6)
  3407. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3408. return sKind !== 7;
  3409. }
  3410. if (sKind === 6)
  3411. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3412. if (tKind === 6) {
  3413. t1 = A.Rti__getQuestionFromStar(universe, t);
  3414. return A._isSubtype(universe, s, sEnv, t1, tEnv);
  3415. }
  3416. if (sKind === 8) {
  3417. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  3418. return false;
  3419. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  3420. }
  3421. if (sKind === 7) {
  3422. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
  3423. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  3424. }
  3425. if (tKind === 8) {
  3426. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  3427. return true;
  3428. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  3429. }
  3430. if (tKind === 7) {
  3431. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
  3432. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  3433. }
  3434. if (leftTypeVariable)
  3435. return false;
  3436. t1 = sKind !== 11;
  3437. if ((!t1 || sKind === 12) && t === type$.Function)
  3438. return true;
  3439. if (tKind === 12) {
  3440. if (s === type$.JavaScriptFunction)
  3441. return true;
  3442. if (sKind !== 12)
  3443. return false;
  3444. sBounds = s._rest;
  3445. tBounds = t._rest;
  3446. sLength = sBounds.length;
  3447. if (sLength !== tBounds.length)
  3448. return false;
  3449. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  3450. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  3451. for (i = 0; i < sLength; ++i) {
  3452. sBound = sBounds[i];
  3453. tBound = tBounds[i];
  3454. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  3455. return false;
  3456. }
  3457. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  3458. }
  3459. if (tKind === 11) {
  3460. if (s === type$.JavaScriptFunction)
  3461. return true;
  3462. if (t1)
  3463. return false;
  3464. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  3465. }
  3466. if (sKind === 9) {
  3467. if (tKind !== 9)
  3468. return false;
  3469. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  3470. }
  3471. return false;
  3472. },
  3473. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  3474. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  3475. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  3476. return false;
  3477. sParameters = s._rest;
  3478. tParameters = t._rest;
  3479. sRequiredPositional = sParameters._requiredPositional;
  3480. tRequiredPositional = tParameters._requiredPositional;
  3481. sRequiredPositionalLength = sRequiredPositional.length;
  3482. tRequiredPositionalLength = tRequiredPositional.length;
  3483. if (sRequiredPositionalLength > tRequiredPositionalLength)
  3484. return false;
  3485. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  3486. sOptionalPositional = sParameters._optionalPositional;
  3487. tOptionalPositional = tParameters._optionalPositional;
  3488. sOptionalPositionalLength = sOptionalPositional.length;
  3489. tOptionalPositionalLength = tOptionalPositional.length;
  3490. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  3491. return false;
  3492. for (i = 0; i < sRequiredPositionalLength; ++i) {
  3493. t1 = sRequiredPositional[i];
  3494. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  3495. return false;
  3496. }
  3497. for (i = 0; i < requiredPositionalDelta; ++i) {
  3498. t1 = sOptionalPositional[i];
  3499. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  3500. return false;
  3501. }
  3502. for (i = 0; i < tOptionalPositionalLength; ++i) {
  3503. t1 = sOptionalPositional[requiredPositionalDelta + i];
  3504. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  3505. return false;
  3506. }
  3507. sNamed = sParameters._named;
  3508. tNamed = tParameters._named;
  3509. sNamedLength = sNamed.length;
  3510. tNamedLength = tNamed.length;
  3511. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  3512. tName = tNamed[tIndex];
  3513. for (; true;) {
  3514. if (sIndex >= sNamedLength)
  3515. return false;
  3516. sName = sNamed[sIndex];
  3517. sIndex += 3;
  3518. if (tName < sName)
  3519. return false;
  3520. sIsRequired = sNamed[sIndex - 2];
  3521. if (sName < tName) {
  3522. if (sIsRequired)
  3523. return false;
  3524. continue;
  3525. }
  3526. t1 = tNamed[tIndex + 1];
  3527. if (sIsRequired && !t1)
  3528. return false;
  3529. t1 = sNamed[sIndex - 1];
  3530. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  3531. return false;
  3532. break;
  3533. }
  3534. }
  3535. for (; sIndex < sNamedLength;) {
  3536. if (sNamed[sIndex + 1])
  3537. return false;
  3538. sIndex += 3;
  3539. }
  3540. return true;
  3541. },
  3542. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  3543. var rule, recipes, $length, supertypeArgs, i, t1, t2,
  3544. sName = s._primary,
  3545. tName = t._primary;
  3546. for (; sName !== tName;) {
  3547. rule = universe.tR[sName];
  3548. if (rule == null)
  3549. return false;
  3550. if (typeof rule == "string") {
  3551. sName = rule;
  3552. continue;
  3553. }
  3554. recipes = rule[tName];
  3555. if (recipes == null)
  3556. return false;
  3557. $length = recipes.length;
  3558. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3559. for (i = 0; i < $length; ++i)
  3560. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  3561. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  3562. }
  3563. t1 = s._rest;
  3564. t2 = t._rest;
  3565. return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
  3566. },
  3567. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  3568. var i, t1, t2,
  3569. $length = sArgs.length;
  3570. for (i = 0; i < $length; ++i) {
  3571. t1 = sArgs[i];
  3572. t2 = tArgs[i];
  3573. if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
  3574. return false;
  3575. }
  3576. return true;
  3577. },
  3578. isNullable(t) {
  3579. var t1,
  3580. kind = t._kind;
  3581. if (!(t === type$.Null || t === type$.JSNull))
  3582. if (!A.isStrongTopType(t))
  3583. if (kind !== 7)
  3584. if (!(kind === 6 && A.isNullable(t._primary)))
  3585. t1 = kind === 8 && A.isNullable(t._primary);
  3586. else
  3587. t1 = true;
  3588. else
  3589. t1 = true;
  3590. else
  3591. t1 = true;
  3592. else
  3593. t1 = true;
  3594. return t1;
  3595. },
  3596. isTopType(t) {
  3597. var t1;
  3598. if (!A.isStrongTopType(t))
  3599. if (!(t === type$.legacy_Object))
  3600. t1 = false;
  3601. else
  3602. t1 = true;
  3603. else
  3604. t1 = true;
  3605. return t1;
  3606. },
  3607. isStrongTopType(t) {
  3608. var kind = t._kind;
  3609. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  3610. },
  3611. _Utils_objectAssign(o, other) {
  3612. var i, key,
  3613. keys = Object.keys(other),
  3614. $length = keys.length;
  3615. for (i = 0; i < $length; ++i) {
  3616. key = keys[i];
  3617. o[key] = other[key];
  3618. }
  3619. },
  3620. _Utils_newArrayOrEmpty($length) {
  3621. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  3622. },
  3623. Rti: function Rti(t0, t1) {
  3624. var _ = this;
  3625. _._as = t0;
  3626. _._is = t1;
  3627. _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null;
  3628. _._kind = 0;
  3629. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  3630. },
  3631. _FunctionParameters: function _FunctionParameters() {
  3632. this._named = this._optionalPositional = this._requiredPositional = null;
  3633. },
  3634. _Type: function _Type(t0) {
  3635. this._rti = t0;
  3636. },
  3637. _Error: function _Error() {
  3638. },
  3639. _TypeError: function _TypeError(t0) {
  3640. this.__rti$_message = t0;
  3641. },
  3642. _AsyncRun__initializeScheduleImmediate() {
  3643. var div, span, t1 = {};
  3644. if (self.scheduleImmediate != null)
  3645. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  3646. if (self.MutationObserver != null && self.document != null) {
  3647. div = self.document.createElement("div");
  3648. span = self.document.createElement("span");
  3649. t1.storedCallback = null;
  3650. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  3651. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  3652. } else if (self.setImmediate != null)
  3653. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  3654. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  3655. },
  3656. _AsyncRun__scheduleImmediateJsOverride(callback) {
  3657. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  3658. },
  3659. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  3660. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  3661. },
  3662. _AsyncRun__scheduleImmediateWithTimer(callback) {
  3663. A.Timer__createTimer(B.Duration_0, callback);
  3664. },
  3665. Timer__createTimer(duration, callback) {
  3666. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  3667. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  3668. },
  3669. _TimerImpl$(milliseconds, callback) {
  3670. var t1 = new A._TimerImpl(true);
  3671. t1._TimerImpl$2(milliseconds, callback);
  3672. return t1;
  3673. },
  3674. _TimerImpl$periodic(milliseconds, callback) {
  3675. var t1 = new A._TimerImpl(false);
  3676. t1._TimerImpl$periodic$2(milliseconds, callback);
  3677. return t1;
  3678. },
  3679. _makeAsyncAwaitCompleter($T) {
  3680. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  3681. },
  3682. _asyncStartSync(bodyFunction, completer) {
  3683. bodyFunction.call$2(0, null);
  3684. completer.isSync = true;
  3685. return completer._future;
  3686. },
  3687. _asyncAwait(object, bodyFunction) {
  3688. A._awaitOnObject(object, bodyFunction);
  3689. },
  3690. _asyncReturn(object, completer) {
  3691. completer.complete$1(object);
  3692. },
  3693. _asyncRethrow(object, completer) {
  3694. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  3695. },
  3696. _awaitOnObject(object, bodyFunction) {
  3697. var t1, future,
  3698. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  3699. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  3700. if (object instanceof A._Future)
  3701. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  3702. else {
  3703. t1 = type$.dynamic;
  3704. if (type$.Future_dynamic._is(object))
  3705. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  3706. else {
  3707. future = new A._Future($.Zone__current, type$._Future_dynamic);
  3708. future._state = 8;
  3709. future._resultOrListeners = object;
  3710. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  3711. }
  3712. }
  3713. },
  3714. _wrapJsFunctionForAsync($function) {
  3715. var $protected = function(fn, ERROR) {
  3716. return function(errorCode, result) {
  3717. while (true)
  3718. try {
  3719. fn(errorCode, result);
  3720. break;
  3721. } catch (error) {
  3722. result = error;
  3723. errorCode = ERROR;
  3724. }
  3725. };
  3726. }($function, 1);
  3727. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  3728. },
  3729. _IterationMarker_yieldStar(values) {
  3730. return new A._IterationMarker(values, 1);
  3731. },
  3732. _IterationMarker_endOfIteration() {
  3733. return B._IterationMarker_null_2;
  3734. },
  3735. _IterationMarker_uncaughtError(error) {
  3736. return new A._IterationMarker(error, 3);
  3737. },
  3738. _makeSyncStarIterable(body, $T) {
  3739. return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>"));
  3740. },
  3741. AsyncError$(error, stackTrace) {
  3742. var t1 = A.checkNotNullable(error, "error", type$.Object);
  3743. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  3744. },
  3745. AsyncError_defaultStackTrace(error) {
  3746. var stackTrace;
  3747. if (type$.Error._is(error)) {
  3748. stackTrace = error.get$stackTrace();
  3749. if (stackTrace != null)
  3750. return stackTrace;
  3751. }
  3752. return B._StringStackTrace_3uE;
  3753. },
  3754. Future_Future$value(value, $T) {
  3755. var t1, t2;
  3756. $T._as(value);
  3757. t1 = value;
  3758. t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3759. t2._asyncComplete$1(t1);
  3760. return t2;
  3761. },
  3762. Future_Future$error(error, stackTrace, $T) {
  3763. var t1, replacement;
  3764. A.checkNotNullable(error, "error", type$.Object);
  3765. t1 = $.Zone__current;
  3766. if (t1 !== B.C__RootZone) {
  3767. replacement = t1.errorCallback$2(error, stackTrace);
  3768. if (replacement != null) {
  3769. error = replacement.error;
  3770. stackTrace = replacement.stackTrace;
  3771. }
  3772. }
  3773. if (stackTrace == null)
  3774. stackTrace = A.AsyncError_defaultStackTrace(error);
  3775. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  3776. t1._asyncCompleteError$2(error, stackTrace);
  3777. return t1;
  3778. },
  3779. Future_wait(futures, $T) {
  3780. var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  3781. eagerError = false,
  3782. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  3783. _box_0.values = null;
  3784. _box_0.remaining = 0;
  3785. error = A._Cell$named("error");
  3786. stackTrace = A._Cell$named("stackTrace");
  3787. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
  3788. try {
  3789. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  3790. future = t1.get$current(t1);
  3791. pos = _box_0.remaining;
  3792. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
  3793. ++_box_0.remaining;
  3794. }
  3795. t1 = _box_0.remaining;
  3796. if (t1 === 0) {
  3797. t1 = _future;
  3798. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  3799. return t1;
  3800. }
  3801. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  3802. } catch (exception) {
  3803. e = A.unwrapException(exception);
  3804. st = A.getTraceFromException(exception);
  3805. if (_box_0.remaining === 0 || eagerError)
  3806. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  3807. else {
  3808. error._value = e;
  3809. stackTrace._value = st;
  3810. }
  3811. }
  3812. return _future;
  3813. },
  3814. _Future$zoneValue(value, _zone, $T) {
  3815. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  3816. t1._state = 8;
  3817. t1._resultOrListeners = value;
  3818. return t1;
  3819. },
  3820. _Future__chainCoreFuture(source, target) {
  3821. var t1, listeners;
  3822. for (; t1 = source._state, (t1 & 4) !== 0;)
  3823. source = source._resultOrListeners;
  3824. if ((t1 & 24) !== 0) {
  3825. listeners = target._removeListeners$0();
  3826. target._cloneResult$1(source);
  3827. A._Future__propagateToListeners(target, listeners);
  3828. } else {
  3829. listeners = target._resultOrListeners;
  3830. target._state = target._state & 1 | 4;
  3831. target._resultOrListeners = source;
  3832. source._prependListeners$1(listeners);
  3833. }
  3834. },
  3835. _Future__propagateToListeners(source, listeners) {
  3836. var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {},
  3837. t1 = _box_1.source = source;
  3838. for (t2 = type$.Future_dynamic; true;) {
  3839. _box_0 = {};
  3840. t3 = t1._state;
  3841. t4 = (t3 & 16) === 0;
  3842. hasError = !t4;
  3843. if (listeners == null) {
  3844. if (hasError && (t3 & 1) === 0) {
  3845. t2 = t1._resultOrListeners;
  3846. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  3847. }
  3848. return;
  3849. }
  3850. _box_0.listener = listeners;
  3851. nextListener = listeners._nextListener;
  3852. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  3853. t1._nextListener = null;
  3854. A._Future__propagateToListeners(_box_1.source, t1);
  3855. _box_0.listener = nextListener;
  3856. nextListener0 = nextListener._nextListener;
  3857. }
  3858. t3 = _box_1.source;
  3859. sourceResult = t3._resultOrListeners;
  3860. _box_0.listenerHasError = hasError;
  3861. _box_0.listenerValueOrError = sourceResult;
  3862. if (t4) {
  3863. t5 = t1.state;
  3864. t5 = (t5 & 1) !== 0 || (t5 & 15) === 8;
  3865. } else
  3866. t5 = true;
  3867. if (t5) {
  3868. zone = t1.result._zone;
  3869. if (hasError) {
  3870. t1 = t3._zone;
  3871. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  3872. } else
  3873. t1 = false;
  3874. if (t1) {
  3875. t1 = _box_1.source;
  3876. t2 = t1._resultOrListeners;
  3877. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  3878. return;
  3879. }
  3880. oldZone = $.Zone__current;
  3881. if (oldZone !== zone)
  3882. $.Zone__current = zone;
  3883. else
  3884. oldZone = null;
  3885. t1 = _box_0.listener.state;
  3886. if ((t1 & 15) === 8)
  3887. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  3888. else if (t4) {
  3889. if ((t1 & 1) !== 0)
  3890. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  3891. } else if ((t1 & 2) !== 0)
  3892. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  3893. if (oldZone != null)
  3894. $.Zone__current = oldZone;
  3895. t1 = _box_0.listenerValueOrError;
  3896. if (t2._is(t1)) {
  3897. t3 = _box_0.listener.$ti;
  3898. t3 = t3._eval$1("Future<2>")._is(t1) || !t3._rest[1]._is(t1);
  3899. } else
  3900. t3 = false;
  3901. if (t3) {
  3902. result = _box_0.listener.result;
  3903. if ((t1._state & 24) !== 0) {
  3904. current = result._resultOrListeners;
  3905. result._resultOrListeners = null;
  3906. listeners = result._reverseListeners$1(current);
  3907. result._state = t1._state & 30 | result._state & 1;
  3908. result._resultOrListeners = t1._resultOrListeners;
  3909. _box_1.source = t1;
  3910. continue;
  3911. } else
  3912. A._Future__chainCoreFuture(t1, result);
  3913. return;
  3914. }
  3915. }
  3916. result = _box_0.listener.result;
  3917. current = result._resultOrListeners;
  3918. result._resultOrListeners = null;
  3919. listeners = result._reverseListeners$1(current);
  3920. t1 = _box_0.listenerHasError;
  3921. t3 = _box_0.listenerValueOrError;
  3922. if (!t1) {
  3923. result._state = 8;
  3924. result._resultOrListeners = t3;
  3925. } else {
  3926. result._state = result._state & 1 | 16;
  3927. result._resultOrListeners = t3;
  3928. }
  3929. _box_1.source = result;
  3930. t1 = result;
  3931. }
  3932. },
  3933. _registerErrorHandler(errorHandler, zone) {
  3934. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  3935. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  3936. if (type$.dynamic_Function_Object._is(errorHandler))
  3937. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  3938. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  3939. },
  3940. _microtaskLoop() {
  3941. var entry, next;
  3942. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  3943. $._lastPriorityCallback = null;
  3944. next = entry.next;
  3945. $._nextCallback = next;
  3946. if (next == null)
  3947. $._lastCallback = null;
  3948. entry.callback.call$0();
  3949. }
  3950. },
  3951. _startMicrotaskLoop() {
  3952. $._isInCallbackLoop = true;
  3953. try {
  3954. A._microtaskLoop();
  3955. } finally {
  3956. $._lastPriorityCallback = null;
  3957. $._isInCallbackLoop = false;
  3958. if ($._nextCallback != null)
  3959. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  3960. }
  3961. },
  3962. _scheduleAsyncCallback(callback) {
  3963. var newEntry = new A._AsyncCallbackEntry(callback),
  3964. lastCallback = $._lastCallback;
  3965. if (lastCallback == null) {
  3966. $._nextCallback = $._lastCallback = newEntry;
  3967. if (!$._isInCallbackLoop)
  3968. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  3969. } else
  3970. $._lastCallback = lastCallback.next = newEntry;
  3971. },
  3972. _schedulePriorityAsyncCallback(callback) {
  3973. var entry, lastPriorityCallback, next,
  3974. t1 = $._nextCallback;
  3975. if (t1 == null) {
  3976. A._scheduleAsyncCallback(callback);
  3977. $._lastPriorityCallback = $._lastCallback;
  3978. return;
  3979. }
  3980. entry = new A._AsyncCallbackEntry(callback);
  3981. lastPriorityCallback = $._lastPriorityCallback;
  3982. if (lastPriorityCallback == null) {
  3983. entry.next = t1;
  3984. $._nextCallback = $._lastPriorityCallback = entry;
  3985. } else {
  3986. next = lastPriorityCallback.next;
  3987. entry.next = next;
  3988. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  3989. if (next == null)
  3990. $._lastCallback = entry;
  3991. }
  3992. },
  3993. scheduleMicrotask(callback) {
  3994. var t1, _null = null,
  3995. currentZone = $.Zone__current;
  3996. if (B.C__RootZone === currentZone) {
  3997. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  3998. return;
  3999. }
  4000. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  4001. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  4002. else
  4003. t1 = false;
  4004. if (t1) {
  4005. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  4006. return;
  4007. }
  4008. t1 = $.Zone__current;
  4009. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  4010. },
  4011. Stream_Stream$fromFuture(future, $T) {
  4012. var _null = null,
  4013. t1 = $T._eval$1("_SyncStreamController<0>"),
  4014. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  4015. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  4016. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  4017. },
  4018. StreamIterator_StreamIterator(stream) {
  4019. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  4020. },
  4021. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  4022. 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>"));
  4023. },
  4024. _runGuarded(notificationHandler) {
  4025. var e, s, exception;
  4026. if (notificationHandler == null)
  4027. return;
  4028. try {
  4029. notificationHandler.call$0();
  4030. } catch (exception) {
  4031. e = A.unwrapException(exception);
  4032. s = A.getTraceFromException(exception);
  4033. $.Zone__current.handleUncaughtError$2(e, s);
  4034. }
  4035. },
  4036. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  4037. var t1 = $.Zone__current,
  4038. t2 = cancelOnError ? 1 : 0,
  4039. t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  4040. t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  4041. t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  4042. return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
  4043. },
  4044. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  4045. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  4046. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  4047. },
  4048. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  4049. if (handleError == null)
  4050. handleError = A.async___nullErrorHandler$closure();
  4051. if (type$.void_Function_Object_StackTrace._is(handleError))
  4052. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  4053. if (type$.void_Function_Object._is(handleError))
  4054. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  4055. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  4056. },
  4057. _nullDataHandler(value) {
  4058. },
  4059. _nullErrorHandler(error, stackTrace) {
  4060. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  4061. },
  4062. _nullDoneHandler() {
  4063. },
  4064. Timer_Timer(duration, callback) {
  4065. var t1 = $.Zone__current;
  4066. if (t1 === B.C__RootZone)
  4067. return t1.createTimer$2(duration, callback);
  4068. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  4069. },
  4070. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  4071. A._rootHandleError(error, stackTrace);
  4072. },
  4073. _rootHandleError(error, stackTrace) {
  4074. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  4075. },
  4076. _rootRun($self, $parent, zone, f) {
  4077. var old,
  4078. t1 = $.Zone__current;
  4079. if (t1 === zone)
  4080. return f.call$0();
  4081. $.Zone__current = zone;
  4082. old = t1;
  4083. try {
  4084. t1 = f.call$0();
  4085. return t1;
  4086. } finally {
  4087. $.Zone__current = old;
  4088. }
  4089. },
  4090. _rootRunUnary($self, $parent, zone, f, arg) {
  4091. var old,
  4092. t1 = $.Zone__current;
  4093. if (t1 === zone)
  4094. return f.call$1(arg);
  4095. $.Zone__current = zone;
  4096. old = t1;
  4097. try {
  4098. t1 = f.call$1(arg);
  4099. return t1;
  4100. } finally {
  4101. $.Zone__current = old;
  4102. }
  4103. },
  4104. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  4105. var old,
  4106. t1 = $.Zone__current;
  4107. if (t1 === zone)
  4108. return f.call$2(arg1, arg2);
  4109. $.Zone__current = zone;
  4110. old = t1;
  4111. try {
  4112. t1 = f.call$2(arg1, arg2);
  4113. return t1;
  4114. } finally {
  4115. $.Zone__current = old;
  4116. }
  4117. },
  4118. _rootRegisterCallback($self, $parent, zone, f) {
  4119. return f;
  4120. },
  4121. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  4122. return f;
  4123. },
  4124. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  4125. return f;
  4126. },
  4127. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  4128. return null;
  4129. },
  4130. _rootScheduleMicrotask($self, $parent, zone, f) {
  4131. var t1, t2;
  4132. if (B.C__RootZone !== zone) {
  4133. t1 = B.C__RootZone.get$errorZone();
  4134. t2 = zone.get$errorZone();
  4135. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  4136. }
  4137. A._scheduleAsyncCallback(f);
  4138. },
  4139. _rootCreateTimer($self, $parent, zone, duration, callback) {
  4140. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  4141. },
  4142. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  4143. var milliseconds;
  4144. if (B.C__RootZone !== zone)
  4145. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  4146. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4147. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  4148. },
  4149. _rootPrint($self, $parent, zone, line) {
  4150. A.printString(line);
  4151. },
  4152. _printToZone(line) {
  4153. $.Zone__current.print$1(line);
  4154. },
  4155. _rootFork($self, $parent, zone, specification, zoneValues) {
  4156. var valueMap, t1, handleUncaughtError;
  4157. $.printToZone = A.async___printToZone$closure();
  4158. if (specification == null)
  4159. specification = B._ZoneSpecification_ALf;
  4160. if (zoneValues == null)
  4161. valueMap = zone.get$_async$_map();
  4162. else {
  4163. t1 = type$.nullable_Object;
  4164. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  4165. }
  4166. 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);
  4167. handleUncaughtError = specification.handleUncaughtError;
  4168. if (handleUncaughtError != null)
  4169. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  4170. return t1;
  4171. },
  4172. runZoned(body, zoneValues, $R) {
  4173. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  4174. return A._runZoned(body, zoneValues, null, $R);
  4175. },
  4176. _runZoned(body, zoneValues, specification, $R) {
  4177. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  4178. },
  4179. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  4180. this._box_0 = t0;
  4181. },
  4182. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  4183. this._box_0 = t0;
  4184. this.div = t1;
  4185. this.span = t2;
  4186. },
  4187. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  4188. this.callback = t0;
  4189. },
  4190. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  4191. this.callback = t0;
  4192. },
  4193. _TimerImpl: function _TimerImpl(t0) {
  4194. this._once = t0;
  4195. this._handle = null;
  4196. this._tick = 0;
  4197. },
  4198. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  4199. this.$this = t0;
  4200. this.callback = t1;
  4201. },
  4202. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  4203. var _ = this;
  4204. _.$this = t0;
  4205. _.milliseconds = t1;
  4206. _.start = t2;
  4207. _.callback = t3;
  4208. },
  4209. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  4210. this._future = t0;
  4211. this.isSync = false;
  4212. this.$ti = t1;
  4213. },
  4214. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  4215. this.bodyFunction = t0;
  4216. },
  4217. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  4218. this.bodyFunction = t0;
  4219. },
  4220. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  4221. this.$protected = t0;
  4222. },
  4223. _IterationMarker: function _IterationMarker(t0, t1) {
  4224. this.value = t0;
  4225. this.state = t1;
  4226. },
  4227. _SyncStarIterator: function _SyncStarIterator(t0) {
  4228. var _ = this;
  4229. _._body = t0;
  4230. _._suspendedBodies = _._nestedIterator = _._async$_current = null;
  4231. },
  4232. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  4233. this._outerHelper = t0;
  4234. this.$ti = t1;
  4235. },
  4236. AsyncError: function AsyncError(t0, t1) {
  4237. this.error = t0;
  4238. this.stackTrace = t1;
  4239. },
  4240. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
  4241. var _ = this;
  4242. _._box_0 = t0;
  4243. _.cleanUp = t1;
  4244. _.eagerError = t2;
  4245. _._future = t3;
  4246. _.error = t4;
  4247. _.stackTrace = t5;
  4248. },
  4249. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
  4250. var _ = this;
  4251. _._box_0 = t0;
  4252. _.pos = t1;
  4253. _._future = t2;
  4254. _.cleanUp = t3;
  4255. _.eagerError = t4;
  4256. _.error = t5;
  4257. _.stackTrace = t6;
  4258. _.T = t7;
  4259. },
  4260. _Completer: function _Completer() {
  4261. },
  4262. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  4263. this.future = t0;
  4264. this.$ti = t1;
  4265. },
  4266. _SyncCompleter: function _SyncCompleter(t0, t1) {
  4267. this.future = t0;
  4268. this.$ti = t1;
  4269. },
  4270. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  4271. var _ = this;
  4272. _._nextListener = null;
  4273. _.result = t0;
  4274. _.state = t1;
  4275. _.callback = t2;
  4276. _.errorCallback = t3;
  4277. _.$ti = t4;
  4278. },
  4279. _Future: function _Future(t0, t1) {
  4280. var _ = this;
  4281. _._state = 0;
  4282. _._zone = t0;
  4283. _._resultOrListeners = null;
  4284. _.$ti = t1;
  4285. },
  4286. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  4287. this.$this = t0;
  4288. this.listener = t1;
  4289. },
  4290. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  4291. this._box_0 = t0;
  4292. this.$this = t1;
  4293. },
  4294. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  4295. this.$this = t0;
  4296. },
  4297. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  4298. this.$this = t0;
  4299. },
  4300. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  4301. this.$this = t0;
  4302. this.e = t1;
  4303. this.s = t2;
  4304. },
  4305. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  4306. this.$this = t0;
  4307. this.value = t1;
  4308. },
  4309. _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) {
  4310. this.$this = t0;
  4311. this.value = t1;
  4312. },
  4313. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  4314. this.$this = t0;
  4315. this.error = t1;
  4316. this.stackTrace = t2;
  4317. },
  4318. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  4319. this._box_0 = t0;
  4320. this._box_1 = t1;
  4321. this.hasError = t2;
  4322. },
  4323. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  4324. this.originalSource = t0;
  4325. },
  4326. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  4327. this._box_0 = t0;
  4328. this.sourceResult = t1;
  4329. },
  4330. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  4331. this._box_1 = t0;
  4332. this._box_0 = t1;
  4333. },
  4334. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  4335. this.callback = t0;
  4336. this.next = null;
  4337. },
  4338. Stream: function Stream() {
  4339. },
  4340. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  4341. this.controller = t0;
  4342. this.T = t1;
  4343. },
  4344. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  4345. this.controller = t0;
  4346. },
  4347. Stream_length_closure: function Stream_length_closure(t0, t1) {
  4348. this._box_0 = t0;
  4349. this.$this = t1;
  4350. },
  4351. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  4352. this._box_0 = t0;
  4353. this.future = t1;
  4354. },
  4355. StreamTransformerBase: function StreamTransformerBase() {
  4356. },
  4357. _StreamController: function _StreamController() {
  4358. },
  4359. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  4360. this.$this = t0;
  4361. },
  4362. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  4363. this.$this = t0;
  4364. },
  4365. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  4366. },
  4367. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  4368. },
  4369. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  4370. var _ = this;
  4371. _._varData = null;
  4372. _._state = 0;
  4373. _._doneFuture = null;
  4374. _.onListen = t0;
  4375. _.onPause = t1;
  4376. _.onResume = t2;
  4377. _.onCancel = t3;
  4378. _.$ti = t4;
  4379. },
  4380. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  4381. var _ = this;
  4382. _._varData = null;
  4383. _._state = 0;
  4384. _._doneFuture = null;
  4385. _.onListen = t0;
  4386. _.onPause = t1;
  4387. _.onResume = t2;
  4388. _.onCancel = t3;
  4389. _.$ti = t4;
  4390. },
  4391. _ControllerStream: function _ControllerStream(t0, t1) {
  4392. this._controller = t0;
  4393. this.$ti = t1;
  4394. },
  4395. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4396. var _ = this;
  4397. _._controller = t0;
  4398. _._onData = t1;
  4399. _._onError = t2;
  4400. _._onDone = t3;
  4401. _._zone = t4;
  4402. _._state = t5;
  4403. _._pending = _._cancelFuture = null;
  4404. _.$ti = t6;
  4405. },
  4406. _AddStreamState: function _AddStreamState() {
  4407. },
  4408. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  4409. this.$this = t0;
  4410. },
  4411. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  4412. this.varData = t0;
  4413. this.addStreamFuture = t1;
  4414. this.addSubscription = t2;
  4415. },
  4416. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  4417. },
  4418. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  4419. this.$this = t0;
  4420. this.error = t1;
  4421. this.stackTrace = t2;
  4422. },
  4423. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  4424. this.$this = t0;
  4425. },
  4426. _StreamImpl: function _StreamImpl() {
  4427. },
  4428. _DelayedEvent: function _DelayedEvent() {
  4429. },
  4430. _DelayedData: function _DelayedData(t0) {
  4431. this.value = t0;
  4432. this.next = null;
  4433. },
  4434. _DelayedError: function _DelayedError(t0, t1) {
  4435. this.error = t0;
  4436. this.stackTrace = t1;
  4437. this.next = null;
  4438. },
  4439. _DelayedDone: function _DelayedDone() {
  4440. },
  4441. _PendingEvents: function _PendingEvents() {
  4442. this._state = 0;
  4443. this.lastPendingEvent = this.firstPendingEvent = null;
  4444. },
  4445. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  4446. this.$this = t0;
  4447. this.dispatch = t1;
  4448. },
  4449. _StreamIterator: function _StreamIterator(t0) {
  4450. this._subscription = null;
  4451. this._stateData = t0;
  4452. this._async$_hasValue = false;
  4453. },
  4454. _ForwardingStream: function _ForwardingStream() {
  4455. },
  4456. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  4457. var _ = this;
  4458. _._stream = t0;
  4459. _._subscription = null;
  4460. _._onData = t1;
  4461. _._onError = t2;
  4462. _._onDone = t3;
  4463. _._zone = t4;
  4464. _._state = t5;
  4465. _._pending = _._cancelFuture = null;
  4466. _.$ti = t6;
  4467. },
  4468. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  4469. this._expand = t0;
  4470. this._async$_source = t1;
  4471. this.$ti = t2;
  4472. },
  4473. _ZoneFunction: function _ZoneFunction(t0, t1) {
  4474. this.zone = t0;
  4475. this.$function = t1;
  4476. },
  4477. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  4478. var _ = this;
  4479. _.handleUncaughtError = t0;
  4480. _.run = t1;
  4481. _.runUnary = t2;
  4482. _.runBinary = t3;
  4483. _.registerCallback = t4;
  4484. _.registerUnaryCallback = t5;
  4485. _.registerBinaryCallback = t6;
  4486. _.errorCallback = t7;
  4487. _.scheduleMicrotask = t8;
  4488. _.createTimer = t9;
  4489. _.createPeriodicTimer = t10;
  4490. _.print = t11;
  4491. _.fork = t12;
  4492. },
  4493. _ZoneDelegate: function _ZoneDelegate(t0) {
  4494. this._delegationTarget = t0;
  4495. },
  4496. _Zone: function _Zone() {
  4497. },
  4498. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  4499. var _ = this;
  4500. _._run = t0;
  4501. _._runUnary = t1;
  4502. _._runBinary = t2;
  4503. _._registerCallback = t3;
  4504. _._registerUnaryCallback = t4;
  4505. _._registerBinaryCallback = t5;
  4506. _._errorCallback = t6;
  4507. _._scheduleMicrotask = t7;
  4508. _._createTimer = t8;
  4509. _._createPeriodicTimer = t9;
  4510. _._print = t10;
  4511. _._fork = t11;
  4512. _._handleUncaughtError = t12;
  4513. _._delegateCache = null;
  4514. _.parent = t13;
  4515. _._async$_map = t14;
  4516. },
  4517. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  4518. this.$this = t0;
  4519. this.registered = t1;
  4520. this.R = t2;
  4521. },
  4522. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4523. var _ = this;
  4524. _.$this = t0;
  4525. _.registered = t1;
  4526. _.T = t2;
  4527. _.R = t3;
  4528. },
  4529. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  4530. this.$this = t0;
  4531. this.registered = t1;
  4532. },
  4533. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  4534. this.error = t0;
  4535. this.stackTrace = t1;
  4536. },
  4537. _RootZone: function _RootZone() {
  4538. },
  4539. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  4540. this.$this = t0;
  4541. this.f = t1;
  4542. this.R = t2;
  4543. },
  4544. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  4545. var _ = this;
  4546. _.$this = t0;
  4547. _.f = t1;
  4548. _.T = t2;
  4549. _.R = t3;
  4550. },
  4551. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  4552. this.$this = t0;
  4553. this.f = t1;
  4554. },
  4555. HashMap_HashMap($K, $V) {
  4556. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  4557. },
  4558. _HashMap__getTableEntry(table, key) {
  4559. var entry = table[key];
  4560. return entry === table ? null : entry;
  4561. },
  4562. _HashMap__setTableEntry(table, key, value) {
  4563. if (value == null)
  4564. table[key] = table;
  4565. else
  4566. table[key] = value;
  4567. },
  4568. _HashMap__newHashTable() {
  4569. var table = Object.create(null);
  4570. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  4571. delete table["<non-identifier-key>"];
  4572. return table;
  4573. },
  4574. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  4575. if (isValidKey == null)
  4576. if (hashCode == null) {
  4577. if (equals == null)
  4578. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4579. hashCode = A.collection___defaultHashCode$closure();
  4580. } else {
  4581. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  4582. return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>"));
  4583. if (equals == null)
  4584. equals = A.collection___defaultEquals$closure();
  4585. }
  4586. else {
  4587. if (hashCode == null)
  4588. hashCode = A.collection___defaultHashCode$closure();
  4589. if (equals == null)
  4590. equals = A.collection___defaultEquals$closure();
  4591. }
  4592. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  4593. },
  4594. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  4595. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  4596. },
  4597. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  4598. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  4599. },
  4600. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  4601. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  4602. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  4603. },
  4604. LinkedHashSet_LinkedHashSet($E) {
  4605. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4606. },
  4607. LinkedHashSet_LinkedHashSet$_empty($E) {
  4608. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  4609. },
  4610. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  4611. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  4612. },
  4613. _LinkedHashSet__newHashTable() {
  4614. var table = Object.create(null);
  4615. table["<non-identifier-key>"] = table;
  4616. delete table["<non-identifier-key>"];
  4617. return table;
  4618. },
  4619. _LinkedHashSetIterator$(_set, _modifications) {
  4620. var t1 = new A._LinkedHashSetIterator(_set, _modifications);
  4621. t1._collection$_cell = _set._collection$_first;
  4622. return t1;
  4623. },
  4624. UnmodifiableListView$(source, $E) {
  4625. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  4626. },
  4627. _defaultEquals(a, b) {
  4628. return J.$eq$(a, b);
  4629. },
  4630. _defaultHashCode(a) {
  4631. return J.get$hashCode$(a);
  4632. },
  4633. HashMap_HashMap$from(other, $K, $V) {
  4634. var result = A.HashMap_HashMap($K, $V);
  4635. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  4636. return result;
  4637. },
  4638. IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  4639. var parts, t1;
  4640. if (A._isToStringVisiting(iterable)) {
  4641. if (leftDelimiter === "(" && rightDelimiter === ")")
  4642. return "(...)";
  4643. return leftDelimiter + "..." + rightDelimiter;
  4644. }
  4645. parts = A._setArrayType([], type$.JSArray_String);
  4646. $._toStringVisiting.push(iterable);
  4647. try {
  4648. A._iterablePartsToStrings(iterable, parts);
  4649. } finally {
  4650. $._toStringVisiting.pop();
  4651. }
  4652. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  4653. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4654. },
  4655. IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  4656. var buffer, t1;
  4657. if (A._isToStringVisiting(iterable))
  4658. return leftDelimiter + "..." + rightDelimiter;
  4659. buffer = new A.StringBuffer(leftDelimiter);
  4660. $._toStringVisiting.push(iterable);
  4661. try {
  4662. t1 = buffer;
  4663. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  4664. } finally {
  4665. $._toStringVisiting.pop();
  4666. }
  4667. buffer._contents += rightDelimiter;
  4668. t1 = buffer._contents;
  4669. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4670. },
  4671. _isToStringVisiting(o) {
  4672. var t1, i;
  4673. for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i)
  4674. if (o === $._toStringVisiting[i])
  4675. return true;
  4676. return false;
  4677. },
  4678. _iterablePartsToStrings(iterable, parts) {
  4679. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  4680. it = iterable.get$iterator(iterable),
  4681. $length = 0, count = 0;
  4682. while (true) {
  4683. if (!($length < 80 || count < 3))
  4684. break;
  4685. if (!it.moveNext$0())
  4686. return;
  4687. next = A.S(it.get$current(it));
  4688. parts.push(next);
  4689. $length += next.length + 2;
  4690. ++count;
  4691. }
  4692. if (!it.moveNext$0()) {
  4693. if (count <= 5)
  4694. return;
  4695. ultimateString = parts.pop();
  4696. penultimateString = parts.pop();
  4697. } else {
  4698. penultimate = it.get$current(it);
  4699. ++count;
  4700. if (!it.moveNext$0()) {
  4701. if (count <= 4) {
  4702. parts.push(A.S(penultimate));
  4703. return;
  4704. }
  4705. ultimateString = A.S(penultimate);
  4706. penultimateString = parts.pop();
  4707. $length += ultimateString.length + 2;
  4708. } else {
  4709. ultimate = it.get$current(it);
  4710. ++count;
  4711. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  4712. ultimate0 = it.get$current(it);
  4713. ++count;
  4714. if (count > 100) {
  4715. while (true) {
  4716. if (!($length > 75 && count > 3))
  4717. break;
  4718. $length -= parts.pop().length + 2;
  4719. --count;
  4720. }
  4721. parts.push("...");
  4722. return;
  4723. }
  4724. }
  4725. penultimateString = A.S(penultimate);
  4726. ultimateString = A.S(ultimate);
  4727. $length += ultimateString.length + penultimateString.length + 4;
  4728. }
  4729. }
  4730. if (count > parts.length + 2) {
  4731. $length += 5;
  4732. elision = "...";
  4733. } else
  4734. elision = null;
  4735. while (true) {
  4736. if (!($length > 80 && parts.length > 3))
  4737. break;
  4738. $length -= parts.pop().length + 2;
  4739. if (elision == null) {
  4740. $length += 5;
  4741. elision = "...";
  4742. }
  4743. }
  4744. if (elision != null)
  4745. parts.push(elision);
  4746. parts.push(penultimateString);
  4747. parts.push(ultimateString);
  4748. },
  4749. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  4750. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4751. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  4752. return result;
  4753. },
  4754. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  4755. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  4756. t1.addAll$1(0, other);
  4757. return t1;
  4758. },
  4759. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  4760. var t1, _i,
  4761. result = A.LinkedHashSet_LinkedHashSet($E);
  4762. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  4763. result.add$1(0, $E._as(elements[_i]));
  4764. return result;
  4765. },
  4766. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  4767. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  4768. t1.addAll$1(0, elements);
  4769. return t1;
  4770. },
  4771. ListMixin__compareAny(a, b) {
  4772. var t1 = type$.Comparable_dynamic;
  4773. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  4774. },
  4775. MapBase_mapToString(m) {
  4776. var result, t1 = {};
  4777. if (A._isToStringVisiting(m))
  4778. return "{...}";
  4779. result = new A.StringBuffer("");
  4780. try {
  4781. $._toStringVisiting.push(m);
  4782. result._contents += "{";
  4783. t1.first = true;
  4784. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  4785. result._contents += "}";
  4786. } finally {
  4787. $._toStringVisiting.pop();
  4788. }
  4789. t1 = result._contents;
  4790. return t1.charCodeAt(0) == 0 ? t1 : t1;
  4791. },
  4792. MapBase__fillMapWithIterables(map, keys, values) {
  4793. var keyIterator = keys.get$iterator(keys),
  4794. valueIterator = values.get$iterator(values),
  4795. hasNextKey = keyIterator.moveNext$0(),
  4796. hasNextValue = valueIterator.moveNext$0();
  4797. while (true) {
  4798. if (!(hasNextKey && hasNextValue))
  4799. break;
  4800. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  4801. hasNextKey = keyIterator.moveNext$0();
  4802. hasNextValue = valueIterator.moveNext$0();
  4803. }
  4804. if (hasNextKey || hasNextValue)
  4805. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  4806. },
  4807. ListQueue$($E) {
  4808. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  4809. },
  4810. ListQueue__calculateCapacity(initialCapacity) {
  4811. return 8;
  4812. },
  4813. ListQueue_ListQueue$of(elements, $E) {
  4814. var t1 = A.ListQueue$($E);
  4815. t1.addAll$1(0, elements);
  4816. return t1;
  4817. },
  4818. ListQueue__nextPowerOf2(number) {
  4819. var nextNumber;
  4820. number = (number << 1 >>> 0) - 1;
  4821. for (; true; number = nextNumber) {
  4822. nextNumber = (number & number - 1) >>> 0;
  4823. if (nextNumber === 0)
  4824. return number;
  4825. }
  4826. },
  4827. _ListQueueIterator$(queue) {
  4828. return new A._ListQueueIterator(queue, queue._collection$_tail, queue._modificationCount, queue._collection$_head);
  4829. },
  4830. _UnmodifiableSetMixin__throwUnmodifiable() {
  4831. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  4832. },
  4833. _HashMap: function _HashMap(t0) {
  4834. var _ = this;
  4835. _._collection$_length = 0;
  4836. _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4837. _.$ti = t0;
  4838. },
  4839. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  4840. this.$this = t0;
  4841. },
  4842. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  4843. this.$this = t0;
  4844. },
  4845. _IdentityHashMap: function _IdentityHashMap(t0) {
  4846. var _ = this;
  4847. _._collection$_length = 0;
  4848. _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4849. _.$ti = t0;
  4850. },
  4851. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  4852. this._map = t0;
  4853. this.$ti = t1;
  4854. },
  4855. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
  4856. var _ = this;
  4857. _._map = t0;
  4858. _._keys = t1;
  4859. _._offset = 0;
  4860. _._collection$_current = null;
  4861. },
  4862. _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) {
  4863. var _ = this;
  4864. _.__js_helper$_length = 0;
  4865. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4866. _._modifications = 0;
  4867. _.$ti = t0;
  4868. },
  4869. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  4870. var _ = this;
  4871. _._equals = t0;
  4872. _._hashCode = t1;
  4873. _._validKey = t2;
  4874. _.__js_helper$_length = 0;
  4875. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  4876. _._modifications = 0;
  4877. _.$ti = t3;
  4878. },
  4879. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  4880. this.K = t0;
  4881. },
  4882. _LinkedHashSet: function _LinkedHashSet(t0) {
  4883. var _ = this;
  4884. _._collection$_length = 0;
  4885. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4886. _._collection$_modifications = 0;
  4887. _.$ti = t0;
  4888. },
  4889. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  4890. var _ = this;
  4891. _._collection$_length = 0;
  4892. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  4893. _._collection$_modifications = 0;
  4894. _.$ti = t0;
  4895. },
  4896. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  4897. this._element = t0;
  4898. this._collection$_previous = this._collection$_next = null;
  4899. },
  4900. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
  4901. var _ = this;
  4902. _._set = t0;
  4903. _._collection$_modifications = t1;
  4904. _._collection$_current = _._collection$_cell = null;
  4905. },
  4906. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  4907. this._collection$_source = t0;
  4908. this.$ti = t1;
  4909. },
  4910. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  4911. this.result = t0;
  4912. this.K = t1;
  4913. this.V = t2;
  4914. },
  4915. IterableBase: function IterableBase() {
  4916. },
  4917. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  4918. this.result = t0;
  4919. this.K = t1;
  4920. this.V = t2;
  4921. },
  4922. ListBase: function ListBase() {
  4923. },
  4924. ListMixin: function ListMixin() {
  4925. },
  4926. MapBase: function MapBase() {
  4927. },
  4928. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  4929. this._box_0 = t0;
  4930. this.result = t1;
  4931. },
  4932. MapMixin: function MapMixin() {
  4933. },
  4934. MapMixin_addAll_closure: function MapMixin_addAll_closure(t0) {
  4935. this.$this = t0;
  4936. },
  4937. MapMixin_entries_closure: function MapMixin_entries_closure(t0) {
  4938. this.$this = t0;
  4939. },
  4940. UnmodifiableMapBase: function UnmodifiableMapBase() {
  4941. },
  4942. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  4943. this._map = t0;
  4944. this.$ti = t1;
  4945. },
  4946. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
  4947. this._keys = t0;
  4948. this._map = t1;
  4949. this._collection$_current = null;
  4950. },
  4951. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  4952. },
  4953. MapView: function MapView() {
  4954. },
  4955. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  4956. this._map = t0;
  4957. this.$ti = t1;
  4958. },
  4959. ListQueue: function ListQueue(t0, t1) {
  4960. var _ = this;
  4961. _._collection$_table = t0;
  4962. _._modificationCount = _._collection$_tail = _._collection$_head = 0;
  4963. _.$ti = t1;
  4964. },
  4965. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
  4966. var _ = this;
  4967. _._queue = t0;
  4968. _._collection$_end = t1;
  4969. _._modificationCount = t2;
  4970. _._collection$_position = t3;
  4971. _._collection$_current = null;
  4972. },
  4973. SetMixin: function SetMixin() {
  4974. },
  4975. _SetBase: function _SetBase() {
  4976. },
  4977. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  4978. },
  4979. _UnmodifiableSet: function _UnmodifiableSet(t0, t1) {
  4980. this._map = t0;
  4981. this.$ti = t1;
  4982. },
  4983. _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() {
  4984. },
  4985. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  4986. },
  4987. __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() {
  4988. },
  4989. __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() {
  4990. },
  4991. Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
  4992. var casted, result;
  4993. if (codeUnits instanceof Uint8Array) {
  4994. casted = codeUnits;
  4995. end = casted.length;
  4996. if (end - start < 15)
  4997. return null;
  4998. result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
  4999. if (result != null && allowMalformed)
  5000. if (result.indexOf("\ufffd") >= 0)
  5001. return null;
  5002. return result;
  5003. }
  5004. return null;
  5005. },
  5006. Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  5007. var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
  5008. if (decoder == null)
  5009. return null;
  5010. if (0 === start && end === codeUnits.length)
  5011. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
  5012. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
  5013. },
  5014. Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  5015. var t1, exception;
  5016. try {
  5017. t1 = decoder.decode(codeUnits);
  5018. return t1;
  5019. } catch (exception) {
  5020. }
  5021. return null;
  5022. },
  5023. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  5024. if (B.JSInt_methods.$mod($length, 4) !== 0)
  5025. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  5026. if (firstPadding + paddingCount !== $length)
  5027. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  5028. if (paddingCount > 2)
  5029. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  5030. },
  5031. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  5032. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  5033. bits = state >>> 2,
  5034. expectedChars = 3 - (state & 3);
  5035. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  5036. byte = t1.$index(bytes, i);
  5037. byteOr = (byteOr | byte) >>> 0;
  5038. bits = (bits << 8 | byte) & 16777215;
  5039. --expectedChars;
  5040. if (expectedChars === 0) {
  5041. outputIndex0 = outputIndex + 1;
  5042. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63);
  5043. outputIndex = outputIndex0 + 1;
  5044. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63);
  5045. outputIndex0 = outputIndex + 1;
  5046. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63);
  5047. outputIndex = outputIndex0 + 1;
  5048. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63);
  5049. bits = 0;
  5050. expectedChars = 3;
  5051. }
  5052. }
  5053. if (byteOr >= 0 && byteOr <= 255) {
  5054. if (isLast && expectedChars < 3) {
  5055. outputIndex0 = outputIndex + 1;
  5056. outputIndex1 = outputIndex0 + 1;
  5057. if (3 - expectedChars === 1) {
  5058. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63);
  5059. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63);
  5060. output[outputIndex1] = 61;
  5061. output[outputIndex1 + 1] = 61;
  5062. } else {
  5063. output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63);
  5064. output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63);
  5065. output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63);
  5066. output[outputIndex1 + 1] = 61;
  5067. }
  5068. return 0;
  5069. }
  5070. return (bits << 2 | 3 - expectedChars) >>> 0;
  5071. }
  5072. for (i = start; i < end;) {
  5073. byte = t1.$index(bytes, i);
  5074. if (byte < 0 || byte > 255)
  5075. break;
  5076. ++i;
  5077. }
  5078. 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));
  5079. },
  5080. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  5081. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  5082. },
  5083. _defaultToEncodable(object) {
  5084. return object.toJson$0();
  5085. },
  5086. _JsonStringStringifier$(_sink, _toEncodable) {
  5087. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  5088. },
  5089. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  5090. var t1,
  5091. output = new A.StringBuffer(""),
  5092. stringifier = A._JsonStringStringifier$(output, toEncodable);
  5093. stringifier.writeObject$1(object);
  5094. t1 = output._contents;
  5095. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5096. },
  5097. _Utf8Decoder_errorDescription(state) {
  5098. switch (state) {
  5099. case 65:
  5100. return "Missing extension byte";
  5101. case 67:
  5102. return "Unexpected extension byte";
  5103. case 69:
  5104. return "Invalid UTF-8 byte";
  5105. case 71:
  5106. return "Overlong encoding";
  5107. case 73:
  5108. return "Out of unicode range";
  5109. case 75:
  5110. return "Encoded surrogate";
  5111. case 77:
  5112. return "Unfinished UTF-8 octet sequence";
  5113. default:
  5114. return "";
  5115. }
  5116. },
  5117. _Utf8Decoder__makeUint8List(codeUnits, start, end) {
  5118. var t1, i, b,
  5119. $length = end - start,
  5120. bytes = new Uint8Array($length);
  5121. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  5122. b = t1.$index(codeUnits, start + i);
  5123. bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
  5124. }
  5125. return bytes;
  5126. },
  5127. Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
  5128. },
  5129. Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
  5130. },
  5131. AsciiCodec: function AsciiCodec() {
  5132. },
  5133. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  5134. },
  5135. AsciiEncoder: function AsciiEncoder(t0) {
  5136. this._subsetMask = t0;
  5137. },
  5138. Base64Codec: function Base64Codec() {
  5139. },
  5140. Base64Encoder: function Base64Encoder() {
  5141. },
  5142. _Base64Encoder: function _Base64Encoder(t0) {
  5143. this._convert$_state = 0;
  5144. this._alphabet = t0;
  5145. },
  5146. _Base64EncoderSink: function _Base64EncoderSink() {
  5147. },
  5148. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  5149. this._sink = t0;
  5150. this._encoder = t1;
  5151. },
  5152. ByteConversionSink: function ByteConversionSink() {
  5153. },
  5154. ByteConversionSinkBase: function ByteConversionSinkBase() {
  5155. },
  5156. ChunkedConversionSink: function ChunkedConversionSink() {
  5157. },
  5158. Codec: function Codec() {
  5159. },
  5160. Converter: function Converter() {
  5161. },
  5162. Encoding: function Encoding() {
  5163. },
  5164. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  5165. this.unsupportedObject = t0;
  5166. this.cause = t1;
  5167. },
  5168. JsonCyclicError: function JsonCyclicError(t0, t1) {
  5169. this.unsupportedObject = t0;
  5170. this.cause = t1;
  5171. },
  5172. JsonCodec: function JsonCodec() {
  5173. },
  5174. JsonEncoder: function JsonEncoder(t0) {
  5175. this._toEncodable = t0;
  5176. },
  5177. _JsonStringifier: function _JsonStringifier() {
  5178. },
  5179. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  5180. this._box_0 = t0;
  5181. this.keyValueList = t1;
  5182. },
  5183. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  5184. this._sink = t0;
  5185. this._seen = t1;
  5186. this._toEncodable = t2;
  5187. },
  5188. StringConversionSinkBase: function StringConversionSinkBase() {
  5189. },
  5190. StringConversionSinkMixin: function StringConversionSinkMixin() {
  5191. },
  5192. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  5193. this._stringSink = t0;
  5194. },
  5195. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  5196. this._convert$_callback = t0;
  5197. this._stringSink = t1;
  5198. },
  5199. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  5200. this._decoder = t0;
  5201. this._sink = t1;
  5202. this._stringSink = t2;
  5203. },
  5204. Utf8Codec: function Utf8Codec() {
  5205. },
  5206. Utf8Encoder: function Utf8Encoder() {
  5207. },
  5208. _Utf8Encoder: function _Utf8Encoder(t0) {
  5209. this._bufferIndex = 0;
  5210. this._convert$_buffer = t0;
  5211. },
  5212. Utf8Decoder: function Utf8Decoder(t0) {
  5213. this._allowMalformed = t0;
  5214. },
  5215. _Utf8Decoder: function _Utf8Decoder(t0) {
  5216. this.allowMalformed = t0;
  5217. this._convert$_state = 16;
  5218. this._charOrIndex = 0;
  5219. },
  5220. identityHashCode(object) {
  5221. return A.objectHashCode(object);
  5222. },
  5223. Function_apply($function, positionalArguments) {
  5224. return A.Primitives_applyFunction($function, positionalArguments, null);
  5225. },
  5226. Expando$() {
  5227. return new A.Expando(new WeakMap());
  5228. },
  5229. Expando__checkType(object) {
  5230. if (A._isBool(object) || typeof object == "number" || typeof object == "string")
  5231. throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null));
  5232. },
  5233. int_parse(source, radix) {
  5234. var value = A.Primitives_parseInt(source, radix);
  5235. if (value != null)
  5236. return value;
  5237. throw A.wrapException(A.FormatException$(source, null, null));
  5238. },
  5239. double_parse(source) {
  5240. var value = A.Primitives_parseDouble(source);
  5241. if (value != null)
  5242. return value;
  5243. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  5244. },
  5245. Error__objectToString(object) {
  5246. if (object instanceof A.Closure)
  5247. return object.toString$0(0);
  5248. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  5249. },
  5250. Error__throw(error, stackTrace) {
  5251. error = A.wrapException(error);
  5252. error.stack = stackTrace.toString$0(0);
  5253. throw error;
  5254. throw A.wrapException("unreachable");
  5255. },
  5256. List_List$filled($length, fill, growable, $E) {
  5257. var i,
  5258. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  5259. if ($length !== 0 && fill != null)
  5260. for (i = 0; i < result.length; ++i)
  5261. result[i] = fill;
  5262. return result;
  5263. },
  5264. List_List$from(elements, growable, $E) {
  5265. var t1,
  5266. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5267. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5268. list.push(t1.get$current(t1));
  5269. if (growable)
  5270. return list;
  5271. return J.JSArray_markFixedList(list);
  5272. },
  5273. List_List$of(elements, growable, $E) {
  5274. var t1;
  5275. if (growable)
  5276. return A.List_List$_of(elements, $E);
  5277. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  5278. return t1;
  5279. },
  5280. List_List$_of(elements, $E) {
  5281. var list, t1;
  5282. if (Array.isArray(elements))
  5283. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  5284. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  5285. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  5286. list.push(t1.get$current(t1));
  5287. return list;
  5288. },
  5289. List_List$unmodifiable(elements, $E) {
  5290. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  5291. },
  5292. String_String$fromCharCodes(charCodes, start, end) {
  5293. var array, len;
  5294. if (Array.isArray(charCodes)) {
  5295. array = charCodes;
  5296. len = array.length;
  5297. end = A.RangeError_checkValidRange(start, end, len);
  5298. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  5299. }
  5300. if (type$.NativeUint8List._is(charCodes))
  5301. return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
  5302. return A.String__stringFromIterable(charCodes, start, end);
  5303. },
  5304. String_String$fromCharCode(charCode) {
  5305. return A.Primitives_stringFromCharCode(charCode);
  5306. },
  5307. String__stringFromIterable(charCodes, start, end) {
  5308. var t1, it, i, list, _null = null;
  5309. if (start < 0)
  5310. throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
  5311. t1 = end == null;
  5312. if (!t1 && end < start)
  5313. throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
  5314. it = J.get$iterator$ax(charCodes);
  5315. for (i = 0; i < start; ++i)
  5316. if (!it.moveNext$0())
  5317. throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
  5318. list = [];
  5319. if (t1)
  5320. for (; it.moveNext$0();)
  5321. list.push(it.get$current(it));
  5322. else
  5323. for (i = start; i < end; ++i) {
  5324. if (!it.moveNext$0())
  5325. throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
  5326. list.push(it.get$current(it));
  5327. }
  5328. return A.Primitives_stringFromCharCodes(list);
  5329. },
  5330. RegExp_RegExp(source, multiLine) {
  5331. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  5332. },
  5333. identical(a, b) {
  5334. return a == null ? b == null : a === b;
  5335. },
  5336. StringBuffer__writeAll(string, objects, separator) {
  5337. var iterator = J.get$iterator$ax(objects);
  5338. if (!iterator.moveNext$0())
  5339. return string;
  5340. if (separator.length === 0) {
  5341. do
  5342. string += A.S(iterator.get$current(iterator));
  5343. while (iterator.moveNext$0());
  5344. } else {
  5345. string += A.S(iterator.get$current(iterator));
  5346. for (; iterator.moveNext$0();)
  5347. string = string + separator + A.S(iterator.get$current(iterator));
  5348. }
  5349. return string;
  5350. },
  5351. NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) {
  5352. return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments);
  5353. },
  5354. Uri_base() {
  5355. var uri = A.Primitives_currentUri();
  5356. if (uri != null)
  5357. return A.Uri_parse(uri);
  5358. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  5359. },
  5360. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  5361. var t1, bytes, i, t2, byte,
  5362. _s16_ = "0123456789ABCDEF";
  5363. if (encoding === B.C_Utf8Codec) {
  5364. t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp;
  5365. t1 = t1.test(text);
  5366. } else
  5367. t1 = false;
  5368. if (t1)
  5369. return text;
  5370. bytes = encoding.get$encoder().convert$1(text);
  5371. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  5372. byte = bytes[i];
  5373. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  5374. t2 += A.Primitives_stringFromCharCode(byte);
  5375. else
  5376. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  5377. }
  5378. return t2.charCodeAt(0) == 0 ? t2 : t2;
  5379. },
  5380. StackTrace_current() {
  5381. var stackTrace, exception;
  5382. if ($.$get$_hasErrorStackProperty())
  5383. return A.getTraceFromException(new Error());
  5384. try {
  5385. throw A.wrapException("");
  5386. } catch (exception) {
  5387. stackTrace = A.getTraceFromException(exception);
  5388. return stackTrace;
  5389. }
  5390. },
  5391. DateTime$_withValue(_value, isUtc) {
  5392. var t1;
  5393. if (Math.abs(_value) <= 864e13)
  5394. t1 = false;
  5395. else
  5396. t1 = true;
  5397. if (t1)
  5398. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null));
  5399. A.checkNotNullable(false, "isUtc", type$.bool);
  5400. return new A.DateTime(_value, false);
  5401. },
  5402. DateTime__fourDigits(n) {
  5403. var absN = Math.abs(n),
  5404. sign = n < 0 ? "-" : "";
  5405. if (absN >= 1000)
  5406. return "" + n;
  5407. if (absN >= 100)
  5408. return sign + "0" + absN;
  5409. if (absN >= 10)
  5410. return sign + "00" + absN;
  5411. return sign + "000" + absN;
  5412. },
  5413. DateTime__threeDigits(n) {
  5414. if (n >= 100)
  5415. return "" + n;
  5416. if (n >= 10)
  5417. return "0" + n;
  5418. return "00" + n;
  5419. },
  5420. DateTime__twoDigits(n) {
  5421. if (n >= 10)
  5422. return "" + n;
  5423. return "0" + n;
  5424. },
  5425. Duration$(milliseconds) {
  5426. return new A.Duration(1000 * milliseconds);
  5427. },
  5428. Error_safeToString(object) {
  5429. if (typeof object == "number" || A._isBool(object) || object == null)
  5430. return J.toString$0$(object);
  5431. if (typeof object == "string")
  5432. return JSON.stringify(object);
  5433. return A.Error__objectToString(object);
  5434. },
  5435. AssertionError$(message) {
  5436. return new A.AssertionError(message);
  5437. },
  5438. ArgumentError$(message, $name) {
  5439. return new A.ArgumentError(false, null, $name, message);
  5440. },
  5441. ArgumentError$value(value, $name, message) {
  5442. return new A.ArgumentError(true, value, $name, message);
  5443. },
  5444. ArgumentError_checkNotNull(argument, $name) {
  5445. return argument;
  5446. },
  5447. RangeError$(message) {
  5448. var _null = null;
  5449. return new A.RangeError(_null, _null, false, _null, _null, message);
  5450. },
  5451. RangeError$value(value, $name, message) {
  5452. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  5453. },
  5454. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  5455. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  5456. },
  5457. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  5458. if (value < minValue || value > maxValue)
  5459. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  5460. return value;
  5461. },
  5462. RangeError_checkValidIndex(index, indexable, $name) {
  5463. var $length = indexable.get$length(indexable);
  5464. if (0 > index || index >= $length)
  5465. throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length));
  5466. return index;
  5467. },
  5468. RangeError_checkValidRange(start, end, $length) {
  5469. if (0 > start || start > $length)
  5470. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  5471. if (end != null) {
  5472. if (start > end || end > $length)
  5473. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  5474. return end;
  5475. }
  5476. return $length;
  5477. },
  5478. RangeError_checkNotNegative(value, $name) {
  5479. if (value < 0)
  5480. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  5481. return value;
  5482. },
  5483. IndexError$(invalidValue, indexable, $name, message, $length) {
  5484. var t1 = $length == null ? J.get$length$asx(indexable) : $length;
  5485. return new A.IndexError(t1, true, invalidValue, $name, "Index out of range");
  5486. },
  5487. UnsupportedError$(message) {
  5488. return new A.UnsupportedError(message);
  5489. },
  5490. UnimplementedError$(message) {
  5491. return new A.UnimplementedError(message);
  5492. },
  5493. StateError$(message) {
  5494. return new A.StateError(message);
  5495. },
  5496. ConcurrentModificationError$(modifiedObject) {
  5497. return new A.ConcurrentModificationError(modifiedObject);
  5498. },
  5499. FormatException$(message, source, offset) {
  5500. return new A.FormatException(message, source, offset);
  5501. },
  5502. Iterable_Iterable$generate(count, generator, $E) {
  5503. if (count <= 0)
  5504. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  5505. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  5506. },
  5507. Map_castFrom(source, $K, $V, K2, V2) {
  5508. 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>"));
  5509. },
  5510. Object_hash(object1, object2, object3, object4) {
  5511. var t1, t2;
  5512. if (B.C_SentinelValue === object3) {
  5513. t1 = J.get$hashCode$(object1);
  5514. object2 = J.get$hashCode$(object2);
  5515. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  5516. }
  5517. if (B.C_SentinelValue === object4) {
  5518. t1 = J.get$hashCode$(object1);
  5519. object2 = J.get$hashCode$(object2);
  5520. object3 = J.get$hashCode$(object3);
  5521. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  5522. }
  5523. t1 = J.get$hashCode$(object1);
  5524. object2 = J.get$hashCode$(object2);
  5525. object3 = J.get$hashCode$(object3);
  5526. object4 = J.get$hashCode$(object4);
  5527. t2 = $.$get$_hashSeed();
  5528. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(t2, t1), object2), object3), object4));
  5529. },
  5530. print(object) {
  5531. var line = A.S(object),
  5532. toZone = $.printToZone;
  5533. if (toZone == null)
  5534. A.printString(line);
  5535. else
  5536. toZone.call$1(line);
  5537. },
  5538. Set_castFrom(source, newSet, $S, $T) {
  5539. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  5540. },
  5541. _combineSurrogatePair(start, end) {
  5542. return 65536 + ((start & 1023) << 10) + (end & 1023);
  5543. },
  5544. Uri_Uri$dataFromString($content, encoding, mimeType) {
  5545. var encodingName, t1,
  5546. buffer = new A.StringBuffer(""),
  5547. indices = A._setArrayType([-1], type$.JSArray_int);
  5548. if (encoding == null)
  5549. encodingName = null;
  5550. else
  5551. encodingName = "utf-8";
  5552. if (encoding == null)
  5553. encoding = B.C_AsciiCodec;
  5554. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  5555. indices.push(buffer._contents.length);
  5556. buffer._contents += ",";
  5557. A.UriData__uriEncodeBytes(B.List_CVk, encoding.encode$1($content), buffer);
  5558. t1 = buffer._contents;
  5559. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  5560. },
  5561. Uri_parse(uri) {
  5562. 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,
  5563. end = uri.length;
  5564. if (end >= 5) {
  5565. 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;
  5566. if (delta === 0)
  5567. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  5568. else if (delta === 32)
  5569. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  5570. }
  5571. indices = A.List_List$filled(8, 0, false, type$.int);
  5572. indices[0] = 0;
  5573. indices[1] = -1;
  5574. indices[2] = -1;
  5575. indices[7] = -1;
  5576. indices[3] = 0;
  5577. indices[4] = 0;
  5578. indices[5] = end;
  5579. indices[6] = end;
  5580. if (A._scan(uri, 0, end, 0, indices) >= 14)
  5581. indices[7] = end;
  5582. schemeEnd = indices[1];
  5583. if (schemeEnd >= 0)
  5584. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  5585. indices[7] = schemeEnd;
  5586. hostStart = indices[2] + 1;
  5587. portStart = indices[3];
  5588. pathStart = indices[4];
  5589. queryStart = indices[5];
  5590. fragmentStart = indices[6];
  5591. if (fragmentStart < queryStart)
  5592. queryStart = fragmentStart;
  5593. if (pathStart < hostStart)
  5594. pathStart = queryStart;
  5595. else if (pathStart <= schemeEnd)
  5596. pathStart = schemeEnd + 1;
  5597. if (portStart < hostStart)
  5598. portStart = pathStart;
  5599. isSimple = indices[7] < 0;
  5600. if (isSimple)
  5601. if (hostStart > schemeEnd + 3) {
  5602. scheme = _null;
  5603. isSimple = false;
  5604. } else {
  5605. t1 = portStart > 0;
  5606. if (t1 && portStart + 1 === pathStart) {
  5607. scheme = _null;
  5608. isSimple = false;
  5609. } else {
  5610. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  5611. if (hostStart > 0)
  5612. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  5613. else
  5614. t2 = false;
  5615. else
  5616. t2 = true;
  5617. if (t2) {
  5618. scheme = _null;
  5619. isSimple = false;
  5620. } else {
  5621. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  5622. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  5623. else
  5624. t2 = true;
  5625. if (t2) {
  5626. scheme = _null;
  5627. isSimple = false;
  5628. } else {
  5629. if (schemeEnd === 4)
  5630. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  5631. if (hostStart <= 0) {
  5632. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  5633. schemeAuth = "file:///";
  5634. delta = 3;
  5635. } else {
  5636. schemeAuth = "file://";
  5637. delta = 2;
  5638. }
  5639. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  5640. schemeEnd -= 0;
  5641. t1 = delta - 0;
  5642. queryStart += t1;
  5643. fragmentStart += t1;
  5644. end = uri.length;
  5645. hostStart = 7;
  5646. portStart = 7;
  5647. pathStart = 7;
  5648. } else if (pathStart === queryStart) {
  5649. ++fragmentStart;
  5650. queryStart0 = queryStart + 1;
  5651. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  5652. ++end;
  5653. queryStart = queryStart0;
  5654. }
  5655. scheme = "file";
  5656. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  5657. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  5658. fragmentStart -= 3;
  5659. pathStart0 = pathStart - 3;
  5660. queryStart -= 3;
  5661. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5662. end -= 3;
  5663. pathStart = pathStart0;
  5664. }
  5665. scheme = "http";
  5666. } else
  5667. scheme = _null;
  5668. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  5669. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  5670. fragmentStart -= 4;
  5671. pathStart0 = pathStart - 4;
  5672. queryStart -= 4;
  5673. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  5674. end -= 3;
  5675. pathStart = pathStart0;
  5676. }
  5677. scheme = "https";
  5678. } else
  5679. scheme = _null;
  5680. isSimple = true;
  5681. }
  5682. }
  5683. }
  5684. }
  5685. else
  5686. scheme = _null;
  5687. if (isSimple) {
  5688. if (end < uri.length) {
  5689. uri = B.JSString_methods.substring$2(uri, 0, end);
  5690. schemeEnd -= 0;
  5691. hostStart -= 0;
  5692. portStart -= 0;
  5693. pathStart -= 0;
  5694. queryStart -= 0;
  5695. fragmentStart -= 0;
  5696. }
  5697. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  5698. }
  5699. if (scheme == null)
  5700. if (schemeEnd > 0)
  5701. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  5702. else {
  5703. if (schemeEnd === 0)
  5704. A._Uri__fail(uri, 0, "Invalid empty scheme");
  5705. scheme = "";
  5706. }
  5707. if (hostStart > 0) {
  5708. userInfoStart = schemeEnd + 3;
  5709. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  5710. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  5711. t1 = portStart + 1;
  5712. if (t1 < pathStart) {
  5713. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  5714. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  5715. } else
  5716. port = _null;
  5717. } else {
  5718. port = _null;
  5719. host = port;
  5720. userInfo = "";
  5721. }
  5722. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  5723. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  5724. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  5725. },
  5726. Uri_decodeComponent(encodedComponent) {
  5727. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  5728. },
  5729. Uri__parseIPv4Address(host, start, end) {
  5730. var i, partStart, partIndex, char, part, partIndex0,
  5731. _s43_ = "IPv4 address should contain exactly 4 parts",
  5732. _s37_ = "each part must be in the range 0..255",
  5733. error = new A.Uri__parseIPv4Address_error(host),
  5734. result = new Uint8Array(4);
  5735. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  5736. char = B.JSString_methods.codeUnitAt$1(host, i);
  5737. if (char !== 46) {
  5738. if ((char ^ 48) > 9)
  5739. error.call$2("invalid character", i);
  5740. } else {
  5741. if (partIndex === 3)
  5742. error.call$2(_s43_, i);
  5743. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  5744. if (part > 255)
  5745. error.call$2(_s37_, partStart);
  5746. partIndex0 = partIndex + 1;
  5747. result[partIndex] = part;
  5748. partStart = i + 1;
  5749. partIndex = partIndex0;
  5750. }
  5751. }
  5752. if (partIndex !== 3)
  5753. error.call$2(_s43_, end);
  5754. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  5755. if (part > 255)
  5756. error.call$2(_s37_, partStart);
  5757. result[partIndex] = part;
  5758. return result;
  5759. },
  5760. Uri_parseIPv6Address(host, start, end) {
  5761. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  5762. error = new A.Uri_parseIPv6Address_error(host),
  5763. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  5764. if (host.length < 2)
  5765. error.call$2("address is too short", _null);
  5766. parts = A._setArrayType([], type$.JSArray_int);
  5767. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  5768. char = B.JSString_methods.codeUnitAt$1(host, i);
  5769. if (char === 58) {
  5770. if (i === start) {
  5771. ++i;
  5772. if (B.JSString_methods.codeUnitAt$1(host, i) !== 58)
  5773. error.call$2("invalid start colon.", i);
  5774. partStart = i;
  5775. }
  5776. if (i === partStart) {
  5777. if (wildcardSeen)
  5778. error.call$2("only one wildcard `::` is allowed", i);
  5779. parts.push(-1);
  5780. wildcardSeen = true;
  5781. } else
  5782. parts.push(parseHex.call$2(partStart, i));
  5783. partStart = i + 1;
  5784. } else if (char === 46)
  5785. seenDot = true;
  5786. }
  5787. if (parts.length === 0)
  5788. error.call$2("too few parts", _null);
  5789. atEnd = partStart === end;
  5790. t1 = B.JSArray_methods.get$last(parts);
  5791. if (atEnd && t1 !== -1)
  5792. error.call$2("expected a part after last `:`", end);
  5793. if (!atEnd)
  5794. if (!seenDot)
  5795. parts.push(parseHex.call$2(partStart, end));
  5796. else {
  5797. last = A.Uri__parseIPv4Address(host, partStart, end);
  5798. parts.push((last[0] << 8 | last[1]) >>> 0);
  5799. parts.push((last[2] << 8 | last[3]) >>> 0);
  5800. }
  5801. if (wildcardSeen) {
  5802. if (parts.length > 7)
  5803. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  5804. } else if (parts.length !== 8)
  5805. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  5806. bytes = new Uint8Array(16);
  5807. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  5808. value = parts[i];
  5809. if (value === -1)
  5810. for (j = 0; j < wildCardLength; ++j) {
  5811. bytes[index] = 0;
  5812. bytes[index + 1] = 0;
  5813. index += 2;
  5814. }
  5815. else {
  5816. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  5817. bytes[index + 1] = value & 255;
  5818. index += 2;
  5819. }
  5820. }
  5821. return bytes;
  5822. },
  5823. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  5824. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  5825. },
  5826. _Uri__Uri(host, path, pathSegments, scheme) {
  5827. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  5828. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  5829. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  5830. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  5831. query = A._Uri__makeQuery(_null, 0, 0, _null);
  5832. fragment = A._Uri__makeFragment(_null, 0, 0);
  5833. port = A._Uri__makePort(_null, scheme);
  5834. isFile = scheme === "file";
  5835. if (host == null)
  5836. t1 = userInfo.length !== 0 || port != null || isFile;
  5837. else
  5838. t1 = false;
  5839. if (t1)
  5840. host = "";
  5841. t1 = host == null;
  5842. hasAuthority = !t1;
  5843. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  5844. t2 = scheme.length === 0;
  5845. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  5846. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  5847. else
  5848. path = A._Uri__removeDotSegments(path);
  5849. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  5850. },
  5851. _Uri__defaultPort(scheme) {
  5852. if (scheme === "http")
  5853. return 80;
  5854. if (scheme === "https")
  5855. return 443;
  5856. return 0;
  5857. },
  5858. _Uri__fail(uri, index, message) {
  5859. throw A.wrapException(A.FormatException$(message, uri, index));
  5860. },
  5861. _Uri__Uri$file(path, windows) {
  5862. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  5863. },
  5864. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  5865. var t1, _i, segment, t2, t3;
  5866. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  5867. segment = segments[_i];
  5868. t2 = J.getInterceptor$asx(segment);
  5869. t3 = t2.get$length(segment);
  5870. if (0 > t3)
  5871. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  5872. if (A.stringContainsUnchecked(segment, "/", 0)) {
  5873. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  5874. throw A.wrapException(t1);
  5875. }
  5876. }
  5877. },
  5878. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  5879. var t1, t2, t3, t4, t5, _null = null;
  5880. 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();) {
  5881. t3 = t1.__internal$_current;
  5882. if (t3 == null)
  5883. t3 = t2._as(t3);
  5884. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  5885. t5 = t3.length;
  5886. if (A.stringContainsUnchecked(t3, t4, 0))
  5887. if (argumentError)
  5888. throw A.wrapException(A.ArgumentError$("Illegal character in path", _null));
  5889. else
  5890. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  5891. }
  5892. },
  5893. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  5894. var t1,
  5895. _s21_ = "Illegal drive letter ";
  5896. if (!(65 <= charCode && charCode <= 90))
  5897. t1 = 97 <= charCode && charCode <= 122;
  5898. else
  5899. t1 = true;
  5900. if (t1)
  5901. return;
  5902. if (argumentError)
  5903. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  5904. else
  5905. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  5906. },
  5907. _Uri__makeFileUri(path, slashTerminated) {
  5908. var _null = null,
  5909. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  5910. if (B.JSString_methods.startsWith$1(path, "/"))
  5911. return A._Uri__Uri(_null, _null, segments, "file");
  5912. else
  5913. return A._Uri__Uri(_null, _null, segments, _null);
  5914. },
  5915. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  5916. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  5917. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  5918. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  5919. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  5920. else {
  5921. path = B.JSString_methods.substring$1(path, 4);
  5922. if (path.length < 3 || B.JSString_methods._codeUnitAt$1(path, 1) !== 58 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  5923. throw A.wrapException(A.ArgumentError$("Windows paths with \\\\?\\ prefix must be absolute", _null));
  5924. }
  5925. else
  5926. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  5927. t1 = path.length;
  5928. if (t1 > 1 && B.JSString_methods._codeUnitAt$1(path, 1) === 58) {
  5929. A._Uri__checkWindowsDriveLetter(B.JSString_methods._codeUnitAt$1(path, 0), true);
  5930. if (t1 === 2 || B.JSString_methods._codeUnitAt$1(path, 2) !== 92)
  5931. throw A.wrapException(A.ArgumentError$("Windows paths with drive letter must be absolute", _null));
  5932. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  5933. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  5934. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  5935. }
  5936. if (B.JSString_methods.startsWith$1(path, _s1_))
  5937. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  5938. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  5939. t1 = pathStart < 0;
  5940. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  5941. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  5942. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  5943. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  5944. } else {
  5945. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  5946. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  5947. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  5948. }
  5949. else {
  5950. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  5951. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  5952. return A._Uri__Uri(_null, _null, pathSegments, _null);
  5953. }
  5954. },
  5955. _Uri__makePort(port, scheme) {
  5956. if (port != null && port === A._Uri__defaultPort(scheme))
  5957. return null;
  5958. return port;
  5959. },
  5960. _Uri__makeHost(host, start, end, strictIPv6) {
  5961. var t1, t2, index, zoneIDstart, zoneID, i;
  5962. if (host == null)
  5963. return null;
  5964. if (start === end)
  5965. return "";
  5966. if (B.JSString_methods.codeUnitAt$1(host, start) === 91) {
  5967. t1 = end - 1;
  5968. if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93)
  5969. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  5970. t2 = start + 1;
  5971. index = A._Uri__checkZoneID(host, t2, t1);
  5972. if (index < t1) {
  5973. zoneIDstart = index + 1;
  5974. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  5975. } else
  5976. zoneID = "";
  5977. A.Uri_parseIPv6Address(host, t2, index);
  5978. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  5979. }
  5980. for (i = start; i < end; ++i)
  5981. if (B.JSString_methods.codeUnitAt$1(host, i) === 58) {
  5982. index = B.JSString_methods.indexOf$2(host, "%", start);
  5983. index = index >= start && index < end ? index : end;
  5984. if (index < end) {
  5985. zoneIDstart = index + 1;
  5986. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  5987. } else
  5988. zoneID = "";
  5989. A.Uri_parseIPv6Address(host, start, index);
  5990. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  5991. }
  5992. return A._Uri__normalizeRegName(host, start, end);
  5993. },
  5994. _Uri__checkZoneID(host, start, end) {
  5995. var index = B.JSString_methods.indexOf$2(host, "%", start);
  5996. return index >= start && index < end ? index : end;
  5997. },
  5998. _Uri__normalizeZoneID(host, start, end, prefix) {
  5999. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  6000. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  6001. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  6002. char = B.JSString_methods.codeUnitAt$1(host, index);
  6003. if (char === 37) {
  6004. replacement = A._Uri__normalizeEscape(host, index, true);
  6005. t1 = replacement == null;
  6006. if (t1 && isNormalized) {
  6007. index += 3;
  6008. continue;
  6009. }
  6010. if (buffer == null)
  6011. buffer = new A.StringBuffer("");
  6012. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6013. if (t1)
  6014. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6015. else if (replacement === "%")
  6016. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  6017. buffer._contents = t2 + replacement;
  6018. index += 3;
  6019. sectionStart = index;
  6020. isNormalized = true;
  6021. } else if (char < 127 && (B.List_nxB[char >>> 4] & 1 << (char & 15)) !== 0) {
  6022. if (isNormalized && 65 <= char && 90 >= char) {
  6023. if (buffer == null)
  6024. buffer = new A.StringBuffer("");
  6025. if (sectionStart < index) {
  6026. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6027. sectionStart = index;
  6028. }
  6029. isNormalized = false;
  6030. }
  6031. ++index;
  6032. } else {
  6033. if ((char & 64512) === 55296 && index + 1 < end) {
  6034. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6035. if ((tail & 64512) === 56320) {
  6036. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6037. sourceLength = 2;
  6038. } else
  6039. sourceLength = 1;
  6040. } else
  6041. sourceLength = 1;
  6042. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6043. if (buffer == null) {
  6044. buffer = new A.StringBuffer("");
  6045. t1 = buffer;
  6046. } else
  6047. t1 = buffer;
  6048. t1._contents += slice;
  6049. t1._contents += A._Uri__escapeChar(char);
  6050. index += sourceLength;
  6051. sectionStart = index;
  6052. }
  6053. }
  6054. if (buffer == null)
  6055. return B.JSString_methods.substring$2(host, start, end);
  6056. if (sectionStart < end)
  6057. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
  6058. t1 = buffer._contents;
  6059. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6060. },
  6061. _Uri__normalizeRegName(host, start, end) {
  6062. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  6063. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  6064. char = B.JSString_methods.codeUnitAt$1(host, index);
  6065. if (char === 37) {
  6066. replacement = A._Uri__normalizeEscape(host, index, true);
  6067. t1 = replacement == null;
  6068. if (t1 && isNormalized) {
  6069. index += 3;
  6070. continue;
  6071. }
  6072. if (buffer == null)
  6073. buffer = new A.StringBuffer("");
  6074. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6075. t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6076. if (t1) {
  6077. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  6078. sourceLength = 3;
  6079. } else if (replacement === "%") {
  6080. replacement = "%25";
  6081. sourceLength = 1;
  6082. } else
  6083. sourceLength = 3;
  6084. buffer._contents = t2 + replacement;
  6085. index += sourceLength;
  6086. sectionStart = index;
  6087. isNormalized = true;
  6088. } else if (char < 127 && (B.List_qNA[char >>> 4] & 1 << (char & 15)) !== 0) {
  6089. if (isNormalized && 65 <= char && 90 >= char) {
  6090. if (buffer == null)
  6091. buffer = new A.StringBuffer("");
  6092. if (sectionStart < index) {
  6093. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  6094. sectionStart = index;
  6095. }
  6096. isNormalized = false;
  6097. }
  6098. ++index;
  6099. } else if (char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0)
  6100. A._Uri__fail(host, index, "Invalid character");
  6101. else {
  6102. if ((char & 64512) === 55296 && index + 1 < end) {
  6103. tail = B.JSString_methods.codeUnitAt$1(host, index + 1);
  6104. if ((tail & 64512) === 56320) {
  6105. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6106. sourceLength = 2;
  6107. } else
  6108. sourceLength = 1;
  6109. } else
  6110. sourceLength = 1;
  6111. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  6112. if (!isNormalized)
  6113. slice = slice.toLowerCase();
  6114. if (buffer == null) {
  6115. buffer = new A.StringBuffer("");
  6116. t1 = buffer;
  6117. } else
  6118. t1 = buffer;
  6119. t1._contents += slice;
  6120. t1._contents += A._Uri__escapeChar(char);
  6121. index += sourceLength;
  6122. sectionStart = index;
  6123. }
  6124. }
  6125. if (buffer == null)
  6126. return B.JSString_methods.substring$2(host, start, end);
  6127. if (sectionStart < end) {
  6128. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  6129. buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  6130. }
  6131. t1 = buffer._contents;
  6132. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6133. },
  6134. _Uri__makeScheme(scheme, start, end) {
  6135. var i, containsUpperCase, codeUnit;
  6136. if (start === end)
  6137. return "";
  6138. if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start)))
  6139. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  6140. for (i = start, containsUpperCase = false; i < end; ++i) {
  6141. codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i);
  6142. if (!(codeUnit < 128 && (B.List_JYB[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  6143. A._Uri__fail(scheme, i, "Illegal scheme character");
  6144. if (65 <= codeUnit && codeUnit <= 90)
  6145. containsUpperCase = true;
  6146. }
  6147. scheme = B.JSString_methods.substring$2(scheme, start, end);
  6148. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  6149. },
  6150. _Uri__canonicalizeScheme(scheme) {
  6151. if (scheme === "http")
  6152. return "http";
  6153. if (scheme === "file")
  6154. return "file";
  6155. if (scheme === "https")
  6156. return "https";
  6157. if (scheme === "package")
  6158. return "package";
  6159. return scheme;
  6160. },
  6161. _Uri__makeUserInfo(userInfo, start, end) {
  6162. if (userInfo == null)
  6163. return "";
  6164. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false, false);
  6165. },
  6166. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  6167. var result,
  6168. isFile = scheme === "file",
  6169. ensureLeadingSlash = isFile || hasAuthority;
  6170. if (path == null) {
  6171. if (pathSegments == null)
  6172. return isFile ? "/" : "";
  6173. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  6174. } else if (pathSegments != null)
  6175. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  6176. else
  6177. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true, true);
  6178. if (result.length === 0) {
  6179. if (isFile)
  6180. return "/";
  6181. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  6182. result = "/" + result;
  6183. return A._Uri__normalizePath(result, scheme, hasAuthority);
  6184. },
  6185. _Uri__normalizePath(path, scheme, hasAuthority) {
  6186. var t1 = scheme.length === 0;
  6187. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  6188. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  6189. return A._Uri__removeDotSegments(path);
  6190. },
  6191. _Uri__makeQuery(query, start, end, queryParameters) {
  6192. if (query != null)
  6193. return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true, false);
  6194. return null;
  6195. },
  6196. _Uri__makeFragment(fragment, start, end) {
  6197. if (fragment == null)
  6198. return null;
  6199. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true, false);
  6200. },
  6201. _Uri__normalizeEscape(source, index, lowerCase) {
  6202. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  6203. t1 = index + 2;
  6204. if (t1 >= source.length)
  6205. return "%";
  6206. firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1);
  6207. secondDigit = B.JSString_methods.codeUnitAt$1(source, t1);
  6208. firstDigitValue = A.hexDigitValue(firstDigit);
  6209. secondDigitValue = A.hexDigitValue(secondDigit);
  6210. if (firstDigitValue < 0 || secondDigitValue < 0)
  6211. return "%";
  6212. value = firstDigitValue * 16 + secondDigitValue;
  6213. if (value < 127 && (B.List_nxB[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  6214. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  6215. if (firstDigit >= 97 || secondDigit >= 97)
  6216. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  6217. return null;
  6218. },
  6219. _Uri__escapeChar(char) {
  6220. var codeUnits, flag, encodedBytes, index, byte,
  6221. _s16_ = "0123456789ABCDEF";
  6222. if (char < 128) {
  6223. codeUnits = new Uint8Array(3);
  6224. codeUnits[0] = 37;
  6225. codeUnits[1] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4);
  6226. codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15);
  6227. } else {
  6228. if (char > 2047)
  6229. if (char > 65535) {
  6230. flag = 240;
  6231. encodedBytes = 4;
  6232. } else {
  6233. flag = 224;
  6234. encodedBytes = 3;
  6235. }
  6236. else {
  6237. flag = 192;
  6238. encodedBytes = 2;
  6239. }
  6240. codeUnits = new Uint8Array(3 * encodedBytes);
  6241. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  6242. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  6243. codeUnits[index] = 37;
  6244. codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4);
  6245. codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15);
  6246. index += 3;
  6247. }
  6248. }
  6249. return A.String_String$fromCharCodes(codeUnits, 0, null);
  6250. },
  6251. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  6252. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  6253. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  6254. },
  6255. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  6256. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  6257. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  6258. char = B.JSString_methods.codeUnitAt$1(component, index);
  6259. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  6260. ++index;
  6261. else {
  6262. if (char === 37) {
  6263. replacement = A._Uri__normalizeEscape(component, index, false);
  6264. if (replacement == null) {
  6265. index += 3;
  6266. continue;
  6267. }
  6268. if ("%" === replacement) {
  6269. replacement = "%25";
  6270. sourceLength = 1;
  6271. } else
  6272. sourceLength = 3;
  6273. } else if (char === 92 && replaceBackslash) {
  6274. replacement = "/";
  6275. sourceLength = 1;
  6276. } else if (t1 && char <= 93 && (B.List_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) {
  6277. A._Uri__fail(component, index, "Invalid character");
  6278. sourceLength = _null;
  6279. replacement = sourceLength;
  6280. } else {
  6281. if ((char & 64512) === 55296) {
  6282. t2 = index + 1;
  6283. if (t2 < end) {
  6284. tail = B.JSString_methods.codeUnitAt$1(component, t2);
  6285. if ((tail & 64512) === 56320) {
  6286. char = (char & 1023) << 10 | tail & 1023 | 65536;
  6287. sourceLength = 2;
  6288. } else
  6289. sourceLength = 1;
  6290. } else
  6291. sourceLength = 1;
  6292. } else
  6293. sourceLength = 1;
  6294. replacement = A._Uri__escapeChar(char);
  6295. }
  6296. if (buffer == null) {
  6297. buffer = new A.StringBuffer("");
  6298. t2 = buffer;
  6299. } else
  6300. t2 = buffer;
  6301. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  6302. t2._contents = t3 + A.S(replacement);
  6303. index += sourceLength;
  6304. sectionStart = index;
  6305. }
  6306. }
  6307. if (buffer == null)
  6308. return _null;
  6309. if (sectionStart < end)
  6310. buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
  6311. t1 = buffer._contents;
  6312. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6313. },
  6314. _Uri__mayContainDotSegments(path) {
  6315. if (B.JSString_methods.startsWith$1(path, "."))
  6316. return true;
  6317. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  6318. },
  6319. _Uri__removeDotSegments(path) {
  6320. var output, t1, t2, appendSlash, _i, segment;
  6321. if (!A._Uri__mayContainDotSegments(path))
  6322. return path;
  6323. output = A._setArrayType([], type$.JSArray_String);
  6324. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6325. segment = t1[_i];
  6326. if (J.$eq$(segment, "..")) {
  6327. if (output.length !== 0) {
  6328. output.pop();
  6329. if (output.length === 0)
  6330. output.push("");
  6331. }
  6332. appendSlash = true;
  6333. } else if ("." === segment)
  6334. appendSlash = true;
  6335. else {
  6336. output.push(segment);
  6337. appendSlash = false;
  6338. }
  6339. }
  6340. if (appendSlash)
  6341. output.push("");
  6342. return B.JSArray_methods.join$1(output, "/");
  6343. },
  6344. _Uri__normalizeRelativePath(path, allowScheme) {
  6345. var output, t1, t2, appendSlash, _i, segment;
  6346. if (!A._Uri__mayContainDotSegments(path))
  6347. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  6348. output = A._setArrayType([], type$.JSArray_String);
  6349. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  6350. segment = t1[_i];
  6351. if (".." === segment)
  6352. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
  6353. output.pop();
  6354. appendSlash = true;
  6355. } else {
  6356. output.push("..");
  6357. appendSlash = false;
  6358. }
  6359. else if ("." === segment)
  6360. appendSlash = true;
  6361. else {
  6362. output.push(segment);
  6363. appendSlash = false;
  6364. }
  6365. }
  6366. t1 = output.length;
  6367. if (t1 !== 0)
  6368. t1 = t1 === 1 && output[0].length === 0;
  6369. else
  6370. t1 = true;
  6371. if (t1)
  6372. return "./";
  6373. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  6374. output.push("");
  6375. if (!allowScheme)
  6376. output[0] = A._Uri__escapeScheme(output[0]);
  6377. return B.JSArray_methods.join$1(output, "/");
  6378. },
  6379. _Uri__escapeScheme(path) {
  6380. var i, char,
  6381. t1 = path.length;
  6382. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0)))
  6383. for (i = 1; i < t1; ++i) {
  6384. char = B.JSString_methods._codeUnitAt$1(path, i);
  6385. if (char === 58)
  6386. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  6387. if (char > 127 || (B.List_JYB[char >>> 4] & 1 << (char & 15)) === 0)
  6388. break;
  6389. }
  6390. return path;
  6391. },
  6392. _Uri__packageNameEnd(uri, path) {
  6393. if (uri.isScheme$1("package") && uri._host == null)
  6394. return A._skipPackageNameChars(path, 0, path.length);
  6395. return -1;
  6396. },
  6397. _Uri__toWindowsFilePath(uri) {
  6398. var hasDriveLetter, t2, host,
  6399. segments = uri.get$pathSegments(),
  6400. t1 = segments.length;
  6401. if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
  6402. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  6403. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  6404. hasDriveLetter = true;
  6405. } else {
  6406. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  6407. hasDriveLetter = false;
  6408. }
  6409. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  6410. if (uri.get$hasAuthority()) {
  6411. host = uri.get$host();
  6412. if (host.length !== 0)
  6413. t2 = t2 + "\\" + host + "\\";
  6414. }
  6415. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  6416. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  6417. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6418. },
  6419. _Uri__hexCharPairToByte(s, pos) {
  6420. var byte, i, charCode;
  6421. for (byte = 0, i = 0; i < 2; ++i) {
  6422. charCode = B.JSString_methods._codeUnitAt$1(s, pos + i);
  6423. if (48 <= charCode && charCode <= 57)
  6424. byte = byte * 16 + charCode - 48;
  6425. else {
  6426. charCode |= 32;
  6427. if (97 <= charCode && charCode <= 102)
  6428. byte = byte * 16 + charCode - 87;
  6429. else
  6430. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  6431. }
  6432. }
  6433. return byte;
  6434. },
  6435. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  6436. var simple, codeUnit, t1, bytes,
  6437. i = start;
  6438. while (true) {
  6439. if (!(i < end)) {
  6440. simple = true;
  6441. break;
  6442. }
  6443. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6444. if (codeUnit <= 127)
  6445. if (codeUnit !== 37)
  6446. t1 = false;
  6447. else
  6448. t1 = true;
  6449. else
  6450. t1 = true;
  6451. if (t1) {
  6452. simple = false;
  6453. break;
  6454. }
  6455. ++i;
  6456. }
  6457. if (simple) {
  6458. if (B.C_Utf8Codec !== encoding)
  6459. t1 = false;
  6460. else
  6461. t1 = true;
  6462. if (t1)
  6463. return B.JSString_methods.substring$2(text, start, end);
  6464. else
  6465. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  6466. } else {
  6467. bytes = A._setArrayType([], type$.JSArray_int);
  6468. for (t1 = text.length, i = start; i < end; ++i) {
  6469. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  6470. if (codeUnit > 127)
  6471. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  6472. if (codeUnit === 37) {
  6473. if (i + 3 > t1)
  6474. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  6475. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  6476. i += 2;
  6477. } else
  6478. bytes.push(codeUnit);
  6479. }
  6480. }
  6481. return B.Utf8Decoder_false.convert$1(bytes);
  6482. },
  6483. _Uri__isAlphabeticCharacter(codeUnit) {
  6484. var lowerCase = codeUnit | 32;
  6485. return 97 <= lowerCase && lowerCase <= 122;
  6486. },
  6487. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  6488. var t1, slashIndex;
  6489. if (mimeType != null)
  6490. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  6491. else
  6492. t1 = true;
  6493. if (t1)
  6494. mimeType = "";
  6495. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  6496. t1 = buffer._contents += mimeType;
  6497. else {
  6498. slashIndex = A.UriData__validateMimeType(mimeType);
  6499. if (slashIndex < 0)
  6500. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  6501. t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  6502. buffer._contents = t1 + "/";
  6503. t1 = buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  6504. }
  6505. if (charsetName != null) {
  6506. indices.push(t1.length);
  6507. indices.push(buffer._contents.length + 8);
  6508. buffer._contents += ";charset=";
  6509. buffer._contents += A._Uri__uriEncode(B.List_qFt, charsetName, B.C_Utf8Codec, false);
  6510. }
  6511. },
  6512. UriData__validateMimeType(mimeType) {
  6513. var t1, slashIndex, i;
  6514. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  6515. if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47)
  6516. continue;
  6517. if (slashIndex < 0) {
  6518. slashIndex = i;
  6519. continue;
  6520. }
  6521. return -1;
  6522. }
  6523. return slashIndex;
  6524. },
  6525. UriData__parse(text, start, sourceUri) {
  6526. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  6527. _s17_ = "Invalid MIME type",
  6528. indices = A._setArrayType([start - 1], type$.JSArray_int);
  6529. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  6530. char = B.JSString_methods._codeUnitAt$1(text, i);
  6531. if (char === 44 || char === 59)
  6532. break;
  6533. if (char === 47) {
  6534. if (slashIndex < 0) {
  6535. slashIndex = i;
  6536. continue;
  6537. }
  6538. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6539. }
  6540. }
  6541. if (slashIndex < 0 && i > start)
  6542. throw A.wrapException(A.FormatException$(_s17_, text, i));
  6543. for (; char !== 44;) {
  6544. indices.push(i);
  6545. ++i;
  6546. for (equalsIndex = -1; i < t1; ++i) {
  6547. char = B.JSString_methods._codeUnitAt$1(text, i);
  6548. if (char === 61) {
  6549. if (equalsIndex < 0)
  6550. equalsIndex = i;
  6551. } else if (char === 59 || char === 44)
  6552. break;
  6553. }
  6554. if (equalsIndex >= 0)
  6555. indices.push(equalsIndex);
  6556. else {
  6557. lastSeparator = B.JSArray_methods.get$last(indices);
  6558. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  6559. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  6560. break;
  6561. }
  6562. }
  6563. indices.push(i);
  6564. t2 = i + 1;
  6565. if ((indices.length & 1) === 1)
  6566. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  6567. else {
  6568. data = A._Uri__normalize(text, t2, t1, B.List_CVk, true, false);
  6569. if (data != null)
  6570. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  6571. }
  6572. return new A.UriData(text, indices, sourceUri);
  6573. },
  6574. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  6575. var t1, byteOr, i, byte, t2, t3,
  6576. _s16_ = "0123456789ABCDEF";
  6577. for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) {
  6578. byte = t1.$index(bytes, i);
  6579. byteOr |= byte;
  6580. t2 = byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0;
  6581. t3 = buffer._contents;
  6582. if (t2)
  6583. buffer._contents = t3 + A.Primitives_stringFromCharCode(byte);
  6584. else {
  6585. t2 = t3 + A.Primitives_stringFromCharCode(37);
  6586. buffer._contents = t2;
  6587. t2 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, B.JSInt_methods._shrOtherPositive$1(byte, 4)));
  6588. buffer._contents = t2;
  6589. buffer._contents = t2 + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(_s16_, byte & 15));
  6590. }
  6591. }
  6592. if ((byteOr & 4294967040) >>> 0 !== 0)
  6593. for (i = 0; i < t1.get$length(bytes); ++i) {
  6594. byte = t1.$index(bytes, i);
  6595. if (byte < 0 || byte > 255)
  6596. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  6597. }
  6598. },
  6599. _createTables() {
  6600. var _i, t1, t2, t3, b,
  6601. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  6602. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  6603. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  6604. for (_i = 0; _i < 22; ++_i)
  6605. tables[_i] = new Uint8Array(96);
  6606. t1 = new A._createTables_build(tables);
  6607. t2 = new A._createTables_setChars();
  6608. t3 = new A._createTables_setRange();
  6609. b = t1.call$2(0, 225);
  6610. t2.call$3(b, _s77_, 1);
  6611. t2.call$3(b, _s1_, 14);
  6612. t2.call$3(b, _s1_0, 34);
  6613. t2.call$3(b, _s1_1, 3);
  6614. t2.call$3(b, _s1_2, 227);
  6615. t2.call$3(b, _s1_3, 172);
  6616. t2.call$3(b, _s1_4, 205);
  6617. b = t1.call$2(14, 225);
  6618. t2.call$3(b, _s77_, 1);
  6619. t2.call$3(b, _s1_, 15);
  6620. t2.call$3(b, _s1_0, 34);
  6621. t2.call$3(b, _s2_, 234);
  6622. t2.call$3(b, _s1_3, 172);
  6623. t2.call$3(b, _s1_4, 205);
  6624. b = t1.call$2(15, 225);
  6625. t2.call$3(b, _s77_, 1);
  6626. t2.call$3(b, "%", 225);
  6627. t2.call$3(b, _s1_0, 34);
  6628. t2.call$3(b, _s1_1, 9);
  6629. t2.call$3(b, _s1_2, 233);
  6630. t2.call$3(b, _s1_3, 172);
  6631. t2.call$3(b, _s1_4, 205);
  6632. b = t1.call$2(1, 225);
  6633. t2.call$3(b, _s77_, 1);
  6634. t2.call$3(b, _s1_0, 34);
  6635. t2.call$3(b, _s1_1, 10);
  6636. t2.call$3(b, _s1_2, 234);
  6637. t2.call$3(b, _s1_3, 172);
  6638. t2.call$3(b, _s1_4, 205);
  6639. b = t1.call$2(2, 235);
  6640. t2.call$3(b, _s77_, 139);
  6641. t2.call$3(b, _s1_1, 131);
  6642. t2.call$3(b, _s1_2, 131);
  6643. t2.call$3(b, _s1_, 146);
  6644. t2.call$3(b, _s1_3, 172);
  6645. t2.call$3(b, _s1_4, 205);
  6646. b = t1.call$2(3, 235);
  6647. t2.call$3(b, _s77_, 11);
  6648. t2.call$3(b, _s1_1, 68);
  6649. t2.call$3(b, _s1_2, 68);
  6650. t2.call$3(b, _s1_, 18);
  6651. t2.call$3(b, _s1_3, 172);
  6652. t2.call$3(b, _s1_4, 205);
  6653. b = t1.call$2(4, 229);
  6654. t2.call$3(b, _s77_, 5);
  6655. t3.call$3(b, "AZ", 229);
  6656. t2.call$3(b, _s1_0, 102);
  6657. t2.call$3(b, "@", 68);
  6658. t2.call$3(b, "[", 232);
  6659. t2.call$3(b, _s1_1, 138);
  6660. t2.call$3(b, _s1_2, 138);
  6661. t2.call$3(b, _s1_3, 172);
  6662. t2.call$3(b, _s1_4, 205);
  6663. b = t1.call$2(5, 229);
  6664. t2.call$3(b, _s77_, 5);
  6665. t3.call$3(b, "AZ", 229);
  6666. t2.call$3(b, _s1_0, 102);
  6667. t2.call$3(b, "@", 68);
  6668. t2.call$3(b, _s1_1, 138);
  6669. t2.call$3(b, _s1_2, 138);
  6670. t2.call$3(b, _s1_3, 172);
  6671. t2.call$3(b, _s1_4, 205);
  6672. b = t1.call$2(6, 231);
  6673. t3.call$3(b, "19", 7);
  6674. t2.call$3(b, "@", 68);
  6675. t2.call$3(b, _s1_1, 138);
  6676. t2.call$3(b, _s1_2, 138);
  6677. t2.call$3(b, _s1_3, 172);
  6678. t2.call$3(b, _s1_4, 205);
  6679. b = t1.call$2(7, 231);
  6680. t3.call$3(b, "09", 7);
  6681. t2.call$3(b, "@", 68);
  6682. t2.call$3(b, _s1_1, 138);
  6683. t2.call$3(b, _s1_2, 138);
  6684. t2.call$3(b, _s1_3, 172);
  6685. t2.call$3(b, _s1_4, 205);
  6686. t2.call$3(t1.call$2(8, 8), "]", 5);
  6687. b = t1.call$2(9, 235);
  6688. t2.call$3(b, _s77_, 11);
  6689. t2.call$3(b, _s1_, 16);
  6690. t2.call$3(b, _s2_, 234);
  6691. t2.call$3(b, _s1_3, 172);
  6692. t2.call$3(b, _s1_4, 205);
  6693. b = t1.call$2(16, 235);
  6694. t2.call$3(b, _s77_, 11);
  6695. t2.call$3(b, _s1_, 17);
  6696. t2.call$3(b, _s2_, 234);
  6697. t2.call$3(b, _s1_3, 172);
  6698. t2.call$3(b, _s1_4, 205);
  6699. b = t1.call$2(17, 235);
  6700. t2.call$3(b, _s77_, 11);
  6701. t2.call$3(b, _s1_1, 9);
  6702. t2.call$3(b, _s1_2, 233);
  6703. t2.call$3(b, _s1_3, 172);
  6704. t2.call$3(b, _s1_4, 205);
  6705. b = t1.call$2(10, 235);
  6706. t2.call$3(b, _s77_, 11);
  6707. t2.call$3(b, _s1_, 18);
  6708. t2.call$3(b, _s2_, 234);
  6709. t2.call$3(b, _s1_3, 172);
  6710. t2.call$3(b, _s1_4, 205);
  6711. b = t1.call$2(18, 235);
  6712. t2.call$3(b, _s77_, 11);
  6713. t2.call$3(b, _s1_, 19);
  6714. t2.call$3(b, _s2_, 234);
  6715. t2.call$3(b, _s1_3, 172);
  6716. t2.call$3(b, _s1_4, 205);
  6717. b = t1.call$2(19, 235);
  6718. t2.call$3(b, _s77_, 11);
  6719. t2.call$3(b, _s2_, 234);
  6720. t2.call$3(b, _s1_3, 172);
  6721. t2.call$3(b, _s1_4, 205);
  6722. b = t1.call$2(11, 235);
  6723. t2.call$3(b, _s77_, 11);
  6724. t2.call$3(b, _s1_1, 10);
  6725. t2.call$3(b, _s2_, 234);
  6726. t2.call$3(b, _s1_3, 172);
  6727. t2.call$3(b, _s1_4, 205);
  6728. b = t1.call$2(12, 236);
  6729. t2.call$3(b, _s77_, 12);
  6730. t2.call$3(b, _s1_3, 12);
  6731. t2.call$3(b, _s1_4, 205);
  6732. b = t1.call$2(13, 237);
  6733. t2.call$3(b, _s77_, 13);
  6734. t2.call$3(b, _s1_3, 13);
  6735. t3.call$3(t1.call$2(20, 245), "az", 21);
  6736. b = t1.call$2(21, 245);
  6737. t3.call$3(b, "az", 21);
  6738. t3.call$3(b, "09", 21);
  6739. t2.call$3(b, "+-.", 21);
  6740. return tables;
  6741. },
  6742. _scan(uri, start, end, state, indices) {
  6743. var i, table, char, transition,
  6744. tables = $.$get$_scannerTables();
  6745. for (i = start; i < end; ++i) {
  6746. table = tables[state];
  6747. char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96;
  6748. transition = table[char > 95 ? 31 : char];
  6749. state = transition & 31;
  6750. indices[transition >>> 5] = i;
  6751. }
  6752. return state;
  6753. },
  6754. _SimpleUri__packageNameEnd(uri) {
  6755. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  6756. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  6757. return -1;
  6758. },
  6759. _skipPackageNameChars(source, start, end) {
  6760. var i, dots, char;
  6761. for (i = start, dots = 0; i < end; ++i) {
  6762. char = B.JSString_methods.codeUnitAt$1(source, i);
  6763. if (char === 47)
  6764. return dots !== 0 ? i : -1;
  6765. if (char === 37 || char === 58)
  6766. return -1;
  6767. dots |= char ^ 46;
  6768. }
  6769. return -1;
  6770. },
  6771. _caseInsensitiveCompareStart(prefix, string, start) {
  6772. var t1, result, i, prefixChar, stringChar, delta, lowerChar;
  6773. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  6774. prefixChar = B.JSString_methods._codeUnitAt$1(prefix, i);
  6775. stringChar = B.JSString_methods._codeUnitAt$1(string, start + i);
  6776. delta = prefixChar ^ stringChar;
  6777. if (delta !== 0) {
  6778. if (delta === 32) {
  6779. lowerChar = stringChar | delta;
  6780. if (97 <= lowerChar && lowerChar <= 122) {
  6781. result = 32;
  6782. continue;
  6783. }
  6784. }
  6785. return -1;
  6786. }
  6787. }
  6788. return result;
  6789. },
  6790. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  6791. this._box_0 = t0;
  6792. this.sb = t1;
  6793. },
  6794. DateTime: function DateTime(t0, t1) {
  6795. this._core$_value = t0;
  6796. this.isUtc = t1;
  6797. },
  6798. Duration: function Duration(t0) {
  6799. this._duration = t0;
  6800. },
  6801. _Enum: function _Enum() {
  6802. },
  6803. Error: function Error() {
  6804. },
  6805. AssertionError: function AssertionError(t0) {
  6806. this.message = t0;
  6807. },
  6808. TypeError: function TypeError() {
  6809. },
  6810. NullThrownError: function NullThrownError() {
  6811. },
  6812. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  6813. var _ = this;
  6814. _._hasValue = t0;
  6815. _.invalidValue = t1;
  6816. _.name = t2;
  6817. _.message = t3;
  6818. },
  6819. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  6820. var _ = this;
  6821. _.start = t0;
  6822. _.end = t1;
  6823. _._hasValue = t2;
  6824. _.invalidValue = t3;
  6825. _.name = t4;
  6826. _.message = t5;
  6827. },
  6828. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  6829. var _ = this;
  6830. _.length = t0;
  6831. _._hasValue = t1;
  6832. _.invalidValue = t2;
  6833. _.name = t3;
  6834. _.message = t4;
  6835. },
  6836. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  6837. var _ = this;
  6838. _._core$_receiver = t0;
  6839. _._memberName = t1;
  6840. _._core$_arguments = t2;
  6841. _._namedArguments = t3;
  6842. },
  6843. UnsupportedError: function UnsupportedError(t0) {
  6844. this.message = t0;
  6845. },
  6846. UnimplementedError: function UnimplementedError(t0) {
  6847. this.message = t0;
  6848. },
  6849. StateError: function StateError(t0) {
  6850. this.message = t0;
  6851. },
  6852. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  6853. this.modifiedObject = t0;
  6854. },
  6855. OutOfMemoryError: function OutOfMemoryError() {
  6856. },
  6857. StackOverflowError: function StackOverflowError() {
  6858. },
  6859. CyclicInitializationError: function CyclicInitializationError(t0) {
  6860. this.variableName = t0;
  6861. },
  6862. _Exception: function _Exception(t0) {
  6863. this.message = t0;
  6864. },
  6865. FormatException: function FormatException(t0, t1, t2) {
  6866. this.message = t0;
  6867. this.source = t1;
  6868. this.offset = t2;
  6869. },
  6870. Iterable: function Iterable() {
  6871. },
  6872. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  6873. this.length = t0;
  6874. this._generator = t1;
  6875. this.$ti = t2;
  6876. },
  6877. Iterator: function Iterator() {
  6878. },
  6879. MapEntry: function MapEntry(t0, t1, t2) {
  6880. this.key = t0;
  6881. this.value = t1;
  6882. this.$ti = t2;
  6883. },
  6884. Null: function Null() {
  6885. },
  6886. Object: function Object() {
  6887. },
  6888. _StringStackTrace: function _StringStackTrace(t0) {
  6889. this._stackTrace = t0;
  6890. },
  6891. Runes: function Runes(t0) {
  6892. this.string = t0;
  6893. },
  6894. RuneIterator: function RuneIterator(t0) {
  6895. var _ = this;
  6896. _.string = t0;
  6897. _._nextPosition = _._position = 0;
  6898. _._currentCodePoint = -1;
  6899. },
  6900. StringBuffer: function StringBuffer(t0) {
  6901. this._contents = t0;
  6902. },
  6903. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  6904. this.host = t0;
  6905. },
  6906. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  6907. this.host = t0;
  6908. },
  6909. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  6910. this.error = t0;
  6911. this.host = t1;
  6912. },
  6913. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  6914. var _ = this;
  6915. _.scheme = t0;
  6916. _._userInfo = t1;
  6917. _._host = t2;
  6918. _._port = t3;
  6919. _.path = t4;
  6920. _._query = t5;
  6921. _._fragment = t6;
  6922. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  6923. },
  6924. _Uri__makePath_closure: function _Uri__makePath_closure() {
  6925. },
  6926. UriData: function UriData(t0, t1, t2) {
  6927. this._text = t0;
  6928. this._separatorIndices = t1;
  6929. this._uriCache = t2;
  6930. },
  6931. _createTables_build: function _createTables_build(t0) {
  6932. this.tables = t0;
  6933. },
  6934. _createTables_setChars: function _createTables_setChars() {
  6935. },
  6936. _createTables_setRange: function _createTables_setRange() {
  6937. },
  6938. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  6939. var _ = this;
  6940. _._uri = t0;
  6941. _._schemeEnd = t1;
  6942. _._hostStart = t2;
  6943. _._portStart = t3;
  6944. _._pathStart = t4;
  6945. _._queryStart = t5;
  6946. _._fragmentStart = t6;
  6947. _._schemeCache = t7;
  6948. _._hashCodeCache = null;
  6949. },
  6950. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  6951. var _ = this;
  6952. _.scheme = t0;
  6953. _._userInfo = t1;
  6954. _._host = t2;
  6955. _._port = t3;
  6956. _.path = t4;
  6957. _._query = t5;
  6958. _._fragment = t6;
  6959. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  6960. },
  6961. Expando: function Expando(t0) {
  6962. this._jsWeakMap = t0;
  6963. },
  6964. _convertDataTree(data) {
  6965. var t1 = new A._convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data);
  6966. t1.toString;
  6967. return t1;
  6968. },
  6969. callConstructor(constr, $arguments) {
  6970. var args, factoryFunction;
  6971. if ($arguments instanceof Array)
  6972. switch ($arguments.length) {
  6973. case 0:
  6974. return new constr();
  6975. case 1:
  6976. return new constr($arguments[0]);
  6977. case 2:
  6978. return new constr($arguments[0], $arguments[1]);
  6979. case 3:
  6980. return new constr($arguments[0], $arguments[1], $arguments[2]);
  6981. case 4:
  6982. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  6983. }
  6984. args = [null];
  6985. B.JSArray_methods.addAll$1(args, $arguments);
  6986. factoryFunction = constr.bind.apply(constr, args);
  6987. String(factoryFunction);
  6988. return new factoryFunction();
  6989. },
  6990. _convertDataTree__convert: function _convertDataTree__convert(t0) {
  6991. this._convertedObjects = t0;
  6992. },
  6993. max(a, b) {
  6994. return Math.max(A.checkNum(a), A.checkNum(b));
  6995. },
  6996. pow(x, exponent) {
  6997. return Math.pow(x, exponent);
  6998. },
  6999. Random_Random() {
  7000. return B.C__JSRandom;
  7001. },
  7002. _JSRandom: function _JSRandom() {
  7003. },
  7004. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  7005. var _ = this;
  7006. _._arg_parser$_options = t0;
  7007. _._aliases = t1;
  7008. _.options = t2;
  7009. _.commands = t3;
  7010. _._optionsAndSeparators = t4;
  7011. _.allowTrailingOptions = t5;
  7012. _.usageLineLength = t6;
  7013. },
  7014. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  7015. this.$this = t0;
  7016. },
  7017. ArgParserException$(message, commands) {
  7018. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  7019. },
  7020. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  7021. var _ = this;
  7022. _.commands = t0;
  7023. _.message = t1;
  7024. _.source = t2;
  7025. _.offset = t3;
  7026. },
  7027. ArgResults: function ArgResults(t0, t1, t2, t3) {
  7028. var _ = this;
  7029. _._parser = t0;
  7030. _._parsed = t1;
  7031. _.name = t2;
  7032. _.rest = t3;
  7033. },
  7034. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  7035. var _ = this;
  7036. _.name = t0;
  7037. _.abbr = t1;
  7038. _.help = t2;
  7039. _.valueHelp = t3;
  7040. _.allowed = t4;
  7041. _.allowedHelp = t5;
  7042. _.defaultsTo = t6;
  7043. _.negatable = t7;
  7044. _.callback = t8;
  7045. _.type = t9;
  7046. _.splitCommas = t10;
  7047. _.mandatory = t11;
  7048. _.hide = t12;
  7049. },
  7050. OptionType: function OptionType(t0) {
  7051. this.name = t0;
  7052. },
  7053. Parser$(_commandName, _grammar, _args, _parent, rest) {
  7054. var t1 = A._setArrayType([], type$.JSArray_String);
  7055. if (rest != null)
  7056. B.JSArray_methods.addAll$1(t1, rest);
  7057. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  7058. },
  7059. _isLetterOrDigit(codeUnit) {
  7060. var t1;
  7061. if (!(codeUnit >= 65 && codeUnit <= 90))
  7062. if (!(codeUnit >= 97 && codeUnit <= 122))
  7063. t1 = codeUnit >= 48 && codeUnit <= 57;
  7064. else
  7065. t1 = true;
  7066. else
  7067. t1 = true;
  7068. return t1;
  7069. },
  7070. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  7071. var _ = this;
  7072. _._commandName = t0;
  7073. _._parser$_parent = t1;
  7074. _._grammar = t2;
  7075. _._args = t3;
  7076. _._parser$_rest = t4;
  7077. _._results = t5;
  7078. },
  7079. Parser_parse_closure: function Parser_parse_closure(t0) {
  7080. this.$this = t0;
  7081. },
  7082. Parser__setOption_closure: function Parser__setOption_closure() {
  7083. },
  7084. _Usage: function _Usage(t0, t1, t2) {
  7085. var _ = this;
  7086. _._usage$_optionsAndSeparators = t0;
  7087. _._buffer = t1;
  7088. _._currentColumn = 0;
  7089. _.___Usage__columnWidths_FI = $;
  7090. _._newlinesNeeded = 0;
  7091. _.lineLength = t2;
  7092. },
  7093. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  7094. },
  7095. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  7096. this.option = t0;
  7097. },
  7098. ErrorResult: function ErrorResult(t0, t1) {
  7099. this.error = t0;
  7100. this.stackTrace = t1;
  7101. },
  7102. ValueResult: function ValueResult(t0, t1) {
  7103. this.value = t0;
  7104. this.$ti = t1;
  7105. },
  7106. StreamCompleter: function StreamCompleter(t0, t1) {
  7107. this._stream_completer$_stream = t0;
  7108. this.$ti = t1;
  7109. },
  7110. _CompleterStream: function _CompleterStream(t0) {
  7111. this._sourceStream = this._stream_completer$_controller = null;
  7112. this.$ti = t0;
  7113. },
  7114. StreamGroup: function StreamGroup(t0, t1, t2) {
  7115. var _ = this;
  7116. _.__StreamGroup__controller_A = $;
  7117. _._closed = false;
  7118. _._stream_group$_state = t0;
  7119. _._subscriptions = t1;
  7120. _.$ti = t2;
  7121. },
  7122. StreamGroup_add_closure: function StreamGroup_add_closure() {
  7123. },
  7124. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  7125. this.$this = t0;
  7126. this.stream = t1;
  7127. },
  7128. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  7129. },
  7130. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  7131. this.$this = t0;
  7132. },
  7133. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  7134. this.$this = t0;
  7135. this.stream = t1;
  7136. },
  7137. _StreamGroupState: function _StreamGroupState(t0) {
  7138. this.name = t0;
  7139. },
  7140. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  7141. var _ = this;
  7142. _._stream_queue$_source = t0;
  7143. _._stream_queue$_subscription = null;
  7144. _._isDone = false;
  7145. _._eventsReceived = 0;
  7146. _._eventQueue = t1;
  7147. _._requestQueue = t2;
  7148. _.$ti = t3;
  7149. },
  7150. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  7151. this.$this = t0;
  7152. },
  7153. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  7154. this.$this = t0;
  7155. },
  7156. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  7157. this.$this = t0;
  7158. },
  7159. _NextRequest: function _NextRequest(t0, t1) {
  7160. this._completer = t0;
  7161. this.$ti = t1;
  7162. },
  7163. Repl: function Repl(t0, t1, t2, t3) {
  7164. var _ = this;
  7165. _.prompt = t0;
  7166. _.continuation = t1;
  7167. _.validator = t2;
  7168. _.__Repl__adapter_A = $;
  7169. _.history = t3;
  7170. },
  7171. alwaysValid_closure: function alwaysValid_closure() {
  7172. },
  7173. ReplAdapter: function ReplAdapter(t0) {
  7174. this.repl = t0;
  7175. this.rl = null;
  7176. },
  7177. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  7178. var _ = this;
  7179. _._box_0 = t0;
  7180. _.$this = t1;
  7181. _.rl = t2;
  7182. _.runController = t3;
  7183. },
  7184. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  7185. this.lineController = t0;
  7186. },
  7187. Stdin: function Stdin() {
  7188. },
  7189. Stdout: function Stdout() {
  7190. },
  7191. ReadlineModule: function ReadlineModule() {
  7192. },
  7193. ReadlineOptions: function ReadlineOptions() {
  7194. },
  7195. ReadlineInterface: function ReadlineInterface() {
  7196. },
  7197. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  7198. this.$ti = t0;
  7199. },
  7200. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  7201. },
  7202. DefaultEquality: function DefaultEquality() {
  7203. },
  7204. IterableEquality: function IterableEquality() {
  7205. },
  7206. ListEquality: function ListEquality() {
  7207. },
  7208. _MapEntry: function _MapEntry(t0, t1, t2) {
  7209. this.equality = t0;
  7210. this.key = t1;
  7211. this.value = t2;
  7212. },
  7213. MapEquality: function MapEquality() {
  7214. },
  7215. QueueList$(initialCapacity, $E) {
  7216. 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>"));
  7217. },
  7218. QueueList_QueueList$from(source, $E) {
  7219. var $length, queue, t1;
  7220. if (type$.List_dynamic._is(source)) {
  7221. $length = J.get$length$asx(source);
  7222. queue = A.QueueList$($length + 1, $E);
  7223. J.setRange$4$ax(queue._table, 0, $length, source, 0);
  7224. queue._tail = $length;
  7225. return queue;
  7226. } else {
  7227. t1 = A.QueueList$(null, $E);
  7228. t1.addAll$1(0, source);
  7229. return t1;
  7230. }
  7231. },
  7232. QueueList__computeInitialCapacity(initialCapacity) {
  7233. if (initialCapacity == null || initialCapacity < 8)
  7234. return 8;
  7235. ++initialCapacity;
  7236. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  7237. return initialCapacity;
  7238. return A.QueueList__nextPowerOf2(initialCapacity);
  7239. },
  7240. QueueList__nextPowerOf2(number) {
  7241. var nextNumber;
  7242. number = (number << 1 >>> 0) - 1;
  7243. for (; true; number = nextNumber) {
  7244. nextNumber = (number & number - 1) >>> 0;
  7245. if (nextNumber === 0)
  7246. return number;
  7247. }
  7248. },
  7249. QueueList: function QueueList(t0, t1, t2, t3) {
  7250. var _ = this;
  7251. _._table = t0;
  7252. _._head = t1;
  7253. _._tail = t2;
  7254. _.$ti = t3;
  7255. },
  7256. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  7257. var _ = this;
  7258. _._queue_list$_delegate = t0;
  7259. _._table = t1;
  7260. _._head = t2;
  7261. _._tail = t3;
  7262. _.$ti = t4;
  7263. },
  7264. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  7265. },
  7266. UnmodifiableSetMixin__throw() {
  7267. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  7268. },
  7269. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  7270. this._base = t0;
  7271. this.$ti = t1;
  7272. },
  7273. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  7274. },
  7275. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  7276. },
  7277. _DelegatingIterableBase: function _DelegatingIterableBase() {
  7278. },
  7279. DelegatingSet: function DelegatingSet(t0, t1) {
  7280. this._base = t0;
  7281. this.$ti = t1;
  7282. },
  7283. MapKeySet: function MapKeySet(t0, t1) {
  7284. this._baseMap = t0;
  7285. this.$ti = t1;
  7286. },
  7287. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  7288. this.$this = t0;
  7289. this.other = t1;
  7290. },
  7291. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  7292. },
  7293. BufferModule: function BufferModule() {
  7294. },
  7295. BufferConstants: function BufferConstants() {
  7296. },
  7297. Buffer: function Buffer() {
  7298. },
  7299. ConsoleModule: function ConsoleModule() {
  7300. },
  7301. Console: function Console() {
  7302. },
  7303. EventEmitter: function EventEmitter() {
  7304. },
  7305. fs() {
  7306. var t1 = $._fs;
  7307. return t1 == null ? $._fs = self.fs : t1;
  7308. },
  7309. FS: function FS() {
  7310. },
  7311. FSConstants: function FSConstants() {
  7312. },
  7313. FSWatcher: function FSWatcher() {
  7314. },
  7315. ReadStream: function ReadStream() {
  7316. },
  7317. ReadStreamOptions: function ReadStreamOptions() {
  7318. },
  7319. WriteStream: function WriteStream() {
  7320. },
  7321. WriteStreamOptions: function WriteStreamOptions() {
  7322. },
  7323. FileOptions: function FileOptions() {
  7324. },
  7325. StatOptions: function StatOptions() {
  7326. },
  7327. MkdirOptions: function MkdirOptions() {
  7328. },
  7329. RmdirOptions: function RmdirOptions() {
  7330. },
  7331. WatchOptions: function WatchOptions() {
  7332. },
  7333. WatchFileOptions: function WatchFileOptions() {
  7334. },
  7335. Stats: function Stats() {
  7336. },
  7337. Promise: function Promise() {
  7338. },
  7339. Date: function Date() {
  7340. },
  7341. JsError: function JsError() {
  7342. },
  7343. Atomics: function Atomics() {
  7344. },
  7345. Modules: function Modules() {
  7346. },
  7347. Module1: function Module1() {
  7348. },
  7349. Net: function Net() {
  7350. },
  7351. Socket: function Socket() {
  7352. },
  7353. NetAddress: function NetAddress() {
  7354. },
  7355. NetServer: function NetServer() {
  7356. },
  7357. NodeJsError: function NodeJsError() {
  7358. },
  7359. JsAssertionError: function JsAssertionError() {
  7360. },
  7361. JsRangeError: function JsRangeError() {
  7362. },
  7363. JsReferenceError: function JsReferenceError() {
  7364. },
  7365. JsSyntaxError: function JsSyntaxError() {
  7366. },
  7367. JsTypeError: function JsTypeError() {
  7368. },
  7369. JsSystemError: function JsSystemError() {
  7370. },
  7371. Process: function Process() {
  7372. },
  7373. CPUUsage: function CPUUsage() {
  7374. },
  7375. Release: function Release() {
  7376. },
  7377. StreamModule: function StreamModule() {
  7378. },
  7379. Readable: function Readable() {
  7380. },
  7381. Writable: function Writable() {
  7382. },
  7383. Duplex: function Duplex() {
  7384. },
  7385. Transform: function Transform() {
  7386. },
  7387. WritableOptions: function WritableOptions() {
  7388. },
  7389. ReadableOptions: function ReadableOptions() {
  7390. },
  7391. Immediate: function Immediate() {
  7392. },
  7393. Timeout: function Timeout() {
  7394. },
  7395. TTY: function TTY() {
  7396. },
  7397. TTYReadStream: function TTYReadStream() {
  7398. },
  7399. TTYWriteStream: function TTYWriteStream() {
  7400. },
  7401. jsify(dartObject) {
  7402. if (A._isBasicType(dartObject))
  7403. return dartObject;
  7404. return A._convertDataTree(dartObject);
  7405. },
  7406. _isBasicType(value) {
  7407. var t1 = false;
  7408. if (t1)
  7409. return true;
  7410. return false;
  7411. },
  7412. promiseToFuture(promise, $T) {
  7413. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  7414. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  7415. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  7416. return t1;
  7417. },
  7418. futureToPromise(future, $T) {
  7419. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  7420. },
  7421. Util: function Util() {
  7422. },
  7423. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  7424. this.completer = t0;
  7425. },
  7426. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  7427. this.completer = t0;
  7428. },
  7429. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  7430. this.future = t0;
  7431. this.T = t1;
  7432. },
  7433. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  7434. this.resolve = t0;
  7435. this.T = t1;
  7436. },
  7437. Context_Context(style) {
  7438. var current = style == null ? A.current() : ".";
  7439. if (style == null)
  7440. style = $.$get$Style_platform();
  7441. return new A.Context(type$.InternalStyle._as(style), current);
  7442. },
  7443. _parseUri(uri) {
  7444. if (typeof uri == "string")
  7445. return A.Uri_parse(uri);
  7446. if (type$.Uri._is(uri))
  7447. return uri;
  7448. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  7449. },
  7450. _validateArgList(method, args) {
  7451. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  7452. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  7453. if (args[i] == null || args[i - 1] != null)
  7454. continue;
  7455. for (; numArgs >= 1; numArgs = numArgs0) {
  7456. numArgs0 = numArgs - 1;
  7457. if (args[numArgs0] != null)
  7458. break;
  7459. }
  7460. message = new A.StringBuffer("");
  7461. t1 = "" + (method + "(");
  7462. message._contents = t1;
  7463. t2 = A._arrayInstanceType(args);
  7464. t3 = t2._eval$1("SubListIterable<1>");
  7465. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  7466. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  7467. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  7468. message._contents = t3;
  7469. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  7470. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  7471. }
  7472. },
  7473. Context: function Context(t0, t1) {
  7474. this.style = t0;
  7475. this._context$_current = t1;
  7476. },
  7477. Context_joinAll_closure: function Context_joinAll_closure() {
  7478. },
  7479. Context_split_closure: function Context_split_closure() {
  7480. },
  7481. _validateArgList_closure: function _validateArgList_closure() {
  7482. },
  7483. _PathDirection: function _PathDirection(t0) {
  7484. this.name = t0;
  7485. },
  7486. _PathRelation: function _PathRelation(t0) {
  7487. this.name = t0;
  7488. },
  7489. InternalStyle: function InternalStyle() {
  7490. },
  7491. ParsedPath_ParsedPath$parse(path, style) {
  7492. var t1, parts, separators, start, i,
  7493. root = style.getRoot$1(path),
  7494. isRootRelative = style.isRootRelative$1(path);
  7495. if (root != null)
  7496. path = B.JSString_methods.substring$1(path, root.length);
  7497. t1 = type$.JSArray_String;
  7498. parts = A._setArrayType([], t1);
  7499. separators = A._setArrayType([], t1);
  7500. t1 = path.length;
  7501. if (t1 !== 0 && style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 0))) {
  7502. separators.push(path[0]);
  7503. start = 1;
  7504. } else {
  7505. separators.push("");
  7506. start = 0;
  7507. }
  7508. for (i = start; i < t1; ++i)
  7509. if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) {
  7510. parts.push(B.JSString_methods.substring$2(path, start, i));
  7511. separators.push(path[i]);
  7512. start = i + 1;
  7513. }
  7514. if (start < t1) {
  7515. parts.push(B.JSString_methods.substring$1(path, start));
  7516. separators.push("");
  7517. }
  7518. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  7519. },
  7520. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  7521. var _ = this;
  7522. _.style = t0;
  7523. _.root = t1;
  7524. _.isRootRelative = t2;
  7525. _.parts = t3;
  7526. _.separators = t4;
  7527. },
  7528. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  7529. },
  7530. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  7531. },
  7532. PathException$(message) {
  7533. return new A.PathException(message);
  7534. },
  7535. PathException: function PathException(t0) {
  7536. this.message = t0;
  7537. },
  7538. PathMap__create(context, $V) {
  7539. var t1 = {};
  7540. t1.context = context;
  7541. t1.context = $.$get$context();
  7542. 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);
  7543. },
  7544. PathMap: function PathMap(t0, t1) {
  7545. this._map = t0;
  7546. this.$ti = t1;
  7547. },
  7548. PathMap__create_closure: function PathMap__create_closure(t0) {
  7549. this._box_0 = t0;
  7550. },
  7551. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  7552. this._box_0 = t0;
  7553. },
  7554. PathMap__create_closure1: function PathMap__create_closure1() {
  7555. },
  7556. Style__getPlatformStyle() {
  7557. if (A.Uri_base().get$scheme() !== "file")
  7558. return $.$get$Style_url();
  7559. var t1 = A.Uri_base();
  7560. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  7561. return $.$get$Style_url();
  7562. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  7563. return $.$get$Style_windows();
  7564. return $.$get$Style_posix();
  7565. },
  7566. Style: function Style() {
  7567. },
  7568. PosixStyle: function PosixStyle(t0, t1, t2) {
  7569. this.separatorPattern = t0;
  7570. this.needsSeparatorPattern = t1;
  7571. this.rootPattern = t2;
  7572. },
  7573. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  7574. var _ = this;
  7575. _.separatorPattern = t0;
  7576. _.needsSeparatorPattern = t1;
  7577. _.rootPattern = t2;
  7578. _.relativeRootPattern = t3;
  7579. },
  7580. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  7581. var _ = this;
  7582. _.separatorPattern = t0;
  7583. _.needsSeparatorPattern = t1;
  7584. _.rootPattern = t2;
  7585. _.relativeRootPattern = t3;
  7586. },
  7587. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  7588. },
  7589. CssMediaQuery$type(type, conditions, modifier) {
  7590. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  7591. },
  7592. CssMediaQuery$condition(conditions, conjunction) {
  7593. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  7594. if (t1.length > 1 && conjunction == null)
  7595. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  7596. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  7597. },
  7598. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  7599. var _ = this;
  7600. _.modifier = t0;
  7601. _.type = t1;
  7602. _.conjunction = t2;
  7603. _.conditions = t3;
  7604. },
  7605. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  7606. this._media_query$_name = t0;
  7607. },
  7608. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  7609. this.query = t0;
  7610. },
  7611. ModifiableCssAtRule$($name, span, childless, value) {
  7612. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7613. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7614. },
  7615. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  7616. var _ = this;
  7617. _.name = t0;
  7618. _.value = t1;
  7619. _.isChildless = t2;
  7620. _.span = t3;
  7621. _.children = t4;
  7622. _._children = t5;
  7623. _._indexInParent = _._parent = null;
  7624. _.isGroupEnd = false;
  7625. },
  7626. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  7627. var _ = this;
  7628. _.text = t0;
  7629. _.span = t1;
  7630. _._indexInParent = _._parent = null;
  7631. _.isGroupEnd = false;
  7632. },
  7633. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  7634. var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
  7635. if (parsedAsCustomProperty)
  7636. if (!J.startsWith$1$s($name.get$value($name), "--"))
  7637. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  7638. else if (!(value.get$value(value) instanceof A.SassString))
  7639. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
  7640. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  7641. },
  7642. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  7643. var _ = this;
  7644. _.name = t0;
  7645. _.value = t1;
  7646. _.parsedAsCustomProperty = t2;
  7647. _.valueSpanForMap = t3;
  7648. _.span = t4;
  7649. _._indexInParent = _._parent = null;
  7650. _.isGroupEnd = false;
  7651. },
  7652. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  7653. var _ = this;
  7654. _.url = t0;
  7655. _.modifiers = t1;
  7656. _.span = t2;
  7657. _._indexInParent = _._parent = null;
  7658. _.isGroupEnd = false;
  7659. },
  7660. ModifiableCssKeyframeBlock$(selector, span) {
  7661. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7662. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7663. },
  7664. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  7665. var _ = this;
  7666. _.selector = t0;
  7667. _.span = t1;
  7668. _.children = t2;
  7669. _._children = t3;
  7670. _._indexInParent = _._parent = null;
  7671. _.isGroupEnd = false;
  7672. },
  7673. ModifiableCssMediaRule$(queries, span) {
  7674. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  7675. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7676. if (J.get$isEmpty$asx(queries))
  7677. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  7678. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  7679. },
  7680. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  7681. var _ = this;
  7682. _.queries = t0;
  7683. _.span = t1;
  7684. _.children = t2;
  7685. _._children = t3;
  7686. _._indexInParent = _._parent = null;
  7687. _.isGroupEnd = false;
  7688. },
  7689. ModifiableCssNode: function ModifiableCssNode() {
  7690. },
  7691. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  7692. },
  7693. ModifiableCssParentNode: function ModifiableCssParentNode() {
  7694. },
  7695. ModifiableCssStyleRule$(selector, span, originalSelector) {
  7696. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7697. return new A.ModifiableCssStyleRule(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7698. },
  7699. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
  7700. var _ = this;
  7701. _.selector = t0;
  7702. _.originalSelector = t1;
  7703. _.span = t2;
  7704. _.children = t3;
  7705. _._children = t4;
  7706. _._indexInParent = _._parent = null;
  7707. _.isGroupEnd = false;
  7708. },
  7709. ModifiableCssStylesheet$(span) {
  7710. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7711. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7712. },
  7713. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  7714. var _ = this;
  7715. _.span = t0;
  7716. _.children = t1;
  7717. _._children = t2;
  7718. _._indexInParent = _._parent = null;
  7719. _.isGroupEnd = false;
  7720. },
  7721. ModifiableCssSupportsRule$(condition, span) {
  7722. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  7723. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  7724. },
  7725. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  7726. var _ = this;
  7727. _.condition = t0;
  7728. _.span = t1;
  7729. _.children = t2;
  7730. _._children = t3;
  7731. _._indexInParent = _._parent = null;
  7732. _.isGroupEnd = false;
  7733. },
  7734. ModifiableCssValue: function ModifiableCssValue(t0, t1, t2) {
  7735. this.value = t0;
  7736. this.span = t1;
  7737. this.$ti = t2;
  7738. },
  7739. CssNode: function CssNode() {
  7740. },
  7741. CssParentNode: function CssParentNode() {
  7742. },
  7743. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  7744. this.includeBogus = t0;
  7745. this.includeComments = t1;
  7746. },
  7747. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  7748. },
  7749. CssStylesheet: function CssStylesheet(t0, t1) {
  7750. this.children = t0;
  7751. this.span = t1;
  7752. },
  7753. CssValue: function CssValue(t0, t1, t2) {
  7754. this.value = t0;
  7755. this.span = t1;
  7756. this.$ti = t2;
  7757. },
  7758. AstNode: function AstNode() {
  7759. },
  7760. _FakeAstNode: function _FakeAstNode(t0) {
  7761. this._callback = t0;
  7762. },
  7763. Argument: function Argument(t0, t1, t2) {
  7764. this.name = t0;
  7765. this.defaultValue = t1;
  7766. this.span = t2;
  7767. },
  7768. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  7769. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  7770. },
  7771. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  7772. this.$arguments = t0;
  7773. this.restArgument = t1;
  7774. this.span = t2;
  7775. },
  7776. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  7777. },
  7778. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  7779. },
  7780. ArgumentInvocation$empty(span) {
  7781. return new A.ArgumentInvocation(B.List_empty9, B.Map_empty2, null, null, span);
  7782. },
  7783. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  7784. var _ = this;
  7785. _.positional = t0;
  7786. _.named = t1;
  7787. _.rest = t2;
  7788. _.keywordRest = t3;
  7789. _.span = t4;
  7790. },
  7791. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  7792. var _ = this;
  7793. _.include = t0;
  7794. _.names = t1;
  7795. _._all = t2;
  7796. _._at_root_query$_rule = t3;
  7797. },
  7798. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  7799. var _ = this;
  7800. _.name = t0;
  7801. _.expression = t1;
  7802. _.isGuarded = t2;
  7803. _.span = t3;
  7804. },
  7805. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  7806. var _ = this;
  7807. _.operator = t0;
  7808. _.left = t1;
  7809. _.right = t2;
  7810. _.allowsSlash = t3;
  7811. },
  7812. BinaryOperator: function BinaryOperator(t0, t1, t2, t3) {
  7813. var _ = this;
  7814. _.name = t0;
  7815. _.operator = t1;
  7816. _.precedence = t2;
  7817. _._name = t3;
  7818. },
  7819. BooleanExpression: function BooleanExpression(t0, t1) {
  7820. this.value = t0;
  7821. this.span = t1;
  7822. },
  7823. CalculationExpression__verifyArguments($arguments) {
  7824. return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression);
  7825. },
  7826. CalculationExpression__verify(expression) {
  7827. var t1,
  7828. _s29_ = "Invalid calculation argument ";
  7829. if (expression instanceof A.NumberExpression)
  7830. return;
  7831. if (expression instanceof A.CalculationExpression)
  7832. return;
  7833. if (expression instanceof A.VariableExpression)
  7834. return;
  7835. if (expression instanceof A.FunctionExpression)
  7836. return;
  7837. if (expression instanceof A.IfExpression)
  7838. return;
  7839. if (expression instanceof A.StringExpression) {
  7840. if (expression.hasQuotes)
  7841. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  7842. } else if (expression instanceof A.ParenthesizedExpression)
  7843. A.CalculationExpression__verify(expression.expression);
  7844. else if (expression instanceof A.BinaryOperationExpression) {
  7845. A.CalculationExpression__verify(expression.left);
  7846. A.CalculationExpression__verify(expression.right);
  7847. t1 = expression.operator;
  7848. if (t1 === B.BinaryOperator_qbf)
  7849. return;
  7850. if (t1 === B.BinaryOperator_KlB)
  7851. return;
  7852. if (t1 === B.BinaryOperator_6pl)
  7853. return;
  7854. if (t1 === B.BinaryOperator_qpm)
  7855. return;
  7856. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  7857. } else
  7858. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  7859. },
  7860. CalculationExpression: function CalculationExpression(t0, t1, t2) {
  7861. this.name = t0;
  7862. this.$arguments = t1;
  7863. this.span = t2;
  7864. },
  7865. CalculationExpression__verifyArguments_closure: function CalculationExpression__verifyArguments_closure() {
  7866. },
  7867. ColorExpression: function ColorExpression(t0, t1) {
  7868. this.value = t0;
  7869. this.span = t1;
  7870. },
  7871. FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
  7872. var _ = this;
  7873. _.namespace = t0;
  7874. _.originalName = t1;
  7875. _.$arguments = t2;
  7876. _.span = t3;
  7877. },
  7878. IfExpression: function IfExpression(t0, t1) {
  7879. this.$arguments = t0;
  7880. this.span = t1;
  7881. },
  7882. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  7883. this.name = t0;
  7884. this.$arguments = t1;
  7885. this.span = t2;
  7886. },
  7887. ListExpression: function ListExpression(t0, t1, t2, t3) {
  7888. var _ = this;
  7889. _.contents = t0;
  7890. _.separator = t1;
  7891. _.hasBrackets = t2;
  7892. _.span = t3;
  7893. },
  7894. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  7895. this.$this = t0;
  7896. },
  7897. MapExpression: function MapExpression(t0, t1) {
  7898. this.pairs = t0;
  7899. this.span = t1;
  7900. },
  7901. MapExpression_toString_closure: function MapExpression_toString_closure() {
  7902. },
  7903. NullExpression: function NullExpression(t0) {
  7904. this.span = t0;
  7905. },
  7906. NumberExpression: function NumberExpression(t0, t1, t2) {
  7907. this.value = t0;
  7908. this.unit = t1;
  7909. this.span = t2;
  7910. },
  7911. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  7912. this.expression = t0;
  7913. this.span = t1;
  7914. },
  7915. SelectorExpression: function SelectorExpression(t0) {
  7916. this.span = t0;
  7917. },
  7918. StringExpression_quoteText(text) {
  7919. var t1,
  7920. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  7921. buffer = new A.StringBuffer("");
  7922. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  7923. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  7924. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  7925. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7926. },
  7927. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  7928. var t1, t2, i, codeUnit, next, t3;
  7929. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  7930. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  7931. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  7932. buffer.writeCharCode$1(92);
  7933. buffer.writeCharCode$1(97);
  7934. if (i !== t2) {
  7935. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  7936. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex(next))
  7937. buffer.writeCharCode$1(32);
  7938. }
  7939. } else {
  7940. if (codeUnit !== quote)
  7941. if (codeUnit !== 92)
  7942. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  7943. else
  7944. t3 = true;
  7945. else
  7946. t3 = true;
  7947. if (t3)
  7948. buffer.writeCharCode$1(92);
  7949. buffer.writeCharCode$1(codeUnit);
  7950. }
  7951. }
  7952. },
  7953. StringExpression__bestQuote(strings) {
  7954. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  7955. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  7956. t2 = t1.get$current(t1);
  7957. for (t3 = t2.length, i = 0; i < t3; ++i) {
  7958. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  7959. if (codeUnit === 39)
  7960. return 34;
  7961. if (codeUnit === 34)
  7962. containsDoubleQuote = true;
  7963. }
  7964. }
  7965. return containsDoubleQuote ? 39 : 34;
  7966. },
  7967. StringExpression: function StringExpression(t0, t1) {
  7968. this.text = t0;
  7969. this.hasQuotes = t1;
  7970. },
  7971. SupportsExpression: function SupportsExpression(t0) {
  7972. this.condition = t0;
  7973. },
  7974. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  7975. this.operator = t0;
  7976. this.operand = t1;
  7977. this.span = t2;
  7978. },
  7979. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  7980. this.name = t0;
  7981. this.operator = t1;
  7982. this._name = t2;
  7983. },
  7984. ValueExpression: function ValueExpression(t0, t1) {
  7985. this.value = t0;
  7986. this.span = t1;
  7987. },
  7988. VariableExpression: function VariableExpression(t0, t1, t2) {
  7989. this.namespace = t0;
  7990. this.name = t1;
  7991. this.span = t2;
  7992. },
  7993. DynamicImport: function DynamicImport(t0, t1) {
  7994. this.urlString = t0;
  7995. this.span = t1;
  7996. },
  7997. StaticImport: function StaticImport(t0, t1, t2) {
  7998. this.url = t0;
  7999. this.modifiers = t1;
  8000. this.span = t2;
  8001. },
  8002. Interpolation$(contents, span) {
  8003. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  8004. t1.Interpolation$2(contents, span);
  8005. return t1;
  8006. },
  8007. Interpolation: function Interpolation(t0, t1) {
  8008. this.contents = t0;
  8009. this.span = t1;
  8010. },
  8011. Interpolation_toString_closure: function Interpolation_toString_closure() {
  8012. },
  8013. AtRootRule$(children, span, query) {
  8014. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8015. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8016. return new A.AtRootRule(query, span, t1, t2);
  8017. },
  8018. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  8019. var _ = this;
  8020. _.query = t0;
  8021. _.span = t1;
  8022. _.children = t2;
  8023. _.hasDeclarations = t3;
  8024. },
  8025. AtRule$($name, span, children, value) {
  8026. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  8027. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8028. return new A.AtRule($name, value, span, t1, t2 === true);
  8029. },
  8030. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  8031. var _ = this;
  8032. _.name = t0;
  8033. _.value = t1;
  8034. _.span = t2;
  8035. _.children = t3;
  8036. _.hasDeclarations = t4;
  8037. },
  8038. CallableDeclaration: function CallableDeclaration() {
  8039. },
  8040. ContentBlock$($arguments, children, span) {
  8041. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8042. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8043. return new A.ContentBlock("@content", $arguments, span, t1, t2);
  8044. },
  8045. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
  8046. var _ = this;
  8047. _.name = t0;
  8048. _.$arguments = t1;
  8049. _.span = t2;
  8050. _.children = t3;
  8051. _.hasDeclarations = t4;
  8052. },
  8053. ContentRule: function ContentRule(t0, t1) {
  8054. this.$arguments = t0;
  8055. this.span = t1;
  8056. },
  8057. DebugRule: function DebugRule(t0, t1) {
  8058. this.expression = t0;
  8059. this.span = t1;
  8060. },
  8061. Declaration$($name, value, span) {
  8062. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
  8063. A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
  8064. return new A.Declaration($name, value, span, null, false);
  8065. },
  8066. Declaration$nested($name, children, span, value) {
  8067. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8068. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8069. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression))
  8070. A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
  8071. return new A.Declaration($name, value, span, t1, t2);
  8072. },
  8073. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  8074. var _ = this;
  8075. _.name = t0;
  8076. _.value = t1;
  8077. _.span = t2;
  8078. _.children = t3;
  8079. _.hasDeclarations = t4;
  8080. },
  8081. EachRule$(variables, list, children, span) {
  8082. var t1 = A.List_List$unmodifiable(variables, type$.String),
  8083. t2 = A.List_List$unmodifiable(children, type$.Statement),
  8084. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  8085. return new A.EachRule(t1, list, span, t2, t3);
  8086. },
  8087. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  8088. var _ = this;
  8089. _.variables = t0;
  8090. _.list = t1;
  8091. _.span = t2;
  8092. _.children = t3;
  8093. _.hasDeclarations = t4;
  8094. },
  8095. EachRule_toString_closure: function EachRule_toString_closure() {
  8096. },
  8097. ErrorRule: function ErrorRule(t0, t1) {
  8098. this.expression = t0;
  8099. this.span = t1;
  8100. },
  8101. ExtendRule: function ExtendRule(t0, t1, t2) {
  8102. this.selector = t0;
  8103. this.isOptional = t1;
  8104. this.span = t2;
  8105. },
  8106. ForRule$(variable, from, to, children, span, exclusive) {
  8107. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8108. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8109. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  8110. },
  8111. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  8112. var _ = this;
  8113. _.variable = t0;
  8114. _.from = t1;
  8115. _.to = t2;
  8116. _.isExclusive = t3;
  8117. _.span = t4;
  8118. _.children = t5;
  8119. _.hasDeclarations = t6;
  8120. },
  8121. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  8122. var _ = this;
  8123. _.url = t0;
  8124. _.shownMixinsAndFunctions = t1;
  8125. _.shownVariables = t2;
  8126. _.hiddenMixinsAndFunctions = t3;
  8127. _.hiddenVariables = t4;
  8128. _.prefix = t5;
  8129. _.configuration = t6;
  8130. _.span = t7;
  8131. },
  8132. FunctionRule$($name, $arguments, children, span, comment) {
  8133. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8134. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8135. return new A.FunctionRule($name, $arguments, span, t1, t2);
  8136. },
  8137. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
  8138. var _ = this;
  8139. _.name = t0;
  8140. _.$arguments = t1;
  8141. _.span = t2;
  8142. _.children = t3;
  8143. _.hasDeclarations = t4;
  8144. },
  8145. IfClause$(expression, children) {
  8146. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8147. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8148. },
  8149. ElseClause$(children) {
  8150. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  8151. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  8152. },
  8153. IfRule: function IfRule(t0, t1, t2) {
  8154. this.clauses = t0;
  8155. this.lastClause = t1;
  8156. this.span = t2;
  8157. },
  8158. IfRule_toString_closure: function IfRule_toString_closure() {
  8159. },
  8160. IfRuleClause: function IfRuleClause() {
  8161. },
  8162. IfRuleClause$__closure: function IfRuleClause$__closure() {
  8163. },
  8164. IfRuleClause$___closure: function IfRuleClause$___closure() {
  8165. },
  8166. IfClause: function IfClause(t0, t1, t2) {
  8167. this.expression = t0;
  8168. this.children = t1;
  8169. this.hasDeclarations = t2;
  8170. },
  8171. ElseClause: function ElseClause(t0, t1) {
  8172. this.children = t0;
  8173. this.hasDeclarations = t1;
  8174. },
  8175. ImportRule: function ImportRule(t0, t1) {
  8176. this.imports = t0;
  8177. this.span = t1;
  8178. },
  8179. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
  8180. var _ = this;
  8181. _.namespace = t0;
  8182. _.name = t1;
  8183. _.$arguments = t2;
  8184. _.content = t3;
  8185. _.span = t4;
  8186. },
  8187. LoudComment: function LoudComment(t0) {
  8188. this.text = t0;
  8189. },
  8190. MediaRule$(query, children, span) {
  8191. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8192. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8193. return new A.MediaRule(query, span, t1, t2);
  8194. },
  8195. MediaRule: function MediaRule(t0, t1, t2, t3) {
  8196. var _ = this;
  8197. _.query = t0;
  8198. _.span = t1;
  8199. _.children = t2;
  8200. _.hasDeclarations = t3;
  8201. },
  8202. MixinRule$($name, $arguments, children, span, comment) {
  8203. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8204. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8205. return new A.MixinRule($name, $arguments, span, t1, t2);
  8206. },
  8207. MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
  8208. var _ = this;
  8209. _.__MixinRule_hasContent_FI = $;
  8210. _.name = t0;
  8211. _.$arguments = t1;
  8212. _.span = t2;
  8213. _.children = t3;
  8214. _.hasDeclarations = t4;
  8215. },
  8216. _HasContentVisitor: function _HasContentVisitor() {
  8217. },
  8218. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  8219. },
  8220. ParentStatement: function ParentStatement() {
  8221. },
  8222. ParentStatement_closure: function ParentStatement_closure() {
  8223. },
  8224. ParentStatement__closure: function ParentStatement__closure() {
  8225. },
  8226. ReturnRule: function ReturnRule(t0, t1) {
  8227. this.expression = t0;
  8228. this.span = t1;
  8229. },
  8230. SilentComment: function SilentComment(t0, t1) {
  8231. this.text = t0;
  8232. this.span = t1;
  8233. },
  8234. StyleRule$(selector, children, span) {
  8235. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8236. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8237. return new A.StyleRule(selector, span, t1, t2);
  8238. },
  8239. StyleRule: function StyleRule(t0, t1, t2, t3) {
  8240. var _ = this;
  8241. _.selector = t0;
  8242. _.span = t1;
  8243. _.children = t2;
  8244. _.hasDeclarations = t3;
  8245. },
  8246. Stylesheet$(children, span) {
  8247. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8248. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8249. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8250. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8251. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  8252. t1.Stylesheet$internal$3$plainCss(children, span, false);
  8253. return t1;
  8254. },
  8255. Stylesheet$internal(children, span, plainCss) {
  8256. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  8257. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  8258. t3 = A.List_List$unmodifiable(children, type$.Statement),
  8259. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  8260. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  8261. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  8262. return t1;
  8263. },
  8264. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  8265. var t1, t2;
  8266. switch (syntax) {
  8267. case B.Syntax_Sass_sass:
  8268. t1 = A.SpanScanner$(contents, url);
  8269. t2 = logger == null ? B.StderrLogger_false : logger;
  8270. return new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
  8271. case B.Syntax_SCSS_scss:
  8272. return A.ScssParser$(contents, logger, url).parse$0();
  8273. case B.Syntax_CSS_css:
  8274. t1 = A.SpanScanner$(contents, url);
  8275. t2 = logger == null ? B.StderrLogger_false : logger;
  8276. return new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2).parse$0();
  8277. default:
  8278. throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
  8279. }
  8280. },
  8281. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  8282. var _ = this;
  8283. _.span = t0;
  8284. _.plainCss = t1;
  8285. _._uses = t2;
  8286. _._forwards = t3;
  8287. _.children = t4;
  8288. _.hasDeclarations = t5;
  8289. },
  8290. SupportsRule$(condition, children, span) {
  8291. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8292. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8293. return new A.SupportsRule(condition, span, t1, t2);
  8294. },
  8295. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  8296. var _ = this;
  8297. _.condition = t0;
  8298. _.span = t1;
  8299. _.children = t2;
  8300. _.hasDeclarations = t3;
  8301. },
  8302. UseRule: function UseRule(t0, t1, t2, t3) {
  8303. var _ = this;
  8304. _.url = t0;
  8305. _.namespace = t1;
  8306. _.configuration = t2;
  8307. _.span = t3;
  8308. },
  8309. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  8310. if (namespace != null && global)
  8311. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  8312. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  8313. },
  8314. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  8315. var _ = this;
  8316. _.namespace = t0;
  8317. _.name = t1;
  8318. _.expression = t2;
  8319. _.isGuarded = t3;
  8320. _.isGlobal = t4;
  8321. _.span = t5;
  8322. },
  8323. WarnRule: function WarnRule(t0, t1) {
  8324. this.expression = t0;
  8325. this.span = t1;
  8326. },
  8327. WhileRule$(condition, children, span) {
  8328. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  8329. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  8330. return new A.WhileRule(condition, span, t1, t2);
  8331. },
  8332. WhileRule: function WhileRule(t0, t1, t2, t3) {
  8333. var _ = this;
  8334. _.condition = t0;
  8335. _.span = t1;
  8336. _.children = t2;
  8337. _.hasDeclarations = t3;
  8338. },
  8339. SupportsAnything: function SupportsAnything(t0, t1) {
  8340. this.contents = t0;
  8341. this.span = t1;
  8342. },
  8343. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  8344. this.name = t0;
  8345. this.value = t1;
  8346. this.span = t2;
  8347. },
  8348. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  8349. this.name = t0;
  8350. this.$arguments = t1;
  8351. this.span = t2;
  8352. },
  8353. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  8354. this.expression = t0;
  8355. this.span = t1;
  8356. },
  8357. SupportsNegation: function SupportsNegation(t0, t1) {
  8358. this.condition = t0;
  8359. this.span = t1;
  8360. },
  8361. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  8362. var _ = this;
  8363. _.left = t0;
  8364. _.right = t1;
  8365. _.operator = t2;
  8366. _.span = t3;
  8367. },
  8368. Selector: function Selector() {
  8369. },
  8370. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  8371. this.includeBogus = t0;
  8372. },
  8373. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  8374. this.includeLeadingCombinator = t0;
  8375. },
  8376. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  8377. this.$this = t0;
  8378. },
  8379. _IsUselessVisitor: function _IsUselessVisitor() {
  8380. },
  8381. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  8382. this.$this = t0;
  8383. },
  8384. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  8385. },
  8386. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  8387. },
  8388. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  8389. },
  8390. AttributeSelector: function AttributeSelector(t0, t1, t2, t3) {
  8391. var _ = this;
  8392. _.name = t0;
  8393. _.op = t1;
  8394. _.value = t2;
  8395. _.modifier = t3;
  8396. },
  8397. AttributeOperator: function AttributeOperator(t0, t1) {
  8398. this._attribute$_text = t0;
  8399. this._name = t1;
  8400. },
  8401. ClassSelector: function ClassSelector(t0) {
  8402. this.name = t0;
  8403. },
  8404. Combinator: function Combinator(t0, t1) {
  8405. this._combinator$_text = t0;
  8406. this._name = t1;
  8407. },
  8408. ComplexSelector$(leadingCombinators, components, lineBreak) {
  8409. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.Combinator),
  8410. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  8411. if (t1.length === 0 && t2.length === 0)
  8412. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  8413. return new A.ComplexSelector(t1, t2, lineBreak);
  8414. },
  8415. ComplexSelector: function ComplexSelector(t0, t1, t2) {
  8416. var _ = this;
  8417. _.leadingCombinators = t0;
  8418. _.components = t1;
  8419. _.lineBreak = t2;
  8420. _.__ComplexSelector_specificity_FI = $;
  8421. },
  8422. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  8423. },
  8424. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1) {
  8425. this.selector = t0;
  8426. this.combinators = t1;
  8427. },
  8428. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  8429. },
  8430. CompoundSelector$(components) {
  8431. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  8432. if (t1.length === 0)
  8433. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8434. return new A.CompoundSelector(t1);
  8435. },
  8436. CompoundSelector: function CompoundSelector(t0) {
  8437. this.components = t0;
  8438. this.__CompoundSelector_specificity_FI = $;
  8439. },
  8440. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  8441. },
  8442. IDSelector: function IDSelector(t0) {
  8443. this.name = t0;
  8444. },
  8445. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  8446. this.$this = t0;
  8447. },
  8448. SelectorList$(components) {
  8449. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  8450. if (t1.length === 0)
  8451. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  8452. return new A.SelectorList(t1);
  8453. },
  8454. SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, logger) {
  8455. return A.SelectorParser$(contents, allowParent, allowPlaceholder, logger, null).parse$0();
  8456. },
  8457. SelectorList: function SelectorList(t0) {
  8458. this.components = t0;
  8459. },
  8460. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  8461. },
  8462. SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
  8463. this.$this = t0;
  8464. this.implicitParent = t1;
  8465. this.parent = t2;
  8466. },
  8467. SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
  8468. this.complex = t0;
  8469. },
  8470. SelectorList__complexContainsParentSelector_closure: function SelectorList__complexContainsParentSelector_closure() {
  8471. },
  8472. SelectorList__complexContainsParentSelector__closure: function SelectorList__complexContainsParentSelector__closure() {
  8473. },
  8474. SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
  8475. },
  8476. SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
  8477. this.parent = t0;
  8478. },
  8479. SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1, t2) {
  8480. this.parentSelector = t0;
  8481. this.resolvedSimples = t1;
  8482. this.component = t2;
  8483. },
  8484. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  8485. this.combinators = t0;
  8486. },
  8487. ParentSelector: function ParentSelector(t0) {
  8488. this.suffix = t0;
  8489. },
  8490. PlaceholderSelector: function PlaceholderSelector(t0) {
  8491. this.name = t0;
  8492. },
  8493. PseudoSelector$($name, argument, element, selector) {
  8494. var t1 = !element,
  8495. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  8496. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector);
  8497. },
  8498. PseudoSelector__isFakePseudoElement($name) {
  8499. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  8500. case 97:
  8501. case 65:
  8502. return A.equalsIgnoreCase($name, "after");
  8503. case 98:
  8504. case 66:
  8505. return A.equalsIgnoreCase($name, "before");
  8506. case 102:
  8507. case 70:
  8508. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  8509. default:
  8510. return false;
  8511. }
  8512. },
  8513. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5) {
  8514. var _ = this;
  8515. _.name = t0;
  8516. _.normalizedName = t1;
  8517. _.isClass = t2;
  8518. _.isSyntacticClass = t3;
  8519. _.argument = t4;
  8520. _.selector = t5;
  8521. _.__PseudoSelector_specificity_FI = $;
  8522. },
  8523. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  8524. this.$this = t0;
  8525. },
  8526. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  8527. },
  8528. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  8529. },
  8530. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  8531. },
  8532. QualifiedName: function QualifiedName(t0, t1) {
  8533. this.name = t0;
  8534. this.namespace = t1;
  8535. },
  8536. SimpleSelector: function SimpleSelector() {
  8537. },
  8538. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  8539. this.$this = t0;
  8540. },
  8541. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  8542. this.$this = t0;
  8543. },
  8544. TypeSelector: function TypeSelector(t0) {
  8545. this.name = t0;
  8546. },
  8547. UniversalSelector: function UniversalSelector(t0) {
  8548. this.namespace = t0;
  8549. },
  8550. compileAsync(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8551. return A.compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose);
  8552. },
  8553. compileAsync$body(path, charset, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8554. var $async$goto = 0,
  8555. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8556. $async$returnValue, t1, terseLogger, t2, stylesheet, result;
  8557. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8558. if ($async$errorCode === 1)
  8559. return A._asyncRethrow($async$result, $async$completer);
  8560. while (true)
  8561. switch ($async$goto) {
  8562. case 0:
  8563. // Function start
  8564. if (!verbose) {
  8565. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8566. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
  8567. logger = terseLogger;
  8568. } else
  8569. terseLogger = null;
  8570. t1 = syntax === A.Syntax_forPath(path);
  8571. $async$goto = t1 ? 3 : 5;
  8572. break;
  8573. case 3:
  8574. // then
  8575. t1 = $.$get$context();
  8576. t2 = t1.absolute$7(".", null, null, null, null, null, null);
  8577. $async$goto = 6;
  8578. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path)), $async$compileAsync);
  8579. case 6:
  8580. // returning from await.
  8581. t2 = $async$result;
  8582. t2.toString;
  8583. stylesheet = t2;
  8584. // goto join
  8585. $async$goto = 4;
  8586. break;
  8587. case 5:
  8588. // else
  8589. t1 = A.readFile(path);
  8590. t2 = $.$get$context();
  8591. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, t2.toUri$1(path));
  8592. t1 = t2;
  8593. case 4:
  8594. // join
  8595. $async$goto = 7;
  8596. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null)), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  8597. case 7:
  8598. // returning from await.
  8599. result = $async$result;
  8600. if (terseLogger != null)
  8601. terseLogger.summarize$1$node(false);
  8602. $async$returnValue = result;
  8603. // goto return
  8604. $async$goto = 1;
  8605. break;
  8606. case 1:
  8607. // return
  8608. return A._asyncReturn($async$returnValue, $async$completer);
  8609. }
  8610. });
  8611. return A._asyncStartSync($async$compileAsync, $async$completer);
  8612. },
  8613. compileStringAsync(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8614. return A.compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose);
  8615. },
  8616. compileStringAsync$body(source, charset, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  8617. var $async$goto = 0,
  8618. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8619. $async$returnValue, t1, terseLogger, stylesheet, result;
  8620. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8621. if ($async$errorCode === 1)
  8622. return A._asyncRethrow($async$result, $async$completer);
  8623. while (true)
  8624. switch ($async$goto) {
  8625. case 0:
  8626. // Function start
  8627. if (!verbose) {
  8628. t1 = logger == null ? new A.StderrLogger(false) : logger;
  8629. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), t1);
  8630. logger = terseLogger;
  8631. } else
  8632. terseLogger = null;
  8633. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  8634. $async$goto = 3;
  8635. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  8636. case 3:
  8637. // returning from await.
  8638. result = $async$result;
  8639. if (terseLogger != null)
  8640. terseLogger.summarize$1$node(false);
  8641. $async$returnValue = result;
  8642. // goto return
  8643. $async$goto = 1;
  8644. break;
  8645. case 1:
  8646. // return
  8647. return A._asyncReturn($async$returnValue, $async$completer);
  8648. }
  8649. });
  8650. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  8651. },
  8652. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  8653. var $async$goto = 0,
  8654. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  8655. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  8656. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  8657. if ($async$errorCode === 1)
  8658. return A._asyncRethrow($async$result, $async$completer);
  8659. while (true)
  8660. switch ($async$goto) {
  8661. case 0:
  8662. // Function start
  8663. $async$temp1 = A;
  8664. $async$goto = 3;
  8665. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  8666. case 3:
  8667. // returning from await.
  8668. serializeResult = $async$temp1.serialize($async$result.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  8669. resultSourceMap = serializeResult.sourceMap;
  8670. if (resultSourceMap != null && true)
  8671. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  8672. $async$returnValue = new A.CompileResult(serializeResult);
  8673. // goto return
  8674. $async$goto = 1;
  8675. break;
  8676. case 1:
  8677. // return
  8678. return A._asyncReturn($async$returnValue, $async$completer);
  8679. }
  8680. });
  8681. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  8682. },
  8683. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  8684. this.stylesheet = t0;
  8685. this.importCache = t1;
  8686. },
  8687. AsyncEnvironment$() {
  8688. var t1 = type$.String,
  8689. t2 = type$.Module_AsyncCallable,
  8690. t3 = type$.AstNode,
  8691. t4 = type$.int,
  8692. t5 = type$.AsyncCallable,
  8693. t6 = type$.JSArray_Map_String_AsyncCallable;
  8694. 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);
  8695. },
  8696. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  8697. var t1 = type$.String,
  8698. t2 = type$.int;
  8699. 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);
  8700. },
  8701. _EnvironmentModule__EnvironmentModule0(environment, css, extensionStore, forwarded) {
  8702. var t1, t2, t3, t4, t5, t6;
  8703. if (forwarded == null)
  8704. forwarded = B.Set_empty1;
  8705. t1 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  8706. 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);
  8707. 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);
  8708. t4 = type$.Map_String_AsyncCallable;
  8709. t5 = type$.AsyncCallable;
  8710. 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);
  8711. 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);
  8712. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  8713. 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()));
  8714. },
  8715. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  8716. var modulesByVariable, t1, t2, t3, t4, t5;
  8717. if (forwarded.get$isEmpty(forwarded))
  8718. return B.Map_empty3;
  8719. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  8720. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  8721. t2 = t1.get$current(t1);
  8722. if (t2 instanceof A._EnvironmentModule0) {
  8723. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  8724. t4 = t3.get$current(t3);
  8725. t5 = t4.get$variables();
  8726. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  8727. }
  8728. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  8729. } else {
  8730. t3 = t2.get$variables();
  8731. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  8732. }
  8733. }
  8734. return modulesByVariable;
  8735. },
  8736. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  8737. var t1, t2, t3;
  8738. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  8739. if (otherMaps.get$isEmpty(otherMaps))
  8740. return localMap;
  8741. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  8742. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  8743. t3 = t2.get$current(t2);
  8744. if (t3.get$isNotEmpty(t3))
  8745. t1.push(t3);
  8746. }
  8747. t1.push(localMap);
  8748. if (t1.length === 1)
  8749. return localMap;
  8750. return A.MergedMapView$(t1, type$.String, $V);
  8751. },
  8752. _EnvironmentModule$_0(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  8753. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  8754. },
  8755. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  8756. var _ = this;
  8757. _._async_environment$_modules = t0;
  8758. _._async_environment$_namespaceNodes = t1;
  8759. _._async_environment$_globalModules = t2;
  8760. _._async_environment$_importedModules = t3;
  8761. _._async_environment$_forwardedModules = t4;
  8762. _._async_environment$_nestedForwardedModules = t5;
  8763. _._async_environment$_allModules = t6;
  8764. _._async_environment$_variables = t7;
  8765. _._async_environment$_variableNodes = t8;
  8766. _._async_environment$_variableIndices = t9;
  8767. _._async_environment$_functions = t10;
  8768. _._async_environment$_functionIndices = t11;
  8769. _._async_environment$_mixins = t12;
  8770. _._async_environment$_mixinIndices = t13;
  8771. _._async_environment$_content = t14;
  8772. _._async_environment$_inMixin = false;
  8773. _._async_environment$_inSemiGlobalScope = true;
  8774. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  8775. },
  8776. AsyncEnvironment_importForwards_closure: function AsyncEnvironment_importForwards_closure() {
  8777. },
  8778. AsyncEnvironment_importForwards_closure0: function AsyncEnvironment_importForwards_closure0() {
  8779. },
  8780. AsyncEnvironment_importForwards_closure1: function AsyncEnvironment_importForwards_closure1() {
  8781. },
  8782. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  8783. this.name = t0;
  8784. },
  8785. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  8786. this.$this = t0;
  8787. this.name = t1;
  8788. },
  8789. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  8790. this.name = t0;
  8791. },
  8792. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  8793. this.$this = t0;
  8794. this.name = t1;
  8795. },
  8796. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  8797. this.name = t0;
  8798. },
  8799. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  8800. this.name = t0;
  8801. },
  8802. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  8803. },
  8804. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  8805. },
  8806. AsyncEnvironment__fromOneModule_closure: function AsyncEnvironment__fromOneModule_closure(t0, t1) {
  8807. this.callback = t0;
  8808. this.T = t1;
  8809. },
  8810. AsyncEnvironment__fromOneModule__closure: function AsyncEnvironment__fromOneModule__closure(t0, t1) {
  8811. this.entry = t0;
  8812. this.T = t1;
  8813. },
  8814. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  8815. var _ = this;
  8816. _.upstream = t0;
  8817. _.variables = t1;
  8818. _.variableNodes = t2;
  8819. _.functions = t3;
  8820. _.mixins = t4;
  8821. _.extensionStore = t5;
  8822. _.css = t6;
  8823. _.transitivelyContainsCss = t7;
  8824. _.transitivelyContainsExtensions = t8;
  8825. _._async_environment$_environment = t9;
  8826. _._async_environment$_modulesByVariable = t10;
  8827. },
  8828. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  8829. },
  8830. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  8831. },
  8832. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  8833. },
  8834. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  8835. },
  8836. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  8837. },
  8838. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  8839. },
  8840. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  8841. var sassPath, t2, t3, _i, path, _null = null,
  8842. t1 = J.get$env$x(self.process);
  8843. if (t1 == null)
  8844. t1 = type$.Object._as(t1);
  8845. sassPath = A._asStringQ(t1.SASS_PATH);
  8846. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  8847. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  8848. t3 = t2.get$current(t2);
  8849. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  8850. }
  8851. if (sassPath != null) {
  8852. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  8853. t3 = t2.length;
  8854. _i = 0;
  8855. for (; _i < t3; ++_i) {
  8856. path = t2[_i];
  8857. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  8858. }
  8859. }
  8860. return t1;
  8861. },
  8862. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
  8863. var _ = this;
  8864. _._async_import_cache$_importers = t0;
  8865. _._async_import_cache$_logger = t1;
  8866. _._async_import_cache$_canonicalizeCache = t2;
  8867. _._async_import_cache$_relativeCanonicalizeCache = t3;
  8868. _._async_import_cache$_importCache = t4;
  8869. _._async_import_cache$_resultsCache = t5;
  8870. },
  8871. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  8872. var _ = this;
  8873. _.$this = t0;
  8874. _.baseUrl = t1;
  8875. _.url = t2;
  8876. _.baseImporter = t3;
  8877. _.forImport = t4;
  8878. },
  8879. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2) {
  8880. this.$this = t0;
  8881. this.url = t1;
  8882. this.forImport = t2;
  8883. },
  8884. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  8885. this.importer = t0;
  8886. this.url = t1;
  8887. },
  8888. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  8889. var _ = this;
  8890. _.$this = t0;
  8891. _.importer = t1;
  8892. _.canonicalUrl = t2;
  8893. _.originalUrl = t3;
  8894. _.quiet = t4;
  8895. },
  8896. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  8897. this.canonicalUrl = t0;
  8898. },
  8899. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  8900. },
  8901. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  8902. },
  8903. AsyncBuiltInCallable$mixin($name, $arguments, callback, url) {
  8904. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback));
  8905. },
  8906. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2) {
  8907. this.name = t0;
  8908. this._async_built_in$_arguments = t1;
  8909. this._async_built_in$_callback = t2;
  8910. },
  8911. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  8912. this.callback = t0;
  8913. },
  8914. BuiltInCallable$function($name, $arguments, callback, url) {
  8915. 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_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  8916. },
  8917. BuiltInCallable$mixin($name, $arguments, callback, url) {
  8918. 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_2)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2));
  8919. },
  8920. BuiltInCallable$overloadedFunction($name, overloads) {
  8921. var t2, t3, t4, t5, t6, t7, t8,
  8922. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2);
  8923. 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; t2.moveNext$0();) {
  8924. t7 = t2.get$current(t2);
  8925. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  8926. t1.push(new A.Tuple2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false).parseArgumentDeclaration$0(), t7.value, t3));
  8927. }
  8928. return new A.BuiltInCallable($name, t1);
  8929. },
  8930. BuiltInCallable: function BuiltInCallable(t0, t1) {
  8931. this.name = t0;
  8932. this._overloads = t1;
  8933. },
  8934. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  8935. this.callback = t0;
  8936. },
  8937. PlainCssCallable: function PlainCssCallable(t0) {
  8938. this.name = t0;
  8939. },
  8940. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  8941. var _ = this;
  8942. _.declaration = t0;
  8943. _.environment = t1;
  8944. _.inDependency = t2;
  8945. _.$ti = t3;
  8946. },
  8947. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  8948. 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),
  8949. resultSourceMap = serializeResult.sourceMap;
  8950. if (resultSourceMap != null && true)
  8951. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  8952. return new A.CompileResult(serializeResult);
  8953. },
  8954. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  8955. this.stylesheet = t0;
  8956. this.importCache = t1;
  8957. },
  8958. CompileResult: function CompileResult(t0) {
  8959. this._serialize = t0;
  8960. },
  8961. Configuration: function Configuration(t0, t1) {
  8962. this._values = t0;
  8963. this.__originalConfiguration = t1;
  8964. },
  8965. Configuration_toString_closure: function Configuration_toString_closure() {
  8966. },
  8967. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  8968. this.nodeWithSpan = t0;
  8969. this._values = t1;
  8970. this.__originalConfiguration = t2;
  8971. },
  8972. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  8973. this.value = t0;
  8974. this.configurationSpan = t1;
  8975. this.assignmentNode = t2;
  8976. },
  8977. Environment$() {
  8978. var t1 = type$.String,
  8979. t2 = type$.Module_Callable,
  8980. t3 = type$.AstNode,
  8981. t4 = type$.int,
  8982. t5 = type$.Callable,
  8983. t6 = type$.JSArray_Map_String_Callable;
  8984. 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);
  8985. },
  8986. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  8987. var t1 = type$.String,
  8988. t2 = type$.int;
  8989. 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);
  8990. },
  8991. _EnvironmentModule__EnvironmentModule(environment, css, extensionStore, forwarded) {
  8992. var t1, t2, t3, t4, t5, t6;
  8993. if (forwarded == null)
  8994. forwarded = B.Set_empty;
  8995. t1 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  8996. 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);
  8997. 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);
  8998. t4 = type$.Map_String_Callable;
  8999. t5 = type$.Callable;
  9000. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t4), t5);
  9001. t5 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t4), t5);
  9002. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  9003. 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()));
  9004. },
  9005. _EnvironmentModule__makeModulesByVariable(forwarded) {
  9006. var modulesByVariable, t1, t2, t3, t4, t5;
  9007. if (forwarded.get$isEmpty(forwarded))
  9008. return B.Map_empty;
  9009. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  9010. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  9011. t2 = t1.get$current(t1);
  9012. if (t2 instanceof A._EnvironmentModule) {
  9013. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  9014. t4 = t3.get$current(t3);
  9015. t5 = t4.get$variables();
  9016. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  9017. }
  9018. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  9019. } else {
  9020. t3 = t2.get$variables();
  9021. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  9022. }
  9023. }
  9024. return modulesByVariable;
  9025. },
  9026. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  9027. var t1, t2, t3;
  9028. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  9029. if (otherMaps.get$isEmpty(otherMaps))
  9030. return localMap;
  9031. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  9032. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  9033. t3 = t2.get$current(t2);
  9034. if (t3.get$isNotEmpty(t3))
  9035. t1.push(t3);
  9036. }
  9037. t1.push(localMap);
  9038. if (t1.length === 1)
  9039. return localMap;
  9040. return A.MergedMapView$(t1, type$.String, $V);
  9041. },
  9042. _EnvironmentModule$_(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  9043. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  9044. },
  9045. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  9046. var _ = this;
  9047. _._environment$_modules = t0;
  9048. _._namespaceNodes = t1;
  9049. _._globalModules = t2;
  9050. _._importedModules = t3;
  9051. _._forwardedModules = t4;
  9052. _._nestedForwardedModules = t5;
  9053. _._allModules = t6;
  9054. _._variables = t7;
  9055. _._variableNodes = t8;
  9056. _._variableIndices = t9;
  9057. _._functions = t10;
  9058. _._functionIndices = t11;
  9059. _._mixins = t12;
  9060. _._mixinIndices = t13;
  9061. _._content = t14;
  9062. _._inMixin = false;
  9063. _._inSemiGlobalScope = true;
  9064. _._lastVariableIndex = _._lastVariableName = null;
  9065. },
  9066. Environment_importForwards_closure: function Environment_importForwards_closure() {
  9067. },
  9068. Environment_importForwards_closure0: function Environment_importForwards_closure0() {
  9069. },
  9070. Environment_importForwards_closure1: function Environment_importForwards_closure1() {
  9071. },
  9072. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  9073. this.name = t0;
  9074. },
  9075. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  9076. this.$this = t0;
  9077. this.name = t1;
  9078. },
  9079. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  9080. this.name = t0;
  9081. },
  9082. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  9083. this.$this = t0;
  9084. this.name = t1;
  9085. },
  9086. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  9087. this.name = t0;
  9088. },
  9089. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  9090. this.name = t0;
  9091. },
  9092. Environment_toModule_closure: function Environment_toModule_closure() {
  9093. },
  9094. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  9095. },
  9096. Environment__fromOneModule_closure: function Environment__fromOneModule_closure(t0, t1) {
  9097. this.callback = t0;
  9098. this.T = t1;
  9099. },
  9100. Environment__fromOneModule__closure: function Environment__fromOneModule__closure(t0, t1) {
  9101. this.entry = t0;
  9102. this.T = t1;
  9103. },
  9104. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  9105. var _ = this;
  9106. _.upstream = t0;
  9107. _.variables = t1;
  9108. _.variableNodes = t2;
  9109. _.functions = t3;
  9110. _.mixins = t4;
  9111. _.extensionStore = t5;
  9112. _.css = t6;
  9113. _.transitivelyContainsCss = t7;
  9114. _.transitivelyContainsExtensions = t8;
  9115. _._environment$_environment = t9;
  9116. _._modulesByVariable = t10;
  9117. },
  9118. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  9119. },
  9120. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  9121. },
  9122. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  9123. },
  9124. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  9125. },
  9126. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  9127. },
  9128. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  9129. },
  9130. SassException$(message, span) {
  9131. return new A.SassException(message, span);
  9132. },
  9133. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace) {
  9134. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  9135. },
  9136. SassFormatException$(message, span) {
  9137. return new A.SassFormatException(message, span);
  9138. },
  9139. SassScriptException$(message, argumentName) {
  9140. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  9141. },
  9142. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  9143. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  9144. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  9145. },
  9146. SassException: function SassException(t0, t1) {
  9147. this._span_exception$_message = t0;
  9148. this._span = t1;
  9149. },
  9150. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3) {
  9151. var _ = this;
  9152. _.primaryLabel = t0;
  9153. _.secondarySpans = t1;
  9154. _._span_exception$_message = t2;
  9155. _._span = t3;
  9156. },
  9157. SassRuntimeException: function SassRuntimeException(t0, t1, t2) {
  9158. this.trace = t0;
  9159. this._span_exception$_message = t1;
  9160. this._span = t2;
  9161. },
  9162. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4) {
  9163. var _ = this;
  9164. _.trace = t0;
  9165. _.primaryLabel = t1;
  9166. _.secondarySpans = t2;
  9167. _._span_exception$_message = t3;
  9168. _._span = t4;
  9169. },
  9170. SassFormatException: function SassFormatException(t0, t1) {
  9171. this._span_exception$_message = t0;
  9172. this._span = t1;
  9173. },
  9174. SassScriptException: function SassScriptException(t0) {
  9175. this.message = t0;
  9176. },
  9177. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  9178. this.primaryLabel = t0;
  9179. this.secondarySpans = t1;
  9180. this.message = t2;
  9181. },
  9182. compileStylesheet(options, graph, source, destination, ifModified) {
  9183. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  9184. },
  9185. compileStylesheet$body(options, graph, source, destination, ifModified) {
  9186. var $async$goto = 0,
  9187. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9188. $async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, exception, t2, t3, t4, t5, t6, t7, t8, t9, result0, logger, terseLogger, stylesheet, css, buffer, sourceName, t1, importer, $async$exception;
  9189. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9190. if ($async$errorCode === 1) {
  9191. $async$currentError = $async$result;
  9192. $async$goto = $async$handler;
  9193. }
  9194. while (true)
  9195. switch ($async$goto) {
  9196. case 0:
  9197. // Function start
  9198. t1 = $.$get$context();
  9199. importer = new A.FilesystemImporter(t1.absolute$7(".", null, null, null, null, null, null));
  9200. if (ifModified)
  9201. try {
  9202. if (source != null && destination != null && !graph.modifiedSince$3(t1.toUri$1(source), A.modificationTime(destination), importer)) {
  9203. // goto return
  9204. $async$goto = 1;
  9205. break;
  9206. }
  9207. } catch (exception) {
  9208. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  9209. throw exception;
  9210. }
  9211. syntax = null;
  9212. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  9213. syntax = B.Syntax_Sass_sass;
  9214. else if (source != null)
  9215. syntax = A.Syntax_forPath(source);
  9216. else
  9217. syntax = B.Syntax_SCSS_scss;
  9218. result = null;
  9219. $async$handler = 4;
  9220. t1 = options._options;
  9221. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  9222. break;
  9223. case 7:
  9224. // then
  9225. t2 = type$.List_String._as(t1.$index(0, "load-path"));
  9226. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9227. t4 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri;
  9228. t5 = type$.Uri;
  9229. t2 = A.AsyncImportCache__toImporters(null, t2, null);
  9230. 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));
  9231. $async$goto = source == null ? 10 : 12;
  9232. break;
  9233. case 10:
  9234. // then
  9235. $async$goto = 13;
  9236. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9237. case 13:
  9238. // returning from await.
  9239. t2 = $async$result;
  9240. t3 = syntax;
  9241. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9242. t5 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
  9243. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9244. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  9245. t8 = A._asBool(t1.$index(0, "verbose"));
  9246. t9 = options.get$emitSourceMap();
  9247. $async$goto = 14;
  9248. return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$compileStylesheet);
  9249. case 14:
  9250. // returning from await.
  9251. result0 = $async$result;
  9252. // goto join
  9253. $async$goto = 11;
  9254. break;
  9255. case 12:
  9256. // else
  9257. t2 = syntax;
  9258. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9259. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9260. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  9261. t6 = A._asBool(t1.$index(0, "verbose"));
  9262. t7 = options.get$emitSourceMap();
  9263. $async$goto = 15;
  9264. return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), importCache, t3, t5, t7, t4, t2, t6), $async$compileStylesheet);
  9265. case 15:
  9266. // returning from await.
  9267. result0 = $async$result;
  9268. case 11:
  9269. // join
  9270. result = result0;
  9271. // goto join
  9272. $async$goto = 8;
  9273. break;
  9274. case 9:
  9275. // else
  9276. $async$goto = source == null ? 16 : 18;
  9277. break;
  9278. case 16:
  9279. // then
  9280. $async$goto = 19;
  9281. return A._asyncAwait(A.readStdin(), $async$compileStylesheet);
  9282. case 19:
  9283. // returning from await.
  9284. t2 = $async$result;
  9285. t3 = syntax;
  9286. logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9287. t4 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
  9288. t5 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9289. t6 = A._asBool(t1.$index(0, "quiet-deps"));
  9290. t7 = A._asBool(t1.$index(0, "verbose"));
  9291. t8 = options.get$emitSourceMap();
  9292. t1 = A._asBool(t1.$index(0, "charset"));
  9293. if (!t7) {
  9294. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  9295. logger = terseLogger;
  9296. } else
  9297. terseLogger = null;
  9298. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  9299. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t4), null, t5, true, null, null, t6, t8, t1);
  9300. if (terseLogger != null)
  9301. terseLogger.summarize$1$node(false);
  9302. // goto join
  9303. $async$goto = 17;
  9304. break;
  9305. case 18:
  9306. // else
  9307. t2 = syntax;
  9308. logger = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  9309. importCache = graph.importCache;
  9310. t3 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  9311. t4 = A._asBool(t1.$index(0, "quiet-deps"));
  9312. t5 = A._asBool(t1.$index(0, "verbose"));
  9313. t6 = options.get$emitSourceMap();
  9314. t1 = A._asBool(t1.$index(0, "charset"));
  9315. if (!t5) {
  9316. terseLogger = new A.TerseLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  9317. logger = terseLogger;
  9318. } else
  9319. terseLogger = null;
  9320. t5 = t2 == null || t2 === A.Syntax_forPath(source);
  9321. if (t5) {
  9322. t2 = $.$get$context();
  9323. t5 = t2.absolute$7(".", null, null, null, null, null, null);
  9324. t5 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t5), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t2.absolute$7(t2.normalize$1(source), null, null, null, null, null, null)) : t2.canonicalize$1(0, source)), t2.toUri$1(source));
  9325. t5.toString;
  9326. stylesheet = t5;
  9327. } else {
  9328. t5 = A.readFile(source);
  9329. if (t2 == null)
  9330. t2 = A.Syntax_forPath(source);
  9331. t7 = $.$get$context();
  9332. stylesheet = A.Stylesheet_Stylesheet$parse(t5, t2, logger, t7.toUri$1(source));
  9333. t2 = t7;
  9334. }
  9335. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(t2.absolute$7(".", null, null, null, null, null, null)), null, t3, true, null, null, t4, t6, t1);
  9336. if (terseLogger != null)
  9337. terseLogger.summarize$1$node(false);
  9338. case 17:
  9339. // join
  9340. result = result0;
  9341. case 8:
  9342. // join
  9343. $async$handler = 2;
  9344. // goto after finally
  9345. $async$goto = 6;
  9346. break;
  9347. case 4:
  9348. // catch
  9349. $async$handler = 3;
  9350. $async$exception = $async$currentError;
  9351. t1 = A.unwrapException($async$exception);
  9352. if (t1 instanceof A.SassException) {
  9353. error = t1;
  9354. if (options.get$emitErrorCss())
  9355. if (destination == null)
  9356. A.print(error.toCssString$0());
  9357. else {
  9358. A.ensureDir($.$get$context().dirname$1(destination));
  9359. A.writeFile(destination, error.toCssString$0() + "\n");
  9360. }
  9361. throw $async$exception;
  9362. } else
  9363. throw $async$exception;
  9364. // goto after finally
  9365. $async$goto = 6;
  9366. break;
  9367. case 3:
  9368. // uncaught
  9369. // goto rethrow
  9370. $async$goto = 2;
  9371. break;
  9372. case 6:
  9373. // after finally
  9374. css = result._serialize.css + A._writeSourceMap(options, result._serialize.sourceMap, destination);
  9375. if (destination == null) {
  9376. if (css.length !== 0)
  9377. A.print(css);
  9378. } else {
  9379. A.ensureDir($.$get$context().dirname$1(destination));
  9380. A.writeFile(destination, css + "\n");
  9381. }
  9382. t1 = options._options;
  9383. if (!A._asBool(t1.$index(0, "quiet")))
  9384. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  9385. else
  9386. t1 = true;
  9387. if (t1) {
  9388. // goto return
  9389. $async$goto = 1;
  9390. break;
  9391. }
  9392. buffer = new A.StringBuffer("");
  9393. t1 = options.get$color() ? buffer._contents = "" + "\x1b[32m" : "";
  9394. if (source == null)
  9395. sourceName = "stdin";
  9396. else {
  9397. t2 = $.$get$context();
  9398. sourceName = t2.prettyUri$1(t2.toUri$1(source));
  9399. }
  9400. destination.toString;
  9401. t2 = $.$get$context();
  9402. t2 = t1 + ("Compiled " + sourceName + " to " + t2.prettyUri$1(t2.toUri$1(destination)) + ".");
  9403. buffer._contents = t2;
  9404. if (options.get$color())
  9405. buffer._contents = t2 + "\x1b[0m";
  9406. A.print(buffer);
  9407. case 1:
  9408. // return
  9409. return A._asyncReturn($async$returnValue, $async$completer);
  9410. case 2:
  9411. // rethrow
  9412. return A._asyncRethrow($async$currentError, $async$completer);
  9413. }
  9414. });
  9415. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  9416. },
  9417. _writeSourceMap(options, sourceMap, destination) {
  9418. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  9419. if (sourceMap == null)
  9420. return "";
  9421. if (destination != null) {
  9422. t1 = $.$get$context();
  9423. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  9424. }
  9425. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  9426. t1 = options._options;
  9427. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  9428. if (A._asBool(t1.$index(0, "embed-source-map")))
  9429. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  9430. else {
  9431. destination.toString;
  9432. sourceMapPath = destination + ".map";
  9433. t2 = $.$get$context();
  9434. A.ensureDir(t2.dirname$1(sourceMapPath));
  9435. A.writeFile(sourceMapPath, sourceMapText);
  9436. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  9437. }
  9438. t2 = url.toString$0(0);
  9439. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  9440. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  9441. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  9442. },
  9443. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  9444. this.options = t0;
  9445. this.destination = t1;
  9446. },
  9447. ExecutableOptions__separator(text) {
  9448. var t1 = $.$get$ExecutableOptions__separatorBar(),
  9449. t2 = B.JSString_methods.$mul(t1, 3),
  9450. t3 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[1m" : "",
  9451. t4 = J.$eq$(self.process.stdout.isTTY, true) ? "\x1b[0m" : "";
  9452. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  9453. },
  9454. ExecutableOptions__fail(message) {
  9455. return A.throwExpression(A.UsageException$(message));
  9456. },
  9457. ExecutableOptions_ExecutableOptions$parse(args) {
  9458. var options, error, t1, exception;
  9459. try {
  9460. t1 = A.Parser$(null, $.$get$ExecutableOptions__parser(), A.ListQueue_ListQueue$of(args, type$.String), null, null).parse$0();
  9461. if (t1.wasParsed$1("poll") && !A._asBool(t1.$index(0, "watch")))
  9462. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  9463. options = new A.ExecutableOptions(t1);
  9464. if (A._asBool(options._options.$index(0, "help")))
  9465. A.ExecutableOptions__fail("Compile Sass to CSS.");
  9466. return options;
  9467. } catch (exception) {
  9468. t1 = A.unwrapException(exception);
  9469. if (type$.FormatException._is(t1)) {
  9470. error = t1;
  9471. A.ExecutableOptions__fail(J.get$message$x(error));
  9472. } else
  9473. throw exception;
  9474. }
  9475. },
  9476. UsageException$(message) {
  9477. return new A.UsageException(message);
  9478. },
  9479. ExecutableOptions: function ExecutableOptions(t0) {
  9480. var _ = this;
  9481. _._options = t0;
  9482. _.__ExecutableOptions_interactive_FI = $;
  9483. _._sourcesToDestinations = null;
  9484. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  9485. },
  9486. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  9487. },
  9488. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  9489. this.$this = t0;
  9490. },
  9491. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  9492. },
  9493. UsageException: function UsageException(t0) {
  9494. this.message = t0;
  9495. },
  9496. watch(options, graph) {
  9497. return A.watch$body(options, graph);
  9498. },
  9499. watch$body(options, graph) {
  9500. var $async$goto = 0,
  9501. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  9502. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, watcher;
  9503. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9504. if ($async$errorCode === 1)
  9505. return A._asyncRethrow($async$result, $async$completer);
  9506. while (true)
  9507. switch ($async$goto) {
  9508. case 0:
  9509. // Function start
  9510. options._ensureSources$0();
  9511. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  9512. t1 === $ && A.throwUnnamedLateFieldNI();
  9513. t2 = type$.String;
  9514. t1 = t1.cast$2$0(0, t2, t2);
  9515. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  9516. 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();) {
  9517. t4 = t3.get$current(t3);
  9518. t1.push($.$get$context().dirname$1(t4));
  9519. }
  9520. t3 = options._options;
  9521. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  9522. t4 = A._asBool(t3.$index(0, "poll"));
  9523. t5 = type$.Stream_WatchEvent;
  9524. t6 = A.PathMap__create(null, t5);
  9525. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  9526. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  9527. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  9528. $async$goto = 3;
  9529. 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);
  9530. case 3:
  9531. // returning from await.
  9532. watcher = new A._Watcher(options, graph);
  9533. options._ensureSources$0(), t1 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  9534. case 4:
  9535. // for condition
  9536. if (!t1.moveNext$0()) {
  9537. // goto after for
  9538. $async$goto = 5;
  9539. break;
  9540. }
  9541. t2 = t1.get$current(t1);
  9542. t4 = $.$get$context();
  9543. t5 = t4.absolute$7(".", null, null, null, null, null, null);
  9544. t6 = t2.key;
  9545. graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t4.absolute$7(t4.normalize$1(t6), null, null, null, null, null, null)) : t4.canonicalize$1(0, t6)), t4.toUri$1(t6), false);
  9546. $async$goto = 6;
  9547. return A._asyncAwait(watcher.compile$3$ifModified(0, t6, t2.value, true), $async$watch);
  9548. case 6:
  9549. // returning from await.
  9550. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  9551. t1 = dirWatcher._group.__StreamGroup__controller_A;
  9552. t1 === $ && A.throwUnnamedLateFieldNI();
  9553. t1._subscribe$4(null, null, null, false).cancel$0();
  9554. // goto return
  9555. $async$goto = 1;
  9556. break;
  9557. }
  9558. // goto for condition
  9559. $async$goto = 4;
  9560. break;
  9561. case 5:
  9562. // after for
  9563. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  9564. $async$goto = 7;
  9565. return A._asyncAwait(watcher.watch$1(0, dirWatcher), $async$watch);
  9566. case 7:
  9567. // returning from await.
  9568. case 1:
  9569. // return
  9570. return A._asyncReturn($async$returnValue, $async$completer);
  9571. }
  9572. });
  9573. return A._asyncStartSync($async$watch, $async$completer);
  9574. },
  9575. watch_closure: function watch_closure(t0) {
  9576. this.dirWatcher = t0;
  9577. },
  9578. _Watcher: function _Watcher(t0, t1) {
  9579. this._watch$_options = t0;
  9580. this._graph = t1;
  9581. },
  9582. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  9583. },
  9584. EmptyExtensionStore: function EmptyExtensionStore() {
  9585. },
  9586. Extension: function Extension(t0, t1, t2, t3, t4) {
  9587. var _ = this;
  9588. _.extender = t0;
  9589. _.target = t1;
  9590. _.mediaContext = t2;
  9591. _.isOptional = t3;
  9592. _.span = t4;
  9593. },
  9594. Extender: function Extender(t0, t1, t2) {
  9595. var _ = this;
  9596. _.selector = t0;
  9597. _.isOriginal = t1;
  9598. _._extension = null;
  9599. _.span = t2;
  9600. },
  9601. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  9602. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  9603. extender = A.ExtensionStore$_mode(mode);
  9604. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  9605. extender._originals.addAll$1(0, selector.components);
  9606. 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) {
  9607. complex = t1[_i];
  9608. if (complex.leadingCombinators.length === 0) {
  9609. t9 = complex.components;
  9610. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  9611. } else
  9612. t9 = false;
  9613. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  9614. if (compound == null)
  9615. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  9616. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  9617. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  9618. simple = t10[_i0];
  9619. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  9620. for (_i1 = 0; _i1 < t4; ++_i1) {
  9621. complex = t3[_i1];
  9622. complex.get$specificity();
  9623. t13 = new A.Extender(complex, false, span);
  9624. t14 = new A.Extension(t13, simple, null, true, span);
  9625. t13._extension = t14;
  9626. t12.$indexSet(0, complex, t14);
  9627. }
  9628. t9.$indexSet(0, simple, t12);
  9629. }
  9630. selector = extender._extendList$3(selector, span, t9);
  9631. }
  9632. return selector;
  9633. },
  9634. ExtensionStore$() {
  9635. var t1 = type$.SimpleSelector;
  9636. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal_normal);
  9637. },
  9638. ExtensionStore$_mode(_mode) {
  9639. var t1 = type$.SimpleSelector;
  9640. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableCssValue_SelectorList, type$.List_CssMediaQuery), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
  9641. },
  9642. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  9643. var _ = this;
  9644. _._selectors = t0;
  9645. _._extensions = t1;
  9646. _._extensionsByExtender = t2;
  9647. _._mediaContexts = t3;
  9648. _._sourceSpecificity = t4;
  9649. _._originals = t5;
  9650. _._mode = t6;
  9651. },
  9652. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  9653. },
  9654. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  9655. },
  9656. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  9657. },
  9658. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  9659. },
  9660. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  9661. this.complex = t0;
  9662. },
  9663. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  9664. },
  9665. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  9666. },
  9667. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure(t0, t1) {
  9668. this._box_0 = t0;
  9669. this.$this = t1;
  9670. },
  9671. ExtensionStore_addExtensions__closure1: function ExtensionStore_addExtensions__closure1(t0, t1, t2, t3, t4) {
  9672. var _ = this;
  9673. _._box_0 = t0;
  9674. _.existingSources = t1;
  9675. _.extensionsForTarget = t2;
  9676. _.selectorsForTarget = t3;
  9677. _.target = t4;
  9678. },
  9679. ExtensionStore_addExtensions___closure: function ExtensionStore_addExtensions___closure() {
  9680. },
  9681. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0(t0, t1) {
  9682. this._box_0 = t0;
  9683. this.$this = t1;
  9684. },
  9685. ExtensionStore_addExtensions__closure: function ExtensionStore_addExtensions__closure(t0, t1) {
  9686. this.$this = t0;
  9687. this.newExtensions = t1;
  9688. },
  9689. ExtensionStore_addExtensions__closure0: function ExtensionStore_addExtensions__closure0(t0, t1) {
  9690. this.$this = t0;
  9691. this.newExtensions = t1;
  9692. },
  9693. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  9694. this._box_0 = t0;
  9695. this.$this = t1;
  9696. this.complex = t2;
  9697. },
  9698. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  9699. this._box_0 = t0;
  9700. this.$this = t1;
  9701. this.complex = t2;
  9702. },
  9703. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  9704. },
  9705. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  9706. },
  9707. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  9708. this.original = t0;
  9709. },
  9710. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2, t3) {
  9711. var _ = this;
  9712. _.$this = t0;
  9713. _.extensions = t1;
  9714. _.targetsUsed = t2;
  9715. _.simpleSpan = t3;
  9716. },
  9717. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1, t2) {
  9718. this.$this = t0;
  9719. this.withoutPseudo = t1;
  9720. this.simpleSpan = t2;
  9721. },
  9722. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  9723. },
  9724. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  9725. },
  9726. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  9727. },
  9728. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  9729. },
  9730. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  9731. this.pseudo = t0;
  9732. },
  9733. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0) {
  9734. this.pseudo = t0;
  9735. },
  9736. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  9737. this._box_0 = t0;
  9738. this.complex1 = t1;
  9739. },
  9740. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  9741. this._box_0 = t0;
  9742. this.complex1 = t1;
  9743. },
  9744. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  9745. var _ = this;
  9746. _.$this = t0;
  9747. _.newSelectors = t1;
  9748. _.oldToNewSelectors = t2;
  9749. _.newMediaContexts = t3;
  9750. },
  9751. unifyComplex(complexes) {
  9752. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, t9, t10, result, _null = null,
  9753. t1 = J.getInterceptor$asx(complexes);
  9754. if (t1.get$length(complexes) === 1)
  9755. return complexes;
  9756. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  9757. t3 = t2.get$current(t2);
  9758. if (t3.accept$1(B.C__IsUselessVisitor))
  9759. return _null;
  9760. t4 = t3.components;
  9761. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  9762. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  9763. if (leadingCombinator != null && leadingCombinator !== newLeadingCombinator)
  9764. return _null;
  9765. leadingCombinator = newLeadingCombinator;
  9766. }
  9767. base = B.JSArray_methods.get$last(t4);
  9768. t3 = base.combinators;
  9769. if (t3.length !== 0) {
  9770. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  9771. if (trailingCombinator != null && trailingCombinator !== newTrailingCombinator)
  9772. return _null;
  9773. trailingCombinator = newTrailingCombinator;
  9774. }
  9775. if (unifiedBase == null)
  9776. unifiedBase = base.selector.components;
  9777. else
  9778. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  9779. unifiedBase = t3[_i].unify$1(unifiedBase);
  9780. if (unifiedBase == null)
  9781. return _null;
  9782. }
  9783. }
  9784. t2 = type$.JSArray_ComplexSelector;
  9785. t3 = A._setArrayType([], t2);
  9786. for (t4 = t1.get$iterator(complexes), t5 = type$.Combinator, t6 = type$.ComplexSelectorComponent; t4.moveNext$0();) {
  9787. t7 = t4.get$current(t4);
  9788. t8 = t7.components;
  9789. t9 = t8.length;
  9790. if (t9 > 1) {
  9791. t10 = t7.leadingCombinators;
  9792. t8 = B.JSArray_methods.take$1(t8, t9 - 1);
  9793. t7 = t7.lineBreak;
  9794. result = A.List_List$from(t10, false, t5);
  9795. result.fixed$length = Array;
  9796. result.immutable$list = Array;
  9797. t10 = result;
  9798. result = A.List_List$from(t8, false, t6);
  9799. result.fixed$length = Array;
  9800. result.immutable$list = Array;
  9801. t8 = result;
  9802. if (t10.length === 0 && t8.length === 0)
  9803. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  9804. t3.push(new A.ComplexSelector(t10, t8, t7));
  9805. }
  9806. }
  9807. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_Combinator);
  9808. unifiedBase.toString;
  9809. t6 = A.CompoundSelector$(unifiedBase);
  9810. base = A.ComplexSelector$(t4, A._setArrayType([new A.ComplexSelectorComponent(t6, A.List_List$unmodifiable(trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_Combinator), t5))], type$.JSArray_ComplexSelectorComponent), t1.any$1(complexes, new A.unifyComplex_closure()));
  9811. if (t3.length === 0)
  9812. t1 = A._setArrayType([base], t2);
  9813. else {
  9814. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  9815. t1.push(B.JSArray_methods.get$last(t3).concatenate$1(base));
  9816. }
  9817. return A.weave(t1, false);
  9818. },
  9819. unifyCompound(compound1, compound2) {
  9820. var t1, result, _i, unified;
  9821. for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
  9822. unified = compound1[_i].unify$1(result);
  9823. if (unified == null)
  9824. return null;
  9825. }
  9826. return A.CompoundSelector$(result);
  9827. },
  9828. unifyUniversalAndElement(selector1, selector2) {
  9829. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  9830. _s45_ = string$.must_b;
  9831. if (selector1 instanceof A.UniversalSelector) {
  9832. namespace1 = selector1.namespace;
  9833. name1 = _null;
  9834. } else if (selector1 instanceof A.TypeSelector) {
  9835. t1 = selector1.name;
  9836. namespace1 = t1.namespace;
  9837. name1 = t1.name;
  9838. } else
  9839. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  9840. if (selector2 instanceof A.UniversalSelector) {
  9841. namespace2 = selector2.namespace;
  9842. name2 = _null;
  9843. } else if (selector2 instanceof A.TypeSelector) {
  9844. t1 = selector2.name;
  9845. namespace2 = t1.namespace;
  9846. name2 = t1.name;
  9847. } else
  9848. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  9849. if (namespace1 == namespace2 || namespace2 === "*")
  9850. namespace = namespace1;
  9851. else {
  9852. if (namespace1 !== "*")
  9853. return _null;
  9854. namespace = namespace2;
  9855. }
  9856. if (name1 == name2 || name2 == null)
  9857. $name = name1;
  9858. else {
  9859. if (!(name1 == null || name1 === "*"))
  9860. return _null;
  9861. $name = name2;
  9862. }
  9863. return $name == null ? new A.UniversalSelector(namespace) : new A.TypeSelector(new A.QualifiedName($name, namespace));
  9864. },
  9865. weave(complexes, forceLineBreak) {
  9866. var complex, t2, prefixes, t3, t4, t5, t6, target, i, t7, _i, t8, t9, _i0, parentPrefix, t10, t11, result, t12,
  9867. t1 = J.getInterceptor$asx(complexes);
  9868. if (t1.get$length(complexes) === 1) {
  9869. complex = t1.get$first(complexes);
  9870. if (!forceLineBreak || complex.lineBreak)
  9871. return complexes;
  9872. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, true)], type$.JSArray_ComplexSelector);
  9873. }
  9874. t2 = type$.JSArray_ComplexSelector;
  9875. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  9876. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.Combinator, t4 = type$.ComplexSelectorComponent; t1.moveNext$0();) {
  9877. t5 = t1.get$current(t1);
  9878. t6 = t5.components;
  9879. target = B.JSArray_methods.get$last(t6);
  9880. if (t6.length === 1) {
  9881. for (i = 0; i < prefixes.length; ++i)
  9882. prefixes[i] = prefixes[i].concatenate$2$forceLineBreak(t5, forceLineBreak);
  9883. continue;
  9884. }
  9885. t6 = A._setArrayType([], t2);
  9886. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  9887. t8 = A._weaveParents(prefixes[_i], t5);
  9888. if (t8 == null)
  9889. t8 = B.List_empty1;
  9890. t9 = t8.length;
  9891. _i0 = 0;
  9892. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  9893. parentPrefix = t8[_i0];
  9894. t10 = A.List_List$of(parentPrefix.components, true, t4);
  9895. t10.push(target);
  9896. t11 = parentPrefix.lineBreak || forceLineBreak;
  9897. result = A.List_List$from(parentPrefix.leadingCombinators, false, t3);
  9898. result.fixed$length = Array;
  9899. result.immutable$list = Array;
  9900. t12 = result;
  9901. result = A.List_List$from(t10, false, t4);
  9902. result.fixed$length = Array;
  9903. result.immutable$list = Array;
  9904. t10 = result;
  9905. if (t12.length === 0 && t10.length === 0)
  9906. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9907. t6.push(new A.ComplexSelector(t12, t10, t11));
  9908. }
  9909. }
  9910. prefixes = t6;
  9911. }
  9912. return prefixes;
  9913. },
  9914. _weaveParents(prefix, base) {
  9915. var t1, queue1, queue2, trailingCombinators, rootish1, rootish2, t2, rootish, groups1, groups2, lcs, choices, t3, t4, t5, _i, group, t6, t7, t8, _i0, chunk, t9, t10, result, _null = null,
  9916. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  9917. if (leadingCombinators == null)
  9918. return _null;
  9919. t1 = type$.ComplexSelectorComponent;
  9920. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  9921. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast(base.components), t1);
  9922. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, _null);
  9923. if (trailingCombinators == null)
  9924. return _null;
  9925. rootish1 = A._firstIfRootish(queue1);
  9926. rootish2 = A._firstIfRootish(queue2);
  9927. t2 = rootish1 == null;
  9928. if (!t2 && rootish2 != null) {
  9929. rootish = A.unifyCompound(rootish1.selector.components, rootish2.selector.components);
  9930. if (rootish == null)
  9931. return _null;
  9932. t2 = type$.Combinator;
  9933. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish1.combinators, t2)));
  9934. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t2)));
  9935. } else if (!t2 || rootish2 != null) {
  9936. t2 = t2 ? rootish2 : rootish1;
  9937. t2.toString;
  9938. queue1.addFirst$1(t2);
  9939. queue2.addFirst$1(t2);
  9940. }
  9941. groups1 = A._groupSelectors(queue1);
  9942. groups2 = A._groupSelectors(queue2);
  9943. t2 = type$.List_ComplexSelectorComponent;
  9944. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(), t2);
  9945. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  9946. for (t3 = lcs.length, t4 = type$.JSArray_Iterable_ComplexSelectorComponent, t5 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  9947. group = lcs[_i];
  9948. t6 = A._setArrayType([], t4);
  9949. for (t7 = A._chunks(groups1, groups2, new A._weaveParents_closure0(group), t2), t8 = t7.length, _i0 = 0; _i0 < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i0) {
  9950. chunk = t7[_i0];
  9951. t9 = A._setArrayType([], t5);
  9952. for (t10 = B.JSArray_methods.get$iterator(chunk); t10.moveNext$0();)
  9953. B.JSArray_methods.addAll$1(t9, t10.get$current(t10));
  9954. t6.push(t9);
  9955. }
  9956. choices.push(t6);
  9957. choices.push(A._setArrayType([group], t4));
  9958. groups1.removeFirst$0();
  9959. groups2.removeFirst$0();
  9960. }
  9961. t3 = A._setArrayType([], t4);
  9962. for (t2 = A._chunks(groups1, groups2, new A._weaveParents_closure1(), t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  9963. chunk = t2[_i];
  9964. t6 = A._setArrayType([], t5);
  9965. for (t7 = B.JSArray_methods.get$iterator(chunk); t7.moveNext$0();)
  9966. B.JSArray_methods.addAll$1(t6, t7.get$current(t7));
  9967. t3.push(t6);
  9968. }
  9969. choices.push(t3);
  9970. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  9971. t2 = A._setArrayType([], type$.JSArray_ComplexSelector);
  9972. for (t3 = J.get$iterator$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure2(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent)), t4 = type$.Combinator, t6 = !prefix.lineBreak, t7 = base.lineBreak; t3.moveNext$0();) {
  9973. t8 = t3.get$current(t3);
  9974. t9 = A._setArrayType([], t5);
  9975. for (t8 = J.get$iterator$ax(t8); t8.moveNext$0();)
  9976. B.JSArray_methods.addAll$1(t9, t8.get$current(t8));
  9977. t8 = !t6 || t7;
  9978. result = A.List_List$from(leadingCombinators, false, t4);
  9979. result.fixed$length = Array;
  9980. result.immutable$list = Array;
  9981. t10 = result;
  9982. result = A.List_List$from(t9, false, t1);
  9983. result.fixed$length = Array;
  9984. result.immutable$list = Array;
  9985. t9 = result;
  9986. if (t10.length === 0 && t9.length === 0)
  9987. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  9988. t2.push(new A.ComplexSelector(t10, t9, t8));
  9989. }
  9990. return t2;
  9991. },
  9992. _firstIfRootish(queue) {
  9993. var first, t1, t2, _i, simple;
  9994. if (queue._collection$_head === queue._collection$_tail)
  9995. return null;
  9996. first = queue.get$first(queue);
  9997. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  9998. simple = t1[_i];
  9999. if (simple instanceof A.PseudoSelector && simple.isClass && $._rootishPseudoClasses.contains$1(0, simple.normalizedName)) {
  10000. queue.removeFirst$0();
  10001. return first;
  10002. }
  10003. }
  10004. return null;
  10005. },
  10006. _mergeLeadingCombinators(combinators1, combinators2) {
  10007. var t2, _null = null,
  10008. t1 = combinators1.length;
  10009. if (t1 > 1)
  10010. return _null;
  10011. t2 = combinators2.length;
  10012. if (t2 > 1)
  10013. return _null;
  10014. if (t1 === 0)
  10015. return combinators2;
  10016. if (t2 === 0)
  10017. return combinators1;
  10018. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  10019. },
  10020. _mergeTrailingCombinators(components1, components2, result) {
  10021. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  10022. if (result == null)
  10023. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  10024. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty0 : components1.get$last(components1).combinators;
  10025. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty0 : components2.get$last(components2).combinators;
  10026. t1 = combinators1.length;
  10027. t2 = t1 === 0;
  10028. if (t2 && combinators2.length === 0)
  10029. return result;
  10030. if (t1 > 1 || combinators2.length > 1)
  10031. return _null;
  10032. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  10033. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  10034. t1 = combinator1 != null;
  10035. if (t1 && combinator2 != null) {
  10036. component1 = components1.removeLast$0(0);
  10037. component2 = components2.removeLast$0(0);
  10038. t1 = combinator1 === B.Combinator_Htt;
  10039. if (t1 && combinator2 === B.Combinator_Htt) {
  10040. t1 = component1.selector;
  10041. t2 = component2.selector;
  10042. if (A.compoundIsSuperselector(t1, t2, _null))
  10043. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10044. else {
  10045. t3 = type$.JSArray_ComplexSelectorComponent;
  10046. t4 = type$.JSArray_List_ComplexSelectorComponent;
  10047. if (A.compoundIsSuperselector(t2, t1, _null))
  10048. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  10049. else {
  10050. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  10051. unified = A.unifyCompound(t1.components, t2.components);
  10052. if (unified != null)
  10053. choices.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(B.List_Kw1, type$.Combinator))], t3));
  10054. result.addFirst$1(choices);
  10055. }
  10056. }
  10057. } else {
  10058. if (!(t1 && combinator2 === B.Combinator_4QF))
  10059. t2 = combinator1 === B.Combinator_4QF && combinator2 === B.Combinator_Htt;
  10060. else
  10061. t2 = true;
  10062. if (t2) {
  10063. followingSiblingComponent = t1 ? component1 : component2;
  10064. nextSiblingComponent = t1 ? component2 : component1;
  10065. t1 = type$.JSArray_ComplexSelectorComponent;
  10066. t2 = type$.JSArray_List_ComplexSelectorComponent;
  10067. if (A.compoundIsSuperselector(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  10068. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  10069. else {
  10070. unified = A.unifyCompound(component1.selector.components, component2.selector.components);
  10071. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  10072. if (unified != null)
  10073. t2.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(B.List_IoD, type$.Combinator))], t1));
  10074. result.addFirst$1(t2);
  10075. }
  10076. } else {
  10077. if (combinator1 === B.Combinator_Cht)
  10078. t2 = combinator2 === B.Combinator_4QF || combinator2 === B.Combinator_Htt;
  10079. else
  10080. t2 = false;
  10081. if (t2) {
  10082. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10083. components1._add$1(component1);
  10084. } else {
  10085. if (combinator2 === B.Combinator_Cht)
  10086. t1 = combinator1 === B.Combinator_4QF || t1;
  10087. else
  10088. t1 = false;
  10089. if (t1) {
  10090. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10091. components2._add$1(component2);
  10092. } else if (combinator1 === combinator2) {
  10093. unified = A.unifyCompound(component1.selector.components, component2.selector.components);
  10094. if (unified == null)
  10095. return _null;
  10096. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_Combinator), type$.Combinator))], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10097. } else
  10098. return _null;
  10099. }
  10100. }
  10101. }
  10102. return A._mergeTrailingCombinators(components1, components2, result);
  10103. } else if (t1) {
  10104. if (combinator1 === B.Combinator_Cht && !components2.get$isEmpty(components2) && A.compoundIsSuperselector(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  10105. components2.removeLast$0(0);
  10106. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10107. return A._mergeTrailingCombinators(components1, components2, result);
  10108. } else {
  10109. if (combinator2 === B.Combinator_Cht && !components1.get$isEmpty(components1) && A.compoundIsSuperselector(components1.get$last(components1).selector, components2.get$last(components2).selector, _null))
  10110. components1.removeLast$0(0);
  10111. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  10112. return A._mergeTrailingCombinators(components1, components2, result);
  10113. }
  10114. },
  10115. _mustUnify(complex1, complex2) {
  10116. var t2, t3, t4,
  10117. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  10118. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  10119. 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();)
  10120. t1.add$1(0, t3.get$current(t3));
  10121. if (t1._collection$_length === 0)
  10122. return false;
  10123. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  10124. },
  10125. _isUnique(simple) {
  10126. var t1;
  10127. if (!(simple instanceof A.IDSelector))
  10128. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  10129. else
  10130. t1 = true;
  10131. return t1;
  10132. },
  10133. _chunks(queue1, queue2, done, $T) {
  10134. var chunk2, t2,
  10135. t1 = $T._eval$1("JSArray<0>"),
  10136. chunk1 = A._setArrayType([], t1);
  10137. for (; !done.call$1(queue1);)
  10138. chunk1.push(queue1.removeFirst$0());
  10139. chunk2 = A._setArrayType([], t1);
  10140. for (; !done.call$1(queue2);)
  10141. chunk2.push(queue2.removeFirst$0());
  10142. t1 = chunk1.length === 0;
  10143. if (t1 && chunk2.length === 0)
  10144. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  10145. if (t1)
  10146. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  10147. if (chunk2.length === 0)
  10148. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  10149. t1 = A.List_List$of(chunk1, true, $T);
  10150. B.JSArray_methods.addAll$1(t1, chunk2);
  10151. t2 = A.List_List$of(chunk2, true, $T);
  10152. B.JSArray_methods.addAll$1(t2, chunk1);
  10153. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  10154. },
  10155. paths(choices, $T) {
  10156. 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));
  10157. },
  10158. _groupSelectors(complex) {
  10159. var t2, t3, t4,
  10160. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  10161. t1 = type$.JSArray_ComplexSelectorComponent,
  10162. group = A._setArrayType([], t1);
  10163. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  10164. t4 = t2._collection$_current;
  10165. if (t4 == null)
  10166. t4 = t3._as(t4);
  10167. group.push(t4);
  10168. if (t4.combinators.length === 0) {
  10169. groups._queue_list$_add$1(group);
  10170. group = A._setArrayType([], t1);
  10171. }
  10172. }
  10173. if (group.length !== 0)
  10174. groups._queue_list$_add$1(group);
  10175. return groups;
  10176. },
  10177. listIsSuperselector(list1, list2) {
  10178. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  10179. },
  10180. _complexIsParentSuperselector(complex1, complex2) {
  10181. var base, t1, t2;
  10182. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  10183. return false;
  10184. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>")], type$.JSArray_SimpleSelector)), A.List_List$unmodifiable(B.List_empty0, type$.Combinator));
  10185. t1 = type$.ComplexSelectorComponent;
  10186. t2 = A.List_List$of(complex1, true, t1);
  10187. t2.push(base);
  10188. t1 = A.List_List$of(complex2, true, t1);
  10189. t1.push(base);
  10190. return A.complexIsSuperselector(t2, t1);
  10191. },
  10192. complexIsSuperselector(complex1, complex2) {
  10193. var t1, t2, t3, i1, i2, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1, combinator2;
  10194. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  10195. return false;
  10196. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  10197. return false;
  10198. for (t1 = type$.JSArray_ComplexSelectorComponent, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0; true;) {
  10199. remaining1 = complex1.length - i1;
  10200. t4 = complex2.length;
  10201. remaining2 = t4 - i2;
  10202. if (remaining1 === 0 || remaining2 === 0)
  10203. return false;
  10204. if (remaining1 > remaining2)
  10205. return false;
  10206. component1 = complex1[i1];
  10207. t5 = component1.combinators;
  10208. if (t5.length > 1)
  10209. return false;
  10210. if (remaining1 === 1) {
  10211. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  10212. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  10213. return false;
  10214. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  10215. }
  10216. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  10217. component2 = complex2[endOfSubselector];
  10218. if (component2.combinators.length > 1)
  10219. return false;
  10220. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  10221. break;
  10222. ++endOfSubselector;
  10223. if (endOfSubselector === complex2.length - 1)
  10224. return false;
  10225. if (parents == null)
  10226. parents = A._setArrayType([], t1);
  10227. parents.push(component2);
  10228. }
  10229. component2 = complex2[endOfSubselector];
  10230. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  10231. combinator2 = A.IterableExtension_get_firstOrNull(component2.combinators);
  10232. if (combinator1 != combinator2)
  10233. if (!(combinator1 == null && combinator2 === B.Combinator_Cht))
  10234. t4 = combinator1 === B.Combinator_Htt && combinator2 === B.Combinator_4QF;
  10235. else
  10236. t4 = true;
  10237. else
  10238. t4 = true;
  10239. if (!t4)
  10240. return false;
  10241. ++i1;
  10242. i2 = endOfSubselector + 1;
  10243. if (complex1.length - i1 === 1)
  10244. if (combinator1 === B.Combinator_Htt) {
  10245. t4 = complex2.length - 1;
  10246. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  10247. t5.SubListIterable$3(complex2, 0, t4, t3);
  10248. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  10249. return false;
  10250. } else if (combinator1 != null)
  10251. if (complex2.length - i2 > 1)
  10252. return false;
  10253. }
  10254. },
  10255. _isSupercombinator(combinator1, combinator2) {
  10256. var t1;
  10257. if (combinator1 != combinator2)
  10258. if (!(combinator1 == null && combinator2 === B.Combinator_Cht))
  10259. t1 = combinator1 === B.Combinator_Htt && combinator2 === B.Combinator_4QF;
  10260. else
  10261. t1 = true;
  10262. else
  10263. t1 = true;
  10264. return t1;
  10265. },
  10266. compoundIsSuperselector(compound1, compound2, parents) {
  10267. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  10268. tuple1 = A._findPseudoElementIndexed(compound1),
  10269. tuple2 = A._findPseudoElementIndexed(compound2),
  10270. t1 = tuple1 == null;
  10271. if (!t1 && tuple2 != null) {
  10272. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  10273. t1 = compound1.components;
  10274. t2 = tuple1.item2;
  10275. t3 = type$.int;
  10276. t4 = A._arrayInstanceType(t1)._precomputed1;
  10277. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  10278. t6 = compound2.components;
  10279. t7 = tuple2.item2;
  10280. t8 = A._arrayInstanceType(t6)._precomputed1;
  10281. 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);
  10282. } else
  10283. t1 = false;
  10284. return t1;
  10285. } else if (!t1 || tuple2 != null)
  10286. return false;
  10287. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  10288. simple1 = t1[_i];
  10289. if (simple1 instanceof A.PseudoSelector && simple1.selector != null) {
  10290. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  10291. return false;
  10292. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  10293. return false;
  10294. }
  10295. return true;
  10296. },
  10297. _findPseudoElementIndexed(compound) {
  10298. var t1, t2, i, simple;
  10299. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  10300. simple = t1[i];
  10301. if (simple instanceof A.PseudoSelector && !simple.isClass)
  10302. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int);
  10303. }
  10304. return null;
  10305. },
  10306. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  10307. if (compound1.get$length(compound1) === 0)
  10308. return true;
  10309. if (compound2.get$length(compound2) === 0)
  10310. compound2 = A._setArrayType([new A.UniversalSelector("*")], type$.JSArray_SimpleSelector);
  10311. return A.compoundIsSuperselector(A.CompoundSelector$(compound1), A.CompoundSelector$(compound2), parents);
  10312. },
  10313. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  10314. var selector1_ = pseudo1.selector;
  10315. if (selector1_ == null)
  10316. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  10317. switch (pseudo1.normalizedName) {
  10318. case "is":
  10319. case "matches":
  10320. case "any":
  10321. case "where":
  10322. 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));
  10323. case "has":
  10324. case "host":
  10325. case "host-context":
  10326. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1_));
  10327. case "slotted":
  10328. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1_));
  10329. case "not":
  10330. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  10331. case "current":
  10332. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1_));
  10333. case "nth-child":
  10334. case "nth-last-child":
  10335. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1_));
  10336. default:
  10337. throw A.wrapException("unreachable");
  10338. }
  10339. },
  10340. _selectorPseudoArgs(compound, $name, isClass) {
  10341. var t1 = type$.WhereTypeIterable_PseudoSelector;
  10342. 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);
  10343. },
  10344. unifyComplex_closure: function unifyComplex_closure() {
  10345. },
  10346. _weaveParents_closure: function _weaveParents_closure() {
  10347. },
  10348. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  10349. this.group = t0;
  10350. },
  10351. _weaveParents_closure1: function _weaveParents_closure1() {
  10352. },
  10353. _weaveParents_closure2: function _weaveParents_closure2() {
  10354. },
  10355. _mustUnify_closure: function _mustUnify_closure(t0) {
  10356. this.uniqueSelectors = t0;
  10357. },
  10358. _mustUnify__closure: function _mustUnify__closure(t0) {
  10359. this.uniqueSelectors = t0;
  10360. },
  10361. paths_closure: function paths_closure(t0) {
  10362. this.T = t0;
  10363. },
  10364. paths__closure: function paths__closure(t0, t1) {
  10365. this.paths = t0;
  10366. this.T = t1;
  10367. },
  10368. paths___closure: function paths___closure(t0, t1) {
  10369. this.option = t0;
  10370. this.T = t1;
  10371. },
  10372. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  10373. this.list1 = t0;
  10374. },
  10375. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  10376. this.complex1 = t0;
  10377. },
  10378. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  10379. },
  10380. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  10381. this.combinator1 = t0;
  10382. },
  10383. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  10384. this.selector1 = t0;
  10385. },
  10386. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  10387. this.parents = t0;
  10388. this.compound2 = t1;
  10389. },
  10390. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  10391. this.selector1 = t0;
  10392. },
  10393. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  10394. this.selector1 = t0;
  10395. },
  10396. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  10397. this.compound2 = t0;
  10398. this.pseudo1 = t1;
  10399. },
  10400. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  10401. this.complex = t0;
  10402. this.pseudo1 = t1;
  10403. },
  10404. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  10405. this.simple2 = t0;
  10406. },
  10407. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  10408. this.simple2 = t0;
  10409. },
  10410. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  10411. this.selector1 = t0;
  10412. },
  10413. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  10414. this.pseudo1 = t0;
  10415. this.selector1 = t1;
  10416. },
  10417. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  10418. this.isClass = t0;
  10419. this.name = t1;
  10420. },
  10421. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  10422. },
  10423. MergedExtension_merge(left, right) {
  10424. var t3, t4, t5, t6,
  10425. t1 = left.extender,
  10426. t2 = t1.selector;
  10427. if (!t2.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  10428. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  10429. t3 = left.mediaContext;
  10430. t4 = t3 == null;
  10431. if (!t4) {
  10432. t5 = right.mediaContext;
  10433. t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
  10434. } else
  10435. t5 = false;
  10436. if (t5)
  10437. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
  10438. if (right.isOptional && right.mediaContext == null)
  10439. return left;
  10440. if (left.isOptional && t4)
  10441. return right;
  10442. t5 = left.target;
  10443. t6 = left.span;
  10444. if (t4)
  10445. t3 = right.mediaContext;
  10446. t2.get$specificity();
  10447. t1 = new A.Extender(t2, false, t1.span);
  10448. return t1._extension = new A.MergedExtension(left, right, t1, t5, t3, true, t6);
  10449. },
  10450. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  10451. var _ = this;
  10452. _.left = t0;
  10453. _.right = t1;
  10454. _.extender = t2;
  10455. _.target = t3;
  10456. _.mediaContext = t4;
  10457. _.isOptional = t5;
  10458. _.span = t6;
  10459. },
  10460. ExtendMode: function ExtendMode(t0, t1) {
  10461. this.name = t0;
  10462. this._name = t1;
  10463. },
  10464. globalFunctions_closure: function globalFunctions_closure() {
  10465. },
  10466. _updateComponents($arguments, adjust, change, scale) {
  10467. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  10468. t1 = J.getInterceptor$asx($arguments),
  10469. color = t1.$index($arguments, 0).assertColor$1("color"),
  10470. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  10471. if (argumentList._list$_contents.length !== 0)
  10472. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  10473. argumentList._wereKeywordsAccessed = true;
  10474. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  10475. t1 = new A._updateComponents_getParam(keywords, scale, change);
  10476. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  10477. red = t1.call$2("red", 255);
  10478. green = t1.call$2("green", 255);
  10479. blue = t1.call$2("blue", 255);
  10480. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  10481. saturation = t1.call$3$checkPercent("saturation", 100, true);
  10482. lightness = t1.call$3$checkPercent("lightness", 100, true);
  10483. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  10484. blackness = t1.call$3$assertPercent("blackness", 100, true);
  10485. t1 = keywords.__js_helper$_length;
  10486. if (t1 !== 0)
  10487. 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));
  10488. hasRgb = red != null || green != null || blue != null;
  10489. hasSL = saturation != null || lightness != null;
  10490. hasWB = whiteness != null || blackness != null;
  10491. if (hasRgb)
  10492. t1 = hasSL || hasWB || hue != null;
  10493. else
  10494. t1 = false;
  10495. if (t1)
  10496. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  10497. if (hasSL && hasWB)
  10498. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  10499. t1 = new A._updateComponents_updateValue(change, adjust);
  10500. t2 = new A._updateComponents_updateRgb(t1);
  10501. if (hasRgb) {
  10502. t3 = t2.call$2(color.get$red(color), red);
  10503. t4 = t2.call$2(color.get$green(color), green);
  10504. t2 = t2.call$2(color.get$blue(color), blue);
  10505. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10506. } else if (hasWB) {
  10507. if (change)
  10508. t2 = hue;
  10509. else {
  10510. t2 = color.get$hue(color);
  10511. t2 += hue == null ? 0 : hue;
  10512. }
  10513. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  10514. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  10515. t5 = color._alpha;
  10516. t1 = t1.call$3(t5, alpha, 1);
  10517. if (t2 == null)
  10518. t2 = color.get$hue(color);
  10519. if (t3 == null)
  10520. t3 = color.get$whiteness(color);
  10521. if (t4 == null)
  10522. t4 = color.get$blackness(color);
  10523. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  10524. } else {
  10525. t2 = hue == null;
  10526. if (!t2 || hasSL) {
  10527. if (change)
  10528. t2 = hue;
  10529. else {
  10530. t3 = color.get$hue(color);
  10531. t3 += t2 ? 0 : hue;
  10532. t2 = t3;
  10533. }
  10534. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  10535. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  10536. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  10537. } else if (alpha != null)
  10538. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  10539. else
  10540. return color;
  10541. }
  10542. },
  10543. _functionString($name, $arguments) {
  10544. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  10545. },
  10546. _removedColorFunction($name, argument, negative) {
  10547. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  10548. },
  10549. _rgb($name, $arguments) {
  10550. var t2, red, green, blue,
  10551. t1 = J.getInterceptor$asx($arguments),
  10552. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10553. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10554. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10555. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10556. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10557. t2 = t2 === true;
  10558. } else
  10559. t2 = true;
  10560. else
  10561. t2 = true;
  10562. else
  10563. t2 = true;
  10564. if (t2)
  10565. return A._functionString($name, $arguments);
  10566. red = t1.$index($arguments, 0).assertNumber$1("red");
  10567. green = t1.$index($arguments, 1).assertNumber$1("green");
  10568. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  10569. 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);
  10570. },
  10571. _rgbTwoArg($name, $arguments) {
  10572. var first, color,
  10573. t1 = J.getInterceptor$asx($arguments);
  10574. if (t1.$index($arguments, 0).get$isVar())
  10575. return A._functionString($name, $arguments);
  10576. else if (t1.$index($arguments, 1).get$isVar()) {
  10577. first = t1.$index($arguments, 0);
  10578. if (first instanceof A.SassColor)
  10579. 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);
  10580. else
  10581. return A._functionString($name, $arguments);
  10582. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  10583. color = t1.$index($arguments, 0).assertColor$1("color");
  10584. 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);
  10585. }
  10586. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  10587. },
  10588. _hsl($name, $arguments) {
  10589. var t2, hue, saturation, lightness,
  10590. _s10_ = "saturation",
  10591. _s9_ = "lightness",
  10592. t1 = J.getInterceptor$asx($arguments),
  10593. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  10594. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  10595. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  10596. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  10597. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  10598. t2 = t2 === true;
  10599. } else
  10600. t2 = true;
  10601. else
  10602. t2 = true;
  10603. else
  10604. t2 = true;
  10605. if (t2)
  10606. return A._functionString($name, $arguments);
  10607. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  10608. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  10609. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  10610. A._checkPercent(saturation, _s10_);
  10611. A._checkPercent(lightness, _s9_);
  10612. 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);
  10613. },
  10614. _angleValue(angleValue, $name) {
  10615. var t1, t2,
  10616. angle = angleValue.assertNumber$1($name);
  10617. if (angle.compatibleWithUnit$1("deg"))
  10618. return angle.coerceValueToUnit$1("deg");
  10619. t1 = angle.toString$0(0);
  10620. t2 = angle.unitSuggestion$1($name);
  10621. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, true);
  10622. return angle._number$_value;
  10623. },
  10624. _checkPercent(number, $name) {
  10625. var t1, t2;
  10626. if (number.hasUnit$1("%"))
  10627. return;
  10628. t1 = number.toString$0(0);
  10629. t2 = number.unitSuggestion$2($name, "%");
  10630. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, true);
  10631. },
  10632. _hwb($arguments) {
  10633. var _s9_ = "whiteness",
  10634. _s9_0 = "blackness",
  10635. t1 = J.getInterceptor$asx($arguments),
  10636. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  10637. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  10638. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  10639. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  10640. whiteness.assertUnit$2("%", _s9_);
  10641. blackness.assertUnit$2("%", _s9_0);
  10642. 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()));
  10643. },
  10644. _parseChannels($name, argumentNames, channels) {
  10645. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  10646. _s17_ = "$channels must be";
  10647. if (channels.get$isVar())
  10648. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10649. if (channels.get$separator(channels) === B.ListSeparator_zg9) {
  10650. list = channels.get$asList();
  10651. t1 = list.length;
  10652. if (t1 !== 2)
  10653. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  10654. channels0 = list[0];
  10655. alphaFromSlashList = list[1];
  10656. if (!alphaFromSlashList.get$isSpecialNumber())
  10657. alphaFromSlashList.assertNumber$1("alpha");
  10658. if (list[0].get$isVar())
  10659. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10660. } else {
  10661. alphaFromSlashList = _null;
  10662. channels0 = channels;
  10663. }
  10664. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA;
  10665. isBracketed = channels0.get$hasBrackets();
  10666. if (isCommaSeparated || isBracketed) {
  10667. buffer = new A.StringBuffer(_s17_);
  10668. if (isBracketed) {
  10669. t1 = _s17_ + " an unbracketed";
  10670. buffer._contents = t1;
  10671. } else
  10672. t1 = _s17_;
  10673. if (isCommaSeparated) {
  10674. t1 += isBracketed ? "," : " a";
  10675. buffer._contents = t1;
  10676. t1 = buffer._contents = t1 + " space-separated";
  10677. }
  10678. buffer._contents = t1 + " list.";
  10679. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  10680. }
  10681. list = channels0.get$asList();
  10682. t1 = list.length;
  10683. if (t1 > 3)
  10684. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  10685. else if (t1 < 3) {
  10686. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
  10687. if (list.length !== 0) {
  10688. t1 = B.JSArray_methods.get$last(list);
  10689. if (t1 instanceof A.SassString)
  10690. if (t1._hasQuotes) {
  10691. t1 = t1._string$_text;
  10692. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  10693. } else
  10694. t1 = false;
  10695. else
  10696. t1 = false;
  10697. } else
  10698. t1 = false;
  10699. else
  10700. t1 = true;
  10701. if (t1)
  10702. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  10703. else
  10704. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  10705. }
  10706. if (alphaFromSlashList != null) {
  10707. t1 = A.List_List$of(list, true, type$.Value);
  10708. t1.push(alphaFromSlashList);
  10709. return t1;
  10710. }
  10711. maybeSlashSeparated = list[2];
  10712. if (maybeSlashSeparated instanceof A.SassNumber) {
  10713. slash = maybeSlashSeparated.asSlash;
  10714. if (slash == null)
  10715. return list;
  10716. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value);
  10717. } else if (maybeSlashSeparated instanceof A.SassString && !maybeSlashSeparated._hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string$_text, "/"))
  10718. return A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  10719. else
  10720. return list;
  10721. },
  10722. _percentageOrUnitless(number, max, $name) {
  10723. var value;
  10724. if (!number.get$hasUnits())
  10725. value = number._number$_value;
  10726. else if (number.hasUnit$1("%"))
  10727. value = max * number._number$_value / 100;
  10728. else
  10729. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  10730. return B.JSNumber_methods.clamp$2(value, 0, max);
  10731. },
  10732. _mixColors(color1, color2, weight) {
  10733. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  10734. A._checkPercent(weight, "weight");
  10735. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  10736. normalizedWeight = weightScale * 2 - 1;
  10737. t1 = color1._alpha;
  10738. t2 = color2._alpha;
  10739. alphaDistance = t1 - t2;
  10740. t3 = normalizedWeight * alphaDistance;
  10741. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  10742. weight2 = 1 - weight1;
  10743. 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));
  10744. },
  10745. _opacify($arguments) {
  10746. var t1 = J.getInterceptor$asx($arguments),
  10747. color = t1.$index($arguments, 0).assertColor$1("color");
  10748. 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));
  10749. },
  10750. _transparentize($arguments) {
  10751. var t1 = J.getInterceptor$asx($arguments),
  10752. color = t1.$index($arguments, 0).assertColor$1("color");
  10753. 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));
  10754. },
  10755. _function4($name, $arguments, callback) {
  10756. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  10757. },
  10758. global_closure: function global_closure() {
  10759. },
  10760. global_closure0: function global_closure0() {
  10761. },
  10762. global_closure1: function global_closure1() {
  10763. },
  10764. global_closure2: function global_closure2() {
  10765. },
  10766. global_closure3: function global_closure3() {
  10767. },
  10768. global_closure4: function global_closure4() {
  10769. },
  10770. global_closure5: function global_closure5() {
  10771. },
  10772. global_closure6: function global_closure6() {
  10773. },
  10774. global_closure7: function global_closure7() {
  10775. },
  10776. global_closure8: function global_closure8() {
  10777. },
  10778. global_closure9: function global_closure9() {
  10779. },
  10780. global_closure10: function global_closure10() {
  10781. },
  10782. global_closure11: function global_closure11() {
  10783. },
  10784. global_closure12: function global_closure12() {
  10785. },
  10786. global_closure13: function global_closure13() {
  10787. },
  10788. global_closure14: function global_closure14() {
  10789. },
  10790. global_closure15: function global_closure15() {
  10791. },
  10792. global_closure16: function global_closure16() {
  10793. },
  10794. global_closure17: function global_closure17() {
  10795. },
  10796. global_closure18: function global_closure18() {
  10797. },
  10798. global_closure19: function global_closure19() {
  10799. },
  10800. global_closure20: function global_closure20() {
  10801. },
  10802. global_closure21: function global_closure21() {
  10803. },
  10804. global_closure22: function global_closure22() {
  10805. },
  10806. global_closure23: function global_closure23() {
  10807. },
  10808. global_closure24: function global_closure24() {
  10809. },
  10810. global__closure: function global__closure() {
  10811. },
  10812. global_closure25: function global_closure25() {
  10813. },
  10814. module_closure: function module_closure() {
  10815. },
  10816. module_closure0: function module_closure0() {
  10817. },
  10818. module_closure1: function module_closure1() {
  10819. },
  10820. module_closure2: function module_closure2() {
  10821. },
  10822. module_closure3: function module_closure3() {
  10823. },
  10824. module_closure4: function module_closure4() {
  10825. },
  10826. module_closure5: function module_closure5() {
  10827. },
  10828. module_closure6: function module_closure6() {
  10829. },
  10830. module__closure: function module__closure() {
  10831. },
  10832. module_closure7: function module_closure7() {
  10833. },
  10834. _red_closure: function _red_closure() {
  10835. },
  10836. _green_closure: function _green_closure() {
  10837. },
  10838. _blue_closure: function _blue_closure() {
  10839. },
  10840. _mix_closure: function _mix_closure() {
  10841. },
  10842. _hue_closure: function _hue_closure() {
  10843. },
  10844. _saturation_closure: function _saturation_closure() {
  10845. },
  10846. _lightness_closure: function _lightness_closure() {
  10847. },
  10848. _complement_closure: function _complement_closure() {
  10849. },
  10850. _adjust_closure: function _adjust_closure() {
  10851. },
  10852. _scale_closure: function _scale_closure() {
  10853. },
  10854. _change_closure: function _change_closure() {
  10855. },
  10856. _ieHexStr_closure: function _ieHexStr_closure() {
  10857. },
  10858. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  10859. },
  10860. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  10861. this.keywords = t0;
  10862. this.scale = t1;
  10863. this.change = t2;
  10864. },
  10865. _updateComponents_closure: function _updateComponents_closure() {
  10866. },
  10867. _updateComponents_closure0: function _updateComponents_closure0() {
  10868. },
  10869. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  10870. this.change = t0;
  10871. this.adjust = t1;
  10872. },
  10873. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  10874. this.updateValue = t0;
  10875. },
  10876. _functionString_closure: function _functionString_closure() {
  10877. },
  10878. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  10879. this.name = t0;
  10880. this.argument = t1;
  10881. this.negative = t2;
  10882. },
  10883. _rgb_closure: function _rgb_closure() {
  10884. },
  10885. _hsl_closure: function _hsl_closure() {
  10886. },
  10887. _hwb_closure: function _hwb_closure() {
  10888. },
  10889. _parseChannels_closure: function _parseChannels_closure() {
  10890. },
  10891. _function3($name, $arguments, callback) {
  10892. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  10893. },
  10894. _length_closure0: function _length_closure0() {
  10895. },
  10896. _nth_closure: function _nth_closure() {
  10897. },
  10898. _setNth_closure: function _setNth_closure() {
  10899. },
  10900. _join_closure: function _join_closure() {
  10901. },
  10902. _append_closure0: function _append_closure0() {
  10903. },
  10904. _zip_closure: function _zip_closure() {
  10905. },
  10906. _zip__closure: function _zip__closure() {
  10907. },
  10908. _zip__closure0: function _zip__closure0(t0) {
  10909. this._box_0 = t0;
  10910. },
  10911. _zip__closure1: function _zip__closure1(t0) {
  10912. this._box_0 = t0;
  10913. },
  10914. _index_closure0: function _index_closure0() {
  10915. },
  10916. _separator_closure: function _separator_closure() {
  10917. },
  10918. _isBracketed_closure: function _isBracketed_closure() {
  10919. },
  10920. _slash_closure: function _slash_closure() {
  10921. },
  10922. _modify(map, keys, modify, addNesting) {
  10923. var keyIterator = J.get$iterator$ax(keys);
  10924. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  10925. },
  10926. _deepMergeImpl(map1, map2) {
  10927. var t2, t3, result,
  10928. t1 = map1._map$_contents;
  10929. if (t1.get$isEmpty(t1))
  10930. return map2;
  10931. t2 = map2._map$_contents;
  10932. if (t2.get$isEmpty(t2))
  10933. return map1;
  10934. t3 = type$.Value;
  10935. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  10936. t2.forEach$1(0, new A._deepMergeImpl_closure(result));
  10937. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  10938. },
  10939. _function2($name, $arguments, callback) {
  10940. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  10941. },
  10942. _get_closure: function _get_closure() {
  10943. },
  10944. _set_closure: function _set_closure() {
  10945. },
  10946. _set__closure0: function _set__closure0(t0) {
  10947. this.$arguments = t0;
  10948. },
  10949. _set_closure0: function _set_closure0() {
  10950. },
  10951. _set__closure: function _set__closure(t0) {
  10952. this.args = t0;
  10953. },
  10954. _merge_closure: function _merge_closure() {
  10955. },
  10956. _merge_closure0: function _merge_closure0() {
  10957. },
  10958. _merge__closure: function _merge__closure(t0) {
  10959. this.map2 = t0;
  10960. },
  10961. _deepMerge_closure: function _deepMerge_closure() {
  10962. },
  10963. _deepRemove_closure: function _deepRemove_closure() {
  10964. },
  10965. _deepRemove__closure: function _deepRemove__closure(t0) {
  10966. this.keys = t0;
  10967. },
  10968. _remove_closure: function _remove_closure() {
  10969. },
  10970. _remove_closure0: function _remove_closure0() {
  10971. },
  10972. _keys_closure: function _keys_closure() {
  10973. },
  10974. _values_closure: function _values_closure() {
  10975. },
  10976. _hasKey_closure: function _hasKey_closure() {
  10977. },
  10978. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  10979. this.keyIterator = t0;
  10980. this.modify = t1;
  10981. this.addNesting = t2;
  10982. },
  10983. _deepMergeImpl_closure: function _deepMergeImpl_closure(t0) {
  10984. this.result = t0;
  10985. },
  10986. _numberFunction($name, transform) {
  10987. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  10988. },
  10989. _function1($name, $arguments, callback) {
  10990. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  10991. },
  10992. _ceil_closure: function _ceil_closure() {
  10993. },
  10994. _clamp_closure: function _clamp_closure() {
  10995. },
  10996. _floor_closure: function _floor_closure() {
  10997. },
  10998. _max_closure: function _max_closure() {
  10999. },
  11000. _min_closure: function _min_closure() {
  11001. },
  11002. _round_closure: function _round_closure() {
  11003. },
  11004. _abs_closure: function _abs_closure() {
  11005. },
  11006. _hypot_closure: function _hypot_closure() {
  11007. },
  11008. _hypot__closure: function _hypot__closure() {
  11009. },
  11010. _log_closure: function _log_closure() {
  11011. },
  11012. _pow_closure: function _pow_closure() {
  11013. },
  11014. _sqrt_closure: function _sqrt_closure() {
  11015. },
  11016. _acos_closure: function _acos_closure() {
  11017. },
  11018. _asin_closure: function _asin_closure() {
  11019. },
  11020. _atan_closure: function _atan_closure() {
  11021. },
  11022. _atan2_closure: function _atan2_closure() {
  11023. },
  11024. _cos_closure: function _cos_closure() {
  11025. },
  11026. _sin_closure: function _sin_closure() {
  11027. },
  11028. _tan_closure: function _tan_closure() {
  11029. },
  11030. _compatible_closure: function _compatible_closure() {
  11031. },
  11032. _isUnitless_closure: function _isUnitless_closure() {
  11033. },
  11034. _unit_closure: function _unit_closure() {
  11035. },
  11036. _percentage_closure: function _percentage_closure() {
  11037. },
  11038. _randomFunction_closure: function _randomFunction_closure() {
  11039. },
  11040. _div_closure: function _div_closure() {
  11041. },
  11042. _numberFunction_closure: function _numberFunction_closure(t0) {
  11043. this.transform = t0;
  11044. },
  11045. _function5($name, $arguments, callback) {
  11046. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  11047. },
  11048. global_closure26: function global_closure26() {
  11049. },
  11050. global_closure27: function global_closure27() {
  11051. },
  11052. global_closure28: function global_closure28() {
  11053. },
  11054. global_closure29: function global_closure29() {
  11055. },
  11056. local_closure: function local_closure() {
  11057. },
  11058. local_closure0: function local_closure0() {
  11059. },
  11060. local__closure: function local__closure() {
  11061. },
  11062. _prependParent(compound) {
  11063. var t2, _null = null,
  11064. t1 = compound.components,
  11065. first = B.JSArray_methods.get$first(t1);
  11066. if (first instanceof A.UniversalSelector)
  11067. return _null;
  11068. if (first instanceof A.TypeSelector) {
  11069. t2 = first.name;
  11070. if (t2.namespace != null)
  11071. return _null;
  11072. t2 = A._setArrayType([new A.ParentSelector(t2.name)], type$.JSArray_SimpleSelector);
  11073. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  11074. return A.CompoundSelector$(t2);
  11075. } else {
  11076. t2 = A._setArrayType([new A.ParentSelector(_null)], type$.JSArray_SimpleSelector);
  11077. B.JSArray_methods.addAll$1(t2, t1);
  11078. return A.CompoundSelector$(t2);
  11079. }
  11080. },
  11081. _function0($name, $arguments, callback) {
  11082. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  11083. },
  11084. _nest_closure: function _nest_closure() {
  11085. },
  11086. _nest__closure: function _nest__closure(t0) {
  11087. this._box_0 = t0;
  11088. },
  11089. _nest__closure0: function _nest__closure0() {
  11090. },
  11091. _append_closure: function _append_closure() {
  11092. },
  11093. _append__closure: function _append__closure() {
  11094. },
  11095. _append__closure0: function _append__closure0() {
  11096. },
  11097. _append___closure: function _append___closure(t0) {
  11098. this.parent = t0;
  11099. },
  11100. _extend_closure: function _extend_closure() {
  11101. },
  11102. _replace_closure: function _replace_closure() {
  11103. },
  11104. _unify_closure: function _unify_closure() {
  11105. },
  11106. _isSuperselector_closure: function _isSuperselector_closure() {
  11107. },
  11108. _simpleSelectors_closure: function _simpleSelectors_closure() {
  11109. },
  11110. _simpleSelectors__closure: function _simpleSelectors__closure() {
  11111. },
  11112. _parse_closure: function _parse_closure() {
  11113. },
  11114. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  11115. var result;
  11116. if (index === 0)
  11117. return 0;
  11118. if (index > 0)
  11119. return Math.min(index - 1, lengthInCodepoints);
  11120. result = lengthInCodepoints + index;
  11121. if (result < 0 && !allowNegative)
  11122. return 0;
  11123. return result;
  11124. },
  11125. _function($name, $arguments, callback) {
  11126. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  11127. },
  11128. _unquote_closure: function _unquote_closure() {
  11129. },
  11130. _quote_closure: function _quote_closure() {
  11131. },
  11132. _length_closure: function _length_closure() {
  11133. },
  11134. _insert_closure: function _insert_closure() {
  11135. },
  11136. _index_closure: function _index_closure() {
  11137. },
  11138. _slice_closure: function _slice_closure() {
  11139. },
  11140. _toUpperCase_closure: function _toUpperCase_closure() {
  11141. },
  11142. _toLowerCase_closure: function _toLowerCase_closure() {
  11143. },
  11144. _uniqueId_closure: function _uniqueId_closure() {
  11145. },
  11146. ImportCache$(loadPaths, logger) {
  11147. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri,
  11148. t2 = type$.Uri,
  11149. t3 = A.ImportCache__toImporters(null, loadPaths, null),
  11150. t4 = logger == null ? B.StderrLogger_false : logger;
  11151. return new A.ImportCache(t3, t4, 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));
  11152. },
  11153. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  11154. var sassPath, t2, t3, _i, path, _null = null,
  11155. t1 = J.get$env$x(self.process);
  11156. if (t1 == null)
  11157. t1 = type$.Object._as(t1);
  11158. sassPath = A._asStringQ(t1.SASS_PATH);
  11159. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  11160. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  11161. t3 = t2.get$current(t2);
  11162. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  11163. }
  11164. if (sassPath != null) {
  11165. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  11166. t3 = t2.length;
  11167. _i = 0;
  11168. for (; _i < t3; ++_i) {
  11169. path = t2[_i];
  11170. t1.push(new A.FilesystemImporter($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  11171. }
  11172. }
  11173. return t1;
  11174. },
  11175. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
  11176. var _ = this;
  11177. _._importers = t0;
  11178. _._logger = t1;
  11179. _._canonicalizeCache = t2;
  11180. _._relativeCanonicalizeCache = t3;
  11181. _._importCache = t4;
  11182. _._resultsCache = t5;
  11183. },
  11184. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  11185. var _ = this;
  11186. _.$this = t0;
  11187. _.baseUrl = t1;
  11188. _.url = t2;
  11189. _.baseImporter = t3;
  11190. _.forImport = t4;
  11191. },
  11192. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2) {
  11193. this.$this = t0;
  11194. this.url = t1;
  11195. this.forImport = t2;
  11196. },
  11197. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  11198. this.importer = t0;
  11199. this.url = t1;
  11200. },
  11201. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  11202. var _ = this;
  11203. _.$this = t0;
  11204. _.importer = t1;
  11205. _.canonicalUrl = t2;
  11206. _.originalUrl = t3;
  11207. _.quiet = t4;
  11208. },
  11209. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  11210. this.canonicalUrl = t0;
  11211. },
  11212. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  11213. },
  11214. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  11215. },
  11216. Importer: function Importer() {
  11217. },
  11218. AsyncImporter: function AsyncImporter() {
  11219. },
  11220. FilesystemImporter: function FilesystemImporter(t0) {
  11221. this._loadPath = t0;
  11222. },
  11223. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  11224. },
  11225. ImporterResult: function ImporterResult(t0, t1, t2) {
  11226. this.contents = t0;
  11227. this._sourceMapUrl = t1;
  11228. this.syntax = t2;
  11229. },
  11230. fromImport() {
  11231. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  11232. return t1 === true;
  11233. },
  11234. resolveImportPath(path) {
  11235. var t1,
  11236. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  11237. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  11238. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  11239. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  11240. }
  11241. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  11242. if (t1 == null)
  11243. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  11244. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  11245. },
  11246. _tryPathWithExtensions(path) {
  11247. var result = A._tryPath(path + ".sass");
  11248. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  11249. return result.length !== 0 ? result : A._tryPath(path + ".css");
  11250. },
  11251. _tryPath(path) {
  11252. var t1 = $.$get$context(),
  11253. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  11254. t1 = A._setArrayType([], type$.JSArray_String);
  11255. if (A.fileExists(partial))
  11256. t1.push(partial);
  11257. if (A.fileExists(path))
  11258. t1.push(path);
  11259. return t1;
  11260. },
  11261. _tryPathAsDirectory(path) {
  11262. var t1;
  11263. if (!A.dirExists(path))
  11264. return null;
  11265. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  11266. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  11267. },
  11268. _exactlyOne(paths) {
  11269. var t1 = paths.length;
  11270. if (t1 === 0)
  11271. return null;
  11272. if (t1 === 1)
  11273. return B.JSArray_methods.get$first(paths);
  11274. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  11275. },
  11276. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  11277. this.path = t0;
  11278. this.extension = t1;
  11279. },
  11280. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  11281. this.path = t0;
  11282. },
  11283. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  11284. this.path = t0;
  11285. },
  11286. _exactlyOne_closure: function _exactlyOne_closure() {
  11287. },
  11288. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  11289. this._interpolation_buffer$_text = t0;
  11290. this._interpolation_buffer$_contents = t1;
  11291. },
  11292. _realCasePath(path) {
  11293. var prefix, t1;
  11294. if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
  11295. return path;
  11296. if (J.$eq$(J.get$platform$x(self.process), "win32")) {
  11297. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  11298. t1 = prefix.length;
  11299. if (t1 !== 0 && A.isAlphabetic0(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  11300. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  11301. }
  11302. return new A._realCasePath_helper().call$1(path);
  11303. },
  11304. _realCasePath_helper: function _realCasePath_helper() {
  11305. },
  11306. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  11307. this.helper = t0;
  11308. this.dirname = t1;
  11309. this.path = t2;
  11310. },
  11311. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  11312. this.basename = t0;
  11313. },
  11314. readFile(path) {
  11315. var sourceFile, t1, i,
  11316. contents = A._asString(A._readFile(path, "utf8"));
  11317. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  11318. return contents;
  11319. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  11320. for (t1 = contents.length, i = 0; i < t1; ++i) {
  11321. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  11322. continue;
  11323. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
  11324. }
  11325. return contents;
  11326. },
  11327. _readFile(path, encoding) {
  11328. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  11329. },
  11330. writeFile(path, contents) {
  11331. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  11332. },
  11333. deleteFile(path) {
  11334. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  11335. },
  11336. readStdin() {
  11337. return A.readStdin$body();
  11338. },
  11339. readStdin$body() {
  11340. var $async$goto = 0,
  11341. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  11342. $async$returnValue, sink, t1, t2, completer;
  11343. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11344. if ($async$errorCode === 1)
  11345. return A._asyncRethrow($async$result, $async$completer);
  11346. while (true)
  11347. switch ($async$goto) {
  11348. case 0:
  11349. // Function start
  11350. t1 = {};
  11351. t2 = new A._Future($.Zone__current, type$._Future_String);
  11352. completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_String);
  11353. t1.contents = null;
  11354. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  11355. J.on$2$x(J.get$stdin$x(self.process), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  11356. J.on$2$x(J.get$stdin$x(self.process), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  11357. J.on$2$x(J.get$stdin$x(self.process), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  11358. $async$returnValue = t2;
  11359. // goto return
  11360. $async$goto = 1;
  11361. break;
  11362. case 1:
  11363. // return
  11364. return A._asyncReturn($async$returnValue, $async$completer);
  11365. }
  11366. });
  11367. return A._asyncStartSync($async$readStdin, $async$completer);
  11368. },
  11369. fileExists(path) {
  11370. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  11371. },
  11372. dirExists(path) {
  11373. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  11374. },
  11375. ensureDir(path) {
  11376. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  11377. },
  11378. listDir(path, recursive) {
  11379. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  11380. },
  11381. modificationTime(path) {
  11382. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  11383. },
  11384. _systemErrorToFileSystemException(callback) {
  11385. var error, t1, exception, t2;
  11386. try {
  11387. t1 = callback.call$0();
  11388. return t1;
  11389. } catch (exception) {
  11390. error = A.unwrapException(exception);
  11391. if (!type$.JsSystemError._is(error))
  11392. throw exception;
  11393. t1 = error;
  11394. t2 = J.getInterceptor$x(t1);
  11395. 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)));
  11396. }
  11397. },
  11398. isWindows() {
  11399. return J.$eq$(J.get$platform$x(self.process), "win32");
  11400. },
  11401. watchDir(path, poll) {
  11402. var t2, t3, t1 = {},
  11403. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  11404. t1.controller = null;
  11405. t2 = J.getInterceptor$x(watcher);
  11406. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  11407. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  11408. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  11409. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  11410. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  11411. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  11412. return t3;
  11413. },
  11414. FileSystemException: function FileSystemException(t0, t1) {
  11415. this.message = t0;
  11416. this.path = t1;
  11417. },
  11418. Stderr: function Stderr(t0) {
  11419. this._stderr = t0;
  11420. },
  11421. _readFile_closure: function _readFile_closure(t0, t1) {
  11422. this.path = t0;
  11423. this.encoding = t1;
  11424. },
  11425. writeFile_closure: function writeFile_closure(t0, t1) {
  11426. this.path = t0;
  11427. this.contents = t1;
  11428. },
  11429. deleteFile_closure: function deleteFile_closure(t0) {
  11430. this.path = t0;
  11431. },
  11432. readStdin_closure: function readStdin_closure(t0, t1) {
  11433. this._box_0 = t0;
  11434. this.completer = t1;
  11435. },
  11436. readStdin_closure0: function readStdin_closure0(t0) {
  11437. this.sink = t0;
  11438. },
  11439. readStdin_closure1: function readStdin_closure1(t0) {
  11440. this.sink = t0;
  11441. },
  11442. readStdin_closure2: function readStdin_closure2(t0) {
  11443. this.completer = t0;
  11444. },
  11445. fileExists_closure: function fileExists_closure(t0) {
  11446. this.path = t0;
  11447. },
  11448. dirExists_closure: function dirExists_closure(t0) {
  11449. this.path = t0;
  11450. },
  11451. ensureDir_closure: function ensureDir_closure(t0) {
  11452. this.path = t0;
  11453. },
  11454. listDir_closure: function listDir_closure(t0, t1) {
  11455. this.recursive = t0;
  11456. this.path = t1;
  11457. },
  11458. listDir__closure: function listDir__closure(t0) {
  11459. this.path = t0;
  11460. },
  11461. listDir__closure0: function listDir__closure0() {
  11462. },
  11463. listDir_closure_list: function listDir_closure_list() {
  11464. },
  11465. listDir__list_closure: function listDir__list_closure(t0, t1) {
  11466. this.parent = t0;
  11467. this.list = t1;
  11468. },
  11469. modificationTime_closure: function modificationTime_closure(t0) {
  11470. this.path = t0;
  11471. },
  11472. watchDir_closure: function watchDir_closure(t0) {
  11473. this._box_0 = t0;
  11474. },
  11475. watchDir_closure0: function watchDir_closure0(t0) {
  11476. this._box_0 = t0;
  11477. },
  11478. watchDir_closure1: function watchDir_closure1(t0) {
  11479. this._box_0 = t0;
  11480. },
  11481. watchDir_closure2: function watchDir_closure2(t0) {
  11482. this._box_0 = t0;
  11483. },
  11484. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  11485. this._box_0 = t0;
  11486. this.watcher = t1;
  11487. this.completer = t2;
  11488. },
  11489. watchDir__closure: function watchDir__closure(t0) {
  11490. this.watcher = t0;
  11491. },
  11492. _QuietLogger: function _QuietLogger() {
  11493. },
  11494. StderrLogger: function StderrLogger(t0) {
  11495. this.color = t0;
  11496. },
  11497. TerseLogger: function TerseLogger(t0, t1) {
  11498. this._warningCounts = t0;
  11499. this._inner = t1;
  11500. },
  11501. TerseLogger_summarize_closure: function TerseLogger_summarize_closure() {
  11502. },
  11503. TerseLogger_summarize_closure0: function TerseLogger_summarize_closure0() {
  11504. },
  11505. TrackingLogger: function TrackingLogger(t0) {
  11506. this._tracking$_logger = t0;
  11507. this._emittedDebug = this._emittedWarning = false;
  11508. },
  11509. BuiltInModule$($name, functions, mixins, variables, $T) {
  11510. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  11511. t2 = A.BuiltInModule__callableMap(functions, $T),
  11512. t3 = A.BuiltInModule__callableMap(mixins, $T),
  11513. t4 = variables == null ? B.Map_empty1 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  11514. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  11515. },
  11516. BuiltInModule__callableMap(callables, $T) {
  11517. var t2, _i, callable,
  11518. t1 = type$.String;
  11519. if (callables == null)
  11520. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  11521. else {
  11522. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  11523. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  11524. callable = callables[_i];
  11525. t1.$indexSet(0, J.get$name$x(callable), callable);
  11526. }
  11527. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  11528. }
  11529. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  11530. },
  11531. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  11532. var _ = this;
  11533. _.url = t0;
  11534. _.functions = t1;
  11535. _.mixins = t2;
  11536. _.variables = t3;
  11537. _.$ti = t4;
  11538. },
  11539. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  11540. var t1;
  11541. if (rule.prefix == null)
  11542. if (rule.shownMixinsAndFunctions == null)
  11543. if (rule.shownVariables == null) {
  11544. t1 = rule.hiddenMixinsAndFunctions;
  11545. if (t1 == null)
  11546. t1 = null;
  11547. else {
  11548. t1 = t1._base;
  11549. t1 = t1.get$isEmpty(t1);
  11550. }
  11551. if (t1 === true) {
  11552. t1 = rule.hiddenVariables;
  11553. if (t1 == null)
  11554. t1 = null;
  11555. else {
  11556. t1 = t1._base;
  11557. t1 = t1.get$isEmpty(t1);
  11558. }
  11559. t1 = t1 === true;
  11560. } else
  11561. t1 = false;
  11562. } else
  11563. t1 = false;
  11564. else
  11565. t1 = false;
  11566. else
  11567. t1 = false;
  11568. if (t1)
  11569. return inner;
  11570. else
  11571. return A.ForwardedModuleView$(inner, rule, $T);
  11572. },
  11573. ForwardedModuleView$(_inner, _rule, $T) {
  11574. var t1 = _rule.prefix,
  11575. t2 = _rule.shownVariables,
  11576. t3 = _rule.hiddenVariables,
  11577. t4 = _rule.shownMixinsAndFunctions,
  11578. t5 = _rule.hiddenMixinsAndFunctions;
  11579. 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>"));
  11580. },
  11581. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  11582. var t2,
  11583. t1 = prefix == null;
  11584. if (t1)
  11585. if (safelist == null)
  11586. if (blocklist != null) {
  11587. t2 = blocklist._base;
  11588. t2 = t2.get$isEmpty(t2);
  11589. } else
  11590. t2 = true;
  11591. else
  11592. t2 = false;
  11593. else
  11594. t2 = false;
  11595. if (t2)
  11596. return map;
  11597. if (!t1)
  11598. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  11599. if (safelist != null)
  11600. 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>"));
  11601. else {
  11602. if (blocklist != null) {
  11603. t1 = blocklist._base;
  11604. t1 = t1.get$isNotEmpty(t1);
  11605. } else
  11606. t1 = false;
  11607. if (t1)
  11608. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  11609. }
  11610. return map;
  11611. },
  11612. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  11613. var _ = this;
  11614. _._forwarded_view$_inner = t0;
  11615. _._rule = t1;
  11616. _.variables = t2;
  11617. _.variableNodes = t3;
  11618. _.functions = t4;
  11619. _.mixins = t5;
  11620. _.$ti = t6;
  11621. },
  11622. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  11623. 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;
  11624. },
  11625. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  11626. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  11627. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  11628. },
  11629. ShadowedModuleView__needsBlocklist(map, blocklist) {
  11630. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  11631. },
  11632. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  11633. var _ = this;
  11634. _._shadowed_view$_inner = t0;
  11635. _.variables = t1;
  11636. _.variableNodes = t2;
  11637. _.functions = t3;
  11638. _.mixins = t4;
  11639. _.$ti = t5;
  11640. },
  11641. JSArray0: function JSArray0() {
  11642. },
  11643. Chokidar: function Chokidar() {
  11644. },
  11645. ChokidarOptions: function ChokidarOptions() {
  11646. },
  11647. ChokidarWatcher: function ChokidarWatcher() {
  11648. },
  11649. JSFunction: function JSFunction() {
  11650. },
  11651. NodeImporterResult: function NodeImporterResult() {
  11652. },
  11653. RenderContext: function RenderContext() {
  11654. },
  11655. RenderContextOptions: function RenderContextOptions() {
  11656. },
  11657. RenderContextResult: function RenderContextResult() {
  11658. },
  11659. RenderContextResultStats: function RenderContextResultStats() {
  11660. },
  11661. JSClass: function JSClass() {
  11662. },
  11663. JSUrl: function JSUrl() {
  11664. },
  11665. _PropertyDescriptor: function _PropertyDescriptor() {
  11666. },
  11667. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  11668. this.scanner = t0;
  11669. this.logger = t1;
  11670. },
  11671. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  11672. this.$this = t0;
  11673. },
  11674. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  11675. },
  11676. CssParser: function CssParser(t0, t1, t2) {
  11677. var _ = this;
  11678. _._isUseAllowed = true;
  11679. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11680. _._globalVariables = t0;
  11681. _.lastSilentComment = null;
  11682. _.scanner = t1;
  11683. _.logger = t2;
  11684. },
  11685. KeyframeSelectorParser$(contents, logger) {
  11686. var t1 = A.SpanScanner$(contents, null);
  11687. return new A.KeyframeSelectorParser(t1, logger);
  11688. },
  11689. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  11690. this.scanner = t0;
  11691. this.logger = t1;
  11692. },
  11693. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  11694. this.$this = t0;
  11695. },
  11696. MediaQueryParser: function MediaQueryParser(t0, t1) {
  11697. this.scanner = t0;
  11698. this.logger = t1;
  11699. },
  11700. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  11701. this.$this = t0;
  11702. },
  11703. Parser_isIdentifier(text) {
  11704. var t1, t2, exception, logger = null;
  11705. try {
  11706. t1 = logger;
  11707. t2 = A.SpanScanner$(text, null);
  11708. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1)._parseIdentifier$0();
  11709. return true;
  11710. } catch (exception) {
  11711. if (A.unwrapException(exception) instanceof A.SassFormatException)
  11712. return false;
  11713. else
  11714. throw exception;
  11715. }
  11716. },
  11717. Parser: function Parser(t0, t1) {
  11718. this.scanner = t0;
  11719. this.logger = t1;
  11720. },
  11721. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  11722. this.$this = t0;
  11723. },
  11724. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  11725. this.caseSensitive = t0;
  11726. this.char = t1;
  11727. },
  11728. SassParser: function SassParser(t0, t1, t2) {
  11729. var _ = this;
  11730. _._currentIndentation = 0;
  11731. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  11732. _._isUseAllowed = true;
  11733. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11734. _._globalVariables = t0;
  11735. _.lastSilentComment = null;
  11736. _.scanner = t1;
  11737. _.logger = t2;
  11738. },
  11739. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  11740. this.$this = t0;
  11741. this.child = t1;
  11742. this.children = t2;
  11743. },
  11744. ScssParser$(contents, logger, url) {
  11745. var t1 = A.SpanScanner$(contents, url),
  11746. t2 = logger == null ? B.StderrLogger_false : logger;
  11747. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2);
  11748. },
  11749. ScssParser: function ScssParser(t0, t1, t2) {
  11750. var _ = this;
  11751. _._isUseAllowed = true;
  11752. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  11753. _._globalVariables = t0;
  11754. _.lastSilentComment = null;
  11755. _.scanner = t1;
  11756. _.logger = t2;
  11757. },
  11758. SelectorParser$(contents, allowParent, allowPlaceholder, logger, url) {
  11759. var t1 = A.SpanScanner$(contents, url);
  11760. return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger);
  11761. },
  11762. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  11763. var _ = this;
  11764. _._allowParent = t0;
  11765. _._allowPlaceholder = t1;
  11766. _.scanner = t2;
  11767. _.logger = t3;
  11768. },
  11769. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  11770. this.$this = t0;
  11771. },
  11772. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  11773. this.$this = t0;
  11774. },
  11775. StylesheetParser: function StylesheetParser() {
  11776. },
  11777. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  11778. this.$this = t0;
  11779. },
  11780. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  11781. this.$this = t0;
  11782. },
  11783. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  11784. },
  11785. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  11786. this.$this = t0;
  11787. },
  11788. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  11789. this.$this = t0;
  11790. },
  11791. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  11792. this.$this = t0;
  11793. },
  11794. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  11795. this.$this = t0;
  11796. this.production = t1;
  11797. this.T = t2;
  11798. },
  11799. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  11800. this.$this = t0;
  11801. },
  11802. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  11803. this.$this = t0;
  11804. this.start = t1;
  11805. },
  11806. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  11807. this.declaration = t0;
  11808. },
  11809. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  11810. this.name = t0;
  11811. },
  11812. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
  11813. this._box_0 = t0;
  11814. this.name = t1;
  11815. },
  11816. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  11817. var _ = this;
  11818. _._box_0 = t0;
  11819. _.$this = t1;
  11820. _.wasInStyleRule = t2;
  11821. _.start = t3;
  11822. },
  11823. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  11824. this._box_0 = t0;
  11825. },
  11826. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
  11827. this._box_0 = t0;
  11828. this.value = t1;
  11829. },
  11830. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  11831. this.query = t0;
  11832. },
  11833. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  11834. },
  11835. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  11836. var _ = this;
  11837. _.$this = t0;
  11838. _.wasInControlDirective = t1;
  11839. _.variables = t2;
  11840. _.list = t3;
  11841. },
  11842. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  11843. this.name = t0;
  11844. this.$arguments = t1;
  11845. this.precedingComment = t2;
  11846. },
  11847. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  11848. this._box_0 = t0;
  11849. this.$this = t1;
  11850. },
  11851. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  11852. var _ = this;
  11853. _._box_0 = t0;
  11854. _.$this = t1;
  11855. _.wasInControlDirective = t2;
  11856. _.variable = t3;
  11857. _.from = t4;
  11858. _.to = t5;
  11859. },
  11860. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  11861. this.$this = t0;
  11862. this.variables = t1;
  11863. this.identifiers = t2;
  11864. },
  11865. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  11866. this.contentArguments_ = t0;
  11867. },
  11868. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  11869. this.query = t0;
  11870. },
  11871. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  11872. var _ = this;
  11873. _.$this = t0;
  11874. _.name = t1;
  11875. _.$arguments = t2;
  11876. _.precedingComment = t3;
  11877. },
  11878. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  11879. var _ = this;
  11880. _._box_0 = t0;
  11881. _.$this = t1;
  11882. _.name = t2;
  11883. _.value = t3;
  11884. },
  11885. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  11886. this.condition = t0;
  11887. },
  11888. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  11889. this.$this = t0;
  11890. this.wasInControlDirective = t1;
  11891. this.condition = t2;
  11892. },
  11893. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  11894. this._box_0 = t0;
  11895. this.name = t1;
  11896. },
  11897. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  11898. this._box_0 = t0;
  11899. this.$this = t1;
  11900. this.start = t2;
  11901. },
  11902. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  11903. this._box_0 = t0;
  11904. this.$this = t1;
  11905. },
  11906. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  11907. this._box_0 = t0;
  11908. this.resolveOneOperation = t1;
  11909. },
  11910. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  11911. var _ = this;
  11912. _._box_0 = t0;
  11913. _.$this = t1;
  11914. _.resetState = t2;
  11915. _.resolveOperations = t3;
  11916. },
  11917. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  11918. this._box_0 = t0;
  11919. this.$this = t1;
  11920. this.resolveOneOperation = t2;
  11921. },
  11922. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  11923. this._box_0 = t0;
  11924. this.$this = t1;
  11925. this.resolveOperations = t2;
  11926. },
  11927. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  11928. this.$this = t0;
  11929. },
  11930. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  11931. },
  11932. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  11933. },
  11934. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  11935. this.$this = t0;
  11936. this.start = t1;
  11937. },
  11938. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  11939. },
  11940. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  11941. this.$this = t0;
  11942. },
  11943. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  11944. this.$this = t0;
  11945. this.start = t1;
  11946. },
  11947. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  11948. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream.item1, allUpstream.item2, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  11949. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  11950. return t1;
  11951. },
  11952. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  11953. this._nodes = t0;
  11954. this.importCache = t1;
  11955. this._transitiveModificationTimes = t2;
  11956. },
  11957. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  11958. this.$this = t0;
  11959. },
  11960. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  11961. this.node = t0;
  11962. this.transitiveModificationTime = t1;
  11963. },
  11964. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  11965. var _ = this;
  11966. _.$this = t0;
  11967. _.url = t1;
  11968. _.baseImporter = t2;
  11969. _.baseUrl = t3;
  11970. },
  11971. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  11972. var _ = this;
  11973. _.$this = t0;
  11974. _.importer = t1;
  11975. _.canonicalUrl = t2;
  11976. _.originalUrl = t3;
  11977. },
  11978. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  11979. this.$this = t0;
  11980. this.node = t1;
  11981. this.canonicalUrl = t2;
  11982. },
  11983. StylesheetGraph__recanonicalizeImportsForNode_closure: function StylesheetGraph__recanonicalizeImportsForNode_closure(t0, t1, t2, t3, t4, t5) {
  11984. var _ = this;
  11985. _.$this = t0;
  11986. _.importer = t1;
  11987. _.canonicalUrl = t2;
  11988. _.node = t3;
  11989. _.forImport = t4;
  11990. _.newMap = t5;
  11991. },
  11992. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  11993. var _ = this;
  11994. _.$this = t0;
  11995. _.url = t1;
  11996. _.baseImporter = t2;
  11997. _.baseUrl = t3;
  11998. _.forImport = t4;
  11999. },
  12000. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1, t2, t3) {
  12001. var _ = this;
  12002. _.$this = t0;
  12003. _.importer = t1;
  12004. _.canonicalUrl = t2;
  12005. _.resolvedUrl = t3;
  12006. },
  12007. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  12008. var _ = this;
  12009. _._stylesheet = t0;
  12010. _.importer = t1;
  12011. _.canonicalUrl = t2;
  12012. _._upstream = t3;
  12013. _._upstreamImports = t4;
  12014. _._downstream = t5;
  12015. },
  12016. Syntax_forPath(path) {
  12017. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  12018. case ".sass":
  12019. return B.Syntax_Sass_sass;
  12020. case ".css":
  12021. return B.Syntax_CSS_css;
  12022. default:
  12023. return B.Syntax_SCSS_scss;
  12024. }
  12025. },
  12026. Syntax: function Syntax(t0, t1) {
  12027. this._syntax$_name = t0;
  12028. this._name = t1;
  12029. },
  12030. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  12031. var t2, key,
  12032. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  12033. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  12034. key = t2.get$current(t2);
  12035. if (!blocklist.contains$1(0, key))
  12036. t1.add$1(0, key);
  12037. }
  12038. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  12039. },
  12040. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  12041. this._limited_map_view$_map = t0;
  12042. this._limited_map_view$_keys = t1;
  12043. this.$ti = t2;
  12044. },
  12045. MergedMapView$(maps, $K, $V) {
  12046. var t1 = $K._eval$1("@<0>")._bind$1($V);
  12047. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  12048. t1.MergedMapView$1(maps, $K, $V);
  12049. return t1;
  12050. },
  12051. MergedMapView: function MergedMapView(t0, t1) {
  12052. this._mapsByKey = t0;
  12053. this.$ti = t1;
  12054. },
  12055. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  12056. this._watchers = t0;
  12057. this._group = t1;
  12058. this._poll = t2;
  12059. },
  12060. MultiSpan: function MultiSpan(t0, t1, t2) {
  12061. this._multi_span$_primary = t0;
  12062. this.primaryLabel = t1;
  12063. this.secondarySpans = t2;
  12064. },
  12065. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  12066. this._no_source_map_buffer$_buffer = t0;
  12067. },
  12068. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  12069. this._prefixed_map_view$_map = t0;
  12070. this._prefix = t1;
  12071. this.$ti = t2;
  12072. },
  12073. _PrefixedKeys: function _PrefixedKeys(t0) {
  12074. this._view = t0;
  12075. },
  12076. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  12077. this.$this = t0;
  12078. },
  12079. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  12080. this._public_member_map_view$_inner = t0;
  12081. this.$ti = t1;
  12082. },
  12083. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  12084. var _ = this;
  12085. _._source_map_buffer$_buffer = t0;
  12086. _._entries = t1;
  12087. _._column = _._line = 0;
  12088. _._inSpan = false;
  12089. },
  12090. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  12091. this._box_0 = t0;
  12092. this.prefixLength = t1;
  12093. },
  12094. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  12095. this._unprefixed_map_view$_map = t0;
  12096. this._unprefixed_map_view$_prefix = t1;
  12097. this.$ti = t2;
  12098. },
  12099. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  12100. this._unprefixed_map_view$_view = t0;
  12101. },
  12102. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  12103. this.$this = t0;
  12104. },
  12105. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  12106. this.$this = t0;
  12107. },
  12108. toSentence(iter, conjunction) {
  12109. var t1 = iter.__internal$_iterable,
  12110. t2 = J.getInterceptor$asx(t1);
  12111. if (t2.get$length(t1) === 1)
  12112. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  12113. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  12114. },
  12115. indent(string, indentation) {
  12116. 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");
  12117. },
  12118. pluralize($name, number, plural) {
  12119. if (number === 1)
  12120. return $name;
  12121. if (plural != null)
  12122. return plural;
  12123. return $name + "s";
  12124. },
  12125. trimAscii(string, excludeEscape) {
  12126. var t1,
  12127. start = A._firstNonWhitespace(string);
  12128. if (start == null)
  12129. t1 = "";
  12130. else {
  12131. t1 = A._lastNonWhitespace(string, true);
  12132. t1.toString;
  12133. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  12134. }
  12135. return t1;
  12136. },
  12137. trimAsciiRight(string, excludeEscape) {
  12138. var end = A._lastNonWhitespace(string, excludeEscape);
  12139. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  12140. },
  12141. _firstNonWhitespace(string) {
  12142. var t1, i, t2;
  12143. for (t1 = string.length, i = 0; i < t1; ++i) {
  12144. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  12145. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  12146. return i;
  12147. }
  12148. return null;
  12149. },
  12150. _lastNonWhitespace(string, excludeEscape) {
  12151. var t1, i, codeUnit;
  12152. for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
  12153. codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
  12154. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  12155. if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
  12156. return i + 1;
  12157. else
  12158. return i;
  12159. }
  12160. return null;
  12161. },
  12162. isPublic(member) {
  12163. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  12164. return start !== 45 && start !== 95;
  12165. },
  12166. flattenVertically(iterable, $T) {
  12167. var result,
  12168. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  12169. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  12170. if (queues.length === 1)
  12171. return B.JSArray_methods.get$first(queues);
  12172. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  12173. for (; queues.length !== 0;) {
  12174. if (!!queues.fixed$length)
  12175. A.throwExpression(A.UnsupportedError$("removeWhere"));
  12176. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  12177. }
  12178. return result;
  12179. },
  12180. firstOrNull(iterable) {
  12181. var iterator = J.get$iterator$ax(iterable);
  12182. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  12183. },
  12184. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  12185. var codeUnitIndex, i, codeUnitIndex0;
  12186. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  12187. codeUnitIndex0 = codeUnitIndex + 1;
  12188. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  12189. }
  12190. return codeUnitIndex;
  12191. },
  12192. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  12193. var codepointIndex, i;
  12194. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  12195. ++codepointIndex;
  12196. return codepointIndex;
  12197. },
  12198. frameForSpan(span, member, url) {
  12199. var t2, t3,
  12200. t1 = url == null ? span.get$sourceUrl(span) : url;
  12201. if (t1 == null)
  12202. t1 = $.$get$_noSourceUrl();
  12203. t2 = span.get$start(span);
  12204. t2 = t2.file.getLine$1(t2.offset);
  12205. t3 = span.get$start(span);
  12206. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  12207. },
  12208. declarationName(span) {
  12209. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  12210. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  12211. },
  12212. unvendor($name) {
  12213. var i,
  12214. t1 = $name.length;
  12215. if (t1 < 2)
  12216. return $name;
  12217. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  12218. return $name;
  12219. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  12220. return $name;
  12221. for (i = 2; i < t1; ++i)
  12222. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  12223. return B.JSString_methods.substring$1($name, i + 1);
  12224. return $name;
  12225. },
  12226. equalsIgnoreCase(string1, string2) {
  12227. var t1, i;
  12228. if (string1 === string2)
  12229. return true;
  12230. if (string1 == null || false)
  12231. return false;
  12232. t1 = string1.length;
  12233. if (t1 !== string2.length)
  12234. return false;
  12235. for (i = 0; i < t1; ++i)
  12236. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  12237. return false;
  12238. return true;
  12239. },
  12240. startsWithIgnoreCase(string, prefix) {
  12241. var i,
  12242. t1 = prefix.length;
  12243. if (string.length < t1)
  12244. return false;
  12245. for (i = 0; i < t1; ++i)
  12246. if (!A.characterEqualsIgnoreCase(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  12247. return false;
  12248. return true;
  12249. },
  12250. mapInPlace(list, $function) {
  12251. var i;
  12252. for (i = 0; i < list.length; ++i)
  12253. list[i] = $function.call$1(list[i]);
  12254. },
  12255. longestCommonSubsequence(list1, list2, select, $T) {
  12256. var t1, _i, selections, i, i0, j, selection, j0,
  12257. _length = list1.get$length(list1) + 1,
  12258. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  12259. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  12260. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  12261. _length = list1.get$length(list1);
  12262. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  12263. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  12264. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  12265. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  12266. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  12267. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  12268. selections[i][j] = selection;
  12269. t1 = lengths[i0];
  12270. j0 = j + 1;
  12271. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  12272. }
  12273. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  12274. },
  12275. removeFirstWhere(list, test, orElse) {
  12276. var i;
  12277. for (i = 0; i < list.length; ++i) {
  12278. if (!test.call$1(list[i]))
  12279. continue;
  12280. B.JSArray_methods.removeAt$1(list, i);
  12281. return;
  12282. }
  12283. orElse.call$0();
  12284. },
  12285. mapAddAll2(destination, source, K1, K2, $V) {
  12286. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  12287. },
  12288. setAll(map, keys, value) {
  12289. var t1;
  12290. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  12291. map.$indexSet(0, t1.get$current(t1), value);
  12292. },
  12293. rotateSlice(list, start, end) {
  12294. var i, next,
  12295. element = list.$index(0, end - 1);
  12296. for (i = start; i < end; ++i, element = next) {
  12297. next = list.$index(0, i);
  12298. list.$indexSet(0, i, element);
  12299. }
  12300. },
  12301. mapAsync(iterable, callback, $E, $F) {
  12302. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  12303. },
  12304. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  12305. var $async$goto = 0,
  12306. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12307. $async$returnValue, t2, _i, t1, $async$temp1;
  12308. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12309. if ($async$errorCode === 1)
  12310. return A._asyncRethrow($async$result, $async$completer);
  12311. while (true)
  12312. switch ($async$goto) {
  12313. case 0:
  12314. // Function start
  12315. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  12316. t2 = iterable.length, _i = 0;
  12317. case 3:
  12318. // for condition
  12319. if (!(_i < t2)) {
  12320. // goto after for
  12321. $async$goto = 5;
  12322. break;
  12323. }
  12324. $async$temp1 = t1;
  12325. $async$goto = 6;
  12326. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  12327. case 6:
  12328. // returning from await.
  12329. $async$temp1.push($async$result);
  12330. case 4:
  12331. // for update
  12332. ++_i;
  12333. // goto for condition
  12334. $async$goto = 3;
  12335. break;
  12336. case 5:
  12337. // after for
  12338. $async$returnValue = t1;
  12339. // goto return
  12340. $async$goto = 1;
  12341. break;
  12342. case 1:
  12343. // return
  12344. return A._asyncReturn($async$returnValue, $async$completer);
  12345. }
  12346. });
  12347. return A._asyncStartSync($async$mapAsync, $async$completer);
  12348. },
  12349. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  12350. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  12351. },
  12352. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  12353. var $async$goto = 0,
  12354. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  12355. $async$returnValue, t1, value;
  12356. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  12357. if ($async$errorCode === 1)
  12358. return A._asyncRethrow($async$result, $async$completer);
  12359. while (true)
  12360. switch ($async$goto) {
  12361. case 0:
  12362. // Function start
  12363. if (map.containsKey$1(key)) {
  12364. t1 = map.$index(0, key);
  12365. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  12366. // goto return
  12367. $async$goto = 1;
  12368. break;
  12369. }
  12370. $async$goto = 3;
  12371. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  12372. case 3:
  12373. // returning from await.
  12374. value = $async$result;
  12375. map.$indexSet(0, key, value);
  12376. $async$returnValue = value;
  12377. // goto return
  12378. $async$goto = 1;
  12379. break;
  12380. case 1:
  12381. // return
  12382. return A._asyncReturn($async$returnValue, $async$completer);
  12383. }
  12384. });
  12385. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  12386. },
  12387. copyMapOfMap(map, K1, K2, $V) {
  12388. var t2, t3, t4, t5,
  12389. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  12390. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12391. t3 = t2.get$current(t2);
  12392. t4 = t3.key;
  12393. t3 = t3.value;
  12394. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  12395. t5.addAll$1(0, t3);
  12396. t1.$indexSet(0, t4, t5);
  12397. }
  12398. return t1;
  12399. },
  12400. copyMapOfList(map, $K, $E) {
  12401. var t2, t3,
  12402. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  12403. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12404. t3 = t2.get$current(t2);
  12405. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  12406. }
  12407. return t1;
  12408. },
  12409. consumeEscapedCharacter(scanner) {
  12410. var first, value, i, next, t1;
  12411. scanner.expectChar$1(92);
  12412. first = scanner.peekChar$0();
  12413. if (first == null)
  12414. return 65533;
  12415. else if (first === 10 || first === 13 || first === 12)
  12416. scanner.error$1(0, "Expected escape sequence.");
  12417. else if (A.isHex(first)) {
  12418. for (value = 0, i = 0; i < 6; ++i) {
  12419. next = scanner.peekChar$0();
  12420. if (next == null || !A.isHex(next))
  12421. break;
  12422. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  12423. }
  12424. t1 = scanner.peekChar$0();
  12425. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  12426. scanner.readChar$0();
  12427. if (value !== 0)
  12428. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  12429. else
  12430. t1 = true;
  12431. if (t1)
  12432. return 65533;
  12433. else
  12434. return value;
  12435. } else
  12436. return scanner.readChar$0();
  12437. },
  12438. throwWithTrace(error, trace) {
  12439. A.attachTrace(error, trace);
  12440. throw A.wrapException(error);
  12441. },
  12442. attachTrace(error, trace) {
  12443. var t1;
  12444. if (trace.toString$0(0).length === 0)
  12445. return;
  12446. t1 = $.$get$_traces();
  12447. A.Expando__checkType(error);
  12448. t1 = t1._jsWeakMap;
  12449. if (t1.get(error) == null)
  12450. t1.set(error, trace);
  12451. },
  12452. getTrace(error) {
  12453. var t1;
  12454. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  12455. t1 = null;
  12456. else {
  12457. t1 = $.$get$_traces();
  12458. A.Expando__checkType(error);
  12459. t1 = t1._jsWeakMap.get(error);
  12460. }
  12461. return t1;
  12462. },
  12463. IterableExtension_get_exceptLast(_this) {
  12464. var t1 = J.getInterceptor$asx(_this),
  12465. size = t1.get$length(_this) - 1;
  12466. if (size < 0)
  12467. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  12468. return t1.take$1(_this, size);
  12469. },
  12470. indent_closure: function indent_closure(t0) {
  12471. this.indentation = t0;
  12472. },
  12473. flattenVertically_closure: function flattenVertically_closure(t0) {
  12474. this.T = t0;
  12475. },
  12476. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  12477. this.result = t0;
  12478. this.T = t1;
  12479. },
  12480. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  12481. this.selections = t0;
  12482. this.lengths = t1;
  12483. this.T = t2;
  12484. },
  12485. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  12486. var _ = this;
  12487. _.destination = t0;
  12488. _.K1 = t1;
  12489. _.K2 = t2;
  12490. _.V = t3;
  12491. },
  12492. SassApiValue_assertSelector(_this, allowParent, $name) {
  12493. var error, stackTrace, t1, exception,
  12494. string = _this._selectorString$1($name);
  12495. try {
  12496. t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null);
  12497. return t1;
  12498. } catch (exception) {
  12499. t1 = A.unwrapException(exception);
  12500. if (t1 instanceof A.SassFormatException) {
  12501. error = t1;
  12502. stackTrace = A.getTraceFromException(exception);
  12503. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  12504. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  12505. } else
  12506. throw exception;
  12507. }
  12508. },
  12509. SassApiValue_assertCompoundSelector(_this, $name) {
  12510. var error, stackTrace, t1, exception,
  12511. allowParent = false,
  12512. string = _this._selectorString$1($name);
  12513. try {
  12514. t1 = A.SelectorParser$(string, allowParent, true, null, null).parseCompoundSelector$0();
  12515. return t1;
  12516. } catch (exception) {
  12517. t1 = A.unwrapException(exception);
  12518. if (t1 instanceof A.SassFormatException) {
  12519. error = t1;
  12520. stackTrace = A.getTraceFromException(exception);
  12521. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  12522. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), stackTrace);
  12523. } else
  12524. throw exception;
  12525. }
  12526. },
  12527. Value: function Value() {
  12528. },
  12529. SassArgumentList$(contents, keywords, separator) {
  12530. var t1 = type$.Value;
  12531. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  12532. t1.SassList$3$brackets(contents, separator, false);
  12533. return t1;
  12534. },
  12535. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  12536. var _ = this;
  12537. _._keywords = t0;
  12538. _._wereKeywordsAccessed = false;
  12539. _._list$_contents = t1;
  12540. _._separator = t2;
  12541. _._hasBrackets = t3;
  12542. },
  12543. SassBoolean: function SassBoolean(t0) {
  12544. this.value = t0;
  12545. },
  12546. SassCalculation_calc(argument) {
  12547. argument = A.SassCalculation__simplify(argument);
  12548. if (argument instanceof A.SassNumber)
  12549. return argument;
  12550. if (argument instanceof A.SassCalculation)
  12551. return argument;
  12552. return new A.SassCalculation("calc", A.List_List$unmodifiable([argument], type$.Object));
  12553. },
  12554. SassCalculation_min($arguments) {
  12555. var minimum, _i, arg, t2,
  12556. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  12557. t1 = args.length;
  12558. if (t1 === 0)
  12559. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  12560. for (minimum = null, _i = 0; _i < t1; ++_i) {
  12561. arg = args[_i];
  12562. if (arg instanceof A.SassNumber)
  12563. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  12564. else
  12565. t2 = true;
  12566. if (t2) {
  12567. minimum = null;
  12568. break;
  12569. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  12570. minimum = arg;
  12571. }
  12572. if (minimum != null)
  12573. return minimum;
  12574. A.SassCalculation__verifyCompatibleNumbers(args);
  12575. return new A.SassCalculation("min", args);
  12576. },
  12577. SassCalculation_max($arguments) {
  12578. var maximum, _i, arg, t2,
  12579. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  12580. t1 = args.length;
  12581. if (t1 === 0)
  12582. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  12583. for (maximum = null, _i = 0; _i < t1; ++_i) {
  12584. arg = args[_i];
  12585. if (arg instanceof A.SassNumber)
  12586. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  12587. else
  12588. t2 = true;
  12589. if (t2) {
  12590. maximum = null;
  12591. break;
  12592. } else if (maximum == null || maximum.lessThan$1(arg).value)
  12593. maximum = arg;
  12594. }
  12595. if (maximum != null)
  12596. return maximum;
  12597. A.SassCalculation__verifyCompatibleNumbers(args);
  12598. return new A.SassCalculation("max", args);
  12599. },
  12600. SassCalculation_clamp(min, value, max) {
  12601. var t1, args;
  12602. if (value == null && max != null)
  12603. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  12604. min = A.SassCalculation__simplify(min);
  12605. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  12606. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  12607. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  12608. if (value.lessThanOrEquals$1(min).value)
  12609. return min;
  12610. if (value.greaterThanOrEquals$1(max).value)
  12611. return max;
  12612. return value;
  12613. }
  12614. t1 = [min];
  12615. if (value != null)
  12616. t1.push(value);
  12617. if (max != null)
  12618. t1.push(max);
  12619. args = A.List_List$unmodifiable(t1, type$.Object);
  12620. A.SassCalculation__verifyCompatibleNumbers(args);
  12621. A.SassCalculation__verifyLength(args, 3);
  12622. return new A.SassCalculation("clamp", args);
  12623. },
  12624. SassCalculation_operateInternal(operator, left, right, inMinMax, simplify) {
  12625. var t1, t2;
  12626. if (!simplify)
  12627. return new A.CalculationOperation(operator, left, right);
  12628. left = A.SassCalculation__simplify(left);
  12629. right = A.SassCalculation__simplify(right);
  12630. t1 = operator === B.CalculationOperator_IyK;
  12631. if (t1 || operator === B.CalculationOperator_2bx) {
  12632. if (left instanceof A.SassNumber)
  12633. if (right instanceof A.SassNumber)
  12634. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  12635. else
  12636. t2 = false;
  12637. else
  12638. t2 = false;
  12639. if (t2)
  12640. return t1 ? left.plus$1(right) : left.minus$1(right);
  12641. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  12642. if (right instanceof A.SassNumber) {
  12643. t2 = right._number$_value;
  12644. t2 = t2 < 0 && !A.fuzzyEquals(t2, 0);
  12645. } else
  12646. t2 = false;
  12647. if (t2) {
  12648. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  12649. operator = t1 ? B.CalculationOperator_2bx : B.CalculationOperator_IyK;
  12650. }
  12651. return new A.CalculationOperation(operator, left, right);
  12652. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  12653. return operator === B.CalculationOperator_jFr ? left.times$1(right) : left.dividedBy$1(right);
  12654. else
  12655. return new A.CalculationOperation(operator, left, right);
  12656. },
  12657. SassCalculation__simplify(arg) {
  12658. var _s32_ = " can't be used in a calculation.";
  12659. if (arg instanceof A.SassNumber || arg instanceof A.CalculationInterpolation || arg instanceof A.CalculationOperation)
  12660. return arg;
  12661. else if (arg instanceof A.SassString) {
  12662. if (!arg._hasQuotes)
  12663. return arg;
  12664. throw A.wrapException(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, null));
  12665. } else if (arg instanceof A.SassCalculation)
  12666. return arg.name === "calc" ? arg.$arguments[0] : arg;
  12667. else if (arg instanceof A.Value)
  12668. throw A.wrapException(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, null));
  12669. else
  12670. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  12671. },
  12672. SassCalculation__verifyCompatibleNumbers(args) {
  12673. var t1, _i, t2, arg, i, number1, j, number2;
  12674. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  12675. arg = args[_i];
  12676. if (!(arg instanceof A.SassNumber))
  12677. continue;
  12678. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  12679. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  12680. }
  12681. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  12682. number1 = args[i];
  12683. if (!(number1 instanceof A.SassNumber))
  12684. continue;
  12685. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  12686. number2 = args[j];
  12687. if (!(number2 instanceof A.SassNumber))
  12688. continue;
  12689. if (number1.hasPossiblyCompatibleUnits$1(number2))
  12690. continue;
  12691. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  12692. }
  12693. }
  12694. },
  12695. SassCalculation__verifyLength(args, expectedLength) {
  12696. var t1 = args.length;
  12697. if (t1 === expectedLength)
  12698. return;
  12699. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  12700. return;
  12701. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  12702. },
  12703. SassCalculation: function SassCalculation(t0, t1) {
  12704. this.name = t0;
  12705. this.$arguments = t1;
  12706. },
  12707. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  12708. },
  12709. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  12710. this.operator = t0;
  12711. this.left = t1;
  12712. this.right = t2;
  12713. },
  12714. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  12715. var _ = this;
  12716. _.name = t0;
  12717. _.operator = t1;
  12718. _.precedence = t2;
  12719. _._name = t3;
  12720. },
  12721. CalculationInterpolation: function CalculationInterpolation(t0) {
  12722. this.value = t0;
  12723. },
  12724. SassColor$rgb(red, green, blue, alpha) {
  12725. var _null = null,
  12726. t1 = new A.SassColor(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), _null);
  12727. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  12728. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  12729. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  12730. return t1;
  12731. },
  12732. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  12733. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  12734. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  12735. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  12736. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  12737. return t1;
  12738. },
  12739. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  12740. var t1 = B.JSNumber_methods.$mod(hue, 360),
  12741. t2 = A.fuzzyAssertRange(saturation, 0, 100, "saturation"),
  12742. t3 = A.fuzzyAssertRange(lightness, 0, 100, "lightness");
  12743. return new A.SassColor(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  12744. },
  12745. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  12746. var t2, t1 = {},
  12747. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  12748. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  12749. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  12750. sum = scaledWhiteness + scaledBlackness;
  12751. if (sum > 1) {
  12752. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  12753. scaledBlackness /= sum;
  12754. } else
  12755. t2 = scaledWhiteness;
  12756. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  12757. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  12758. },
  12759. SassColor__hueToRgb(m1, m2, hue) {
  12760. if (hue < 0)
  12761. ++hue;
  12762. if (hue > 1)
  12763. --hue;
  12764. if (hue < 0.16666666666666666)
  12765. return m1 + (m2 - m1) * hue * 6;
  12766. else if (hue < 0.5)
  12767. return m2;
  12768. else if (hue < 0.6666666666666666)
  12769. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  12770. else
  12771. return m1;
  12772. },
  12773. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  12774. var _ = this;
  12775. _._red = t0;
  12776. _._green = t1;
  12777. _._blue = t2;
  12778. _._hue = t3;
  12779. _._saturation = t4;
  12780. _._lightness = t5;
  12781. _._alpha = t6;
  12782. _.format = t7;
  12783. },
  12784. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  12785. this._box_0 = t0;
  12786. this.factor = t1;
  12787. },
  12788. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  12789. this._color$_name = t0;
  12790. },
  12791. SpanColorFormat: function SpanColorFormat(t0) {
  12792. this._color$_span = t0;
  12793. },
  12794. SassFunction: function SassFunction(t0) {
  12795. this.callable = t0;
  12796. },
  12797. SassList$(contents, _separator, brackets) {
  12798. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  12799. t1.SassList$3$brackets(contents, _separator, brackets);
  12800. return t1;
  12801. },
  12802. SassList: function SassList(t0, t1, t2) {
  12803. this._list$_contents = t0;
  12804. this._separator = t1;
  12805. this._hasBrackets = t2;
  12806. },
  12807. SassList_isBlank_closure: function SassList_isBlank_closure() {
  12808. },
  12809. ListSeparator: function ListSeparator(t0, t1, t2) {
  12810. this._list$_name = t0;
  12811. this.separator = t1;
  12812. this._name = t2;
  12813. },
  12814. SassMap: function SassMap(t0) {
  12815. this._map$_contents = t0;
  12816. },
  12817. SassMap_asList_closure: function SassMap_asList_closure(t0) {
  12818. this.result = t0;
  12819. },
  12820. _SassNull: function _SassNull() {
  12821. },
  12822. conversionFactor(unit1, unit2) {
  12823. var innerMap;
  12824. if (unit1 === unit2)
  12825. return 1;
  12826. innerMap = B.Map_K2BWj.$index(0, unit1);
  12827. if (innerMap == null)
  12828. return null;
  12829. return innerMap.$index(0, unit2);
  12830. },
  12831. SassNumber_SassNumber(value, unit) {
  12832. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  12833. },
  12834. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  12835. var t1, numerators, unsimplifiedDenominators, denominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  12836. if (denominatorUnits == null || denominatorUnits.length === 0) {
  12837. t1 = numeratorUnits.length;
  12838. if (t1 === 0)
  12839. return new A.UnitlessSassNumber(value, _null);
  12840. else if (t1 === 1)
  12841. return new A.SingleUnitSassNumber(numeratorUnits[0], value, _null);
  12842. else
  12843. return new A.ComplexSassNumber(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  12844. } else {
  12845. t1 = numeratorUnits.length;
  12846. if (t1 === 0)
  12847. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  12848. else {
  12849. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  12850. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits)._eval$1("JSArray<1>"));
  12851. denominators = A._setArrayType([], type$.JSArray_String);
  12852. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  12853. denominator = unsimplifiedDenominators[_i];
  12854. i = 0;
  12855. while (true) {
  12856. if (!(i < numerators.length)) {
  12857. simplifiedAway = false;
  12858. break;
  12859. }
  12860. c$0: {
  12861. factor = A.conversionFactor(denominator, numerators[i]);
  12862. if (factor == null)
  12863. break c$0;
  12864. valueDouble *= factor;
  12865. B.JSArray_methods.removeAt$1(numerators, i);
  12866. simplifiedAway = true;
  12867. break;
  12868. }
  12869. ++i;
  12870. }
  12871. if (!simplifiedAway)
  12872. denominators.push(denominator);
  12873. }
  12874. if (denominatorUnits.length === 0) {
  12875. t1 = numeratorUnits.length;
  12876. if (t1 === 0)
  12877. return new A.UnitlessSassNumber(valueDouble, _null);
  12878. else if (t1 === 1)
  12879. return new A.SingleUnitSassNumber(B.JSArray_methods.get$single(numeratorUnits), valueDouble, _null);
  12880. }
  12881. t1 = type$.String;
  12882. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  12883. }
  12884. }
  12885. },
  12886. SassNumber: function SassNumber() {
  12887. },
  12888. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  12889. var _ = this;
  12890. _.$this = t0;
  12891. _.other = t1;
  12892. _.otherName = t2;
  12893. _.otherHasUnits = t3;
  12894. _.name = t4;
  12895. _.newNumerators = t5;
  12896. _.newDenominators = t6;
  12897. },
  12898. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  12899. this._box_0 = t0;
  12900. this.newNumerator = t1;
  12901. },
  12902. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  12903. this.compatibilityException = t0;
  12904. },
  12905. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  12906. this._box_0 = t0;
  12907. this.newDenominator = t1;
  12908. },
  12909. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  12910. this.compatibilityException = t0;
  12911. },
  12912. SassNumber_plus_closure: function SassNumber_plus_closure() {
  12913. },
  12914. SassNumber_minus_closure: function SassNumber_minus_closure() {
  12915. },
  12916. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  12917. this._box_0 = t0;
  12918. this.numerator = t1;
  12919. },
  12920. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  12921. this.newNumerators = t0;
  12922. this.numerator = t1;
  12923. },
  12924. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  12925. this._box_0 = t0;
  12926. this.numerator = t1;
  12927. },
  12928. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  12929. this.newNumerators = t0;
  12930. this.numerator = t1;
  12931. },
  12932. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  12933. this.units2 = t0;
  12934. },
  12935. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  12936. },
  12937. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  12938. this.$this = t0;
  12939. },
  12940. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  12941. },
  12942. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  12943. },
  12944. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  12945. var _ = this;
  12946. _._numeratorUnits = t0;
  12947. _._denominatorUnits = t1;
  12948. _._number$_value = t2;
  12949. _.hashCache = null;
  12950. _.asSlash = t3;
  12951. },
  12952. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  12953. var _ = this;
  12954. _._unit = t0;
  12955. _._number$_value = t1;
  12956. _.hashCache = null;
  12957. _.asSlash = t2;
  12958. },
  12959. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  12960. this.$this = t0;
  12961. this.unit = t1;
  12962. },
  12963. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  12964. this.$this = t0;
  12965. },
  12966. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  12967. this._box_0 = t0;
  12968. this.$this = t1;
  12969. },
  12970. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  12971. this._box_0 = t0;
  12972. this.$this = t1;
  12973. },
  12974. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  12975. this._number$_value = t0;
  12976. this.hashCache = null;
  12977. this.asSlash = t1;
  12978. },
  12979. SassString$(_text, quotes) {
  12980. return new A.SassString(_text, quotes);
  12981. },
  12982. SassString: function SassString(t0, t1) {
  12983. var _ = this;
  12984. _._string$_text = t0;
  12985. _._hasQuotes = t1;
  12986. _.__SassString__sassLength_FI = $;
  12987. _._hashCache = null;
  12988. },
  12989. AnySelectorVisitor: function AnySelectorVisitor() {
  12990. },
  12991. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  12992. this.$this = t0;
  12993. },
  12994. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  12995. this.$this = t0;
  12996. },
  12997. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  12998. var t1 = type$.Uri,
  12999. t2 = type$.Module_AsyncCallable,
  13000. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
  13001. t4 = logger == null ? B.StderrLogger_false : logger;
  13002. t3 = 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), t4, 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);
  13003. t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  13004. return t3;
  13005. },
  13006. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  13007. var _ = this;
  13008. _._async_evaluate$_importCache = t0;
  13009. _._async_evaluate$_nodeImporter = t1;
  13010. _._async_evaluate$_builtInFunctions = t2;
  13011. _._async_evaluate$_builtInModules = t3;
  13012. _._async_evaluate$_modules = t4;
  13013. _._async_evaluate$_moduleConfigurations = t5;
  13014. _._async_evaluate$_moduleNodes = t6;
  13015. _._async_evaluate$_logger = t7;
  13016. _._async_evaluate$_warningsEmitted = t8;
  13017. _._async_evaluate$_quietDeps = t9;
  13018. _._async_evaluate$_sourceMap = t10;
  13019. _._async_evaluate$_environment = t11;
  13020. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  13021. _._async_evaluate$_member = "root stylesheet";
  13022. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  13023. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  13024. _._async_evaluate$_loadedUrls = t12;
  13025. _._async_evaluate$_activeModules = t13;
  13026. _._async_evaluate$_stack = t14;
  13027. _._async_evaluate$_importer = null;
  13028. _._async_evaluate$_inDependency = false;
  13029. _._async_evaluate$__extensionStore = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  13030. _._async_evaluate$_configuration = t15;
  13031. },
  13032. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  13033. this.$this = t0;
  13034. },
  13035. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  13036. this.$this = t0;
  13037. },
  13038. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  13039. this.$this = t0;
  13040. },
  13041. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  13042. this.$this = t0;
  13043. },
  13044. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  13045. this.$this = t0;
  13046. },
  13047. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  13048. this.$this = t0;
  13049. },
  13050. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  13051. this.$this = t0;
  13052. },
  13053. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  13054. this.$this = t0;
  13055. },
  13056. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0, t1, t2) {
  13057. this.$this = t0;
  13058. this.name = t1;
  13059. this.module = t2;
  13060. },
  13061. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  13062. this.$this = t0;
  13063. },
  13064. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  13065. this.$this = t0;
  13066. },
  13067. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  13068. this.values = t0;
  13069. this.span = t1;
  13070. this.callableNode = t2;
  13071. },
  13072. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0) {
  13073. this.$this = t0;
  13074. },
  13075. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  13076. this.$this = t0;
  13077. this.node = t1;
  13078. this.importer = t2;
  13079. },
  13080. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  13081. this.callback = t0;
  13082. this.builtInModule = t1;
  13083. },
  13084. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  13085. var _ = this;
  13086. _.$this = t0;
  13087. _.url = t1;
  13088. _.nodeWithSpan = t2;
  13089. _.baseUrl = t3;
  13090. _.namesInErrors = t4;
  13091. _.configuration = t5;
  13092. _.callback = t6;
  13093. },
  13094. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1) {
  13095. this.$this = t0;
  13096. this.message = t1;
  13097. },
  13098. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5) {
  13099. var _ = this;
  13100. _.$this = t0;
  13101. _.importer = t1;
  13102. _.stylesheet = t2;
  13103. _.extensionStore = t3;
  13104. _.configuration = t4;
  13105. _.css = t5;
  13106. },
  13107. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2() {
  13108. },
  13109. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3(t0) {
  13110. this.selectors = t0;
  13111. },
  13112. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4() {
  13113. },
  13114. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  13115. this.originalSelectors = t0;
  13116. },
  13117. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  13118. },
  13119. _EvaluateVisitor__topologicalModules_visitModule0: function _EvaluateVisitor__topologicalModules_visitModule0(t0, t1) {
  13120. this.seen = t0;
  13121. this.sorted = t1;
  13122. },
  13123. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  13124. this.$this = t0;
  13125. this.resolved = t1;
  13126. },
  13127. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  13128. this.$this = t0;
  13129. this.node = t1;
  13130. },
  13131. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  13132. this.$this = t0;
  13133. this.node = t1;
  13134. },
  13135. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  13136. this.$this = t0;
  13137. this.newParent = t1;
  13138. this.node = t2;
  13139. },
  13140. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  13141. this.$this = t0;
  13142. this.innerScope = t1;
  13143. },
  13144. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  13145. this.$this = t0;
  13146. this.innerScope = t1;
  13147. },
  13148. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  13149. this.innerScope = t0;
  13150. this.callback = t1;
  13151. },
  13152. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  13153. this.$this = t0;
  13154. this.innerScope = t1;
  13155. },
  13156. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  13157. },
  13158. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  13159. this.$this = t0;
  13160. this.innerScope = t1;
  13161. },
  13162. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  13163. this.$this = t0;
  13164. this.content = t1;
  13165. },
  13166. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0) {
  13167. this.$this = t0;
  13168. },
  13169. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  13170. this.$this = t0;
  13171. this.children = t1;
  13172. },
  13173. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  13174. this.$this = t0;
  13175. this.node = t1;
  13176. this.nodeWithSpan = t2;
  13177. },
  13178. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  13179. this.$this = t0;
  13180. this.node = t1;
  13181. this.nodeWithSpan = t2;
  13182. },
  13183. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  13184. var _ = this;
  13185. _.$this = t0;
  13186. _.list = t1;
  13187. _.setVariables = t2;
  13188. _.node = t3;
  13189. },
  13190. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  13191. this.$this = t0;
  13192. this.setVariables = t1;
  13193. this.node = t2;
  13194. },
  13195. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  13196. this.$this = t0;
  13197. },
  13198. _EvaluateVisitor_visitExtendRule_closure0: function _EvaluateVisitor_visitExtendRule_closure0(t0, t1) {
  13199. this.$this = t0;
  13200. this.targetText = t1;
  13201. },
  13202. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  13203. this.$this = t0;
  13204. },
  13205. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1) {
  13206. this.$this = t0;
  13207. this.children = t1;
  13208. },
  13209. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  13210. this.$this = t0;
  13211. this.children = t1;
  13212. },
  13213. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  13214. },
  13215. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  13216. this.$this = t0;
  13217. this.node = t1;
  13218. },
  13219. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  13220. this.$this = t0;
  13221. this.node = t1;
  13222. },
  13223. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  13224. this.fromNumber = t0;
  13225. },
  13226. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  13227. this.toNumber = t0;
  13228. this.fromNumber = t1;
  13229. },
  13230. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  13231. var _ = this;
  13232. _._box_0 = t0;
  13233. _.$this = t1;
  13234. _.node = t2;
  13235. _.from = t3;
  13236. _.direction = t4;
  13237. _.fromNumber = t5;
  13238. },
  13239. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  13240. this.$this = t0;
  13241. },
  13242. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  13243. this.$this = t0;
  13244. this.node = t1;
  13245. },
  13246. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  13247. this.$this = t0;
  13248. this.node = t1;
  13249. },
  13250. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0, t1) {
  13251. this._box_0 = t0;
  13252. this.$this = t1;
  13253. },
  13254. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0) {
  13255. this.$this = t0;
  13256. },
  13257. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  13258. this.$this = t0;
  13259. this.$import = t1;
  13260. },
  13261. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  13262. this.$this = t0;
  13263. },
  13264. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  13265. },
  13266. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  13267. },
  13268. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4, t5) {
  13269. var _ = this;
  13270. _.$this = t0;
  13271. _.result = t1;
  13272. _.stylesheet = t2;
  13273. _.loadsUserDefinedModules = t3;
  13274. _.environment = t4;
  13275. _.children = t5;
  13276. },
  13277. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0, t1) {
  13278. this.$this = t0;
  13279. this.node = t1;
  13280. },
  13281. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  13282. this.node = t0;
  13283. },
  13284. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  13285. this.$this = t0;
  13286. },
  13287. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1, t2, t3) {
  13288. var _ = this;
  13289. _.$this = t0;
  13290. _.contentCallable = t1;
  13291. _.mixin = t2;
  13292. _.nodeWithSpan = t3;
  13293. },
  13294. _EvaluateVisitor_visitIncludeRule__closure0: function _EvaluateVisitor_visitIncludeRule__closure0(t0, t1, t2) {
  13295. this.$this = t0;
  13296. this.mixin = t1;
  13297. this.nodeWithSpan = t2;
  13298. },
  13299. _EvaluateVisitor_visitIncludeRule___closure0: function _EvaluateVisitor_visitIncludeRule___closure0(t0, t1, t2) {
  13300. this.$this = t0;
  13301. this.mixin = t1;
  13302. this.nodeWithSpan = t2;
  13303. },
  13304. _EvaluateVisitor_visitIncludeRule____closure0: function _EvaluateVisitor_visitIncludeRule____closure0(t0, t1) {
  13305. this.$this = t0;
  13306. this.statement = t1;
  13307. },
  13308. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  13309. this.$this = t0;
  13310. this.queries = t1;
  13311. },
  13312. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  13313. var _ = this;
  13314. _.$this = t0;
  13315. _.mergedQueries = t1;
  13316. _.queries = t2;
  13317. _.mergedSources = t3;
  13318. _.node = t4;
  13319. },
  13320. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  13321. this.$this = t0;
  13322. this.node = t1;
  13323. },
  13324. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  13325. this.$this = t0;
  13326. this.node = t1;
  13327. },
  13328. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  13329. this.mergedSources = t0;
  13330. },
  13331. _EvaluateVisitor__visitMediaQueries_closure0: function _EvaluateVisitor__visitMediaQueries_closure0(t0, t1) {
  13332. this.$this = t0;
  13333. this.resolved = t1;
  13334. },
  13335. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  13336. this.$this = t0;
  13337. this.selectorText = t1;
  13338. },
  13339. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8(t0, t1) {
  13340. this.$this = t0;
  13341. this.node = t1;
  13342. },
  13343. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  13344. },
  13345. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1) {
  13346. this.$this = t0;
  13347. this.selectorText = t1;
  13348. },
  13349. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  13350. this._box_0 = t0;
  13351. this.$this = t1;
  13352. },
  13353. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12(t0, t1, t2) {
  13354. this.$this = t0;
  13355. this.rule = t1;
  13356. this.node = t2;
  13357. },
  13358. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  13359. this.$this = t0;
  13360. this.node = t1;
  13361. },
  13362. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  13363. },
  13364. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14() {
  13365. },
  13366. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  13367. this.$this = t0;
  13368. this.node = t1;
  13369. },
  13370. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  13371. this.$this = t0;
  13372. this.node = t1;
  13373. },
  13374. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  13375. },
  13376. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  13377. this.$this = t0;
  13378. this.node = t1;
  13379. this.override = t2;
  13380. },
  13381. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  13382. this.$this = t0;
  13383. this.node = t1;
  13384. },
  13385. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  13386. this.$this = t0;
  13387. this.node = t1;
  13388. this.value = t2;
  13389. },
  13390. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  13391. this.$this = t0;
  13392. this.node = t1;
  13393. },
  13394. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  13395. this.$this = t0;
  13396. this.node = t1;
  13397. },
  13398. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  13399. this.$this = t0;
  13400. this.node = t1;
  13401. },
  13402. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  13403. this.$this = t0;
  13404. },
  13405. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  13406. this.$this = t0;
  13407. this.node = t1;
  13408. },
  13409. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0() {
  13410. },
  13411. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  13412. this.$this = t0;
  13413. this.node = t1;
  13414. },
  13415. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  13416. this.node = t0;
  13417. this.operand = t1;
  13418. },
  13419. _EvaluateVisitor__visitCalculationValue_closure0: function _EvaluateVisitor__visitCalculationValue_closure0(t0, t1, t2) {
  13420. this.$this = t0;
  13421. this.node = t1;
  13422. this.inMinMax = t2;
  13423. },
  13424. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  13425. this.$this = t0;
  13426. },
  13427. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1) {
  13428. this.$this = t0;
  13429. this.node = t1;
  13430. },
  13431. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1, t2) {
  13432. this._box_0 = t0;
  13433. this.$this = t1;
  13434. this.node = t2;
  13435. },
  13436. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  13437. this.$this = t0;
  13438. this.node = t1;
  13439. this.$function = t2;
  13440. },
  13441. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  13442. var _ = this;
  13443. _.$this = t0;
  13444. _.callable = t1;
  13445. _.evaluated = t2;
  13446. _.nodeWithSpan = t3;
  13447. _.run = t4;
  13448. _.V = t5;
  13449. },
  13450. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  13451. var _ = this;
  13452. _.$this = t0;
  13453. _.evaluated = t1;
  13454. _.callable = t2;
  13455. _.nodeWithSpan = t3;
  13456. _.run = t4;
  13457. _.V = t5;
  13458. },
  13459. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  13460. var _ = this;
  13461. _.$this = t0;
  13462. _.evaluated = t1;
  13463. _.callable = t2;
  13464. _.nodeWithSpan = t3;
  13465. _.run = t4;
  13466. _.V = t5;
  13467. },
  13468. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  13469. },
  13470. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  13471. this.$this = t0;
  13472. this.callable = t1;
  13473. },
  13474. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1(t0, t1, t2) {
  13475. this.overload = t0;
  13476. this.evaluated = t1;
  13477. this.namedSet = t2;
  13478. },
  13479. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2() {
  13480. },
  13481. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  13482. },
  13483. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  13484. this.$this = t0;
  13485. this.restNodeForSpan = t1;
  13486. },
  13487. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  13488. var _ = this;
  13489. _.$this = t0;
  13490. _.named = t1;
  13491. _.restNodeForSpan = t2;
  13492. _.namedNodes = t3;
  13493. },
  13494. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  13495. },
  13496. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  13497. this.restArgs = t0;
  13498. },
  13499. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  13500. this.$this = t0;
  13501. this.restNodeForSpan = t1;
  13502. this.restArgs = t2;
  13503. },
  13504. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  13505. var _ = this;
  13506. _.$this = t0;
  13507. _.named = t1;
  13508. _.restNodeForSpan = t2;
  13509. _.restArgs = t3;
  13510. },
  13511. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  13512. this.$this = t0;
  13513. this.keywordRestNodeForSpan = t1;
  13514. this.keywordRestArgs = t2;
  13515. },
  13516. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  13517. var _ = this;
  13518. _.$this = t0;
  13519. _.values = t1;
  13520. _.convert = t2;
  13521. _.expressionNode = t3;
  13522. _.map = t4;
  13523. _.nodeWithSpan = t5;
  13524. },
  13525. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  13526. this.$arguments = t0;
  13527. this.positional = t1;
  13528. this.named = t2;
  13529. },
  13530. _EvaluateVisitor_visitStringExpression_closure0: function _EvaluateVisitor_visitStringExpression_closure0(t0) {
  13531. this.$this = t0;
  13532. },
  13533. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  13534. this.$this = t0;
  13535. this.node = t1;
  13536. },
  13537. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  13538. },
  13539. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  13540. this.$this = t0;
  13541. this.node = t1;
  13542. },
  13543. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  13544. },
  13545. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  13546. this.$this = t0;
  13547. this.node = t1;
  13548. },
  13549. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  13550. var _ = this;
  13551. _.$this = t0;
  13552. _.mergedQueries = t1;
  13553. _.node = t2;
  13554. _.mergedSources = t3;
  13555. },
  13556. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  13557. this.$this = t0;
  13558. this.node = t1;
  13559. },
  13560. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  13561. this.$this = t0;
  13562. this.node = t1;
  13563. },
  13564. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  13565. this.mergedSources = t0;
  13566. },
  13567. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0, t1, t2) {
  13568. this.$this = t0;
  13569. this.rule = t1;
  13570. this.node = t2;
  13571. },
  13572. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  13573. this.$this = t0;
  13574. this.node = t1;
  13575. },
  13576. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2() {
  13577. },
  13578. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  13579. this.$this = t0;
  13580. this.node = t1;
  13581. },
  13582. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  13583. this.$this = t0;
  13584. this.node = t1;
  13585. },
  13586. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  13587. },
  13588. _EvaluateVisitor__performInterpolation_closure0: function _EvaluateVisitor__performInterpolation_closure0(t0, t1, t2) {
  13589. this.$this = t0;
  13590. this.warnForColor = t1;
  13591. this.interpolation = t2;
  13592. },
  13593. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  13594. this.value = t0;
  13595. this.quote = t1;
  13596. },
  13597. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  13598. this.$this = t0;
  13599. this.expression = t1;
  13600. },
  13601. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  13602. },
  13603. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  13604. this.$this = t0;
  13605. },
  13606. _EvaluateVisitor__stackTrace_closure0: function _EvaluateVisitor__stackTrace_closure0(t0) {
  13607. this.$this = t0;
  13608. },
  13609. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  13610. this._async_evaluate$_visitor = t0;
  13611. },
  13612. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  13613. },
  13614. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  13615. this.hasBeenMerged = t0;
  13616. },
  13617. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  13618. },
  13619. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  13620. },
  13621. EvaluateResult: function EvaluateResult(t0) {
  13622. this.stylesheet = t0;
  13623. },
  13624. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  13625. this._async_evaluate$_visitor = t0;
  13626. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  13627. },
  13628. _ArgumentResults0: function _ArgumentResults0(t0, t1, t2, t3, t4) {
  13629. var _ = this;
  13630. _.positional = t0;
  13631. _.positionalNodes = t1;
  13632. _.named = t2;
  13633. _.namedNodes = t3;
  13634. _.separator = t4;
  13635. },
  13636. _LoadedStylesheet0: function _LoadedStylesheet0(t0, t1, t2) {
  13637. this.stylesheet = t0;
  13638. this.importer = t1;
  13639. this.isDependency = t2;
  13640. },
  13641. cloneCssStylesheet(stylesheet, extensionStore) {
  13642. var result = extensionStore.clone$0();
  13643. return new A.Tuple2(new A._CloneCssVisitor(result.item2)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), result.item1, type$.Tuple2_ModifiableCssStylesheet_ExtensionStore);
  13644. },
  13645. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  13646. this._oldToNewSelectors = t0;
  13647. },
  13648. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  13649. var t1 = type$.Uri,
  13650. t2 = type$.Module_Callable,
  13651. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode),
  13652. t4 = logger == null ? B.StderrLogger_false : logger;
  13653. t3 = 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), t4, 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);
  13654. t3._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  13655. return t3;
  13656. },
  13657. Evaluator: function Evaluator(t0, t1) {
  13658. this._visitor = t0;
  13659. this._importer = t1;
  13660. },
  13661. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  13662. var _ = this;
  13663. _._evaluate$_importCache = t0;
  13664. _._nodeImporter = t1;
  13665. _._builtInFunctions = t2;
  13666. _._builtInModules = t3;
  13667. _._modules = t4;
  13668. _._moduleConfigurations = t5;
  13669. _._moduleNodes = t6;
  13670. _._evaluate$_logger = t7;
  13671. _._warningsEmitted = t8;
  13672. _._quietDeps = t9;
  13673. _._sourceMap = t10;
  13674. _._environment = t11;
  13675. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  13676. _._member = "root stylesheet";
  13677. _._importSpan = _._callableNode = _._currentCallable = null;
  13678. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  13679. _._loadedUrls = t12;
  13680. _._activeModules = t13;
  13681. _._stack = t14;
  13682. _._importer = null;
  13683. _._inDependency = false;
  13684. _.__extensionStore = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  13685. _._configuration = t15;
  13686. },
  13687. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  13688. this.$this = t0;
  13689. },
  13690. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  13691. this.$this = t0;
  13692. },
  13693. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  13694. this.$this = t0;
  13695. },
  13696. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  13697. this.$this = t0;
  13698. },
  13699. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  13700. this.$this = t0;
  13701. },
  13702. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  13703. this.$this = t0;
  13704. },
  13705. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  13706. this.$this = t0;
  13707. },
  13708. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  13709. this.$this = t0;
  13710. },
  13711. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  13712. this.$this = t0;
  13713. this.name = t1;
  13714. this.module = t2;
  13715. },
  13716. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  13717. this.$this = t0;
  13718. },
  13719. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  13720. this.$this = t0;
  13721. },
  13722. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  13723. this.values = t0;
  13724. this.span = t1;
  13725. this.callableNode = t2;
  13726. },
  13727. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  13728. this.$this = t0;
  13729. },
  13730. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  13731. this.$this = t0;
  13732. this.node = t1;
  13733. this.importer = t2;
  13734. },
  13735. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  13736. this.$this = t0;
  13737. this.importer = t1;
  13738. this.expression = t2;
  13739. },
  13740. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  13741. this.$this = t0;
  13742. this.expression = t1;
  13743. },
  13744. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  13745. this.$this = t0;
  13746. this.importer = t1;
  13747. this.statement = t2;
  13748. },
  13749. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  13750. this.$this = t0;
  13751. this.statement = t1;
  13752. },
  13753. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  13754. this.callback = t0;
  13755. this.builtInModule = t1;
  13756. },
  13757. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  13758. var _ = this;
  13759. _.$this = t0;
  13760. _.url = t1;
  13761. _.nodeWithSpan = t2;
  13762. _.baseUrl = t3;
  13763. _.namesInErrors = t4;
  13764. _.configuration = t5;
  13765. _.callback = t6;
  13766. },
  13767. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  13768. this.$this = t0;
  13769. this.message = t1;
  13770. },
  13771. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5) {
  13772. var _ = this;
  13773. _.$this = t0;
  13774. _.importer = t1;
  13775. _.stylesheet = t2;
  13776. _.extensionStore = t3;
  13777. _.configuration = t4;
  13778. _.css = t5;
  13779. },
  13780. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  13781. },
  13782. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  13783. this.selectors = t0;
  13784. },
  13785. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  13786. },
  13787. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  13788. this.originalSelectors = t0;
  13789. },
  13790. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  13791. },
  13792. _EvaluateVisitor__topologicalModules_visitModule: function _EvaluateVisitor__topologicalModules_visitModule(t0, t1) {
  13793. this.seen = t0;
  13794. this.sorted = t1;
  13795. },
  13796. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  13797. this.$this = t0;
  13798. this.resolved = t1;
  13799. },
  13800. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  13801. this.$this = t0;
  13802. this.node = t1;
  13803. },
  13804. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  13805. this.$this = t0;
  13806. this.node = t1;
  13807. },
  13808. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  13809. this.$this = t0;
  13810. this.newParent = t1;
  13811. this.node = t2;
  13812. },
  13813. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  13814. this.$this = t0;
  13815. this.innerScope = t1;
  13816. },
  13817. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  13818. this.$this = t0;
  13819. this.innerScope = t1;
  13820. },
  13821. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  13822. this.innerScope = t0;
  13823. this.callback = t1;
  13824. },
  13825. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  13826. this.$this = t0;
  13827. this.innerScope = t1;
  13828. },
  13829. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  13830. },
  13831. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  13832. this.$this = t0;
  13833. this.innerScope = t1;
  13834. },
  13835. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  13836. this.$this = t0;
  13837. this.content = t1;
  13838. },
  13839. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0) {
  13840. this.$this = t0;
  13841. },
  13842. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  13843. this.$this = t0;
  13844. this.children = t1;
  13845. },
  13846. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  13847. this.$this = t0;
  13848. this.node = t1;
  13849. this.nodeWithSpan = t2;
  13850. },
  13851. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  13852. this.$this = t0;
  13853. this.node = t1;
  13854. this.nodeWithSpan = t2;
  13855. },
  13856. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  13857. var _ = this;
  13858. _.$this = t0;
  13859. _.list = t1;
  13860. _.setVariables = t2;
  13861. _.node = t3;
  13862. },
  13863. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  13864. this.$this = t0;
  13865. this.setVariables = t1;
  13866. this.node = t2;
  13867. },
  13868. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  13869. this.$this = t0;
  13870. },
  13871. _EvaluateVisitor_visitExtendRule_closure: function _EvaluateVisitor_visitExtendRule_closure(t0, t1) {
  13872. this.$this = t0;
  13873. this.targetText = t1;
  13874. },
  13875. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  13876. this.$this = t0;
  13877. },
  13878. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1) {
  13879. this.$this = t0;
  13880. this.children = t1;
  13881. },
  13882. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  13883. this.$this = t0;
  13884. this.children = t1;
  13885. },
  13886. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  13887. },
  13888. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  13889. this.$this = t0;
  13890. this.node = t1;
  13891. },
  13892. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  13893. this.$this = t0;
  13894. this.node = t1;
  13895. },
  13896. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  13897. this.fromNumber = t0;
  13898. },
  13899. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  13900. this.toNumber = t0;
  13901. this.fromNumber = t1;
  13902. },
  13903. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  13904. var _ = this;
  13905. _._box_0 = t0;
  13906. _.$this = t1;
  13907. _.node = t2;
  13908. _.from = t3;
  13909. _.direction = t4;
  13910. _.fromNumber = t5;
  13911. },
  13912. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  13913. this.$this = t0;
  13914. },
  13915. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  13916. this.$this = t0;
  13917. this.node = t1;
  13918. },
  13919. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  13920. this.$this = t0;
  13921. this.node = t1;
  13922. },
  13923. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0, t1) {
  13924. this._box_0 = t0;
  13925. this.$this = t1;
  13926. },
  13927. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0) {
  13928. this.$this = t0;
  13929. },
  13930. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  13931. this.$this = t0;
  13932. this.$import = t1;
  13933. },
  13934. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  13935. this.$this = t0;
  13936. },
  13937. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  13938. },
  13939. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  13940. },
  13941. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4, t5) {
  13942. var _ = this;
  13943. _.$this = t0;
  13944. _.result = t1;
  13945. _.stylesheet = t2;
  13946. _.loadsUserDefinedModules = t3;
  13947. _.environment = t4;
  13948. _.children = t5;
  13949. },
  13950. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  13951. this.$this = t0;
  13952. this.node = t1;
  13953. },
  13954. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  13955. this.node = t0;
  13956. },
  13957. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0) {
  13958. this.$this = t0;
  13959. },
  13960. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0, t1, t2, t3) {
  13961. var _ = this;
  13962. _.$this = t0;
  13963. _.contentCallable = t1;
  13964. _.mixin = t2;
  13965. _.nodeWithSpan = t3;
  13966. },
  13967. _EvaluateVisitor_visitIncludeRule__closure: function _EvaluateVisitor_visitIncludeRule__closure(t0, t1, t2) {
  13968. this.$this = t0;
  13969. this.mixin = t1;
  13970. this.nodeWithSpan = t2;
  13971. },
  13972. _EvaluateVisitor_visitIncludeRule___closure: function _EvaluateVisitor_visitIncludeRule___closure(t0, t1, t2) {
  13973. this.$this = t0;
  13974. this.mixin = t1;
  13975. this.nodeWithSpan = t2;
  13976. },
  13977. _EvaluateVisitor_visitIncludeRule____closure: function _EvaluateVisitor_visitIncludeRule____closure(t0, t1) {
  13978. this.$this = t0;
  13979. this.statement = t1;
  13980. },
  13981. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  13982. this.$this = t0;
  13983. this.queries = t1;
  13984. },
  13985. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  13986. var _ = this;
  13987. _.$this = t0;
  13988. _.mergedQueries = t1;
  13989. _.queries = t2;
  13990. _.mergedSources = t3;
  13991. _.node = t4;
  13992. },
  13993. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  13994. this.$this = t0;
  13995. this.node = t1;
  13996. },
  13997. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  13998. this.$this = t0;
  13999. this.node = t1;
  14000. },
  14001. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  14002. this.mergedSources = t0;
  14003. },
  14004. _EvaluateVisitor__visitMediaQueries_closure: function _EvaluateVisitor__visitMediaQueries_closure(t0, t1) {
  14005. this.$this = t0;
  14006. this.resolved = t1;
  14007. },
  14008. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  14009. this.$this = t0;
  14010. this.selectorText = t1;
  14011. },
  14012. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0(t0, t1) {
  14013. this.$this = t0;
  14014. this.node = t1;
  14015. },
  14016. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  14017. },
  14018. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1) {
  14019. this.$this = t0;
  14020. this.selectorText = t1;
  14021. },
  14022. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  14023. this._box_0 = t0;
  14024. this.$this = t1;
  14025. },
  14026. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1, t2) {
  14027. this.$this = t0;
  14028. this.rule = t1;
  14029. this.node = t2;
  14030. },
  14031. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  14032. this.$this = t0;
  14033. this.node = t1;
  14034. },
  14035. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  14036. },
  14037. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6() {
  14038. },
  14039. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  14040. this.$this = t0;
  14041. this.node = t1;
  14042. },
  14043. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  14044. this.$this = t0;
  14045. this.node = t1;
  14046. },
  14047. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  14048. },
  14049. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  14050. this.$this = t0;
  14051. this.node = t1;
  14052. this.override = t2;
  14053. },
  14054. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  14055. this.$this = t0;
  14056. this.node = t1;
  14057. },
  14058. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  14059. this.$this = t0;
  14060. this.node = t1;
  14061. this.value = t2;
  14062. },
  14063. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  14064. this.$this = t0;
  14065. this.node = t1;
  14066. },
  14067. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  14068. this.$this = t0;
  14069. this.node = t1;
  14070. },
  14071. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  14072. this.$this = t0;
  14073. this.node = t1;
  14074. },
  14075. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  14076. this.$this = t0;
  14077. },
  14078. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  14079. this.$this = t0;
  14080. this.node = t1;
  14081. },
  14082. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation() {
  14083. },
  14084. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  14085. this.$this = t0;
  14086. this.node = t1;
  14087. },
  14088. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  14089. this.node = t0;
  14090. this.operand = t1;
  14091. },
  14092. _EvaluateVisitor__visitCalculationValue_closure: function _EvaluateVisitor__visitCalculationValue_closure(t0, t1, t2) {
  14093. this.$this = t0;
  14094. this.node = t1;
  14095. this.inMinMax = t2;
  14096. },
  14097. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  14098. this.$this = t0;
  14099. },
  14100. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  14101. this.$this = t0;
  14102. this.node = t1;
  14103. },
  14104. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0(t0, t1, t2) {
  14105. this._box_0 = t0;
  14106. this.$this = t1;
  14107. this.node = t2;
  14108. },
  14109. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  14110. this.$this = t0;
  14111. this.node = t1;
  14112. this.$function = t2;
  14113. },
  14114. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  14115. var _ = this;
  14116. _.$this = t0;
  14117. _.callable = t1;
  14118. _.evaluated = t2;
  14119. _.nodeWithSpan = t3;
  14120. _.run = t4;
  14121. _.V = t5;
  14122. },
  14123. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  14124. var _ = this;
  14125. _.$this = t0;
  14126. _.evaluated = t1;
  14127. _.callable = t2;
  14128. _.nodeWithSpan = t3;
  14129. _.run = t4;
  14130. _.V = t5;
  14131. },
  14132. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  14133. var _ = this;
  14134. _.$this = t0;
  14135. _.evaluated = t1;
  14136. _.callable = t2;
  14137. _.nodeWithSpan = t3;
  14138. _.run = t4;
  14139. _.V = t5;
  14140. },
  14141. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  14142. },
  14143. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  14144. this.$this = t0;
  14145. this.callable = t1;
  14146. },
  14147. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  14148. this.overload = t0;
  14149. this.evaluated = t1;
  14150. this.namedSet = t2;
  14151. },
  14152. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0() {
  14153. },
  14154. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  14155. },
  14156. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  14157. this.$this = t0;
  14158. this.restNodeForSpan = t1;
  14159. },
  14160. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  14161. var _ = this;
  14162. _.$this = t0;
  14163. _.named = t1;
  14164. _.restNodeForSpan = t2;
  14165. _.namedNodes = t3;
  14166. },
  14167. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  14168. },
  14169. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  14170. this.restArgs = t0;
  14171. },
  14172. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  14173. this.$this = t0;
  14174. this.restNodeForSpan = t1;
  14175. this.restArgs = t2;
  14176. },
  14177. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  14178. var _ = this;
  14179. _.$this = t0;
  14180. _.named = t1;
  14181. _.restNodeForSpan = t2;
  14182. _.restArgs = t3;
  14183. },
  14184. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  14185. this.$this = t0;
  14186. this.keywordRestNodeForSpan = t1;
  14187. this.keywordRestArgs = t2;
  14188. },
  14189. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  14190. var _ = this;
  14191. _.$this = t0;
  14192. _.values = t1;
  14193. _.convert = t2;
  14194. _.expressionNode = t3;
  14195. _.map = t4;
  14196. _.nodeWithSpan = t5;
  14197. },
  14198. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  14199. this.$arguments = t0;
  14200. this.positional = t1;
  14201. this.named = t2;
  14202. },
  14203. _EvaluateVisitor_visitStringExpression_closure: function _EvaluateVisitor_visitStringExpression_closure(t0) {
  14204. this.$this = t0;
  14205. },
  14206. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  14207. this.$this = t0;
  14208. this.node = t1;
  14209. },
  14210. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  14211. },
  14212. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14213. this.$this = t0;
  14214. this.node = t1;
  14215. },
  14216. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  14217. },
  14218. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  14219. this.$this = t0;
  14220. this.node = t1;
  14221. },
  14222. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  14223. var _ = this;
  14224. _.$this = t0;
  14225. _.mergedQueries = t1;
  14226. _.node = t2;
  14227. _.mergedSources = t3;
  14228. },
  14229. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  14230. this.$this = t0;
  14231. this.node = t1;
  14232. },
  14233. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  14234. this.$this = t0;
  14235. this.node = t1;
  14236. },
  14237. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  14238. this.mergedSources = t0;
  14239. },
  14240. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
  14241. this.$this = t0;
  14242. this.rule = t1;
  14243. this.node = t2;
  14244. },
  14245. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  14246. this.$this = t0;
  14247. this.node = t1;
  14248. },
  14249. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
  14250. },
  14251. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  14252. this.$this = t0;
  14253. this.node = t1;
  14254. },
  14255. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  14256. this.$this = t0;
  14257. this.node = t1;
  14258. },
  14259. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  14260. },
  14261. _EvaluateVisitor__performInterpolation_closure: function _EvaluateVisitor__performInterpolation_closure(t0, t1, t2) {
  14262. this.$this = t0;
  14263. this.warnForColor = t1;
  14264. this.interpolation = t2;
  14265. },
  14266. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  14267. this.value = t0;
  14268. this.quote = t1;
  14269. },
  14270. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  14271. this.$this = t0;
  14272. this.expression = t1;
  14273. },
  14274. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  14275. },
  14276. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  14277. this.$this = t0;
  14278. },
  14279. _EvaluateVisitor__stackTrace_closure: function _EvaluateVisitor__stackTrace_closure(t0) {
  14280. this.$this = t0;
  14281. },
  14282. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  14283. this._visitor = t0;
  14284. },
  14285. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  14286. },
  14287. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  14288. this.hasBeenMerged = t0;
  14289. },
  14290. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  14291. },
  14292. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  14293. },
  14294. _EvaluationContext: function _EvaluationContext(t0, t1) {
  14295. this._visitor = t0;
  14296. this._defaultWarnNodeWithSpan = t1;
  14297. },
  14298. _ArgumentResults: function _ArgumentResults(t0, t1, t2, t3, t4) {
  14299. var _ = this;
  14300. _.positional = t0;
  14301. _.positionalNodes = t1;
  14302. _.named = t2;
  14303. _.namedNodes = t3;
  14304. _.separator = t4;
  14305. },
  14306. _LoadedStylesheet: function _LoadedStylesheet(t0, t1, t2) {
  14307. this.stylesheet = t0;
  14308. this.importer = t1;
  14309. this.isDependency = t2;
  14310. },
  14311. EveryCssVisitor: function EveryCssVisitor() {
  14312. },
  14313. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  14314. this.$this = t0;
  14315. },
  14316. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  14317. this.$this = t0;
  14318. },
  14319. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  14320. this.$this = t0;
  14321. },
  14322. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  14323. this.$this = t0;
  14324. },
  14325. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  14326. this.$this = t0;
  14327. },
  14328. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  14329. this.$this = t0;
  14330. },
  14331. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1) {
  14332. this._usesAndForwards = t0;
  14333. this._imports = t1;
  14334. },
  14335. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  14336. },
  14337. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  14338. },
  14339. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  14340. var t1, css, t2, prefix,
  14341. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  14342. node.accept$1(visitor);
  14343. t1 = visitor._serialize$_buffer;
  14344. css = t1.toString$0(0);
  14345. if (charset) {
  14346. t2 = new A.CodeUnits(css);
  14347. t2 = t2.any$1(t2, new A.serialize_closure());
  14348. } else
  14349. t2 = false;
  14350. if (t2)
  14351. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  14352. else
  14353. prefix = "";
  14354. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  14355. return new A.SerializeResult(prefix + css, t1);
  14356. },
  14357. serializeValue(value, inspect, quote) {
  14358. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  14359. value.accept$1(visitor);
  14360. return visitor._serialize$_buffer.toString$0(0);
  14361. },
  14362. serializeSelector(selector, inspect) {
  14363. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  14364. selector.accept$1(visitor);
  14365. return visitor._serialize$_buffer.toString$0(0);
  14366. },
  14367. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  14368. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  14369. t2 = style == null ? B.OutputStyle_0 : style,
  14370. t3 = indentWidth == null ? 2 : indentWidth;
  14371. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  14372. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  14373. },
  14374. serialize_closure: function serialize_closure() {
  14375. },
  14376. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  14377. var _ = this;
  14378. _._serialize$_buffer = t0;
  14379. _._indentation = 0;
  14380. _._style = t1;
  14381. _._inspect = t2;
  14382. _._quote = t3;
  14383. _._indentCharacter = t4;
  14384. _._indentWidth = t5;
  14385. _._serialize$_lineFeed = t6;
  14386. },
  14387. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  14388. this.$this = t0;
  14389. this.node = t1;
  14390. },
  14391. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  14392. this.$this = t0;
  14393. this.node = t1;
  14394. },
  14395. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  14396. this.$this = t0;
  14397. this.node = t1;
  14398. },
  14399. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  14400. this.$this = t0;
  14401. this.node = t1;
  14402. },
  14403. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  14404. this.$this = t0;
  14405. this.node = t1;
  14406. },
  14407. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  14408. this.$this = t0;
  14409. this.node = t1;
  14410. },
  14411. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  14412. this.$this = t0;
  14413. this.node = t1;
  14414. },
  14415. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  14416. this.$this = t0;
  14417. this.node = t1;
  14418. },
  14419. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  14420. this.$this = t0;
  14421. this.node = t1;
  14422. },
  14423. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  14424. this.$this = t0;
  14425. this.node = t1;
  14426. },
  14427. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  14428. },
  14429. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  14430. this.$this = t0;
  14431. this.value = t1;
  14432. },
  14433. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  14434. this.$this = t0;
  14435. },
  14436. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  14437. this.$this = t0;
  14438. },
  14439. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  14440. },
  14441. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  14442. this.$this = t0;
  14443. this.value = t1;
  14444. },
  14445. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  14446. this.$this = t0;
  14447. this.child = t1;
  14448. },
  14449. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  14450. this.$this = t0;
  14451. this.child = t1;
  14452. },
  14453. OutputStyle: function OutputStyle(t0) {
  14454. this._name = t0;
  14455. },
  14456. LineFeed: function LineFeed(t0) {
  14457. this._name = t0;
  14458. },
  14459. SerializeResult: function SerializeResult(t0, t1) {
  14460. this.css = t0;
  14461. this.sourceMap = t1;
  14462. },
  14463. _IterableExtension__search(_this, callback) {
  14464. var t1, value;
  14465. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  14466. value = callback.call$1(t1.get$current(t1));
  14467. if (value != null)
  14468. return value;
  14469. }
  14470. return null;
  14471. },
  14472. StatementSearchVisitor: function StatementSearchVisitor() {
  14473. },
  14474. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  14475. this.$this = t0;
  14476. },
  14477. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  14478. this.$this = t0;
  14479. },
  14480. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  14481. this.$this = t0;
  14482. },
  14483. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  14484. this.$this = t0;
  14485. },
  14486. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  14487. this.$this = t0;
  14488. },
  14489. Entry: function Entry(t0, t1, t2) {
  14490. this.source = t0;
  14491. this.target = t1;
  14492. this.identifierName = t2;
  14493. },
  14494. SingleMapping_SingleMapping$fromEntries(entries) {
  14495. var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
  14496. sourceEntries = J.toList$0$ax(entries);
  14497. B.JSArray_methods.sort$0(sourceEntries);
  14498. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  14499. t1 = type$.String;
  14500. t2 = type$.int;
  14501. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  14502. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  14503. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  14504. targetEntries = A._Cell$();
  14505. 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) {
  14506. sourceEntry = sourceEntries[_i];
  14507. if (lineNum == null || sourceEntry.target.line > lineNum) {
  14508. lineNum = sourceEntry.target.line;
  14509. t5 = A._setArrayType([], t3);
  14510. targetEntries._value = t5;
  14511. lines.push(new A.TargetLineEntry(lineNum, t5));
  14512. }
  14513. t5 = sourceEntry.source;
  14514. t6 = t5.file;
  14515. sourceUrl = t6.url;
  14516. t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  14517. urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  14518. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  14519. t7 = targetEntries._value;
  14520. if (t7 === targetEntries)
  14521. A.throwExpression(A.LateError$localNI(t4));
  14522. t5 = t5.offset;
  14523. J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
  14524. }
  14525. t2 = urls.get$values(urls);
  14526. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  14527. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  14528. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  14529. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  14530. 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));
  14531. },
  14532. Mapping: function Mapping() {
  14533. },
  14534. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  14535. var _ = this;
  14536. _.urls = t0;
  14537. _.names = t1;
  14538. _.files = t2;
  14539. _.lines = t3;
  14540. _.targetUrl = t4;
  14541. _.sourceRoot = null;
  14542. _.extensions = t5;
  14543. },
  14544. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  14545. this.urls = t0;
  14546. },
  14547. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  14548. this.sourceEntry = t0;
  14549. },
  14550. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  14551. this.files = t0;
  14552. },
  14553. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  14554. },
  14555. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  14556. this.result = t0;
  14557. },
  14558. TargetLineEntry: function TargetLineEntry(t0, t1) {
  14559. this.line = t0;
  14560. this.entries = t1;
  14561. },
  14562. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  14563. var _ = this;
  14564. _.column = t0;
  14565. _.sourceUrlId = t1;
  14566. _.sourceLine = t2;
  14567. _.sourceColumn = t3;
  14568. _.sourceNameId = t4;
  14569. },
  14570. SourceFile$fromString(text, url) {
  14571. var t1 = new A.CodeUnits(text),
  14572. t2 = A._setArrayType([0], type$.JSArray_int),
  14573. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  14574. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  14575. t2.SourceFile$decoded$2$url(t1, url);
  14576. return t2;
  14577. },
  14578. SourceFile$decoded(decodedChars, url) {
  14579. var t1 = A._setArrayType([0], type$.JSArray_int),
  14580. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  14581. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  14582. t1.SourceFile$decoded$2$url(decodedChars, url);
  14583. return t1;
  14584. },
  14585. FileLocation$_(file, offset) {
  14586. if (offset < 0)
  14587. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  14588. else if (offset > file._decodedChars.length)
  14589. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(file) + "."));
  14590. return new A.FileLocation(file, offset);
  14591. },
  14592. _FileSpan$(file, _start, _end) {
  14593. if (_end < _start)
  14594. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  14595. else if (_end > file._decodedChars.length)
  14596. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(file) + "."));
  14597. else if (_start < 0)
  14598. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  14599. return new A._FileSpan(file, _start, _end);
  14600. },
  14601. FileSpanExtension_subspan(_this, start, end) {
  14602. var startOffset,
  14603. t1 = _this._end,
  14604. t2 = _this._file$_start,
  14605. t3 = t1 - t2;
  14606. A.RangeError_checkValidRange(start, end, t3);
  14607. if (start === 0)
  14608. t3 = end == null || end === t3;
  14609. else
  14610. t3 = false;
  14611. if (t3)
  14612. return _this;
  14613. t3 = _this.file;
  14614. startOffset = A.FileLocation$_(t3, t2).offset;
  14615. t1 = end == null ? A.FileLocation$_(t3, t1).offset : startOffset + end;
  14616. return t3.span$2(0, startOffset + start, t1);
  14617. },
  14618. SourceFile: function SourceFile(t0, t1, t2) {
  14619. var _ = this;
  14620. _.url = t0;
  14621. _._lineStarts = t1;
  14622. _._decodedChars = t2;
  14623. _._cachedLine = null;
  14624. },
  14625. FileLocation: function FileLocation(t0, t1) {
  14626. this.file = t0;
  14627. this.offset = t1;
  14628. },
  14629. _FileSpan: function _FileSpan(t0, t1, t2) {
  14630. this.file = t0;
  14631. this._file$_start = t1;
  14632. this._end = t2;
  14633. },
  14634. Highlighter$(span, color) {
  14635. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  14636. t2 = new A.Highlighter_closure(color).call$0(),
  14637. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  14638. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  14639. t5 = A._arrayInstanceType(t1);
  14640. 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(""));
  14641. },
  14642. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  14643. var t2, t3, t4, t5, t6,
  14644. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  14645. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  14646. t3 = t2.get$current(t2);
  14647. t1.push(A._Highlight$(t3.key, t3.value, false));
  14648. }
  14649. t1 = A.Highlighter__collateLines(t1);
  14650. if (color)
  14651. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  14652. else
  14653. t2 = null;
  14654. if (color)
  14655. t3 = "\x1b[34m";
  14656. else
  14657. t3 = null;
  14658. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  14659. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  14660. t6 = A._arrayInstanceType(t1);
  14661. 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(""));
  14662. },
  14663. Highlighter__contiguous(lines) {
  14664. var i, thisLine, nextLine;
  14665. for (i = 0; i < lines.length - 1;) {
  14666. thisLine = lines[i];
  14667. ++i;
  14668. nextLine = lines[i];
  14669. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  14670. return false;
  14671. }
  14672. return true;
  14673. },
  14674. Highlighter__collateLines(highlights) {
  14675. var t1, t2, t3,
  14676. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  14677. 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();) {
  14678. t3 = t1.__internal$_current;
  14679. if (t3 == null)
  14680. t3 = t2._as(t3);
  14681. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  14682. }
  14683. t1 = highlightsByUrl.get$entries(highlightsByUrl);
  14684. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  14685. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  14686. },
  14687. _Highlight$(span, label, primary) {
  14688. var t2,
  14689. t1 = new A._Highlight_closure(span).call$0();
  14690. if (label == null)
  14691. t2 = null;
  14692. else
  14693. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  14694. return new A._Highlight(t1, primary, t2);
  14695. },
  14696. _Highlight__normalizeNewlines(span) {
  14697. var endOffset, t1, i, t2, t3, t4,
  14698. text = span.get$text();
  14699. if (!B.JSString_methods.contains$1(text, "\r\n"))
  14700. return span;
  14701. endOffset = span.get$end(span).get$offset();
  14702. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  14703. if (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 10)
  14704. --endOffset;
  14705. t1 = span.get$start(span);
  14706. t2 = span.get$sourceUrl(span);
  14707. t3 = span.get$end(span).get$line();
  14708. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  14709. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  14710. t4 = span.get$context(span);
  14711. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  14712. },
  14713. _Highlight__normalizeTrailingNewline(span) {
  14714. var context, text, start, end, t1, t2, t3;
  14715. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  14716. return span;
  14717. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  14718. return span;
  14719. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  14720. text = span.get$text();
  14721. start = span.get$start(span);
  14722. end = span.get$end(span);
  14723. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  14724. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  14725. t1.toString;
  14726. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  14727. } else
  14728. t1 = false;
  14729. if (t1) {
  14730. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  14731. if (text.length === 0)
  14732. end = start;
  14733. else {
  14734. t1 = span.get$end(span).get$offset();
  14735. t2 = span.get$sourceUrl(span);
  14736. t3 = span.get$end(span).get$line();
  14737. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  14738. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  14739. }
  14740. }
  14741. return A.SourceSpanWithContext$(start, end, text, context);
  14742. },
  14743. _Highlight__normalizeEndOfLine(span) {
  14744. var text, t1, t2, t3, t4;
  14745. if (span.get$end(span).get$column() !== 0)
  14746. return span;
  14747. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  14748. return span;
  14749. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  14750. t1 = span.get$start(span);
  14751. t2 = span.get$end(span).get$offset();
  14752. t3 = span.get$sourceUrl(span);
  14753. t4 = span.get$end(span).get$line();
  14754. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  14755. 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));
  14756. },
  14757. _Highlight__lastLineLength(text) {
  14758. var t1 = text.length;
  14759. if (t1 === 0)
  14760. return 0;
  14761. else if (B.JSString_methods.codeUnitAt$1(text, t1 - 1) === 10)
  14762. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  14763. else
  14764. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  14765. },
  14766. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  14767. var _ = this;
  14768. _._lines = t0;
  14769. _._primaryColor = t1;
  14770. _._secondaryColor = t2;
  14771. _._paddingBeforeSidebar = t3;
  14772. _._maxMultilineSpans = t4;
  14773. _._multipleFiles = t5;
  14774. _._highlighter$_buffer = t6;
  14775. },
  14776. Highlighter_closure: function Highlighter_closure(t0) {
  14777. this.color = t0;
  14778. },
  14779. Highlighter$__closure: function Highlighter$__closure() {
  14780. },
  14781. Highlighter$___closure: function Highlighter$___closure() {
  14782. },
  14783. Highlighter$__closure0: function Highlighter$__closure0() {
  14784. },
  14785. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  14786. },
  14787. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  14788. },
  14789. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  14790. },
  14791. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  14792. this.line = t0;
  14793. },
  14794. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  14795. },
  14796. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  14797. this.$this = t0;
  14798. },
  14799. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  14800. this.$this = t0;
  14801. this.startLine = t1;
  14802. this.line = t2;
  14803. },
  14804. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  14805. this.$this = t0;
  14806. this.highlight = t1;
  14807. },
  14808. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  14809. this.$this = t0;
  14810. },
  14811. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  14812. var _ = this;
  14813. _._box_0 = t0;
  14814. _.$this = t1;
  14815. _.current = t2;
  14816. _.startLine = t3;
  14817. _.line = t4;
  14818. _.highlight = t5;
  14819. _.endLine = t6;
  14820. },
  14821. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  14822. this._box_0 = t0;
  14823. this.$this = t1;
  14824. },
  14825. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  14826. this.$this = t0;
  14827. this.vertical = t1;
  14828. },
  14829. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  14830. var _ = this;
  14831. _.$this = t0;
  14832. _.text = t1;
  14833. _.startColumn = t2;
  14834. _.endColumn = t3;
  14835. },
  14836. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  14837. this.$this = t0;
  14838. this.line = t1;
  14839. this.highlight = t2;
  14840. },
  14841. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  14842. this.$this = t0;
  14843. this.line = t1;
  14844. this.highlight = t2;
  14845. },
  14846. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  14847. var _ = this;
  14848. _.$this = t0;
  14849. _.coversWholeLine = t1;
  14850. _.line = t2;
  14851. _.highlight = t3;
  14852. },
  14853. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  14854. this.$this = t0;
  14855. this.lines = t1;
  14856. },
  14857. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  14858. this.$this = t0;
  14859. this.text = t1;
  14860. },
  14861. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  14862. this._box_0 = t0;
  14863. this.$this = t1;
  14864. this.end = t2;
  14865. },
  14866. _Highlight: function _Highlight(t0, t1, t2) {
  14867. this.span = t0;
  14868. this.isPrimary = t1;
  14869. this.label = t2;
  14870. },
  14871. _Highlight_closure: function _Highlight_closure(t0) {
  14872. this.span = t0;
  14873. },
  14874. _Line: function _Line(t0, t1, t2, t3) {
  14875. var _ = this;
  14876. _.text = t0;
  14877. _.number = t1;
  14878. _.url = t2;
  14879. _.highlights = t3;
  14880. },
  14881. SourceLocation$(offset, column, line, sourceUrl) {
  14882. if (offset < 0)
  14883. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  14884. else if (line < 0)
  14885. A.throwExpression(A.RangeError$("Line may not be negative, was " + line + "."));
  14886. else if (column < 0)
  14887. A.throwExpression(A.RangeError$("Column may not be negative, was " + column + "."));
  14888. return new A.SourceLocation(sourceUrl, offset, line, column);
  14889. },
  14890. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  14891. var _ = this;
  14892. _.sourceUrl = t0;
  14893. _.offset = t1;
  14894. _.line = t2;
  14895. _.column = t3;
  14896. },
  14897. SourceLocationMixin: function SourceLocationMixin() {
  14898. },
  14899. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor) {
  14900. var t2,
  14901. t1 = _this.get$start(_this);
  14902. t1 = t1.file.getLine$1(t1.offset);
  14903. t2 = _this.get$start(_this);
  14904. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  14905. if (_this.get$sourceUrl(_this) != null) {
  14906. t1 = _this.get$sourceUrl(_this);
  14907. t1 = t2 + (" of " + $.$get$context().prettyUri$1(t1));
  14908. } else
  14909. t1 = t2;
  14910. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, null).highlight$0();
  14911. return t1.charCodeAt(0) == 0 ? t1 : t1;
  14912. },
  14913. SourceSpanBase: function SourceSpanBase() {
  14914. },
  14915. SourceSpanException: function SourceSpanException() {
  14916. },
  14917. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  14918. this.source = t0;
  14919. this._span_exception$_message = t1;
  14920. this._span = t2;
  14921. },
  14922. SourceSpanMixin: function SourceSpanMixin() {
  14923. },
  14924. SourceSpanWithContext$(start, end, text, _context) {
  14925. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  14926. t1.SourceSpanBase$3(start, end, text);
  14927. if (!B.JSString_methods.contains$1(_context, text))
  14928. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  14929. if (A.findLineStart(_context, text, start.get$column()) == null)
  14930. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  14931. return t1;
  14932. },
  14933. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  14934. var _ = this;
  14935. _._context = t0;
  14936. _.start = t1;
  14937. _.end = t2;
  14938. _.text = t3;
  14939. },
  14940. Chain_Chain$parse(chain) {
  14941. var t1, t2,
  14942. _s51_ = string$.x3d_____;
  14943. if (chain.length === 0)
  14944. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  14945. t1 = $.$get$vmChainGap();
  14946. if (B.JSString_methods.contains$1(chain, t1)) {
  14947. t1 = B.JSString_methods.split$1(chain, t1);
  14948. t2 = A._arrayInstanceType(t1);
  14949. 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));
  14950. }
  14951. if (!B.JSString_methods.contains$1(chain, _s51_))
  14952. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  14953. 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));
  14954. },
  14955. Chain: function Chain(t0) {
  14956. this.traces = t0;
  14957. },
  14958. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  14959. },
  14960. Chain_toTrace_closure: function Chain_toTrace_closure() {
  14961. },
  14962. Chain_toString_closure0: function Chain_toString_closure0() {
  14963. },
  14964. Chain_toString__closure0: function Chain_toString__closure0() {
  14965. },
  14966. Chain_toString_closure: function Chain_toString_closure(t0) {
  14967. this.longest = t0;
  14968. },
  14969. Chain_toString__closure: function Chain_toString__closure(t0) {
  14970. this.longest = t0;
  14971. },
  14972. Frame___parseVM_tearOff(frame) {
  14973. return A.Frame_Frame$parseVM(frame);
  14974. },
  14975. Frame_Frame$parseVM(frame) {
  14976. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  14977. },
  14978. Frame___parseV8_tearOff(frame) {
  14979. return A.Frame_Frame$parseV8(frame);
  14980. },
  14981. Frame_Frame$parseV8(frame) {
  14982. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  14983. },
  14984. Frame_Frame$_parseFirefoxEval(frame) {
  14985. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  14986. },
  14987. Frame___parseFirefox_tearOff(frame) {
  14988. return A.Frame_Frame$parseFirefox(frame);
  14989. },
  14990. Frame_Frame$parseFirefox(frame) {
  14991. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  14992. },
  14993. Frame___parseFriendly_tearOff(frame) {
  14994. return A.Frame_Frame$parseFriendly(frame);
  14995. },
  14996. Frame_Frame$parseFriendly(frame) {
  14997. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  14998. },
  14999. Frame__uriOrPathToUri(uriOrPath) {
  15000. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  15001. return A.Uri_parse(uriOrPath);
  15002. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  15003. return A._Uri__Uri$file(uriOrPath, true);
  15004. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  15005. return A._Uri__Uri$file(uriOrPath, false);
  15006. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  15007. return $.$get$windows().toUri$1(uriOrPath);
  15008. return A.Uri_parse(uriOrPath);
  15009. },
  15010. Frame__catchFormatException(text, body) {
  15011. var t1, exception;
  15012. try {
  15013. t1 = body.call$0();
  15014. return t1;
  15015. } catch (exception) {
  15016. if (type$.FormatException._is(A.unwrapException(exception)))
  15017. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  15018. else
  15019. throw exception;
  15020. }
  15021. },
  15022. Frame: function Frame(t0, t1, t2, t3) {
  15023. var _ = this;
  15024. _.uri = t0;
  15025. _.line = t1;
  15026. _.column = t2;
  15027. _.member = t3;
  15028. },
  15029. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  15030. this.frame = t0;
  15031. },
  15032. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  15033. this.frame = t0;
  15034. },
  15035. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  15036. this.frame = t0;
  15037. },
  15038. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  15039. this.frame = t0;
  15040. },
  15041. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  15042. this.frame = t0;
  15043. },
  15044. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  15045. this.frame = t0;
  15046. },
  15047. LazyTrace: function LazyTrace(t0) {
  15048. this._thunk = t0;
  15049. this.__LazyTrace__trace_FI = $;
  15050. },
  15051. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  15052. this.$this = t0;
  15053. },
  15054. Trace_Trace$from(trace) {
  15055. if (type$.Trace._is(trace))
  15056. return trace;
  15057. if (trace instanceof A.Chain)
  15058. return trace.toTrace$0();
  15059. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  15060. },
  15061. Trace_Trace$parse(trace) {
  15062. var error, t1, exception;
  15063. try {
  15064. if (trace.length === 0) {
  15065. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  15066. return t1;
  15067. }
  15068. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  15069. t1 = A.Trace$parseV8(trace);
  15070. return t1;
  15071. }
  15072. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  15073. t1 = A.Trace$parseJSCore(trace);
  15074. return t1;
  15075. }
  15076. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  15077. t1 = A.Trace$parseFirefox(trace);
  15078. return t1;
  15079. }
  15080. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  15081. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  15082. return t1;
  15083. }
  15084. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  15085. t1 = A.Trace$parseFriendly(trace);
  15086. return t1;
  15087. }
  15088. t1 = A.Trace$parseVM(trace);
  15089. return t1;
  15090. } catch (exception) {
  15091. t1 = A.unwrapException(exception);
  15092. if (type$.FormatException._is(t1)) {
  15093. error = t1;
  15094. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  15095. } else
  15096. throw exception;
  15097. }
  15098. },
  15099. Trace___parseVM_tearOff(trace) {
  15100. return A.Trace$parseVM(trace);
  15101. },
  15102. Trace$parseVM(trace) {
  15103. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  15104. return new A.Trace(t1, new A._StringStackTrace(trace));
  15105. },
  15106. Trace__parseVM(trace) {
  15107. var $frames,
  15108. t1 = B.JSString_methods.trim$0(trace),
  15109. t2 = $.$get$vmChainGap(),
  15110. t3 = type$.WhereIterable_String,
  15111. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  15112. if (!lines.get$iterator(lines).moveNext$0())
  15113. return A._setArrayType([], type$.JSArray_Frame);
  15114. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
  15115. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  15116. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  15117. if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
  15118. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
  15119. return $frames;
  15120. },
  15121. Trace$parseV8(trace) {
  15122. 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()),
  15123. t2 = type$.Frame;
  15124. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  15125. return new A.Trace(t2, new A._StringStackTrace(trace));
  15126. },
  15127. Trace$parseJSCore(trace) {
  15128. 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);
  15129. return new A.Trace(t1, new A._StringStackTrace(trace));
  15130. },
  15131. Trace$parseFirefox(trace) {
  15132. 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);
  15133. return new A.Trace(t1, new A._StringStackTrace(trace));
  15134. },
  15135. Trace___parseFriendly_tearOff(trace) {
  15136. return A.Trace$parseFriendly(trace);
  15137. },
  15138. Trace$parseFriendly(trace) {
  15139. 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);
  15140. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  15141. return new A.Trace(t1, new A._StringStackTrace(trace));
  15142. },
  15143. Trace$($frames, original) {
  15144. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  15145. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  15146. },
  15147. Trace: function Trace(t0, t1) {
  15148. this.frames = t0;
  15149. this.original = t1;
  15150. },
  15151. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  15152. this.trace = t0;
  15153. },
  15154. Trace__parseVM_closure: function Trace__parseVM_closure() {
  15155. },
  15156. Trace$parseV8_closure: function Trace$parseV8_closure() {
  15157. },
  15158. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  15159. },
  15160. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  15161. },
  15162. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  15163. },
  15164. Trace_terse_closure: function Trace_terse_closure() {
  15165. },
  15166. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  15167. this.oldPredicate = t0;
  15168. },
  15169. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  15170. this._box_0 = t0;
  15171. },
  15172. Trace_toString_closure0: function Trace_toString_closure0() {
  15173. },
  15174. Trace_toString_closure: function Trace_toString_closure(t0) {
  15175. this.longest = t0;
  15176. },
  15177. UnparsedFrame: function UnparsedFrame(t0, t1) {
  15178. this.uri = t0;
  15179. this.member = t1;
  15180. },
  15181. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  15182. var _null = null, t1 = {},
  15183. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  15184. t1.subscription = null;
  15185. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  15186. return controller.get$stream();
  15187. },
  15188. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  15189. sink.addError$2(error, stackTrace);
  15190. },
  15191. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  15192. var _ = this;
  15193. _._box_1 = t0;
  15194. _._this = t1;
  15195. _.handleData = t2;
  15196. _.controller = t3;
  15197. _.handleError = t4;
  15198. _.handleDone = t5;
  15199. _.S = t6;
  15200. },
  15201. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  15202. this.handleData = t0;
  15203. this.controller = t1;
  15204. this.S = t2;
  15205. },
  15206. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  15207. this.handleError = t0;
  15208. this.controller = t1;
  15209. },
  15210. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  15211. this._box_0 = t0;
  15212. this.handleDone = t1;
  15213. this.controller = t2;
  15214. },
  15215. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  15216. this._box_1 = t0;
  15217. this._box_0 = t1;
  15218. },
  15219. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  15220. var t1 = {};
  15221. t1.soFar = t1.timer = null;
  15222. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  15223. 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);
  15224. },
  15225. _collect($event, soFar, $T) {
  15226. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  15227. J.add$1$ax(t1, $event);
  15228. return t1;
  15229. },
  15230. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  15231. var _ = this;
  15232. _._box_0 = t0;
  15233. _.S = t1;
  15234. _.collect = t2;
  15235. _.leading = t3;
  15236. _.duration = t4;
  15237. _.trailing = t5;
  15238. _.T = t6;
  15239. },
  15240. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  15241. this._box_0 = t0;
  15242. this.sink = t1;
  15243. this.S = t2;
  15244. },
  15245. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  15246. var _ = this;
  15247. _._box_0 = t0;
  15248. _.trailing = t1;
  15249. _.emit = t2;
  15250. _.sink = t3;
  15251. },
  15252. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  15253. this._box_0 = t0;
  15254. this.trailing = t1;
  15255. this.S = t2;
  15256. },
  15257. StringScannerException$(message, span, source) {
  15258. return new A.StringScannerException(source, message, span);
  15259. },
  15260. StringScannerException: function StringScannerException(t0, t1, t2) {
  15261. this.source = t0;
  15262. this._span_exception$_message = t1;
  15263. this._span = t2;
  15264. },
  15265. LineScanner$(string) {
  15266. return new A.LineScanner(null, string);
  15267. },
  15268. LineScanner: function LineScanner(t0, t1) {
  15269. var _ = this;
  15270. _._line_scanner$_column = _._line_scanner$_line = 0;
  15271. _.sourceUrl = t0;
  15272. _.string = t1;
  15273. _._string_scanner$_position = 0;
  15274. _._lastMatchPosition = _._lastMatch = null;
  15275. },
  15276. SpanScanner$(string, sourceUrl) {
  15277. var t2,
  15278. t1 = A.SourceFile$fromString(string, sourceUrl);
  15279. if (sourceUrl == null)
  15280. t2 = null;
  15281. else
  15282. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15283. return new A.SpanScanner(t1, t2, string);
  15284. },
  15285. SpanScanner: function SpanScanner(t0, t1, t2) {
  15286. var _ = this;
  15287. _._sourceFile = t0;
  15288. _.sourceUrl = t1;
  15289. _.string = t2;
  15290. _._string_scanner$_position = 0;
  15291. _._lastMatchPosition = _._lastMatch = null;
  15292. },
  15293. _SpanScannerState: function _SpanScannerState(t0, t1) {
  15294. this._scanner = t0;
  15295. this.position = t1;
  15296. },
  15297. StringScanner$(string, position, sourceUrl) {
  15298. var t1;
  15299. if (sourceUrl == null)
  15300. t1 = null;
  15301. else
  15302. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  15303. return new A.StringScanner(t1, string);
  15304. },
  15305. StringScanner: function StringScanner(t0, t1) {
  15306. var _ = this;
  15307. _.sourceUrl = t0;
  15308. _.string = t1;
  15309. _._string_scanner$_position = 0;
  15310. _._lastMatchPosition = _._lastMatch = null;
  15311. },
  15312. AsciiGlyphSet: function AsciiGlyphSet() {
  15313. },
  15314. UnicodeGlyphSet: function UnicodeGlyphSet() {
  15315. },
  15316. Tuple2: function Tuple2(t0, t1, t2) {
  15317. this.item1 = t0;
  15318. this.item2 = t1;
  15319. this.$ti = t2;
  15320. },
  15321. Tuple3: function Tuple3(t0, t1, t2, t3) {
  15322. var _ = this;
  15323. _.item1 = t0;
  15324. _.item2 = t1;
  15325. _.item3 = t2;
  15326. _.$ti = t3;
  15327. },
  15328. Tuple4: function Tuple4(t0, t1, t2, t3, t4) {
  15329. var _ = this;
  15330. _.item1 = t0;
  15331. _.item2 = t1;
  15332. _.item3 = t2;
  15333. _.item4 = t3;
  15334. _.$ti = t4;
  15335. },
  15336. WatchEvent: function WatchEvent(t0, t1) {
  15337. this.type = t0;
  15338. this.path = t1;
  15339. },
  15340. ChangeType: function ChangeType(t0) {
  15341. this._watch_event$_name = t0;
  15342. },
  15343. AnySelectorVisitor0: function AnySelectorVisitor0() {
  15344. },
  15345. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  15346. this.$this = t0;
  15347. },
  15348. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  15349. this.$this = t0;
  15350. },
  15351. SupportsAnything0: function SupportsAnything0(t0, t1) {
  15352. this.contents = t0;
  15353. this.span = t1;
  15354. },
  15355. Argument0: function Argument0(t0, t1, t2) {
  15356. this.name = t0;
  15357. this.defaultValue = t1;
  15358. this.span = t2;
  15359. },
  15360. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  15361. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  15362. },
  15363. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  15364. this.$arguments = t0;
  15365. this.restArgument = t1;
  15366. this.span = t2;
  15367. },
  15368. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  15369. },
  15370. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  15371. },
  15372. ArgumentInvocation$empty0(span) {
  15373. return new A.ArgumentInvocation0(B.List_empty21, B.Map_empty9, null, null, span);
  15374. },
  15375. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  15376. var _ = this;
  15377. _.positional = t0;
  15378. _.named = t1;
  15379. _.rest = t2;
  15380. _.keywordRest = t3;
  15381. _.span = t4;
  15382. },
  15383. argumentListClass_closure: function argumentListClass_closure() {
  15384. },
  15385. argumentListClass__closure: function argumentListClass__closure() {
  15386. },
  15387. argumentListClass__closure0: function argumentListClass__closure0() {
  15388. },
  15389. SassArgumentList$0(contents, keywords, separator) {
  15390. var t1 = type$.Value_2;
  15391. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15392. t1.SassList$3$brackets0(contents, separator, false);
  15393. return t1;
  15394. },
  15395. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  15396. var _ = this;
  15397. _._argument_list$_keywords = t0;
  15398. _._argument_list$_wereKeywordsAccessed = false;
  15399. _._list1$_contents = t1;
  15400. _._list1$_separator = t2;
  15401. _._list1$_hasBrackets = t3;
  15402. },
  15403. JSArray1: function JSArray1() {
  15404. },
  15405. AsyncImporter0: function AsyncImporter0() {
  15406. },
  15407. NodeToDartAsyncImporter: function NodeToDartAsyncImporter(t0, t1) {
  15408. this._async0$_canonicalize = t0;
  15409. this._load = t1;
  15410. },
  15411. AsyncBuiltInCallable$mixin0($name, $arguments, callback, url) {
  15412. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback));
  15413. },
  15414. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2) {
  15415. this.name = t0;
  15416. this._async_built_in0$_arguments = t1;
  15417. this._async_built_in0$_callback = t2;
  15418. },
  15419. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  15420. this.callback = t0;
  15421. },
  15422. compileAsync0(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  15423. var $async$goto = 0,
  15424. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15425. $async$returnValue, terseLogger, t1, t2, t3, stylesheet, t4, result;
  15426. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15427. if ($async$errorCode === 1)
  15428. return A._asyncRethrow($async$result, $async$completer);
  15429. while (true)
  15430. switch ($async$goto) {
  15431. case 0:
  15432. // Function start
  15433. if (!verbose) {
  15434. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  15435. logger = terseLogger;
  15436. } else
  15437. terseLogger = null;
  15438. t1 = nodeImporter == null;
  15439. if (t1)
  15440. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  15441. else
  15442. t2 = false;
  15443. $async$goto = t2 ? 3 : 5;
  15444. break;
  15445. case 3:
  15446. // then
  15447. if (importCache == null)
  15448. importCache = A.AsyncImportCache$none(logger);
  15449. t2 = $.$get$context();
  15450. t3 = t2.absolute$7(".", null, null, null, null, null, null);
  15451. $async$goto = 6;
  15452. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), null, null, null, null, null, null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path)), $async$compileAsync0);
  15453. case 6:
  15454. // returning from await.
  15455. t3 = $async$result;
  15456. t3.toString;
  15457. stylesheet = t3;
  15458. // goto join
  15459. $async$goto = 4;
  15460. break;
  15461. case 5:
  15462. // else
  15463. t2 = A.readFile0(path);
  15464. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  15465. t4 = $.$get$context();
  15466. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
  15467. t2 = t4;
  15468. case 4:
  15469. // join
  15470. $async$goto = 7;
  15471. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", null, null, null, null, null, null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  15472. case 7:
  15473. // returning from await.
  15474. result = $async$result;
  15475. if (terseLogger != null)
  15476. terseLogger.summarize$1$node(!t1);
  15477. $async$returnValue = result;
  15478. // goto return
  15479. $async$goto = 1;
  15480. break;
  15481. case 1:
  15482. // return
  15483. return A._asyncReturn($async$returnValue, $async$completer);
  15484. }
  15485. });
  15486. return A._asyncStartSync($async$compileAsync0, $async$completer);
  15487. },
  15488. compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  15489. var $async$goto = 0,
  15490. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15491. $async$returnValue, terseLogger, stylesheet, result;
  15492. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15493. if ($async$errorCode === 1)
  15494. return A._asyncRethrow($async$result, $async$completer);
  15495. while (true)
  15496. switch ($async$goto) {
  15497. case 0:
  15498. // Function start
  15499. if (!verbose) {
  15500. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  15501. logger = terseLogger;
  15502. } else
  15503. terseLogger = null;
  15504. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  15505. $async$goto = 3;
  15506. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", null, null, null, null, null, null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  15507. case 3:
  15508. // returning from await.
  15509. result = $async$result;
  15510. if (terseLogger != null)
  15511. terseLogger.summarize$1$node(nodeImporter != null);
  15512. $async$returnValue = result;
  15513. // goto return
  15514. $async$goto = 1;
  15515. break;
  15516. case 1:
  15517. // return
  15518. return A._asyncReturn($async$returnValue, $async$completer);
  15519. }
  15520. });
  15521. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  15522. },
  15523. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  15524. var $async$goto = 0,
  15525. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  15526. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  15527. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15528. if ($async$errorCode === 1)
  15529. return A._asyncRethrow($async$result, $async$completer);
  15530. while (true)
  15531. switch ($async$goto) {
  15532. case 0:
  15533. // Function start
  15534. $async$goto = 3;
  15535. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  15536. case 3:
  15537. // returning from await.
  15538. evaluateResult = $async$result;
  15539. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  15540. resultSourceMap = serializeResult.sourceMap;
  15541. if (resultSourceMap != null && importCache != null)
  15542. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  15543. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  15544. // goto return
  15545. $async$goto = 1;
  15546. break;
  15547. case 1:
  15548. // return
  15549. return A._asyncReturn($async$returnValue, $async$completer);
  15550. }
  15551. });
  15552. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  15553. },
  15554. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  15555. this.stylesheet = t0;
  15556. this.importCache = t1;
  15557. },
  15558. AsyncEnvironment$0() {
  15559. var t1 = type$.String,
  15560. t2 = type$.Module_AsyncCallable_2,
  15561. t3 = type$.AstNode_2,
  15562. t4 = type$.int,
  15563. t5 = type$.AsyncCallable_2,
  15564. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  15565. 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);
  15566. },
  15567. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  15568. var t1 = type$.String,
  15569. t2 = type$.int;
  15570. 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);
  15571. },
  15572. _EnvironmentModule__EnvironmentModule2(environment, css, extensionStore, forwarded) {
  15573. var t1, t2, t3, t4, t5, t6;
  15574. if (forwarded == null)
  15575. forwarded = B.Set_empty5;
  15576. t1 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  15577. 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);
  15578. 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);
  15579. t4 = type$.Map_String_AsyncCallable_2;
  15580. t5 = type$.AsyncCallable_2;
  15581. 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);
  15582. 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);
  15583. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  15584. 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()));
  15585. },
  15586. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  15587. var modulesByVariable, t1, t2, t3, t4, t5;
  15588. if (forwarded.get$isEmpty(forwarded))
  15589. return B.Map_empty10;
  15590. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  15591. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  15592. t2 = t1.get$current(t1);
  15593. if (t2 instanceof A._EnvironmentModule2) {
  15594. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  15595. t4 = t3.get$current(t3);
  15596. t5 = t4.get$variables();
  15597. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  15598. }
  15599. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  15600. } else {
  15601. t3 = t2.get$variables();
  15602. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  15603. }
  15604. }
  15605. return modulesByVariable;
  15606. },
  15607. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  15608. var t1, t2, t3;
  15609. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  15610. if (otherMaps.get$isEmpty(otherMaps))
  15611. return localMap;
  15612. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  15613. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  15614. t3 = t2.get$current(t2);
  15615. if (t3.get$isNotEmpty(t3))
  15616. t1.push(t3);
  15617. }
  15618. t1.push(localMap);
  15619. if (t1.length === 1)
  15620. return localMap;
  15621. return A.MergedMapView$0(t1, type$.String, $V);
  15622. },
  15623. _EnvironmentModule$_2(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  15624. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  15625. },
  15626. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  15627. var _ = this;
  15628. _._async_environment0$_modules = t0;
  15629. _._async_environment0$_namespaceNodes = t1;
  15630. _._async_environment0$_globalModules = t2;
  15631. _._async_environment0$_importedModules = t3;
  15632. _._async_environment0$_forwardedModules = t4;
  15633. _._async_environment0$_nestedForwardedModules = t5;
  15634. _._async_environment0$_allModules = t6;
  15635. _._async_environment0$_variables = t7;
  15636. _._async_environment0$_variableNodes = t8;
  15637. _._async_environment0$_variableIndices = t9;
  15638. _._async_environment0$_functions = t10;
  15639. _._async_environment0$_functionIndices = t11;
  15640. _._async_environment0$_mixins = t12;
  15641. _._async_environment0$_mixinIndices = t13;
  15642. _._async_environment0$_content = t14;
  15643. _._async_environment0$_inMixin = false;
  15644. _._async_environment0$_inSemiGlobalScope = true;
  15645. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  15646. },
  15647. AsyncEnvironment_importForwards_closure2: function AsyncEnvironment_importForwards_closure2() {
  15648. },
  15649. AsyncEnvironment_importForwards_closure3: function AsyncEnvironment_importForwards_closure3() {
  15650. },
  15651. AsyncEnvironment_importForwards_closure4: function AsyncEnvironment_importForwards_closure4() {
  15652. },
  15653. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  15654. this.name = t0;
  15655. },
  15656. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  15657. this.$this = t0;
  15658. this.name = t1;
  15659. },
  15660. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  15661. this.name = t0;
  15662. },
  15663. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  15664. this.$this = t0;
  15665. this.name = t1;
  15666. },
  15667. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  15668. this.name = t0;
  15669. },
  15670. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  15671. this.name = t0;
  15672. },
  15673. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  15674. },
  15675. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  15676. },
  15677. AsyncEnvironment__fromOneModule_closure0: function AsyncEnvironment__fromOneModule_closure0(t0, t1) {
  15678. this.callback = t0;
  15679. this.T = t1;
  15680. },
  15681. AsyncEnvironment__fromOneModule__closure0: function AsyncEnvironment__fromOneModule__closure0(t0, t1) {
  15682. this.entry = t0;
  15683. this.T = t1;
  15684. },
  15685. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  15686. var _ = this;
  15687. _.upstream = t0;
  15688. _.variables = t1;
  15689. _.variableNodes = t2;
  15690. _.functions = t3;
  15691. _.mixins = t4;
  15692. _.extensionStore = t5;
  15693. _.css = t6;
  15694. _.transitivelyContainsCss = t7;
  15695. _.transitivelyContainsExtensions = t8;
  15696. _._async_environment0$_environment = t9;
  15697. _._async_environment0$_modulesByVariable = t10;
  15698. },
  15699. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  15700. },
  15701. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  15702. },
  15703. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  15704. },
  15705. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  15706. },
  15707. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  15708. },
  15709. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  15710. },
  15711. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  15712. var t4,
  15713. t1 = type$.Uri,
  15714. t2 = type$.Module_AsyncCallable_2,
  15715. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  15716. if (nodeImporter == null)
  15717. t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
  15718. else
  15719. t4 = null;
  15720. 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);
  15721. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  15722. return t1;
  15723. },
  15724. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  15725. var _ = this;
  15726. _._async_evaluate0$_importCache = t0;
  15727. _._async_evaluate0$_nodeImporter = t1;
  15728. _._async_evaluate0$_builtInFunctions = t2;
  15729. _._async_evaluate0$_builtInModules = t3;
  15730. _._async_evaluate0$_modules = t4;
  15731. _._async_evaluate0$_moduleConfigurations = t5;
  15732. _._async_evaluate0$_moduleNodes = t6;
  15733. _._async_evaluate0$_logger = t7;
  15734. _._async_evaluate0$_warningsEmitted = t8;
  15735. _._async_evaluate0$_quietDeps = t9;
  15736. _._async_evaluate0$_sourceMap = t10;
  15737. _._async_evaluate0$_environment = t11;
  15738. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  15739. _._async_evaluate0$_member = "root stylesheet";
  15740. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  15741. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  15742. _._async_evaluate0$_loadedUrls = t12;
  15743. _._async_evaluate0$_activeModules = t13;
  15744. _._async_evaluate0$_stack = t14;
  15745. _._async_evaluate0$_importer = null;
  15746. _._async_evaluate0$_inDependency = false;
  15747. _._async_evaluate0$__extensionStore = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  15748. _._async_evaluate0$_configuration = t15;
  15749. },
  15750. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  15751. this.$this = t0;
  15752. },
  15753. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  15754. this.$this = t0;
  15755. },
  15756. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  15757. this.$this = t0;
  15758. },
  15759. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  15760. this.$this = t0;
  15761. },
  15762. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  15763. this.$this = t0;
  15764. },
  15765. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  15766. this.$this = t0;
  15767. },
  15768. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  15769. this.$this = t0;
  15770. },
  15771. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  15772. this.$this = t0;
  15773. },
  15774. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  15775. this.$this = t0;
  15776. this.name = t1;
  15777. this.module = t2;
  15778. },
  15779. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  15780. this.$this = t0;
  15781. },
  15782. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  15783. this.$this = t0;
  15784. },
  15785. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0, t1, t2) {
  15786. this.values = t0;
  15787. this.span = t1;
  15788. this.callableNode = t2;
  15789. },
  15790. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0) {
  15791. this.$this = t0;
  15792. },
  15793. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  15794. this.$this = t0;
  15795. this.node = t1;
  15796. this.importer = t2;
  15797. },
  15798. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  15799. this.callback = t0;
  15800. this.builtInModule = t1;
  15801. },
  15802. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  15803. var _ = this;
  15804. _.$this = t0;
  15805. _.url = t1;
  15806. _.nodeWithSpan = t2;
  15807. _.baseUrl = t3;
  15808. _.namesInErrors = t4;
  15809. _.configuration = t5;
  15810. _.callback = t6;
  15811. },
  15812. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1) {
  15813. this.$this = t0;
  15814. this.message = t1;
  15815. },
  15816. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5) {
  15817. var _ = this;
  15818. _.$this = t0;
  15819. _.importer = t1;
  15820. _.stylesheet = t2;
  15821. _.extensionStore = t3;
  15822. _.configuration = t4;
  15823. _.css = t5;
  15824. },
  15825. _EvaluateVisitor__combineCss_closure8: function _EvaluateVisitor__combineCss_closure8() {
  15826. },
  15827. _EvaluateVisitor__combineCss_closure9: function _EvaluateVisitor__combineCss_closure9(t0) {
  15828. this.selectors = t0;
  15829. },
  15830. _EvaluateVisitor__combineCss_closure10: function _EvaluateVisitor__combineCss_closure10() {
  15831. },
  15832. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  15833. this.originalSelectors = t0;
  15834. },
  15835. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  15836. },
  15837. _EvaluateVisitor__topologicalModules_visitModule2: function _EvaluateVisitor__topologicalModules_visitModule2(t0, t1) {
  15838. this.seen = t0;
  15839. this.sorted = t1;
  15840. },
  15841. _EvaluateVisitor_visitAtRootRule_closure8: function _EvaluateVisitor_visitAtRootRule_closure8(t0, t1) {
  15842. this.$this = t0;
  15843. this.resolved = t1;
  15844. },
  15845. _EvaluateVisitor_visitAtRootRule_closure9: function _EvaluateVisitor_visitAtRootRule_closure9(t0, t1) {
  15846. this.$this = t0;
  15847. this.node = t1;
  15848. },
  15849. _EvaluateVisitor_visitAtRootRule_closure10: function _EvaluateVisitor_visitAtRootRule_closure10(t0, t1) {
  15850. this.$this = t0;
  15851. this.node = t1;
  15852. },
  15853. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  15854. this.$this = t0;
  15855. this.newParent = t1;
  15856. this.node = t2;
  15857. },
  15858. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  15859. this.$this = t0;
  15860. this.innerScope = t1;
  15861. },
  15862. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  15863. this.$this = t0;
  15864. this.innerScope = t1;
  15865. },
  15866. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  15867. this.innerScope = t0;
  15868. this.callback = t1;
  15869. },
  15870. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  15871. this.$this = t0;
  15872. this.innerScope = t1;
  15873. },
  15874. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  15875. },
  15876. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  15877. this.$this = t0;
  15878. this.innerScope = t1;
  15879. },
  15880. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  15881. this.$this = t0;
  15882. this.content = t1;
  15883. },
  15884. _EvaluateVisitor_visitDeclaration_closure5: function _EvaluateVisitor_visitDeclaration_closure5(t0) {
  15885. this.$this = t0;
  15886. },
  15887. _EvaluateVisitor_visitDeclaration_closure6: function _EvaluateVisitor_visitDeclaration_closure6(t0, t1) {
  15888. this.$this = t0;
  15889. this.children = t1;
  15890. },
  15891. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  15892. this.$this = t0;
  15893. this.node = t1;
  15894. this.nodeWithSpan = t2;
  15895. },
  15896. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  15897. this.$this = t0;
  15898. this.node = t1;
  15899. this.nodeWithSpan = t2;
  15900. },
  15901. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  15902. var _ = this;
  15903. _.$this = t0;
  15904. _.list = t1;
  15905. _.setVariables = t2;
  15906. _.node = t3;
  15907. },
  15908. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  15909. this.$this = t0;
  15910. this.setVariables = t1;
  15911. this.node = t2;
  15912. },
  15913. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  15914. this.$this = t0;
  15915. },
  15916. _EvaluateVisitor_visitExtendRule_closure2: function _EvaluateVisitor_visitExtendRule_closure2(t0, t1) {
  15917. this.$this = t0;
  15918. this.targetText = t1;
  15919. },
  15920. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  15921. this.$this = t0;
  15922. },
  15923. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1) {
  15924. this.$this = t0;
  15925. this.children = t1;
  15926. },
  15927. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  15928. this.$this = t0;
  15929. this.children = t1;
  15930. },
  15931. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  15932. },
  15933. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  15934. this.$this = t0;
  15935. this.node = t1;
  15936. },
  15937. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  15938. this.$this = t0;
  15939. this.node = t1;
  15940. },
  15941. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  15942. this.fromNumber = t0;
  15943. },
  15944. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  15945. this.toNumber = t0;
  15946. this.fromNumber = t1;
  15947. },
  15948. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  15949. var _ = this;
  15950. _._box_0 = t0;
  15951. _.$this = t1;
  15952. _.node = t2;
  15953. _.from = t3;
  15954. _.direction = t4;
  15955. _.fromNumber = t5;
  15956. },
  15957. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  15958. this.$this = t0;
  15959. },
  15960. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  15961. this.$this = t0;
  15962. this.node = t1;
  15963. },
  15964. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  15965. this.$this = t0;
  15966. this.node = t1;
  15967. },
  15968. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0, t1) {
  15969. this._box_0 = t0;
  15970. this.$this = t1;
  15971. },
  15972. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0) {
  15973. this.$this = t0;
  15974. },
  15975. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  15976. this.$this = t0;
  15977. this.$import = t1;
  15978. },
  15979. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  15980. this.$this = t0;
  15981. },
  15982. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  15983. },
  15984. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  15985. },
  15986. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4, t5) {
  15987. var _ = this;
  15988. _.$this = t0;
  15989. _.result = t1;
  15990. _.stylesheet = t2;
  15991. _.loadsUserDefinedModules = t3;
  15992. _.environment = t4;
  15993. _.children = t5;
  15994. },
  15995. _EvaluateVisitor_visitIncludeRule_closure11: function _EvaluateVisitor_visitIncludeRule_closure11(t0, t1) {
  15996. this.$this = t0;
  15997. this.node = t1;
  15998. },
  15999. _EvaluateVisitor_visitIncludeRule_closure12: function _EvaluateVisitor_visitIncludeRule_closure12(t0) {
  16000. this.node = t0;
  16001. },
  16002. _EvaluateVisitor_visitIncludeRule_closure14: function _EvaluateVisitor_visitIncludeRule_closure14(t0) {
  16003. this.$this = t0;
  16004. },
  16005. _EvaluateVisitor_visitIncludeRule_closure13: function _EvaluateVisitor_visitIncludeRule_closure13(t0, t1, t2, t3) {
  16006. var _ = this;
  16007. _.$this = t0;
  16008. _.contentCallable = t1;
  16009. _.mixin = t2;
  16010. _.nodeWithSpan = t3;
  16011. },
  16012. _EvaluateVisitor_visitIncludeRule__closure2: function _EvaluateVisitor_visitIncludeRule__closure2(t0, t1, t2) {
  16013. this.$this = t0;
  16014. this.mixin = t1;
  16015. this.nodeWithSpan = t2;
  16016. },
  16017. _EvaluateVisitor_visitIncludeRule___closure2: function _EvaluateVisitor_visitIncludeRule___closure2(t0, t1, t2) {
  16018. this.$this = t0;
  16019. this.mixin = t1;
  16020. this.nodeWithSpan = t2;
  16021. },
  16022. _EvaluateVisitor_visitIncludeRule____closure2: function _EvaluateVisitor_visitIncludeRule____closure2(t0, t1) {
  16023. this.$this = t0;
  16024. this.statement = t1;
  16025. },
  16026. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  16027. this.$this = t0;
  16028. this.queries = t1;
  16029. },
  16030. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  16031. var _ = this;
  16032. _.$this = t0;
  16033. _.mergedQueries = t1;
  16034. _.queries = t2;
  16035. _.mergedSources = t3;
  16036. _.node = t4;
  16037. },
  16038. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  16039. this.$this = t0;
  16040. this.node = t1;
  16041. },
  16042. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  16043. this.$this = t0;
  16044. this.node = t1;
  16045. },
  16046. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  16047. this.mergedSources = t0;
  16048. },
  16049. _EvaluateVisitor__visitMediaQueries_closure2: function _EvaluateVisitor__visitMediaQueries_closure2(t0, t1) {
  16050. this.$this = t0;
  16051. this.resolved = t1;
  16052. },
  16053. _EvaluateVisitor_visitStyleRule_closure23: function _EvaluateVisitor_visitStyleRule_closure23(t0, t1) {
  16054. this.$this = t0;
  16055. this.selectorText = t1;
  16056. },
  16057. _EvaluateVisitor_visitStyleRule_closure24: function _EvaluateVisitor_visitStyleRule_closure24(t0, t1) {
  16058. this.$this = t0;
  16059. this.node = t1;
  16060. },
  16061. _EvaluateVisitor_visitStyleRule_closure25: function _EvaluateVisitor_visitStyleRule_closure25() {
  16062. },
  16063. _EvaluateVisitor_visitStyleRule_closure26: function _EvaluateVisitor_visitStyleRule_closure26(t0, t1) {
  16064. this.$this = t0;
  16065. this.selectorText = t1;
  16066. },
  16067. _EvaluateVisitor_visitStyleRule_closure27: function _EvaluateVisitor_visitStyleRule_closure27(t0, t1) {
  16068. this._box_0 = t0;
  16069. this.$this = t1;
  16070. },
  16071. _EvaluateVisitor_visitStyleRule_closure28: function _EvaluateVisitor_visitStyleRule_closure28(t0, t1, t2) {
  16072. this.$this = t0;
  16073. this.rule = t1;
  16074. this.node = t2;
  16075. },
  16076. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  16077. this.$this = t0;
  16078. this.node = t1;
  16079. },
  16080. _EvaluateVisitor_visitStyleRule_closure29: function _EvaluateVisitor_visitStyleRule_closure29() {
  16081. },
  16082. _EvaluateVisitor_visitStyleRule_closure30: function _EvaluateVisitor_visitStyleRule_closure30() {
  16083. },
  16084. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  16085. this.$this = t0;
  16086. this.node = t1;
  16087. },
  16088. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  16089. this.$this = t0;
  16090. this.node = t1;
  16091. },
  16092. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  16093. },
  16094. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  16095. this.$this = t0;
  16096. this.node = t1;
  16097. this.override = t2;
  16098. },
  16099. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  16100. this.$this = t0;
  16101. this.node = t1;
  16102. },
  16103. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  16104. this.$this = t0;
  16105. this.node = t1;
  16106. this.value = t2;
  16107. },
  16108. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  16109. this.$this = t0;
  16110. this.node = t1;
  16111. },
  16112. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  16113. this.$this = t0;
  16114. this.node = t1;
  16115. },
  16116. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  16117. this.$this = t0;
  16118. this.node = t1;
  16119. },
  16120. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  16121. this.$this = t0;
  16122. },
  16123. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  16124. this.$this = t0;
  16125. this.node = t1;
  16126. },
  16127. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2() {
  16128. },
  16129. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  16130. this.$this = t0;
  16131. this.node = t1;
  16132. },
  16133. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  16134. this.node = t0;
  16135. this.operand = t1;
  16136. },
  16137. _EvaluateVisitor__visitCalculationValue_closure2: function _EvaluateVisitor__visitCalculationValue_closure2(t0, t1, t2) {
  16138. this.$this = t0;
  16139. this.node = t1;
  16140. this.inMinMax = t2;
  16141. },
  16142. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  16143. this.$this = t0;
  16144. },
  16145. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  16146. this.$this = t0;
  16147. this.node = t1;
  16148. },
  16149. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6(t0, t1, t2) {
  16150. this._box_0 = t0;
  16151. this.$this = t1;
  16152. this.node = t2;
  16153. },
  16154. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  16155. this.$this = t0;
  16156. this.node = t1;
  16157. this.$function = t2;
  16158. },
  16159. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  16160. var _ = this;
  16161. _.$this = t0;
  16162. _.callable = t1;
  16163. _.evaluated = t2;
  16164. _.nodeWithSpan = t3;
  16165. _.run = t4;
  16166. _.V = t5;
  16167. },
  16168. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  16169. var _ = this;
  16170. _.$this = t0;
  16171. _.evaluated = t1;
  16172. _.callable = t2;
  16173. _.nodeWithSpan = t3;
  16174. _.run = t4;
  16175. _.V = t5;
  16176. },
  16177. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  16178. var _ = this;
  16179. _.$this = t0;
  16180. _.evaluated = t1;
  16181. _.callable = t2;
  16182. _.nodeWithSpan = t3;
  16183. _.run = t4;
  16184. _.V = t5;
  16185. },
  16186. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  16187. },
  16188. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  16189. this.$this = t0;
  16190. this.callable = t1;
  16191. },
  16192. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  16193. this.overload = t0;
  16194. this.evaluated = t1;
  16195. this.namedSet = t2;
  16196. },
  16197. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6() {
  16198. },
  16199. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  16200. },
  16201. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  16202. this.$this = t0;
  16203. this.restNodeForSpan = t1;
  16204. },
  16205. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  16206. var _ = this;
  16207. _.$this = t0;
  16208. _.named = t1;
  16209. _.restNodeForSpan = t2;
  16210. _.namedNodes = t3;
  16211. },
  16212. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  16213. },
  16214. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  16215. this.restArgs = t0;
  16216. },
  16217. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  16218. this.$this = t0;
  16219. this.restNodeForSpan = t1;
  16220. this.restArgs = t2;
  16221. },
  16222. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  16223. var _ = this;
  16224. _.$this = t0;
  16225. _.named = t1;
  16226. _.restNodeForSpan = t2;
  16227. _.restArgs = t3;
  16228. },
  16229. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  16230. this.$this = t0;
  16231. this.keywordRestNodeForSpan = t1;
  16232. this.keywordRestArgs = t2;
  16233. },
  16234. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  16235. var _ = this;
  16236. _.$this = t0;
  16237. _.values = t1;
  16238. _.convert = t2;
  16239. _.expressionNode = t3;
  16240. _.map = t4;
  16241. _.nodeWithSpan = t5;
  16242. },
  16243. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  16244. this.$arguments = t0;
  16245. this.positional = t1;
  16246. this.named = t2;
  16247. },
  16248. _EvaluateVisitor_visitStringExpression_closure2: function _EvaluateVisitor_visitStringExpression_closure2(t0) {
  16249. this.$this = t0;
  16250. },
  16251. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  16252. this.$this = t0;
  16253. this.node = t1;
  16254. },
  16255. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  16256. },
  16257. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  16258. this.$this = t0;
  16259. this.node = t1;
  16260. },
  16261. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  16262. },
  16263. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  16264. this.$this = t0;
  16265. this.node = t1;
  16266. },
  16267. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  16268. var _ = this;
  16269. _.$this = t0;
  16270. _.mergedQueries = t1;
  16271. _.node = t2;
  16272. _.mergedSources = t3;
  16273. },
  16274. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  16275. this.$this = t0;
  16276. this.node = t1;
  16277. },
  16278. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  16279. this.$this = t0;
  16280. this.node = t1;
  16281. },
  16282. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  16283. this.mergedSources = t0;
  16284. },
  16285. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
  16286. this.$this = t0;
  16287. this.rule = t1;
  16288. this.node = t2;
  16289. },
  16290. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  16291. this.$this = t0;
  16292. this.node = t1;
  16293. },
  16294. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
  16295. },
  16296. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  16297. this.$this = t0;
  16298. this.node = t1;
  16299. },
  16300. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  16301. this.$this = t0;
  16302. this.node = t1;
  16303. },
  16304. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  16305. },
  16306. _EvaluateVisitor__performInterpolation_closure2: function _EvaluateVisitor__performInterpolation_closure2(t0, t1, t2) {
  16307. this.$this = t0;
  16308. this.warnForColor = t1;
  16309. this.interpolation = t2;
  16310. },
  16311. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  16312. this.value = t0;
  16313. this.quote = t1;
  16314. },
  16315. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  16316. this.$this = t0;
  16317. this.expression = t1;
  16318. },
  16319. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  16320. },
  16321. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  16322. this.$this = t0;
  16323. },
  16324. _EvaluateVisitor__stackTrace_closure2: function _EvaluateVisitor__stackTrace_closure2(t0) {
  16325. this.$this = t0;
  16326. },
  16327. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  16328. this._async_evaluate0$_visitor = t0;
  16329. },
  16330. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  16331. },
  16332. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  16333. this.hasBeenMerged = t0;
  16334. },
  16335. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  16336. },
  16337. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  16338. },
  16339. EvaluateResult0: function EvaluateResult0(t0, t1) {
  16340. this.stylesheet = t0;
  16341. this.loadedUrls = t1;
  16342. },
  16343. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  16344. this._async_evaluate0$_visitor = t0;
  16345. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  16346. },
  16347. _ArgumentResults2: function _ArgumentResults2(t0, t1, t2, t3, t4) {
  16348. var _ = this;
  16349. _.positional = t0;
  16350. _.positionalNodes = t1;
  16351. _.named = t2;
  16352. _.namedNodes = t3;
  16353. _.separator = t4;
  16354. },
  16355. _LoadedStylesheet2: function _LoadedStylesheet2(t0, t1, t2) {
  16356. this.stylesheet = t0;
  16357. this.importer = t1;
  16358. this.isDependency = t2;
  16359. },
  16360. NodeToDartAsyncFileImporter: function NodeToDartAsyncFileImporter(t0) {
  16361. this._findFileUrl = t0;
  16362. },
  16363. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  16364. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16365. t2 = type$.Uri,
  16366. t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  16367. 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));
  16368. },
  16369. AsyncImportCache$none(logger) {
  16370. var t1 = type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2,
  16371. t2 = type$.Uri;
  16372. 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));
  16373. },
  16374. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  16375. var sassPath, t2, t3, _i, path, _null = null,
  16376. t1 = J.get$env$x(self.process);
  16377. if (t1 == null)
  16378. t1 = type$.Object._as(t1);
  16379. sassPath = A._asStringQ(t1.SASS_PATH);
  16380. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  16381. if (importers != null)
  16382. B.JSArray_methods.addAll$1(t1, importers);
  16383. if (loadPaths != null)
  16384. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  16385. t3 = t2.get$current(t2);
  16386. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  16387. }
  16388. if (sassPath != null) {
  16389. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  16390. t3 = t2.length;
  16391. _i = 0;
  16392. for (; _i < t3; ++_i) {
  16393. path = t2[_i];
  16394. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  16395. }
  16396. }
  16397. return t1;
  16398. },
  16399. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
  16400. var _ = this;
  16401. _._async_import_cache0$_importers = t0;
  16402. _._async_import_cache0$_logger = t1;
  16403. _._async_import_cache0$_canonicalizeCache = t2;
  16404. _._async_import_cache0$_relativeCanonicalizeCache = t3;
  16405. _._async_import_cache0$_importCache = t4;
  16406. _._async_import_cache0$_resultsCache = t5;
  16407. },
  16408. AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  16409. var _ = this;
  16410. _.$this = t0;
  16411. _.baseUrl = t1;
  16412. _.url = t2;
  16413. _.baseImporter = t3;
  16414. _.forImport = t4;
  16415. },
  16416. AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2) {
  16417. this.$this = t0;
  16418. this.url = t1;
  16419. this.forImport = t2;
  16420. },
  16421. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  16422. this.importer = t0;
  16423. this.url = t1;
  16424. },
  16425. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  16426. var _ = this;
  16427. _.$this = t0;
  16428. _.importer = t1;
  16429. _.canonicalUrl = t2;
  16430. _.originalUrl = t3;
  16431. _.quiet = t4;
  16432. },
  16433. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  16434. this.canonicalUrl = t0;
  16435. },
  16436. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3() {
  16437. },
  16438. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  16439. },
  16440. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  16441. this.scanner = t0;
  16442. this.logger = t1;
  16443. },
  16444. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  16445. this.$this = t0;
  16446. },
  16447. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  16448. var _ = this;
  16449. _.include = t0;
  16450. _.names = t1;
  16451. _._at_root_query0$_all = t2;
  16452. _._at_root_query0$_rule = t3;
  16453. },
  16454. AtRootRule$0(children, span, query) {
  16455. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  16456. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  16457. return new A.AtRootRule0(query, span, t1, t2);
  16458. },
  16459. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  16460. var _ = this;
  16461. _.query = t0;
  16462. _.span = t1;
  16463. _.children = t2;
  16464. _.hasDeclarations = t3;
  16465. },
  16466. ModifiableCssAtRule$0($name, span, childless, value) {
  16467. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  16468. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  16469. },
  16470. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  16471. var _ = this;
  16472. _.name = t0;
  16473. _.value = t1;
  16474. _.isChildless = t2;
  16475. _.span = t3;
  16476. _.children = t4;
  16477. _._node0$_children = t5;
  16478. _._node0$_indexInParent = _._node0$_parent = null;
  16479. _.isGroupEnd = false;
  16480. },
  16481. AtRule$0($name, span, children, value) {
  16482. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  16483. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  16484. return new A.AtRule0($name, value, span, t1, t2 === true);
  16485. },
  16486. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  16487. var _ = this;
  16488. _.name = t0;
  16489. _.value = t1;
  16490. _.span = t2;
  16491. _.children = t3;
  16492. _.hasDeclarations = t4;
  16493. },
  16494. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3) {
  16495. var _ = this;
  16496. _.name = t0;
  16497. _.op = t1;
  16498. _.value = t2;
  16499. _.modifier = t3;
  16500. },
  16501. AttributeOperator0: function AttributeOperator0(t0, t1) {
  16502. this._attribute0$_text = t0;
  16503. this._name = t1;
  16504. },
  16505. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  16506. var _ = this;
  16507. _.operator = t0;
  16508. _.left = t1;
  16509. _.right = t2;
  16510. _.allowsSlash = t3;
  16511. },
  16512. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3) {
  16513. var _ = this;
  16514. _.name = t0;
  16515. _.operator = t1;
  16516. _.precedence = t2;
  16517. _._name = t3;
  16518. },
  16519. BooleanExpression0: function BooleanExpression0(t0, t1) {
  16520. this.value = t0;
  16521. this.span = t1;
  16522. },
  16523. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  16524. },
  16525. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  16526. },
  16527. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  16528. },
  16529. booleanClass_closure: function booleanClass_closure() {
  16530. },
  16531. booleanClass__closure: function booleanClass__closure() {
  16532. },
  16533. SassBoolean0: function SassBoolean0(t0) {
  16534. this.value = t0;
  16535. },
  16536. BuiltInCallable$function0($name, $arguments, callback, url) {
  16537. 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)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
  16538. },
  16539. BuiltInCallable$mixin0($name, $arguments, callback, url) {
  16540. 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)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value));
  16541. },
  16542. BuiltInCallable$overloadedFunction0($name, overloads) {
  16543. var t2, t3, t4, t5, t6, t7, t8,
  16544. t1 = A._setArrayType([], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value);
  16545. 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_2; t2.moveNext$0();) {
  16546. t7 = t2.get$current(t2);
  16547. t8 = A.SpanScanner$(t4 + A.S(t7.key) + ") {", null);
  16548. t1.push(new A.Tuple2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t5, t6), t8, B.StderrLogger_false0).parseArgumentDeclaration$0(), t7.value, t3));
  16549. }
  16550. return new A.BuiltInCallable0($name, t1);
  16551. },
  16552. BuiltInCallable0: function BuiltInCallable0(t0, t1) {
  16553. this.name = t0;
  16554. this._built_in$_overloads = t1;
  16555. },
  16556. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  16557. this.callback = t0;
  16558. },
  16559. BuiltInModule$0($name, functions, mixins, variables, $T) {
  16560. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  16561. t2 = A.BuiltInModule__callableMap0(functions, $T),
  16562. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  16563. t4 = variables == null ? B.Map_empty8 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  16564. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  16565. },
  16566. BuiltInModule__callableMap0(callables, $T) {
  16567. var t2, _i, callable,
  16568. t1 = type$.String;
  16569. if (callables == null)
  16570. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  16571. else {
  16572. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  16573. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  16574. callable = callables[_i];
  16575. t1.$indexSet(0, J.get$name$x(callable), callable);
  16576. }
  16577. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  16578. }
  16579. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  16580. },
  16581. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  16582. var _ = this;
  16583. _.url = t0;
  16584. _.functions = t1;
  16585. _.mixins = t2;
  16586. _.variables = t3;
  16587. _.$ti = t4;
  16588. },
  16589. CalculationExpression__verifyArguments0($arguments) {
  16590. return A.List_List$unmodifiable(new A.MappedListIterable($arguments, new A.CalculationExpression__verifyArguments_closure0(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Expression_2);
  16591. },
  16592. CalculationExpression__verify0(expression) {
  16593. var t1,
  16594. _s29_ = "Invalid calculation argument ";
  16595. if (expression instanceof A.NumberExpression0)
  16596. return;
  16597. if (expression instanceof A.CalculationExpression0)
  16598. return;
  16599. if (expression instanceof A.VariableExpression0)
  16600. return;
  16601. if (expression instanceof A.FunctionExpression0)
  16602. return;
  16603. if (expression instanceof A.IfExpression0)
  16604. return;
  16605. if (expression instanceof A.StringExpression0) {
  16606. if (expression.hasQuotes)
  16607. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16608. } else if (expression instanceof A.ParenthesizedExpression0)
  16609. A.CalculationExpression__verify0(expression.expression);
  16610. else if (expression instanceof A.BinaryOperationExpression0) {
  16611. A.CalculationExpression__verify0(expression.left);
  16612. A.CalculationExpression__verify0(expression.right);
  16613. t1 = expression.operator;
  16614. if (t1 === B.BinaryOperator_qbf0)
  16615. return;
  16616. if (t1 === B.BinaryOperator_KlB0)
  16617. return;
  16618. if (t1 === B.BinaryOperator_6pl0)
  16619. return;
  16620. if (t1 === B.BinaryOperator_qpm0)
  16621. return;
  16622. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16623. } else
  16624. throw A.wrapException(A.ArgumentError$(_s29_ + expression.toString$0(0) + ".", null));
  16625. },
  16626. CalculationExpression0: function CalculationExpression0(t0, t1, t2) {
  16627. this.name = t0;
  16628. this.$arguments = t1;
  16629. this.span = t2;
  16630. },
  16631. CalculationExpression__verifyArguments_closure0: function CalculationExpression__verifyArguments_closure0() {
  16632. },
  16633. SassCalculation_calc0(argument) {
  16634. argument = A.SassCalculation__simplify0(argument);
  16635. if (argument instanceof A.SassNumber0)
  16636. return argument;
  16637. if (argument instanceof A.SassCalculation0)
  16638. return argument;
  16639. return new A.SassCalculation0("calc", A.List_List$unmodifiable([argument], type$.Object));
  16640. },
  16641. SassCalculation_min0($arguments) {
  16642. var minimum, _i, arg, t2,
  16643. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16644. t1 = args.length;
  16645. if (t1 === 0)
  16646. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  16647. for (minimum = null, _i = 0; _i < t1; ++_i) {
  16648. arg = args[_i];
  16649. if (arg instanceof A.SassNumber0)
  16650. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  16651. else
  16652. t2 = true;
  16653. if (t2) {
  16654. minimum = null;
  16655. break;
  16656. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  16657. minimum = arg;
  16658. }
  16659. if (minimum != null)
  16660. return minimum;
  16661. A.SassCalculation__verifyCompatibleNumbers0(args);
  16662. return new A.SassCalculation0("min", args);
  16663. },
  16664. SassCalculation_max0($arguments) {
  16665. var maximum, _i, arg, t2,
  16666. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  16667. t1 = args.length;
  16668. if (t1 === 0)
  16669. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  16670. for (maximum = null, _i = 0; _i < t1; ++_i) {
  16671. arg = args[_i];
  16672. if (arg instanceof A.SassNumber0)
  16673. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  16674. else
  16675. t2 = true;
  16676. if (t2) {
  16677. maximum = null;
  16678. break;
  16679. } else if (maximum == null || maximum.lessThan$1(arg).value)
  16680. maximum = arg;
  16681. }
  16682. if (maximum != null)
  16683. return maximum;
  16684. A.SassCalculation__verifyCompatibleNumbers0(args);
  16685. return new A.SassCalculation0("max", args);
  16686. },
  16687. SassCalculation_clamp0(min, value, max) {
  16688. var t1, args;
  16689. if (value == null && max != null)
  16690. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  16691. min = A.SassCalculation__simplify0(min);
  16692. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  16693. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  16694. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  16695. if (value.lessThanOrEquals$1(min).value)
  16696. return min;
  16697. if (value.greaterThanOrEquals$1(max).value)
  16698. return max;
  16699. return value;
  16700. }
  16701. t1 = [min];
  16702. if (value != null)
  16703. t1.push(value);
  16704. if (max != null)
  16705. t1.push(max);
  16706. args = A.List_List$unmodifiable(t1, type$.Object);
  16707. A.SassCalculation__verifyCompatibleNumbers0(args);
  16708. A.SassCalculation__verifyLength0(args, 3);
  16709. return new A.SassCalculation0("clamp", args);
  16710. },
  16711. SassCalculation_operateInternal0(operator, left, right, inMinMax, simplify) {
  16712. var t1, t2;
  16713. if (!simplify)
  16714. return new A.CalculationOperation0(operator, left, right);
  16715. left = A.SassCalculation__simplify0(left);
  16716. right = A.SassCalculation__simplify0(right);
  16717. t1 = operator === B.CalculationOperator_IyK0;
  16718. if (t1 || operator === B.CalculationOperator_2bx0) {
  16719. if (left instanceof A.SassNumber0)
  16720. if (right instanceof A.SassNumber0)
  16721. t2 = inMinMax ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  16722. else
  16723. t2 = false;
  16724. else
  16725. t2 = false;
  16726. if (t2)
  16727. return t1 ? left.plus$1(right) : left.minus$1(right);
  16728. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  16729. if (right instanceof A.SassNumber0) {
  16730. t2 = right._number1$_value;
  16731. t2 = t2 < 0 && !A.fuzzyEquals0(t2, 0);
  16732. } else
  16733. t2 = false;
  16734. if (t2) {
  16735. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  16736. operator = t1 ? B.CalculationOperator_2bx0 : B.CalculationOperator_IyK0;
  16737. }
  16738. return new A.CalculationOperation0(operator, left, right);
  16739. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  16740. return operator === B.CalculationOperator_jFr0 ? left.times$1(right) : left.dividedBy$1(right);
  16741. else
  16742. return new A.CalculationOperation0(operator, left, right);
  16743. },
  16744. SassCalculation__simplify0(arg) {
  16745. var _s32_ = " can't be used in a calculation.";
  16746. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationInterpolation0 || arg instanceof A.CalculationOperation0)
  16747. return arg;
  16748. else if (arg instanceof A.SassString0) {
  16749. if (!arg._string0$_hasQuotes)
  16750. return arg;
  16751. throw A.wrapException(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, null));
  16752. } else if (arg instanceof A.SassCalculation0)
  16753. return arg.name === "calc" ? arg.$arguments[0] : arg;
  16754. else if (arg instanceof A.Value0)
  16755. throw A.wrapException(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, null));
  16756. else
  16757. throw A.wrapException(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", null));
  16758. },
  16759. SassCalculation__verifyCompatibleNumbers0(args) {
  16760. var t1, _i, t2, arg, i, number1, j, number2;
  16761. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  16762. arg = args[_i];
  16763. if (!(arg instanceof A.SassNumber0))
  16764. continue;
  16765. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  16766. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  16767. }
  16768. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  16769. number1 = args[i];
  16770. if (!(number1 instanceof A.SassNumber0))
  16771. continue;
  16772. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  16773. number2 = args[j];
  16774. if (!(number2 instanceof A.SassNumber0))
  16775. continue;
  16776. if (number1.hasPossiblyCompatibleUnits$1(number2))
  16777. continue;
  16778. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  16779. }
  16780. }
  16781. },
  16782. SassCalculation__verifyLength0(args, expectedLength) {
  16783. var t1 = args.length;
  16784. if (t1 === expectedLength)
  16785. return;
  16786. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  16787. return;
  16788. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  16789. },
  16790. SassCalculation0: function SassCalculation0(t0, t1) {
  16791. this.name = t0;
  16792. this.$arguments = t1;
  16793. },
  16794. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  16795. },
  16796. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  16797. this.operator = t0;
  16798. this.left = t1;
  16799. this.right = t2;
  16800. },
  16801. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  16802. var _ = this;
  16803. _.name = t0;
  16804. _.operator = t1;
  16805. _.precedence = t2;
  16806. _._name = t3;
  16807. },
  16808. CalculationInterpolation0: function CalculationInterpolation0(t0) {
  16809. this.value = t0;
  16810. },
  16811. CallableDeclaration0: function CallableDeclaration0() {
  16812. },
  16813. Chokidar0: function Chokidar0() {
  16814. },
  16815. ChokidarOptions0: function ChokidarOptions0() {
  16816. },
  16817. ChokidarWatcher0: function ChokidarWatcher0() {
  16818. },
  16819. ClassSelector0: function ClassSelector0(t0) {
  16820. this.name = t0;
  16821. },
  16822. cloneCssStylesheet0(stylesheet, extensionStore) {
  16823. var result = extensionStore.clone$0();
  16824. 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);
  16825. },
  16826. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  16827. this._clone_css$_oldToNewSelectors = t0;
  16828. },
  16829. ColorExpression0: function ColorExpression0(t0, t1) {
  16830. this.value = t0;
  16831. this.span = t1;
  16832. },
  16833. _updateComponents0($arguments, adjust, change, scale) {
  16834. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  16835. t1 = J.getInterceptor$asx($arguments),
  16836. color = t1.$index($arguments, 0).assertColor$1("color"),
  16837. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  16838. if (argumentList._list1$_contents.length !== 0)
  16839. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  16840. argumentList._argument_list$_wereKeywordsAccessed = true;
  16841. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  16842. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  16843. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  16844. red = t1.call$2("red", 255);
  16845. green = t1.call$2("green", 255);
  16846. blue = t1.call$2("blue", 255);
  16847. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  16848. saturation = t1.call$3$checkPercent("saturation", 100, true);
  16849. lightness = t1.call$3$checkPercent("lightness", 100, true);
  16850. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  16851. blackness = t1.call$3$assertPercent("blackness", 100, true);
  16852. t1 = keywords.__js_helper$_length;
  16853. if (t1 !== 0)
  16854. 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));
  16855. hasRgb = red != null || green != null || blue != null;
  16856. hasSL = saturation != null || lightness != null;
  16857. hasWB = whiteness != null || blackness != null;
  16858. if (hasRgb)
  16859. t1 = hasSL || hasWB || hue != null;
  16860. else
  16861. t1 = false;
  16862. if (t1)
  16863. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  16864. if (hasSL && hasWB)
  16865. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  16866. t1 = new A._updateComponents_updateValue0(change, adjust);
  16867. t2 = new A._updateComponents_updateRgb0(t1);
  16868. if (hasRgb) {
  16869. t3 = t2.call$2(color.get$red(color), red);
  16870. t4 = t2.call$2(color.get$green(color), green);
  16871. t2 = t2.call$2(color.get$blue(color), blue);
  16872. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  16873. } else if (hasWB) {
  16874. if (change)
  16875. t2 = hue;
  16876. else {
  16877. t2 = color.get$hue(color);
  16878. t2 += hue == null ? 0 : hue;
  16879. }
  16880. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  16881. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  16882. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  16883. } else {
  16884. t2 = hue == null;
  16885. if (!t2 || hasSL) {
  16886. if (change)
  16887. t2 = hue;
  16888. else {
  16889. t3 = color.get$hue(color);
  16890. t3 += t2 ? 0 : hue;
  16891. t2 = t3;
  16892. }
  16893. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  16894. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  16895. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  16896. } else if (alpha != null)
  16897. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  16898. else
  16899. return color;
  16900. }
  16901. },
  16902. _functionString0($name, $arguments) {
  16903. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  16904. },
  16905. _removedColorFunction0($name, argument, negative) {
  16906. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  16907. },
  16908. _rgb0($name, $arguments) {
  16909. var t2, red, green, blue,
  16910. t1 = J.getInterceptor$asx($arguments),
  16911. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  16912. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  16913. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  16914. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  16915. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  16916. t2 = t2 === true;
  16917. } else
  16918. t2 = true;
  16919. else
  16920. t2 = true;
  16921. else
  16922. t2 = true;
  16923. if (t2)
  16924. return A._functionString0($name, $arguments);
  16925. red = t1.$index($arguments, 0).assertNumber$1("red");
  16926. green = t1.$index($arguments, 1).assertNumber$1("green");
  16927. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  16928. 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);
  16929. },
  16930. _rgbTwoArg0($name, $arguments) {
  16931. var first, color,
  16932. t1 = J.getInterceptor$asx($arguments);
  16933. if (t1.$index($arguments, 0).get$isVar())
  16934. return A._functionString0($name, $arguments);
  16935. else if (t1.$index($arguments, 1).get$isVar()) {
  16936. first = t1.$index($arguments, 0);
  16937. if (first instanceof A.SassColor0)
  16938. 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);
  16939. else
  16940. return A._functionString0($name, $arguments);
  16941. } else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  16942. color = t1.$index($arguments, 0).assertColor$1("color");
  16943. 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);
  16944. }
  16945. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  16946. },
  16947. _hsl0($name, $arguments) {
  16948. var t2, hue, saturation, lightness,
  16949. _s10_ = "saturation",
  16950. _s9_ = "lightness",
  16951. t1 = J.getInterceptor$asx($arguments),
  16952. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  16953. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  16954. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  16955. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  16956. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  16957. t2 = t2 === true;
  16958. } else
  16959. t2 = true;
  16960. else
  16961. t2 = true;
  16962. else
  16963. t2 = true;
  16964. if (t2)
  16965. return A._functionString0($name, $arguments);
  16966. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  16967. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  16968. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  16969. A._checkPercent0(saturation, _s10_);
  16970. A._checkPercent0(lightness, _s9_);
  16971. 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);
  16972. },
  16973. _angleValue0(angleValue, $name) {
  16974. var t1, t2,
  16975. angle = angleValue.assertNumber$1($name);
  16976. if (angle.compatibleWithUnit$1("deg"))
  16977. return angle.coerceValueToUnit$1("deg");
  16978. t1 = angle.toString$0(0);
  16979. t2 = angle.unitSuggestion$1($name);
  16980. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, true);
  16981. return angle._number1$_value;
  16982. },
  16983. _checkPercent0(number, $name) {
  16984. var t1, t2;
  16985. if (number.hasUnit$1("%"))
  16986. return;
  16987. t1 = number.toString$0(0);
  16988. t2 = number.unitSuggestion$2($name, "%");
  16989. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, true);
  16990. },
  16991. _hwb0($arguments) {
  16992. var _s9_ = "whiteness",
  16993. _s9_0 = "blackness",
  16994. t1 = J.getInterceptor$asx($arguments),
  16995. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  16996. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  16997. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  16998. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  16999. whiteness.assertUnit$2("%", _s9_);
  17000. blackness.assertUnit$2("%", _s9_0);
  17001. 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()));
  17002. },
  17003. _parseChannels0($name, argumentNames, channels) {
  17004. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, maybeSlashSeparated, slash, _null = null,
  17005. _s17_ = "$channels must be";
  17006. if (channels.get$isVar())
  17007. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17008. if (channels.get$separator(channels) === B.ListSeparator_zg90) {
  17009. list = channels.get$asList();
  17010. t1 = list.length;
  17011. if (t1 !== 2)
  17012. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  17013. channels0 = list[0];
  17014. alphaFromSlashList = list[1];
  17015. if (!alphaFromSlashList.get$isSpecialNumber())
  17016. alphaFromSlashList.assertNumber$1("alpha");
  17017. if (list[0].get$isVar())
  17018. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17019. } else {
  17020. alphaFromSlashList = _null;
  17021. channels0 = channels;
  17022. }
  17023. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA0;
  17024. isBracketed = channels0.get$hasBrackets();
  17025. if (isCommaSeparated || isBracketed) {
  17026. buffer = new A.StringBuffer(_s17_);
  17027. if (isBracketed) {
  17028. t1 = _s17_ + " an unbracketed";
  17029. buffer._contents = t1;
  17030. } else
  17031. t1 = _s17_;
  17032. if (isCommaSeparated) {
  17033. t1 += isBracketed ? "," : " a";
  17034. buffer._contents = t1;
  17035. t1 = buffer._contents = t1 + " space-separated";
  17036. }
  17037. buffer._contents = t1 + " list.";
  17038. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  17039. }
  17040. list = channels0.get$asList();
  17041. t1 = list.length;
  17042. if (t1 > 3)
  17043. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  17044. else if (t1 < 3) {
  17045. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  17046. if (list.length !== 0) {
  17047. t1 = B.JSArray_methods.get$last(list);
  17048. if (t1 instanceof A.SassString0)
  17049. if (t1._string0$_hasQuotes) {
  17050. t1 = t1._string0$_text;
  17051. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  17052. } else
  17053. t1 = false;
  17054. else
  17055. t1 = false;
  17056. } else
  17057. t1 = false;
  17058. else
  17059. t1 = true;
  17060. if (t1)
  17061. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  17062. else
  17063. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  17064. }
  17065. if (alphaFromSlashList != null) {
  17066. t1 = A.List_List$of(list, true, type$.Value_2);
  17067. t1.push(alphaFromSlashList);
  17068. return t1;
  17069. }
  17070. maybeSlashSeparated = list[2];
  17071. if (maybeSlashSeparated instanceof A.SassNumber0) {
  17072. slash = maybeSlashSeparated.asSlash;
  17073. if (slash == null)
  17074. return list;
  17075. return A._setArrayType([list[0], list[1], slash.item1, slash.item2], type$.JSArray_Value_2);
  17076. } else if (maybeSlashSeparated instanceof A.SassString0 && !maybeSlashSeparated._string0$_hasQuotes && B.JSString_methods.contains$1(maybeSlashSeparated._string0$_text, "/"))
  17077. return A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  17078. else
  17079. return list;
  17080. },
  17081. _percentageOrUnitless0(number, max, $name) {
  17082. var value;
  17083. if (!number.get$hasUnits())
  17084. value = number._number1$_value;
  17085. else if (number.hasUnit$1("%"))
  17086. value = max * number._number1$_value / 100;
  17087. else
  17088. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have no units or "%".', null));
  17089. return B.JSNumber_methods.clamp$2(value, 0, max);
  17090. },
  17091. _mixColors0(color1, color2, weight) {
  17092. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  17093. A._checkPercent0(weight, "weight");
  17094. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  17095. normalizedWeight = weightScale * 2 - 1;
  17096. t1 = color1._color1$_alpha;
  17097. t2 = color2._color1$_alpha;
  17098. alphaDistance = t1 - t2;
  17099. t3 = normalizedWeight * alphaDistance;
  17100. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  17101. weight2 = 1 - weight1;
  17102. 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));
  17103. },
  17104. _opacify0($arguments) {
  17105. var t1 = J.getInterceptor$asx($arguments),
  17106. color = t1.$index($arguments, 0).assertColor$1("color");
  17107. 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));
  17108. },
  17109. _transparentize0($arguments) {
  17110. var t1 = J.getInterceptor$asx($arguments),
  17111. color = t1.$index($arguments, 0).assertColor$1("color");
  17112. 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));
  17113. },
  17114. _function11($name, $arguments, callback) {
  17115. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  17116. },
  17117. global_closure30: function global_closure30() {
  17118. },
  17119. global_closure31: function global_closure31() {
  17120. },
  17121. global_closure32: function global_closure32() {
  17122. },
  17123. global_closure33: function global_closure33() {
  17124. },
  17125. global_closure34: function global_closure34() {
  17126. },
  17127. global_closure35: function global_closure35() {
  17128. },
  17129. global_closure36: function global_closure36() {
  17130. },
  17131. global_closure37: function global_closure37() {
  17132. },
  17133. global_closure38: function global_closure38() {
  17134. },
  17135. global_closure39: function global_closure39() {
  17136. },
  17137. global_closure40: function global_closure40() {
  17138. },
  17139. global_closure41: function global_closure41() {
  17140. },
  17141. global_closure42: function global_closure42() {
  17142. },
  17143. global_closure43: function global_closure43() {
  17144. },
  17145. global_closure44: function global_closure44() {
  17146. },
  17147. global_closure45: function global_closure45() {
  17148. },
  17149. global_closure46: function global_closure46() {
  17150. },
  17151. global_closure47: function global_closure47() {
  17152. },
  17153. global_closure48: function global_closure48() {
  17154. },
  17155. global_closure49: function global_closure49() {
  17156. },
  17157. global_closure50: function global_closure50() {
  17158. },
  17159. global_closure51: function global_closure51() {
  17160. },
  17161. global_closure52: function global_closure52() {
  17162. },
  17163. global_closure53: function global_closure53() {
  17164. },
  17165. global_closure54: function global_closure54() {
  17166. },
  17167. global_closure55: function global_closure55() {
  17168. },
  17169. global__closure0: function global__closure0() {
  17170. },
  17171. global_closure56: function global_closure56() {
  17172. },
  17173. module_closure8: function module_closure8() {
  17174. },
  17175. module_closure9: function module_closure9() {
  17176. },
  17177. module_closure10: function module_closure10() {
  17178. },
  17179. module_closure11: function module_closure11() {
  17180. },
  17181. module_closure12: function module_closure12() {
  17182. },
  17183. module_closure13: function module_closure13() {
  17184. },
  17185. module_closure14: function module_closure14() {
  17186. },
  17187. module_closure15: function module_closure15() {
  17188. },
  17189. module__closure0: function module__closure0() {
  17190. },
  17191. module_closure16: function module_closure16() {
  17192. },
  17193. _red_closure0: function _red_closure0() {
  17194. },
  17195. _green_closure0: function _green_closure0() {
  17196. },
  17197. _blue_closure0: function _blue_closure0() {
  17198. },
  17199. _mix_closure0: function _mix_closure0() {
  17200. },
  17201. _hue_closure0: function _hue_closure0() {
  17202. },
  17203. _saturation_closure0: function _saturation_closure0() {
  17204. },
  17205. _lightness_closure0: function _lightness_closure0() {
  17206. },
  17207. _complement_closure0: function _complement_closure0() {
  17208. },
  17209. _adjust_closure0: function _adjust_closure0() {
  17210. },
  17211. _scale_closure0: function _scale_closure0() {
  17212. },
  17213. _change_closure0: function _change_closure0() {
  17214. },
  17215. _ieHexStr_closure0: function _ieHexStr_closure0() {
  17216. },
  17217. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  17218. },
  17219. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  17220. this.keywords = t0;
  17221. this.scale = t1;
  17222. this.change = t2;
  17223. },
  17224. _updateComponents_closure1: function _updateComponents_closure1() {
  17225. },
  17226. _updateComponents_closure2: function _updateComponents_closure2() {
  17227. },
  17228. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  17229. this.change = t0;
  17230. this.adjust = t1;
  17231. },
  17232. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  17233. this.updateValue = t0;
  17234. },
  17235. _functionString_closure0: function _functionString_closure0() {
  17236. },
  17237. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  17238. this.name = t0;
  17239. this.argument = t1;
  17240. this.negative = t2;
  17241. },
  17242. _rgb_closure0: function _rgb_closure0() {
  17243. },
  17244. _hsl_closure0: function _hsl_closure0() {
  17245. },
  17246. _hwb_closure0: function _hwb_closure0() {
  17247. },
  17248. _parseChannels_closure0: function _parseChannels_closure0() {
  17249. },
  17250. _NodeSassColor: function _NodeSassColor() {
  17251. },
  17252. legacyColorClass_closure: function legacyColorClass_closure() {
  17253. },
  17254. legacyColorClass_closure0: function legacyColorClass_closure0() {
  17255. },
  17256. legacyColorClass_closure1: function legacyColorClass_closure1() {
  17257. },
  17258. legacyColorClass_closure2: function legacyColorClass_closure2() {
  17259. },
  17260. legacyColorClass_closure3: function legacyColorClass_closure3() {
  17261. },
  17262. legacyColorClass_closure4: function legacyColorClass_closure4() {
  17263. },
  17264. legacyColorClass_closure5: function legacyColorClass_closure5() {
  17265. },
  17266. legacyColorClass_closure6: function legacyColorClass_closure6() {
  17267. },
  17268. legacyColorClass_closure7: function legacyColorClass_closure7() {
  17269. },
  17270. colorClass_closure: function colorClass_closure() {
  17271. },
  17272. colorClass__closure: function colorClass__closure() {
  17273. },
  17274. colorClass__closure0: function colorClass__closure0() {
  17275. },
  17276. colorClass__closure1: function colorClass__closure1() {
  17277. },
  17278. colorClass__closure2: function colorClass__closure2() {
  17279. },
  17280. colorClass__closure3: function colorClass__closure3() {
  17281. },
  17282. colorClass__closure4: function colorClass__closure4() {
  17283. },
  17284. colorClass__closure5: function colorClass__closure5() {
  17285. },
  17286. colorClass__closure6: function colorClass__closure6() {
  17287. },
  17288. colorClass__closure7: function colorClass__closure7() {
  17289. },
  17290. colorClass__closure8: function colorClass__closure8() {
  17291. },
  17292. colorClass__closure9: function colorClass__closure9() {
  17293. },
  17294. _Channels: function _Channels() {
  17295. },
  17296. SassColor$rgb0(red, green, blue, alpha) {
  17297. var _null = null,
  17298. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17299. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17300. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17301. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17302. return t1;
  17303. },
  17304. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  17305. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17306. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  17307. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  17308. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  17309. return t1;
  17310. },
  17311. SassColor$hsl(hue, saturation, lightness, alpha) {
  17312. var _null = null,
  17313. t1 = B.JSNumber_methods.$mod(hue, 360),
  17314. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17315. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17316. return new A.SassColor0(_null, _null, _null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), _null);
  17317. },
  17318. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  17319. var t1 = B.JSNumber_methods.$mod(hue, 360),
  17320. t2 = A.fuzzyAssertRange0(saturation, 0, 100, "saturation"),
  17321. t3 = A.fuzzyAssertRange0(lightness, 0, 100, "lightness");
  17322. return new A.SassColor0(null, null, null, t1, t2, t3, alpha == null ? 1 : A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  17323. },
  17324. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  17325. var t2, t1 = {},
  17326. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  17327. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  17328. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  17329. sum = scaledWhiteness + scaledBlackness;
  17330. if (sum > 1) {
  17331. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  17332. scaledBlackness /= sum;
  17333. } else
  17334. t2 = scaledWhiteness;
  17335. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  17336. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  17337. },
  17338. SassColor__hueToRgb0(m1, m2, hue) {
  17339. if (hue < 0)
  17340. ++hue;
  17341. if (hue > 1)
  17342. --hue;
  17343. if (hue < 0.16666666666666666)
  17344. return m1 + (m2 - m1) * hue * 6;
  17345. else if (hue < 0.5)
  17346. return m2;
  17347. else if (hue < 0.6666666666666666)
  17348. return m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  17349. else
  17350. return m1;
  17351. },
  17352. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  17353. var _ = this;
  17354. _._color1$_red = t0;
  17355. _._color1$_green = t1;
  17356. _._color1$_blue = t2;
  17357. _._color1$_hue = t3;
  17358. _._color1$_saturation = t4;
  17359. _._color1$_lightness = t5;
  17360. _._color1$_alpha = t6;
  17361. _.format = t7;
  17362. },
  17363. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  17364. this._box_0 = t0;
  17365. this.factor = t1;
  17366. },
  17367. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  17368. this._color1$_name = t0;
  17369. },
  17370. SpanColorFormat0: function SpanColorFormat0(t0) {
  17371. this._color1$_span = t0;
  17372. },
  17373. Combinator0: function Combinator0(t0, t1) {
  17374. this._combinator0$_text = t0;
  17375. this._name = t1;
  17376. },
  17377. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  17378. var _ = this;
  17379. _.text = t0;
  17380. _.span = t1;
  17381. _._node0$_indexInParent = _._node0$_parent = null;
  17382. _.isGroupEnd = false;
  17383. },
  17384. compile0(path, options) {
  17385. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null,
  17386. t1 = options == null,
  17387. color0 = t1 ? _null : J.get$alertColor$x(options),
  17388. color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
  17389. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  17390. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17391. try {
  17392. t2 = t1 ? _null : J.get$loadPaths$x(options);
  17393. t3 = t1 ? _null : J.get$quietDeps$x(options);
  17394. if (t3 == null)
  17395. t3 = false;
  17396. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17397. t5 = t1 ? _null : J.get$verbose$x(options);
  17398. if (t5 == null)
  17399. t5 = false;
  17400. t6 = t1 ? _null : J.get$charset$x(options);
  17401. if (t6 == null)
  17402. t6 = true;
  17403. t7 = t1 ? _null : J.get$sourceMap$x(options);
  17404. if (t7 == null)
  17405. t7 = false;
  17406. t8 = t1 ? _null : J.get$logger$x(options);
  17407. t9 = ascii;
  17408. if (t9 == null)
  17409. t9 = $._glyphs === B.C_AsciiGlyphSet;
  17410. t9 = new A.NodeToDartLogger(t8, new A.StderrLogger0(color), t9);
  17411. if (t1)
  17412. t8 = _null;
  17413. else {
  17414. t8 = J.get$importers$x(options);
  17415. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  17416. }
  17417. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17418. result = A.compile(path, t6, new A.CastList(t10, A._arrayInstanceType(t10)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t8, t2, t9, _null), _null, _null, t9, _null, t3, t7, t4, _null, true, t5);
  17419. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17420. if (t1 == null)
  17421. t1 = false;
  17422. t1 = A._convertResult(result, t1);
  17423. return t1;
  17424. } catch (exception) {
  17425. t1 = A.unwrapException(exception);
  17426. if (t1 instanceof A.SassException0) {
  17427. error = t1;
  17428. stackTrace = A.getTraceFromException(exception);
  17429. A.throwNodeException(error, ascii, color, stackTrace);
  17430. } else
  17431. throw exception;
  17432. }
  17433. },
  17434. compileString0(text, options) {
  17435. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null,
  17436. t1 = options == null,
  17437. color0 = t1 ? _null : J.get$alertColor$x(options),
  17438. color = color0 == null ? J.$eq$(self.process.stdout.isTTY, true) : color0,
  17439. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  17440. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  17441. try {
  17442. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  17443. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  17444. t4 = t1 ? _null : J.get$loadPaths$x(options);
  17445. t5 = t1 ? _null : J.get$quietDeps$x(options);
  17446. if (t5 == null)
  17447. t5 = false;
  17448. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  17449. t7 = t1 ? _null : J.get$verbose$x(options);
  17450. if (t7 == null)
  17451. t7 = false;
  17452. t8 = t1 ? _null : J.get$charset$x(options);
  17453. if (t8 == null)
  17454. t8 = true;
  17455. t9 = t1 ? _null : J.get$sourceMap$x(options);
  17456. if (t9 == null)
  17457. t9 = false;
  17458. t10 = t1 ? _null : J.get$logger$x(options);
  17459. t11 = ascii;
  17460. if (t11 == null)
  17461. t11 = $._glyphs === B.C_AsciiGlyphSet;
  17462. t11 = new A.NodeToDartLogger(t10, new A.StderrLogger0(color), t11);
  17463. if (t1)
  17464. t10 = _null;
  17465. else {
  17466. t10 = J.get$importers$x(options);
  17467. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  17468. }
  17469. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  17470. if (t12 == null)
  17471. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter() : _null;
  17472. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  17473. result = A.compileString(text, t8, new A.CastList(t13, A._arrayInstanceType(t13)._eval$1("CastList<1,Callable0>")), A.ImportCache$0(t10, t4, t11, _null), t12, _null, _null, t11, _null, t5, t9, t6, t2, t3, true, t7);
  17474. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  17475. if (t1 == null)
  17476. t1 = false;
  17477. t1 = A._convertResult(result, t1);
  17478. return t1;
  17479. } catch (exception) {
  17480. t1 = A.unwrapException(exception);
  17481. if (t1 instanceof A.SassException0) {
  17482. error = t1;
  17483. stackTrace = A.getTraceFromException(exception);
  17484. A.throwNodeException(error, ascii, color, stackTrace);
  17485. } else
  17486. throw exception;
  17487. }
  17488. },
  17489. compileAsync1(path, options) {
  17490. var ascii,
  17491. t1 = options == null,
  17492. color = t1 ? null : J.get$alertColor$x(options);
  17493. if (color == null)
  17494. color = J.$eq$(self.process.stdout.isTTY, true);
  17495. ascii = t1 ? null : J.get$alertAscii$x(options);
  17496. if (ascii == null)
  17497. ascii = $._glyphs === B.C_AsciiGlyphSet;
  17498. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
  17499. },
  17500. compileStringAsync1(text, options) {
  17501. var ascii,
  17502. t1 = options == null,
  17503. color = t1 ? null : J.get$alertColor$x(options);
  17504. if (color == null)
  17505. color = J.$eq$(self.process.stdout.isTTY, true);
  17506. ascii = t1 ? null : J.get$alertAscii$x(options);
  17507. if (ascii == null)
  17508. ascii = $._glyphs === B.C_AsciiGlyphSet;
  17509. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
  17510. },
  17511. _convertResult(result, includeSourceContents) {
  17512. var loadedUrls,
  17513. t1 = result._compile_result$_serialize,
  17514. t2 = t1.sourceMap,
  17515. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  17516. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  17517. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  17518. t2 = result._evaluate.loadedUrls;
  17519. loadedUrls = A.toJSArray(new A.EfficientLengthMappedIterable(t2, A.utils1__dartToJSUrl$closure(), A._instanceType(t2)._eval$1("EfficientLengthMappedIterable<1,Object?>")));
  17520. t1 = t1.css;
  17521. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
  17522. },
  17523. _wrapAsyncSassExceptions(promise, ascii, color) {
  17524. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  17525. },
  17526. _parseOutputStyle0(style) {
  17527. if (style == null || style === "expanded")
  17528. return B.OutputStyle_00;
  17529. if (style === "compressed")
  17530. return B.OutputStyle_10;
  17531. A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  17532. },
  17533. _parseAsyncImporter(importer) {
  17534. var t1, findFileUrl, canonicalize, load;
  17535. if (importer == null)
  17536. A.jsThrow(new self.Error("Importers may not be null."));
  17537. type$.NodeImporter._as(importer);
  17538. t1 = J.getInterceptor$x(importer);
  17539. findFileUrl = t1.get$findFileUrl(importer);
  17540. canonicalize = t1.get$canonicalize(importer);
  17541. load = t1.get$load(importer);
  17542. if (findFileUrl == null) {
  17543. if (canonicalize == null || load == null)
  17544. A.jsThrow(new self.Error(string$.An_impu));
  17545. return new A.NodeToDartAsyncImporter(canonicalize, load);
  17546. } else if (canonicalize != null || load != null)
  17547. A.jsThrow(new self.Error(string$.An_impa));
  17548. else
  17549. return new A.NodeToDartAsyncFileImporter(findFileUrl);
  17550. },
  17551. _parseImporter0(importer) {
  17552. var t1, findFileUrl, canonicalize, load;
  17553. if (importer == null)
  17554. A.jsThrow(new self.Error("Importers may not be null."));
  17555. type$.NodeImporter._as(importer);
  17556. t1 = J.getInterceptor$x(importer);
  17557. findFileUrl = t1.get$findFileUrl(importer);
  17558. canonicalize = t1.get$canonicalize(importer);
  17559. load = t1.get$load(importer);
  17560. if (findFileUrl == null) {
  17561. if (canonicalize == null || load == null)
  17562. A.jsThrow(new self.Error(string$.An_impu));
  17563. return new A.NodeToDartImporter(canonicalize, load);
  17564. } else if (canonicalize != null || load != null)
  17565. A.jsThrow(new self.Error(string$.An_impa));
  17566. else
  17567. return new A.NodeToDartFileImporter(findFileUrl);
  17568. },
  17569. _parseFunctions0(functions, asynch) {
  17570. var result;
  17571. if (functions == null)
  17572. return B.List_empty24;
  17573. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  17574. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  17575. return result;
  17576. },
  17577. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  17578. var _ = this;
  17579. _.path = t0;
  17580. _.color = t1;
  17581. _.options = t2;
  17582. _.ascii = t3;
  17583. },
  17584. compileAsync__closure: function compileAsync__closure() {
  17585. },
  17586. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  17587. var _ = this;
  17588. _.text = t0;
  17589. _.options = t1;
  17590. _.color = t2;
  17591. _.ascii = t3;
  17592. },
  17593. compileStringAsync__closure: function compileStringAsync__closure() {
  17594. },
  17595. compileStringAsync__closure0: function compileStringAsync__closure0() {
  17596. },
  17597. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  17598. this.color = t0;
  17599. this.ascii = t1;
  17600. },
  17601. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  17602. this.asynch = t0;
  17603. this.result = t1;
  17604. },
  17605. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  17606. this._box_0 = t0;
  17607. this.callback = t1;
  17608. },
  17609. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  17610. this._box_0 = t0;
  17611. this.callback = t1;
  17612. },
  17613. compile(path, charset, functions, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  17614. var terseLogger, t1, t2, t3, stylesheet, t4, result, _null = null;
  17615. if (!verbose) {
  17616. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  17617. logger = terseLogger;
  17618. } else
  17619. terseLogger = _null;
  17620. t1 = nodeImporter == null;
  17621. if (t1)
  17622. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  17623. else
  17624. t2 = false;
  17625. if (t2) {
  17626. if (importCache == null)
  17627. importCache = A.ImportCache$none(logger);
  17628. t2 = $.$get$context();
  17629. t3 = t2.absolute$7(".", _null, _null, _null, _null, _null, _null);
  17630. t3 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t3), t2.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath0(t2.absolute$7(t2.normalize$1(path), _null, _null, _null, _null, _null, _null)) : t2.canonicalize$1(0, path)), t2.toUri$1(path));
  17631. t3.toString;
  17632. stylesheet = t3;
  17633. } else {
  17634. t2 = A.readFile0(path);
  17635. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  17636. t4 = $.$get$context();
  17637. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, t4.toUri$1(path));
  17638. t2 = t4;
  17639. }
  17640. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(t2.absolute$7(".", _null, _null, _null, _null, _null, _null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  17641. if (terseLogger != null)
  17642. terseLogger.summarize$1$node(!t1);
  17643. return result;
  17644. },
  17645. compileString(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  17646. var terseLogger, stylesheet, result, _null = null;
  17647. if (!verbose) {
  17648. terseLogger = new A.TerseLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int), logger);
  17649. logger = terseLogger;
  17650. } else
  17651. terseLogger = _null;
  17652. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  17653. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer == null ? new A.FilesystemImporter0($.$get$context().absolute$7(".", _null, _null, _null, _null, _null, _null)) : importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  17654. if (terseLogger != null)
  17655. terseLogger.summarize$1$node(nodeImporter != null);
  17656. return result;
  17657. },
  17658. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  17659. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  17660. serializeResult = A.serialize0(evaluateResult.stylesheet, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  17661. resultSourceMap = serializeResult.sourceMap;
  17662. if (resultSourceMap != null && importCache != null)
  17663. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  17664. return new A.CompileResult0(evaluateResult, serializeResult);
  17665. },
  17666. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  17667. this.stylesheet = t0;
  17668. this.importCache = t1;
  17669. },
  17670. CompileOptions: function CompileOptions() {
  17671. },
  17672. CompileStringOptions: function CompileStringOptions() {
  17673. },
  17674. NodeCompileResult: function NodeCompileResult() {
  17675. },
  17676. CompileResult0: function CompileResult0(t0, t1) {
  17677. this._evaluate = t0;
  17678. this._compile_result$_serialize = t1;
  17679. },
  17680. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  17681. var _ = this;
  17682. _._complex0$_numeratorUnits = t0;
  17683. _._complex0$_denominatorUnits = t1;
  17684. _._number1$_value = t2;
  17685. _.hashCache = null;
  17686. _.asSlash = t3;
  17687. },
  17688. ComplexSelector$0(leadingCombinators, components, lineBreak) {
  17689. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.Combinator_2),
  17690. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  17691. if (t1.length === 0 && t2.length === 0)
  17692. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  17693. return new A.ComplexSelector0(t1, t2, lineBreak);
  17694. },
  17695. ComplexSelector0: function ComplexSelector0(t0, t1, t2) {
  17696. var _ = this;
  17697. _.leadingCombinators = t0;
  17698. _.components = t1;
  17699. _.lineBreak = t2;
  17700. _._complex$__ComplexSelector_specificity_FI = $;
  17701. },
  17702. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  17703. },
  17704. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1) {
  17705. this.selector = t0;
  17706. this.combinators = t1;
  17707. },
  17708. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  17709. },
  17710. CompoundSelector$0(components) {
  17711. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  17712. if (t1.length === 0)
  17713. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  17714. return new A.CompoundSelector0(t1);
  17715. },
  17716. CompoundSelector0: function CompoundSelector0(t0) {
  17717. this.components = t0;
  17718. this._compound$__CompoundSelector_specificity_FI = $;
  17719. },
  17720. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  17721. },
  17722. Configuration0: function Configuration0(t0, t1) {
  17723. this._configuration$_values = t0;
  17724. this._configuration$__originalConfiguration = t1;
  17725. },
  17726. Configuration_toString_closure0: function Configuration_toString_closure0() {
  17727. },
  17728. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  17729. this.nodeWithSpan = t0;
  17730. this._configuration$_values = t1;
  17731. this._configuration$__originalConfiguration = t2;
  17732. },
  17733. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  17734. this.value = t0;
  17735. this.configurationSpan = t1;
  17736. this.assignmentNode = t2;
  17737. },
  17738. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  17739. var _ = this;
  17740. _.name = t0;
  17741. _.expression = t1;
  17742. _.isGuarded = t2;
  17743. _.span = t3;
  17744. },
  17745. ContentBlock$0($arguments, children, span) {
  17746. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  17747. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  17748. return new A.ContentBlock0("@content", $arguments, span, t1, t2);
  17749. },
  17750. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
  17751. var _ = this;
  17752. _.name = t0;
  17753. _.$arguments = t1;
  17754. _.span = t2;
  17755. _.children = t3;
  17756. _.hasDeclarations = t4;
  17757. },
  17758. ContentRule0: function ContentRule0(t0, t1) {
  17759. this.$arguments = t0;
  17760. this.span = t1;
  17761. },
  17762. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  17763. },
  17764. CssParser0: function CssParser0(t0, t1, t2) {
  17765. var _ = this;
  17766. _._stylesheet0$_isUseAllowed = true;
  17767. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  17768. _._stylesheet0$_globalVariables = t0;
  17769. _.lastSilentComment = null;
  17770. _.scanner = t1;
  17771. _.logger = t2;
  17772. },
  17773. DebugRule0: function DebugRule0(t0, t1) {
  17774. this.expression = t0;
  17775. this.span = t1;
  17776. },
  17777. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  17778. var t1 = valueSpanForMap == null ? value.get$span(value) : valueSpanForMap;
  17779. if (parsedAsCustomProperty)
  17780. if (!J.startsWith$1$s($name.get$value($name), "--"))
  17781. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  17782. else if (!(value.get$value(value) instanceof A.SassString0))
  17783. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeType(value.get$value(value)).toString$0(0) + ").", null));
  17784. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  17785. },
  17786. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  17787. var _ = this;
  17788. _.name = t0;
  17789. _.value = t1;
  17790. _.parsedAsCustomProperty = t2;
  17791. _.valueSpanForMap = t3;
  17792. _.span = t4;
  17793. _._node0$_indexInParent = _._node0$_parent = null;
  17794. _.isGroupEnd = false;
  17795. },
  17796. Declaration$0($name, value, span) {
  17797. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
  17798. A.throwExpression(A.ArgumentError$(string$.Declarwu + value.toString$0(0) + "` of type " + value.get$runtimeType(value).toString$0(0) + ").", null));
  17799. return new A.Declaration0($name, value, span, null, false);
  17800. },
  17801. Declaration$nested0($name, children, span, value) {
  17802. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  17803. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  17804. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--") && !(value instanceof A.StringExpression0))
  17805. A.throwExpression(A.ArgumentError$(string$.Declarwa, null));
  17806. return new A.Declaration0($name, value, span, t1, t2);
  17807. },
  17808. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  17809. var _ = this;
  17810. _.name = t0;
  17811. _.value = t1;
  17812. _.span = t2;
  17813. _.children = t3;
  17814. _.hasDeclarations = t4;
  17815. },
  17816. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  17817. this.name = t0;
  17818. this.value = t1;
  17819. this.span = t2;
  17820. },
  17821. DynamicImport0: function DynamicImport0(t0, t1) {
  17822. this.urlString = t0;
  17823. this.span = t1;
  17824. },
  17825. EachRule$0(variables, list, children, span) {
  17826. var t1 = A.List_List$unmodifiable(variables, type$.String),
  17827. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  17828. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  17829. return new A.EachRule0(t1, list, span, t2, t3);
  17830. },
  17831. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  17832. var _ = this;
  17833. _.variables = t0;
  17834. _.list = t1;
  17835. _.span = t2;
  17836. _.children = t3;
  17837. _.hasDeclarations = t4;
  17838. },
  17839. EachRule_toString_closure0: function EachRule_toString_closure0() {
  17840. },
  17841. EmptyExtensionStore0: function EmptyExtensionStore0() {
  17842. },
  17843. Environment$0() {
  17844. var t1 = type$.String,
  17845. t2 = type$.Module_Callable_2,
  17846. t3 = type$.AstNode_2,
  17847. t4 = type$.int,
  17848. t5 = type$.Callable_2,
  17849. t6 = type$.JSArray_Map_String_Callable_2;
  17850. 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);
  17851. },
  17852. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  17853. var t1 = type$.String,
  17854. t2 = type$.int;
  17855. 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);
  17856. },
  17857. _EnvironmentModule__EnvironmentModule1(environment, css, extensionStore, forwarded) {
  17858. var t1, t2, t3, t4, t5, t6;
  17859. if (forwarded == null)
  17860. forwarded = B.Set_empty3;
  17861. t1 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  17862. 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);
  17863. 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);
  17864. t4 = type$.Map_String_Callable_2;
  17865. t5 = type$.Callable_2;
  17866. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t4), t5);
  17867. t5 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t4), t5);
  17868. t4 = J.get$isNotEmpty$asx(css.get$children(css)) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  17869. 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()));
  17870. },
  17871. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  17872. var modulesByVariable, t1, t2, t3, t4, t5;
  17873. if (forwarded.get$isEmpty(forwarded))
  17874. return B.Map_empty6;
  17875. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  17876. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  17877. t2 = t1.get$current(t1);
  17878. if (t2 instanceof A._EnvironmentModule1) {
  17879. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  17880. t4 = t3.get$current(t3);
  17881. t5 = t4.get$variables();
  17882. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  17883. }
  17884. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  17885. } else {
  17886. t3 = t2.get$variables();
  17887. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  17888. }
  17889. }
  17890. return modulesByVariable;
  17891. },
  17892. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  17893. var t1, t2, t3;
  17894. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  17895. if (otherMaps.get$isEmpty(otherMaps))
  17896. return localMap;
  17897. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  17898. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  17899. t3 = t2.get$current(t2);
  17900. if (t3.get$isNotEmpty(t3))
  17901. t1.push(t3);
  17902. }
  17903. t1.push(localMap);
  17904. if (t1.length === 1)
  17905. return localMap;
  17906. return A.MergedMapView$0(t1, type$.String, $V);
  17907. },
  17908. _EnvironmentModule$_1(_environment, css, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  17909. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  17910. },
  17911. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  17912. var _ = this;
  17913. _._environment0$_modules = t0;
  17914. _._environment0$_namespaceNodes = t1;
  17915. _._environment0$_globalModules = t2;
  17916. _._environment0$_importedModules = t3;
  17917. _._environment0$_forwardedModules = t4;
  17918. _._environment0$_nestedForwardedModules = t5;
  17919. _._environment0$_allModules = t6;
  17920. _._environment0$_variables = t7;
  17921. _._environment0$_variableNodes = t8;
  17922. _._environment0$_variableIndices = t9;
  17923. _._environment0$_functions = t10;
  17924. _._environment0$_functionIndices = t11;
  17925. _._environment0$_mixins = t12;
  17926. _._environment0$_mixinIndices = t13;
  17927. _._environment0$_content = t14;
  17928. _._environment0$_inMixin = false;
  17929. _._environment0$_inSemiGlobalScope = true;
  17930. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  17931. },
  17932. Environment_importForwards_closure2: function Environment_importForwards_closure2() {
  17933. },
  17934. Environment_importForwards_closure3: function Environment_importForwards_closure3() {
  17935. },
  17936. Environment_importForwards_closure4: function Environment_importForwards_closure4() {
  17937. },
  17938. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  17939. this.name = t0;
  17940. },
  17941. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  17942. this.$this = t0;
  17943. this.name = t1;
  17944. },
  17945. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  17946. this.name = t0;
  17947. },
  17948. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  17949. this.$this = t0;
  17950. this.name = t1;
  17951. },
  17952. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  17953. this.name = t0;
  17954. },
  17955. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  17956. this.name = t0;
  17957. },
  17958. Environment_toModule_closure0: function Environment_toModule_closure0() {
  17959. },
  17960. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  17961. },
  17962. Environment__fromOneModule_closure0: function Environment__fromOneModule_closure0(t0, t1) {
  17963. this.callback = t0;
  17964. this.T = t1;
  17965. },
  17966. Environment__fromOneModule__closure0: function Environment__fromOneModule__closure0(t0, t1) {
  17967. this.entry = t0;
  17968. this.T = t1;
  17969. },
  17970. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
  17971. var _ = this;
  17972. _.upstream = t0;
  17973. _.variables = t1;
  17974. _.variableNodes = t2;
  17975. _.functions = t3;
  17976. _.mixins = t4;
  17977. _.extensionStore = t5;
  17978. _.css = t6;
  17979. _.transitivelyContainsCss = t7;
  17980. _.transitivelyContainsExtensions = t8;
  17981. _._environment0$_environment = t9;
  17982. _._environment0$_modulesByVariable = t10;
  17983. },
  17984. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  17985. },
  17986. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  17987. },
  17988. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  17989. },
  17990. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  17991. },
  17992. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  17993. },
  17994. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  17995. },
  17996. ErrorRule0: function ErrorRule0(t0, t1) {
  17997. this.expression = t0;
  17998. this.span = t1;
  17999. },
  18000. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18001. var t4,
  18002. t1 = type$.Uri,
  18003. t2 = type$.Module_Callable_2,
  18004. t3 = A._setArrayType([], type$.JSArray_Tuple2_String_AstNode_2);
  18005. if (nodeImporter == null)
  18006. t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
  18007. else
  18008. t4 = null;
  18009. 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);
  18010. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18011. return t1;
  18012. },
  18013. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  18014. var _ = this;
  18015. _._evaluate0$_importCache = t0;
  18016. _._evaluate0$_nodeImporter = t1;
  18017. _._evaluate0$_builtInFunctions = t2;
  18018. _._evaluate0$_builtInModules = t3;
  18019. _._evaluate0$_modules = t4;
  18020. _._evaluate0$_moduleConfigurations = t5;
  18021. _._evaluate0$_moduleNodes = t6;
  18022. _._evaluate0$_logger = t7;
  18023. _._evaluate0$_warningsEmitted = t8;
  18024. _._evaluate0$_quietDeps = t9;
  18025. _._evaluate0$_sourceMap = t10;
  18026. _._evaluate0$_environment = t11;
  18027. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  18028. _._evaluate0$_member = "root stylesheet";
  18029. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  18030. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  18031. _._evaluate0$_loadedUrls = t12;
  18032. _._evaluate0$_activeModules = t13;
  18033. _._evaluate0$_stack = t14;
  18034. _._evaluate0$_importer = null;
  18035. _._evaluate0$_inDependency = false;
  18036. _._evaluate0$__extensionStore = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  18037. _._evaluate0$_configuration = t15;
  18038. },
  18039. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18040. this.$this = t0;
  18041. },
  18042. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18043. this.$this = t0;
  18044. },
  18045. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18046. this.$this = t0;
  18047. },
  18048. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18049. this.$this = t0;
  18050. },
  18051. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18052. this.$this = t0;
  18053. },
  18054. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18055. this.$this = t0;
  18056. },
  18057. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  18058. this.$this = t0;
  18059. },
  18060. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  18061. this.$this = t0;
  18062. },
  18063. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  18064. this.$this = t0;
  18065. this.name = t1;
  18066. this.module = t2;
  18067. },
  18068. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  18069. this.$this = t0;
  18070. },
  18071. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  18072. this.$this = t0;
  18073. },
  18074. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18075. this.values = t0;
  18076. this.span = t1;
  18077. this.callableNode = t2;
  18078. },
  18079. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0) {
  18080. this.$this = t0;
  18081. },
  18082. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  18083. this.$this = t0;
  18084. this.node = t1;
  18085. this.importer = t2;
  18086. },
  18087. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  18088. this.callback = t0;
  18089. this.builtInModule = t1;
  18090. },
  18091. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  18092. var _ = this;
  18093. _.$this = t0;
  18094. _.url = t1;
  18095. _.nodeWithSpan = t2;
  18096. _.baseUrl = t3;
  18097. _.namesInErrors = t4;
  18098. _.configuration = t5;
  18099. _.callback = t6;
  18100. },
  18101. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18102. this.$this = t0;
  18103. this.message = t1;
  18104. },
  18105. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5) {
  18106. var _ = this;
  18107. _.$this = t0;
  18108. _.importer = t1;
  18109. _.stylesheet = t2;
  18110. _.extensionStore = t3;
  18111. _.configuration = t4;
  18112. _.css = t5;
  18113. },
  18114. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  18115. },
  18116. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  18117. this.selectors = t0;
  18118. },
  18119. _EvaluateVisitor__combineCss_closure7: function _EvaluateVisitor__combineCss_closure7() {
  18120. },
  18121. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  18122. this.originalSelectors = t0;
  18123. },
  18124. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  18125. },
  18126. _EvaluateVisitor__topologicalModules_visitModule1: function _EvaluateVisitor__topologicalModules_visitModule1(t0, t1) {
  18127. this.seen = t0;
  18128. this.sorted = t1;
  18129. },
  18130. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  18131. this.$this = t0;
  18132. this.resolved = t1;
  18133. },
  18134. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  18135. this.$this = t0;
  18136. this.node = t1;
  18137. },
  18138. _EvaluateVisitor_visitAtRootRule_closure7: function _EvaluateVisitor_visitAtRootRule_closure7(t0, t1) {
  18139. this.$this = t0;
  18140. this.node = t1;
  18141. },
  18142. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  18143. this.$this = t0;
  18144. this.newParent = t1;
  18145. this.node = t2;
  18146. },
  18147. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  18148. this.$this = t0;
  18149. this.innerScope = t1;
  18150. },
  18151. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  18152. this.$this = t0;
  18153. this.innerScope = t1;
  18154. },
  18155. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  18156. this.innerScope = t0;
  18157. this.callback = t1;
  18158. },
  18159. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  18160. this.$this = t0;
  18161. this.innerScope = t1;
  18162. },
  18163. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  18164. },
  18165. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  18166. this.$this = t0;
  18167. this.innerScope = t1;
  18168. },
  18169. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  18170. this.$this = t0;
  18171. this.content = t1;
  18172. },
  18173. _EvaluateVisitor_visitDeclaration_closure3: function _EvaluateVisitor_visitDeclaration_closure3(t0) {
  18174. this.$this = t0;
  18175. },
  18176. _EvaluateVisitor_visitDeclaration_closure4: function _EvaluateVisitor_visitDeclaration_closure4(t0, t1) {
  18177. this.$this = t0;
  18178. this.children = t1;
  18179. },
  18180. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  18181. this.$this = t0;
  18182. this.node = t1;
  18183. this.nodeWithSpan = t2;
  18184. },
  18185. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  18186. this.$this = t0;
  18187. this.node = t1;
  18188. this.nodeWithSpan = t2;
  18189. },
  18190. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  18191. var _ = this;
  18192. _.$this = t0;
  18193. _.list = t1;
  18194. _.setVariables = t2;
  18195. _.node = t3;
  18196. },
  18197. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  18198. this.$this = t0;
  18199. this.setVariables = t1;
  18200. this.node = t2;
  18201. },
  18202. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  18203. this.$this = t0;
  18204. },
  18205. _EvaluateVisitor_visitExtendRule_closure1: function _EvaluateVisitor_visitExtendRule_closure1(t0, t1) {
  18206. this.$this = t0;
  18207. this.targetText = t1;
  18208. },
  18209. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  18210. this.$this = t0;
  18211. },
  18212. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1) {
  18213. this.$this = t0;
  18214. this.children = t1;
  18215. },
  18216. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  18217. this.$this = t0;
  18218. this.children = t1;
  18219. },
  18220. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  18221. },
  18222. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  18223. this.$this = t0;
  18224. this.node = t1;
  18225. },
  18226. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  18227. this.$this = t0;
  18228. this.node = t1;
  18229. },
  18230. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  18231. this.fromNumber = t0;
  18232. },
  18233. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  18234. this.toNumber = t0;
  18235. this.fromNumber = t1;
  18236. },
  18237. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  18238. var _ = this;
  18239. _._box_0 = t0;
  18240. _.$this = t1;
  18241. _.node = t2;
  18242. _.from = t3;
  18243. _.direction = t4;
  18244. _.fromNumber = t5;
  18245. },
  18246. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  18247. this.$this = t0;
  18248. },
  18249. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  18250. this.$this = t0;
  18251. this.node = t1;
  18252. },
  18253. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  18254. this.$this = t0;
  18255. this.node = t1;
  18256. },
  18257. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0, t1) {
  18258. this._box_0 = t0;
  18259. this.$this = t1;
  18260. },
  18261. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0) {
  18262. this.$this = t0;
  18263. },
  18264. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  18265. this.$this = t0;
  18266. this.$import = t1;
  18267. },
  18268. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  18269. this.$this = t0;
  18270. },
  18271. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  18272. },
  18273. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  18274. },
  18275. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4, t5) {
  18276. var _ = this;
  18277. _.$this = t0;
  18278. _.result = t1;
  18279. _.stylesheet = t2;
  18280. _.loadsUserDefinedModules = t3;
  18281. _.environment = t4;
  18282. _.children = t5;
  18283. },
  18284. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0, t1) {
  18285. this.$this = t0;
  18286. this.node = t1;
  18287. },
  18288. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0) {
  18289. this.node = t0;
  18290. },
  18291. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  18292. this.$this = t0;
  18293. },
  18294. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0, t1, t2, t3) {
  18295. var _ = this;
  18296. _.$this = t0;
  18297. _.contentCallable = t1;
  18298. _.mixin = t2;
  18299. _.nodeWithSpan = t3;
  18300. },
  18301. _EvaluateVisitor_visitIncludeRule__closure1: function _EvaluateVisitor_visitIncludeRule__closure1(t0, t1, t2) {
  18302. this.$this = t0;
  18303. this.mixin = t1;
  18304. this.nodeWithSpan = t2;
  18305. },
  18306. _EvaluateVisitor_visitIncludeRule___closure1: function _EvaluateVisitor_visitIncludeRule___closure1(t0, t1, t2) {
  18307. this.$this = t0;
  18308. this.mixin = t1;
  18309. this.nodeWithSpan = t2;
  18310. },
  18311. _EvaluateVisitor_visitIncludeRule____closure1: function _EvaluateVisitor_visitIncludeRule____closure1(t0, t1) {
  18312. this.$this = t0;
  18313. this.statement = t1;
  18314. },
  18315. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  18316. this.$this = t0;
  18317. this.queries = t1;
  18318. },
  18319. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  18320. var _ = this;
  18321. _.$this = t0;
  18322. _.mergedQueries = t1;
  18323. _.queries = t2;
  18324. _.mergedSources = t3;
  18325. _.node = t4;
  18326. },
  18327. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  18328. this.$this = t0;
  18329. this.node = t1;
  18330. },
  18331. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  18332. this.$this = t0;
  18333. this.node = t1;
  18334. },
  18335. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  18336. this.mergedSources = t0;
  18337. },
  18338. _EvaluateVisitor__visitMediaQueries_closure1: function _EvaluateVisitor__visitMediaQueries_closure1(t0, t1) {
  18339. this.$this = t0;
  18340. this.resolved = t1;
  18341. },
  18342. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15(t0, t1) {
  18343. this.$this = t0;
  18344. this.selectorText = t1;
  18345. },
  18346. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1) {
  18347. this.$this = t0;
  18348. this.node = t1;
  18349. },
  18350. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17() {
  18351. },
  18352. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18(t0, t1) {
  18353. this.$this = t0;
  18354. this.selectorText = t1;
  18355. },
  18356. _EvaluateVisitor_visitStyleRule_closure19: function _EvaluateVisitor_visitStyleRule_closure19(t0, t1) {
  18357. this._box_0 = t0;
  18358. this.$this = t1;
  18359. },
  18360. _EvaluateVisitor_visitStyleRule_closure20: function _EvaluateVisitor_visitStyleRule_closure20(t0, t1, t2) {
  18361. this.$this = t0;
  18362. this.rule = t1;
  18363. this.node = t2;
  18364. },
  18365. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  18366. this.$this = t0;
  18367. this.node = t1;
  18368. },
  18369. _EvaluateVisitor_visitStyleRule_closure21: function _EvaluateVisitor_visitStyleRule_closure21() {
  18370. },
  18371. _EvaluateVisitor_visitStyleRule_closure22: function _EvaluateVisitor_visitStyleRule_closure22() {
  18372. },
  18373. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  18374. this.$this = t0;
  18375. this.node = t1;
  18376. },
  18377. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  18378. this.$this = t0;
  18379. this.node = t1;
  18380. },
  18381. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  18382. },
  18383. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  18384. this.$this = t0;
  18385. this.node = t1;
  18386. this.override = t2;
  18387. },
  18388. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  18389. this.$this = t0;
  18390. this.node = t1;
  18391. },
  18392. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  18393. this.$this = t0;
  18394. this.node = t1;
  18395. this.value = t2;
  18396. },
  18397. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  18398. this.$this = t0;
  18399. this.node = t1;
  18400. },
  18401. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  18402. this.$this = t0;
  18403. this.node = t1;
  18404. },
  18405. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  18406. this.$this = t0;
  18407. this.node = t1;
  18408. },
  18409. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  18410. this.$this = t0;
  18411. },
  18412. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  18413. this.$this = t0;
  18414. this.node = t1;
  18415. },
  18416. _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1: function _EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1() {
  18417. },
  18418. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  18419. this.$this = t0;
  18420. this.node = t1;
  18421. },
  18422. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  18423. this.node = t0;
  18424. this.operand = t1;
  18425. },
  18426. _EvaluateVisitor__visitCalculationValue_closure1: function _EvaluateVisitor__visitCalculationValue_closure1(t0, t1, t2) {
  18427. this.$this = t0;
  18428. this.node = t1;
  18429. this.inMinMax = t2;
  18430. },
  18431. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  18432. this.$this = t0;
  18433. },
  18434. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3(t0, t1) {
  18435. this.$this = t0;
  18436. this.node = t1;
  18437. },
  18438. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18439. this._box_0 = t0;
  18440. this.$this = t1;
  18441. this.node = t2;
  18442. },
  18443. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  18444. this.$this = t0;
  18445. this.node = t1;
  18446. this.$function = t2;
  18447. },
  18448. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  18449. var _ = this;
  18450. _.$this = t0;
  18451. _.callable = t1;
  18452. _.evaluated = t2;
  18453. _.nodeWithSpan = t3;
  18454. _.run = t4;
  18455. _.V = t5;
  18456. },
  18457. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  18458. var _ = this;
  18459. _.$this = t0;
  18460. _.evaluated = t1;
  18461. _.callable = t2;
  18462. _.nodeWithSpan = t3;
  18463. _.run = t4;
  18464. _.V = t5;
  18465. },
  18466. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  18467. var _ = this;
  18468. _.$this = t0;
  18469. _.evaluated = t1;
  18470. _.callable = t2;
  18471. _.nodeWithSpan = t3;
  18472. _.run = t4;
  18473. _.V = t5;
  18474. },
  18475. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  18476. },
  18477. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  18478. this.$this = t0;
  18479. this.callable = t1;
  18480. },
  18481. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1, t2) {
  18482. this.overload = t0;
  18483. this.evaluated = t1;
  18484. this.namedSet = t2;
  18485. },
  18486. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18487. },
  18488. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  18489. },
  18490. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  18491. this.$this = t0;
  18492. this.restNodeForSpan = t1;
  18493. },
  18494. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  18495. var _ = this;
  18496. _.$this = t0;
  18497. _.named = t1;
  18498. _.restNodeForSpan = t2;
  18499. _.namedNodes = t3;
  18500. },
  18501. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  18502. },
  18503. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  18504. this.restArgs = t0;
  18505. },
  18506. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  18507. this.$this = t0;
  18508. this.restNodeForSpan = t1;
  18509. this.restArgs = t2;
  18510. },
  18511. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  18512. var _ = this;
  18513. _.$this = t0;
  18514. _.named = t1;
  18515. _.restNodeForSpan = t2;
  18516. _.restArgs = t3;
  18517. },
  18518. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  18519. this.$this = t0;
  18520. this.keywordRestNodeForSpan = t1;
  18521. this.keywordRestArgs = t2;
  18522. },
  18523. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  18524. var _ = this;
  18525. _.$this = t0;
  18526. _.values = t1;
  18527. _.convert = t2;
  18528. _.expressionNode = t3;
  18529. _.map = t4;
  18530. _.nodeWithSpan = t5;
  18531. },
  18532. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  18533. this.$arguments = t0;
  18534. this.positional = t1;
  18535. this.named = t2;
  18536. },
  18537. _EvaluateVisitor_visitStringExpression_closure1: function _EvaluateVisitor_visitStringExpression_closure1(t0) {
  18538. this.$this = t0;
  18539. },
  18540. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  18541. this.$this = t0;
  18542. this.node = t1;
  18543. },
  18544. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  18545. },
  18546. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  18547. this.$this = t0;
  18548. this.node = t1;
  18549. },
  18550. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  18551. },
  18552. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  18553. this.$this = t0;
  18554. this.node = t1;
  18555. },
  18556. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  18557. var _ = this;
  18558. _.$this = t0;
  18559. _.mergedQueries = t1;
  18560. _.node = t2;
  18561. _.mergedSources = t3;
  18562. },
  18563. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  18564. this.$this = t0;
  18565. this.node = t1;
  18566. },
  18567. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  18568. this.$this = t0;
  18569. this.node = t1;
  18570. },
  18571. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  18572. this.mergedSources = t0;
  18573. },
  18574. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3(t0, t1, t2) {
  18575. this.$this = t0;
  18576. this.rule = t1;
  18577. this.node = t2;
  18578. },
  18579. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  18580. this.$this = t0;
  18581. this.node = t1;
  18582. },
  18583. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4() {
  18584. },
  18585. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  18586. this.$this = t0;
  18587. this.node = t1;
  18588. },
  18589. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  18590. this.$this = t0;
  18591. this.node = t1;
  18592. },
  18593. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  18594. },
  18595. _EvaluateVisitor__performInterpolation_closure1: function _EvaluateVisitor__performInterpolation_closure1(t0, t1, t2) {
  18596. this.$this = t0;
  18597. this.warnForColor = t1;
  18598. this.interpolation = t2;
  18599. },
  18600. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  18601. this.value = t0;
  18602. this.quote = t1;
  18603. },
  18604. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  18605. this.$this = t0;
  18606. this.expression = t1;
  18607. },
  18608. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  18609. },
  18610. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  18611. this.$this = t0;
  18612. },
  18613. _EvaluateVisitor__stackTrace_closure1: function _EvaluateVisitor__stackTrace_closure1(t0) {
  18614. this.$this = t0;
  18615. },
  18616. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  18617. this._evaluate0$_visitor = t0;
  18618. },
  18619. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  18620. },
  18621. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  18622. this.hasBeenMerged = t0;
  18623. },
  18624. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  18625. },
  18626. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  18627. },
  18628. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  18629. this._evaluate0$_visitor = t0;
  18630. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  18631. },
  18632. _ArgumentResults1: function _ArgumentResults1(t0, t1, t2, t3, t4) {
  18633. var _ = this;
  18634. _.positional = t0;
  18635. _.positionalNodes = t1;
  18636. _.named = t2;
  18637. _.namedNodes = t3;
  18638. _.separator = t4;
  18639. },
  18640. _LoadedStylesheet1: function _LoadedStylesheet1(t0, t1, t2) {
  18641. this.stylesheet = t0;
  18642. this.importer = t1;
  18643. this.isDependency = t2;
  18644. },
  18645. EveryCssVisitor0: function EveryCssVisitor0() {
  18646. },
  18647. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  18648. this.$this = t0;
  18649. },
  18650. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  18651. this.$this = t0;
  18652. },
  18653. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  18654. this.$this = t0;
  18655. },
  18656. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  18657. this.$this = t0;
  18658. },
  18659. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  18660. this.$this = t0;
  18661. },
  18662. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  18663. this.$this = t0;
  18664. },
  18665. throwNodeException(exception, ascii, color, trace) {
  18666. var wasAscii, jsException, t1, trace0;
  18667. trace = trace;
  18668. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  18669. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  18670. try {
  18671. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  18672. jsException = type$._NodeException._as(t1);
  18673. trace0 = A.getTrace0(exception);
  18674. trace = trace0 == null ? trace : trace0;
  18675. if (trace != null)
  18676. A.attachJsStack(jsException, trace);
  18677. A.jsThrow(jsException);
  18678. } finally {
  18679. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  18680. }
  18681. },
  18682. _NodeException: function _NodeException() {
  18683. },
  18684. exceptionClass_closure: function exceptionClass_closure() {
  18685. },
  18686. exceptionClass__closure: function exceptionClass__closure() {
  18687. },
  18688. exceptionClass__closure0: function exceptionClass__closure0() {
  18689. },
  18690. exceptionClass__closure1: function exceptionClass__closure1() {
  18691. },
  18692. SassException$0(message, span) {
  18693. return new A.SassException0(message, span);
  18694. },
  18695. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace) {
  18696. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String), message, span);
  18697. },
  18698. SassFormatException$0(message, span) {
  18699. return new A.SassFormatException0(message, span);
  18700. },
  18701. SassScriptException$0(message, argumentName) {
  18702. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  18703. },
  18704. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  18705. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  18706. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  18707. },
  18708. SassException0: function SassException0(t0, t1) {
  18709. this._span_exception$_message = t0;
  18710. this._span = t1;
  18711. },
  18712. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3) {
  18713. var _ = this;
  18714. _.primaryLabel = t0;
  18715. _.secondarySpans = t1;
  18716. _._span_exception$_message = t2;
  18717. _._span = t3;
  18718. },
  18719. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2) {
  18720. this.trace = t0;
  18721. this._span_exception$_message = t1;
  18722. this._span = t2;
  18723. },
  18724. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4) {
  18725. var _ = this;
  18726. _.trace = t0;
  18727. _.primaryLabel = t1;
  18728. _.secondarySpans = t2;
  18729. _._span_exception$_message = t3;
  18730. _._span = t4;
  18731. },
  18732. SassFormatException0: function SassFormatException0(t0, t1) {
  18733. this._span_exception$_message = t0;
  18734. this._span = t1;
  18735. },
  18736. SassScriptException0: function SassScriptException0(t0) {
  18737. this.message = t0;
  18738. },
  18739. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  18740. this.primaryLabel = t0;
  18741. this.secondarySpans = t1;
  18742. this.message = t2;
  18743. },
  18744. Exports: function Exports() {
  18745. },
  18746. LoggerNamespace: function LoggerNamespace() {
  18747. },
  18748. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  18749. this.selector = t0;
  18750. this.isOptional = t1;
  18751. this.span = t2;
  18752. },
  18753. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  18754. var _ = this;
  18755. _.extender = t0;
  18756. _.target = t1;
  18757. _.mediaContext = t2;
  18758. _.isOptional = t3;
  18759. _.span = t4;
  18760. },
  18761. Extender0: function Extender0(t0, t1, t2) {
  18762. var _ = this;
  18763. _.selector = t0;
  18764. _.isOriginal = t1;
  18765. _._extension$_extension = null;
  18766. _.span = t2;
  18767. },
  18768. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  18769. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, t9, compound, t10, t11, _i0, simple, t12, _i1, t13, t14,
  18770. extender = A.ExtensionStore$_mode0(mode);
  18771. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  18772. extender._extension_store$_originals.addAll$1(0, selector.components);
  18773. 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) {
  18774. complex = t1[_i];
  18775. if (complex.leadingCombinators.length === 0) {
  18776. t9 = complex.components;
  18777. t9 = t9.length === 1 && B.JSArray_methods.get$first(t9).combinators.length === 0;
  18778. } else
  18779. t9 = false;
  18780. compound = t9 ? B.JSArray_methods.get$first(complex.components).selector : null;
  18781. if (compound == null)
  18782. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  18783. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  18784. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  18785. simple = t10[_i0];
  18786. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  18787. for (_i1 = 0; _i1 < t4; ++_i1) {
  18788. complex = t3[_i1];
  18789. complex.get$specificity();
  18790. t13 = new A.Extender0(complex, false, span);
  18791. t14 = new A.Extension0(t13, simple, null, true, span);
  18792. t13._extension$_extension = t14;
  18793. t12.$indexSet(0, complex, t14);
  18794. }
  18795. t9.$indexSet(0, simple, t12);
  18796. }
  18797. selector = extender._extension_store$_extendList$3(selector, span, t9);
  18798. }
  18799. return selector;
  18800. },
  18801. ExtensionStore$0() {
  18802. var t1 = type$.SimpleSelector_2;
  18803. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_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$.ModifiableCssValue_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);
  18804. },
  18805. ExtensionStore$_mode0(_mode) {
  18806. var t1 = type$.SimpleSelector_2;
  18807. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_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$.ModifiableCssValue_SelectorList_2, type$.List_CssMediaQuery_2), new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
  18808. },
  18809. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  18810. var _ = this;
  18811. _._extension_store$_selectors = t0;
  18812. _._extension_store$_extensions = t1;
  18813. _._extension_store$_extensionsByExtender = t2;
  18814. _._extension_store$_mediaContexts = t3;
  18815. _._extension_store$_sourceSpecificity = t4;
  18816. _._extension_store$_originals = t5;
  18817. _._extension_store$_mode = t6;
  18818. },
  18819. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  18820. },
  18821. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  18822. },
  18823. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  18824. },
  18825. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  18826. },
  18827. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  18828. this.complex = t0;
  18829. },
  18830. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  18831. },
  18832. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  18833. },
  18834. ExtensionStore_addExtensions_closure1: function ExtensionStore_addExtensions_closure1(t0, t1) {
  18835. this._box_0 = t0;
  18836. this.$this = t1;
  18837. },
  18838. ExtensionStore_addExtensions__closure4: function ExtensionStore_addExtensions__closure4(t0, t1, t2, t3, t4) {
  18839. var _ = this;
  18840. _._box_0 = t0;
  18841. _.existingSources = t1;
  18842. _.extensionsForTarget = t2;
  18843. _.selectorsForTarget = t3;
  18844. _.target = t4;
  18845. },
  18846. ExtensionStore_addExtensions___closure0: function ExtensionStore_addExtensions___closure0() {
  18847. },
  18848. ExtensionStore_addExtensions_closure2: function ExtensionStore_addExtensions_closure2(t0, t1) {
  18849. this._box_0 = t0;
  18850. this.$this = t1;
  18851. },
  18852. ExtensionStore_addExtensions__closure2: function ExtensionStore_addExtensions__closure2(t0, t1) {
  18853. this.$this = t0;
  18854. this.newExtensions = t1;
  18855. },
  18856. ExtensionStore_addExtensions__closure3: function ExtensionStore_addExtensions__closure3(t0, t1) {
  18857. this.$this = t0;
  18858. this.newExtensions = t1;
  18859. },
  18860. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  18861. this._box_0 = t0;
  18862. this.$this = t1;
  18863. this.complex = t2;
  18864. },
  18865. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  18866. this._box_0 = t0;
  18867. this.$this = t1;
  18868. this.complex = t2;
  18869. },
  18870. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  18871. },
  18872. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  18873. },
  18874. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  18875. this.original = t0;
  18876. },
  18877. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2, t3) {
  18878. var _ = this;
  18879. _.$this = t0;
  18880. _.extensions = t1;
  18881. _.targetsUsed = t2;
  18882. _.simpleSpan = t3;
  18883. },
  18884. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1, t2) {
  18885. this.$this = t0;
  18886. this.withoutPseudo = t1;
  18887. this.simpleSpan = t2;
  18888. },
  18889. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  18890. },
  18891. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  18892. },
  18893. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  18894. },
  18895. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  18896. },
  18897. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  18898. this.pseudo = t0;
  18899. },
  18900. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0) {
  18901. this.pseudo = t0;
  18902. },
  18903. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  18904. this._box_0 = t0;
  18905. this.complex1 = t1;
  18906. },
  18907. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  18908. this._box_0 = t0;
  18909. this.complex1 = t1;
  18910. },
  18911. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  18912. var _ = this;
  18913. _.$this = t0;
  18914. _.newSelectors = t1;
  18915. _.oldToNewSelectors = t2;
  18916. _.newMediaContexts = t3;
  18917. },
  18918. FiberClass: function FiberClass() {
  18919. },
  18920. Fiber: function Fiber() {
  18921. },
  18922. NodeToDartFileImporter: function NodeToDartFileImporter(t0) {
  18923. this._file0$_findFileUrl = t0;
  18924. },
  18925. FilesystemImporter$(loadPath) {
  18926. var _null = null;
  18927. return new A.FilesystemImporter0($.$get$context().absolute$7(loadPath, _null, _null, _null, _null, _null, _null));
  18928. },
  18929. FilesystemImporter0: function FilesystemImporter0(t0) {
  18930. this._filesystem$_loadPath = t0;
  18931. },
  18932. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  18933. },
  18934. ForRule$0(variable, from, to, children, span, exclusive) {
  18935. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  18936. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  18937. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  18938. },
  18939. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  18940. var _ = this;
  18941. _.variable = t0;
  18942. _.from = t1;
  18943. _.to = t2;
  18944. _.isExclusive = t3;
  18945. _.span = t4;
  18946. _.children = t5;
  18947. _.hasDeclarations = t6;
  18948. },
  18949. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  18950. var _ = this;
  18951. _.url = t0;
  18952. _.shownMixinsAndFunctions = t1;
  18953. _.shownVariables = t2;
  18954. _.hiddenMixinsAndFunctions = t3;
  18955. _.hiddenVariables = t4;
  18956. _.prefix = t5;
  18957. _.configuration = t6;
  18958. _.span = t7;
  18959. },
  18960. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  18961. var t1;
  18962. if (rule.prefix == null)
  18963. if (rule.shownMixinsAndFunctions == null)
  18964. if (rule.shownVariables == null) {
  18965. t1 = rule.hiddenMixinsAndFunctions;
  18966. if (t1 == null)
  18967. t1 = null;
  18968. else {
  18969. t1 = t1._base;
  18970. t1 = t1.get$isEmpty(t1);
  18971. }
  18972. if (t1 === true) {
  18973. t1 = rule.hiddenVariables;
  18974. if (t1 == null)
  18975. t1 = null;
  18976. else {
  18977. t1 = t1._base;
  18978. t1 = t1.get$isEmpty(t1);
  18979. }
  18980. t1 = t1 === true;
  18981. } else
  18982. t1 = false;
  18983. } else
  18984. t1 = false;
  18985. else
  18986. t1 = false;
  18987. else
  18988. t1 = false;
  18989. if (t1)
  18990. return inner;
  18991. else
  18992. return A.ForwardedModuleView$0(inner, rule, $T);
  18993. },
  18994. ForwardedModuleView$0(_inner, _rule, $T) {
  18995. var t1 = _rule.prefix,
  18996. t2 = _rule.shownVariables,
  18997. t3 = _rule.hiddenVariables,
  18998. t4 = _rule.shownMixinsAndFunctions,
  18999. t5 = _rule.hiddenMixinsAndFunctions;
  19000. 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>"));
  19001. },
  19002. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  19003. var t2,
  19004. t1 = prefix == null;
  19005. if (t1)
  19006. if (safelist == null)
  19007. if (blocklist != null) {
  19008. t2 = blocklist._base;
  19009. t2 = t2.get$isEmpty(t2);
  19010. } else
  19011. t2 = true;
  19012. else
  19013. t2 = false;
  19014. else
  19015. t2 = false;
  19016. if (t2)
  19017. return map;
  19018. if (!t1)
  19019. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  19020. if (safelist != null)
  19021. 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>"));
  19022. else {
  19023. if (blocklist != null) {
  19024. t1 = blocklist._base;
  19025. t1 = t1.get$isNotEmpty(t1);
  19026. } else
  19027. t1 = false;
  19028. if (t1)
  19029. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  19030. }
  19031. return map;
  19032. },
  19033. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  19034. var _ = this;
  19035. _._forwarded_view0$_inner = t0;
  19036. _._forwarded_view0$_rule = t1;
  19037. _.variables = t2;
  19038. _.variableNodes = t3;
  19039. _.functions = t4;
  19040. _.mixins = t5;
  19041. _.$ti = t6;
  19042. },
  19043. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
  19044. var _ = this;
  19045. _.namespace = t0;
  19046. _.originalName = t1;
  19047. _.$arguments = t2;
  19048. _.span = t3;
  19049. },
  19050. JSFunction0: function JSFunction0() {
  19051. },
  19052. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  19053. this.name = t0;
  19054. this.$arguments = t1;
  19055. this.span = t2;
  19056. },
  19057. functionClass_closure: function functionClass_closure() {
  19058. },
  19059. functionClass__closure: function functionClass__closure() {
  19060. },
  19061. functionClass__closure0: function functionClass__closure0() {
  19062. },
  19063. SassFunction0: function SassFunction0(t0) {
  19064. this.callable = t0;
  19065. },
  19066. FunctionRule$0($name, $arguments, children, span, comment) {
  19067. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19068. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19069. return new A.FunctionRule0($name, $arguments, span, t1, t2);
  19070. },
  19071. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
  19072. var _ = this;
  19073. _.name = t0;
  19074. _.$arguments = t1;
  19075. _.span = t2;
  19076. _.children = t3;
  19077. _.hasDeclarations = t4;
  19078. },
  19079. unifyComplex0(complexes) {
  19080. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, newLeadingCombinator, base, newTrailingCombinator, _i, t5, t6, t7, t8, t9, t10, result, _null = null,
  19081. t1 = J.getInterceptor$asx(complexes);
  19082. if (t1.get$length(complexes) === 1)
  19083. return complexes;
  19084. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  19085. t3 = t2.get$current(t2);
  19086. if (t3.accept$1(B.C__IsUselessVisitor0))
  19087. return _null;
  19088. t4 = t3.components;
  19089. if (t4.length === 1 && t3.leadingCombinators.length !== 0) {
  19090. newLeadingCombinator = B.JSArray_methods.get$single(t3.leadingCombinators);
  19091. if (leadingCombinator != null && leadingCombinator !== newLeadingCombinator)
  19092. return _null;
  19093. leadingCombinator = newLeadingCombinator;
  19094. }
  19095. base = B.JSArray_methods.get$last(t4);
  19096. t3 = base.combinators;
  19097. if (t3.length !== 0) {
  19098. newTrailingCombinator = B.JSArray_methods.get$single(t3);
  19099. if (trailingCombinator != null && trailingCombinator !== newTrailingCombinator)
  19100. return _null;
  19101. trailingCombinator = newTrailingCombinator;
  19102. }
  19103. if (unifiedBase == null)
  19104. unifiedBase = base.selector.components;
  19105. else
  19106. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  19107. unifiedBase = t3[_i].unify$1(unifiedBase);
  19108. if (unifiedBase == null)
  19109. return _null;
  19110. }
  19111. }
  19112. t2 = type$.JSArray_ComplexSelector_2;
  19113. t3 = A._setArrayType([], t2);
  19114. for (t4 = t1.get$iterator(complexes), t5 = type$.Combinator_2, t6 = type$.ComplexSelectorComponent_2; t4.moveNext$0();) {
  19115. t7 = t4.get$current(t4);
  19116. t8 = t7.components;
  19117. t9 = t8.length;
  19118. if (t9 > 1) {
  19119. t10 = t7.leadingCombinators;
  19120. t8 = B.JSArray_methods.take$1(t8, t9 - 1);
  19121. t7 = t7.lineBreak;
  19122. result = A.List_List$from(t10, false, t5);
  19123. result.fixed$length = Array;
  19124. result.immutable$list = Array;
  19125. t10 = result;
  19126. result = A.List_List$from(t8, false, t6);
  19127. result.fixed$length = Array;
  19128. result.immutable$list = Array;
  19129. t8 = result;
  19130. if (t10.length === 0 && t8.length === 0)
  19131. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  19132. t3.push(new A.ComplexSelector0(t10, t8, t7));
  19133. }
  19134. }
  19135. t4 = leadingCombinator == null ? B.List_empty13 : A._setArrayType([leadingCombinator], type$.JSArray_Combinator_2);
  19136. unifiedBase.toString;
  19137. t6 = A.CompoundSelector$0(unifiedBase);
  19138. base = A.ComplexSelector$0(t4, A._setArrayType([new A.ComplexSelectorComponent0(t6, A.List_List$unmodifiable(trailingCombinator == null ? B.List_empty13 : A._setArrayType([trailingCombinator], type$.JSArray_Combinator_2), t5))], type$.JSArray_ComplexSelectorComponent_2), t1.any$1(complexes, new A.unifyComplex_closure0()));
  19139. if (t3.length === 0)
  19140. t1 = A._setArrayType([base], t2);
  19141. else {
  19142. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  19143. t1.push(B.JSArray_methods.get$last(t3).concatenate$1(base));
  19144. }
  19145. return A.weave0(t1, false);
  19146. },
  19147. unifyCompound0(compound1, compound2) {
  19148. var t1, result, _i, unified;
  19149. for (t1 = compound1.length, result = compound2, _i = 0; _i < t1; ++_i, result = unified) {
  19150. unified = compound1[_i].unify$1(result);
  19151. if (unified == null)
  19152. return null;
  19153. }
  19154. return A.CompoundSelector$0(result);
  19155. },
  19156. unifyUniversalAndElement0(selector1, selector2) {
  19157. var namespace1, name1, t1, namespace2, name2, namespace, $name, _null = null,
  19158. _s45_ = string$.must_b;
  19159. if (selector1 instanceof A.UniversalSelector0) {
  19160. namespace1 = selector1.namespace;
  19161. name1 = _null;
  19162. } else if (selector1 instanceof A.TypeSelector0) {
  19163. t1 = selector1.name;
  19164. namespace1 = t1.namespace;
  19165. name1 = t1.name;
  19166. } else
  19167. throw A.wrapException(A.ArgumentError$value(selector1, "selector1", _s45_));
  19168. if (selector2 instanceof A.UniversalSelector0) {
  19169. namespace2 = selector2.namespace;
  19170. name2 = _null;
  19171. } else if (selector2 instanceof A.TypeSelector0) {
  19172. t1 = selector2.name;
  19173. namespace2 = t1.namespace;
  19174. name2 = t1.name;
  19175. } else
  19176. throw A.wrapException(A.ArgumentError$value(selector2, "selector2", _s45_));
  19177. if (namespace1 == namespace2 || namespace2 === "*")
  19178. namespace = namespace1;
  19179. else {
  19180. if (namespace1 !== "*")
  19181. return _null;
  19182. namespace = namespace2;
  19183. }
  19184. if (name1 == name2 || name2 == null)
  19185. $name = name1;
  19186. else {
  19187. if (!(name1 == null || name1 === "*"))
  19188. return _null;
  19189. $name = name2;
  19190. }
  19191. return $name == null ? new A.UniversalSelector0(namespace) : new A.TypeSelector0(new A.QualifiedName0($name, namespace));
  19192. },
  19193. weave0(complexes, forceLineBreak) {
  19194. var complex, t2, prefixes, t3, t4, t5, t6, target, i, t7, _i, t8, t9, _i0, parentPrefix, t10, t11, result, t12,
  19195. t1 = J.getInterceptor$asx(complexes);
  19196. if (t1.get$length(complexes) === 1) {
  19197. complex = t1.get$first(complexes);
  19198. if (!forceLineBreak || complex.lineBreak)
  19199. return complexes;
  19200. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, true)], type$.JSArray_ComplexSelector_2);
  19201. }
  19202. t2 = type$.JSArray_ComplexSelector_2;
  19203. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  19204. for (t1 = t1.skip$1(complexes, 1), t1 = t1.get$iterator(t1), t3 = type$.Combinator_2, t4 = type$.ComplexSelectorComponent_2; t1.moveNext$0();) {
  19205. t5 = t1.get$current(t1);
  19206. t6 = t5.components;
  19207. target = B.JSArray_methods.get$last(t6);
  19208. if (t6.length === 1) {
  19209. for (i = 0; i < prefixes.length; ++i)
  19210. prefixes[i] = prefixes[i].concatenate$2$forceLineBreak(t5, forceLineBreak);
  19211. continue;
  19212. }
  19213. t6 = A._setArrayType([], t2);
  19214. for (t7 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t7 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  19215. t8 = A._weaveParents0(prefixes[_i], t5);
  19216. if (t8 == null)
  19217. t8 = B.List_empty14;
  19218. t9 = t8.length;
  19219. _i0 = 0;
  19220. for (; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  19221. parentPrefix = t8[_i0];
  19222. t10 = A.List_List$of(parentPrefix.components, true, t4);
  19223. t10.push(target);
  19224. t11 = parentPrefix.lineBreak || forceLineBreak;
  19225. result = A.List_List$from(parentPrefix.leadingCombinators, false, t3);
  19226. result.fixed$length = Array;
  19227. result.immutable$list = Array;
  19228. t12 = result;
  19229. result = A.List_List$from(t10, false, t4);
  19230. result.fixed$length = Array;
  19231. result.immutable$list = Array;
  19232. t10 = result;
  19233. if (t12.length === 0 && t10.length === 0)
  19234. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  19235. t6.push(new A.ComplexSelector0(t12, t10, t11));
  19236. }
  19237. }
  19238. prefixes = t6;
  19239. }
  19240. return prefixes;
  19241. },
  19242. _weaveParents0(prefix, base) {
  19243. var t1, queue1, queue2, trailingCombinators, rootish1, rootish2, t2, rootish, groups1, groups2, lcs, choices, t3, t4, t5, _i, group, t6, t7, t8, _i0, chunk, t9, t10, result, _null = null,
  19244. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  19245. if (leadingCombinators == null)
  19246. return _null;
  19247. t1 = type$.ComplexSelectorComponent_2;
  19248. queue1 = A.ListQueue_ListQueue$of(prefix.components, t1);
  19249. queue2 = A.ListQueue_ListQueue$of(A.IterableExtension_get_exceptLast0(base.components), t1);
  19250. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, _null);
  19251. if (trailingCombinators == null)
  19252. return _null;
  19253. rootish1 = A._firstIfRootish0(queue1);
  19254. rootish2 = A._firstIfRootish0(queue2);
  19255. t2 = rootish1 == null;
  19256. if (!t2 && rootish2 != null) {
  19257. rootish = A.unifyCompound0(rootish1.selector.components, rootish2.selector.components);
  19258. if (rootish == null)
  19259. return _null;
  19260. t2 = type$.Combinator_2;
  19261. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish1.combinators, t2)));
  19262. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t2)));
  19263. } else if (!t2 || rootish2 != null) {
  19264. t2 = t2 ? rootish2 : rootish1;
  19265. t2.toString;
  19266. queue1.addFirst$1(t2);
  19267. queue2.addFirst$1(t2);
  19268. }
  19269. groups1 = A._groupSelectors0(queue1);
  19270. groups2 = A._groupSelectors0(queue2);
  19271. t2 = type$.List_ComplexSelectorComponent_2;
  19272. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(), t2);
  19273. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  19274. for (t3 = lcs.length, t4 = type$.JSArray_Iterable_ComplexSelectorComponent_2, t5 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < lcs.length; lcs.length === t3 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  19275. group = lcs[_i];
  19276. t6 = A._setArrayType([], t4);
  19277. for (t7 = A._chunks0(groups1, groups2, new A._weaveParents_closure4(group), t2), t8 = t7.length, _i0 = 0; _i0 < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i0) {
  19278. chunk = t7[_i0];
  19279. t9 = A._setArrayType([], t5);
  19280. for (t10 = B.JSArray_methods.get$iterator(chunk); t10.moveNext$0();)
  19281. B.JSArray_methods.addAll$1(t9, t10.get$current(t10));
  19282. t6.push(t9);
  19283. }
  19284. choices.push(t6);
  19285. choices.push(A._setArrayType([group], t4));
  19286. groups1.removeFirst$0();
  19287. groups2.removeFirst$0();
  19288. }
  19289. t3 = A._setArrayType([], t4);
  19290. for (t2 = A._chunks0(groups1, groups2, new A._weaveParents_closure5(), t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  19291. chunk = t2[_i];
  19292. t6 = A._setArrayType([], t5);
  19293. for (t7 = B.JSArray_methods.get$iterator(chunk); t7.moveNext$0();)
  19294. B.JSArray_methods.addAll$1(t6, t7.get$current(t7));
  19295. t3.push(t6);
  19296. }
  19297. choices.push(t3);
  19298. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  19299. t2 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  19300. for (t3 = J.get$iterator$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure6(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2)), t4 = type$.Combinator_2, t6 = !prefix.lineBreak, t7 = base.lineBreak; t3.moveNext$0();) {
  19301. t8 = t3.get$current(t3);
  19302. t9 = A._setArrayType([], t5);
  19303. for (t8 = J.get$iterator$ax(t8); t8.moveNext$0();)
  19304. B.JSArray_methods.addAll$1(t9, t8.get$current(t8));
  19305. t8 = !t6 || t7;
  19306. result = A.List_List$from(leadingCombinators, false, t4);
  19307. result.fixed$length = Array;
  19308. result.immutable$list = Array;
  19309. t10 = result;
  19310. result = A.List_List$from(t9, false, t1);
  19311. result.fixed$length = Array;
  19312. result.immutable$list = Array;
  19313. t9 = result;
  19314. if (t10.length === 0 && t9.length === 0)
  19315. A.throwExpression(A.ArgumentError$(string$.leadin, _null));
  19316. t2.push(new A.ComplexSelector0(t10, t9, t8));
  19317. }
  19318. return t2;
  19319. },
  19320. _firstIfRootish0(queue) {
  19321. var first, t1, t2, _i, simple;
  19322. if (queue._collection$_head === queue._collection$_tail)
  19323. return null;
  19324. first = queue.get$first(queue);
  19325. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  19326. simple = t1[_i];
  19327. if (simple instanceof A.PseudoSelector0 && simple.isClass && $._rootishPseudoClasses0.contains$1(0, simple.normalizedName)) {
  19328. queue.removeFirst$0();
  19329. return first;
  19330. }
  19331. }
  19332. return null;
  19333. },
  19334. _mergeLeadingCombinators0(combinators1, combinators2) {
  19335. var t2, _null = null,
  19336. t1 = combinators1.length;
  19337. if (t1 > 1)
  19338. return _null;
  19339. t2 = combinators2.length;
  19340. if (t2 > 1)
  19341. return _null;
  19342. if (t1 === 0)
  19343. return combinators2;
  19344. if (t2 === 0)
  19345. return combinators1;
  19346. return B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  19347. },
  19348. _mergeTrailingCombinators0(components1, components2, result) {
  19349. var combinators1, combinators2, t1, t2, combinator1, combinator2, component1, component2, t3, t4, choices, unified, followingSiblingComponent, nextSiblingComponent, _null = null;
  19350. if (result == null)
  19351. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  19352. combinators1 = components1._collection$_head === components1._collection$_tail ? B.List_empty13 : components1.get$last(components1).combinators;
  19353. combinators2 = components2._collection$_head === components2._collection$_tail ? B.List_empty13 : components2.get$last(components2).combinators;
  19354. t1 = combinators1.length;
  19355. t2 = t1 === 0;
  19356. if (t2 && combinators2.length === 0)
  19357. return result;
  19358. if (t1 > 1 || combinators2.length > 1)
  19359. return _null;
  19360. combinator1 = t2 ? _null : B.JSArray_methods.get$first(combinators1);
  19361. combinator2 = combinators2.length === 0 ? _null : B.JSArray_methods.get$first(combinators2);
  19362. t1 = combinator1 != null;
  19363. if (t1 && combinator2 != null) {
  19364. component1 = components1.removeLast$0(0);
  19365. component2 = components2.removeLast$0(0);
  19366. t1 = combinator1 === B.Combinator_Htt0;
  19367. if (t1 && combinator2 === B.Combinator_Htt0) {
  19368. t1 = component1.selector;
  19369. t2 = component2.selector;
  19370. if (A.compoundIsSuperselector0(t1, t2, _null))
  19371. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19372. else {
  19373. t3 = type$.JSArray_ComplexSelectorComponent_2;
  19374. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  19375. if (A.compoundIsSuperselector0(t2, t1, _null))
  19376. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t3)], t4));
  19377. else {
  19378. choices = A._setArrayType([A._setArrayType([component1, component2], t3), A._setArrayType([component2, component1], t3)], t4);
  19379. unified = A.unifyCompound0(t1.components, t2.components);
  19380. if (unified != null)
  19381. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(B.List_Kw10, type$.Combinator_2))], t3));
  19382. result.addFirst$1(choices);
  19383. }
  19384. }
  19385. } else {
  19386. if (!(t1 && combinator2 === B.Combinator_4QF0))
  19387. t2 = combinator1 === B.Combinator_4QF0 && combinator2 === B.Combinator_Htt0;
  19388. else
  19389. t2 = true;
  19390. if (t2) {
  19391. followingSiblingComponent = t1 ? component1 : component2;
  19392. nextSiblingComponent = t1 ? component2 : component1;
  19393. t1 = type$.JSArray_ComplexSelectorComponent_2;
  19394. t2 = type$.JSArray_List_ComplexSelectorComponent_2;
  19395. if (A.compoundIsSuperselector0(followingSiblingComponent.selector, nextSiblingComponent.selector, _null))
  19396. result.addFirst$1(A._setArrayType([A._setArrayType([nextSiblingComponent], t1)], t2));
  19397. else {
  19398. unified = A.unifyCompound0(component1.selector.components, component2.selector.components);
  19399. t2 = A._setArrayType([A._setArrayType([followingSiblingComponent, nextSiblingComponent], t1)], t2);
  19400. if (unified != null)
  19401. t2.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(B.List_IoD0, type$.Combinator_2))], t1));
  19402. result.addFirst$1(t2);
  19403. }
  19404. } else {
  19405. if (combinator1 === B.Combinator_Cht0)
  19406. t2 = combinator2 === B.Combinator_4QF0 || combinator2 === B.Combinator_Htt0;
  19407. else
  19408. t2 = false;
  19409. if (t2) {
  19410. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19411. components1._add$1(component1);
  19412. } else {
  19413. if (combinator2 === B.Combinator_Cht0)
  19414. t1 = combinator1 === B.Combinator_4QF0 || t1;
  19415. else
  19416. t1 = false;
  19417. if (t1) {
  19418. result.addFirst$1(A._setArrayType([A._setArrayType([component1], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19419. components2._add$1(component2);
  19420. } else if (combinator1 === combinator2) {
  19421. unified = A.unifyCompound0(component1.selector.components, component2.selector.components);
  19422. if (unified == null)
  19423. return _null;
  19424. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([combinator1], type$.JSArray_Combinator_2), type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19425. } else
  19426. return _null;
  19427. }
  19428. }
  19429. }
  19430. return A._mergeTrailingCombinators0(components1, components2, result);
  19431. } else if (t1) {
  19432. if (combinator1 === B.Combinator_Cht0 && !components2.get$isEmpty(components2) && A.compoundIsSuperselector0(components2.get$last(components2).selector, components1.get$last(components1).selector, _null))
  19433. components2.removeLast$0(0);
  19434. result.addFirst$1(A._setArrayType([A._setArrayType([components1.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19435. return A._mergeTrailingCombinators0(components1, components2, result);
  19436. } else {
  19437. if (combinator2 === B.Combinator_Cht0 && !components1.get$isEmpty(components1) && A.compoundIsSuperselector0(components1.get$last(components1).selector, components2.get$last(components2).selector, _null))
  19438. components1.removeLast$0(0);
  19439. result.addFirst$1(A._setArrayType([A._setArrayType([components2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  19440. return A._mergeTrailingCombinators0(components1, components2, result);
  19441. }
  19442. },
  19443. _mustUnify0(complex1, complex2) {
  19444. var t2, t3, t4,
  19445. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  19446. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  19447. 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();)
  19448. t1.add$1(0, t3.get$current(t3));
  19449. if (t1._collection$_length === 0)
  19450. return false;
  19451. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  19452. },
  19453. _isUnique0(simple) {
  19454. var t1;
  19455. if (!(simple instanceof A.IDSelector0))
  19456. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  19457. else
  19458. t1 = true;
  19459. return t1;
  19460. },
  19461. _chunks0(queue1, queue2, done, $T) {
  19462. var chunk2, t2,
  19463. t1 = $T._eval$1("JSArray<0>"),
  19464. chunk1 = A._setArrayType([], t1);
  19465. for (; !done.call$1(queue1);)
  19466. chunk1.push(queue1.removeFirst$0());
  19467. chunk2 = A._setArrayType([], t1);
  19468. for (; !done.call$1(queue2);)
  19469. chunk2.push(queue2.removeFirst$0());
  19470. t1 = chunk1.length === 0;
  19471. if (t1 && chunk2.length === 0)
  19472. return A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  19473. if (t1)
  19474. return A._setArrayType([chunk2], $T._eval$1("JSArray<List<0>>"));
  19475. if (chunk2.length === 0)
  19476. return A._setArrayType([chunk1], $T._eval$1("JSArray<List<0>>"));
  19477. t1 = A.List_List$of(chunk1, true, $T);
  19478. B.JSArray_methods.addAll$1(t1, chunk2);
  19479. t2 = A.List_List$of(chunk2, true, $T);
  19480. B.JSArray_methods.addAll$1(t2, chunk1);
  19481. return A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  19482. },
  19483. paths0(choices, $T) {
  19484. 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));
  19485. },
  19486. _groupSelectors0(complex) {
  19487. var t2, t3, t4,
  19488. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  19489. t1 = type$.JSArray_ComplexSelectorComponent_2,
  19490. group = A._setArrayType([], t1);
  19491. for (t2 = A._ListQueueIterator$(complex), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  19492. t4 = t2._collection$_current;
  19493. if (t4 == null)
  19494. t4 = t3._as(t4);
  19495. group.push(t4);
  19496. if (t4.combinators.length === 0) {
  19497. groups._queue_list$_add$1(group);
  19498. group = A._setArrayType([], t1);
  19499. }
  19500. }
  19501. if (group.length !== 0)
  19502. groups._queue_list$_add$1(group);
  19503. return groups;
  19504. },
  19505. listIsSuperselector0(list1, list2) {
  19506. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  19507. },
  19508. _complexIsParentSuperselector0(complex1, complex2) {
  19509. var base, t1, t2;
  19510. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  19511. return false;
  19512. base = new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>")], type$.JSArray_SimpleSelector_2)), A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2));
  19513. t1 = type$.ComplexSelectorComponent_2;
  19514. t2 = A.List_List$of(complex1, true, t1);
  19515. t2.push(base);
  19516. t1 = A.List_List$of(complex2, true, t1);
  19517. t1.push(base);
  19518. return A.complexIsSuperselector0(t2, t1);
  19519. },
  19520. complexIsSuperselector0(complex1, complex2) {
  19521. var t1, t2, t3, i1, i2, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1, combinator2;
  19522. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  19523. return false;
  19524. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  19525. return false;
  19526. for (t1 = type$.JSArray_ComplexSelectorComponent_2, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0; true;) {
  19527. remaining1 = complex1.length - i1;
  19528. t4 = complex2.length;
  19529. remaining2 = t4 - i2;
  19530. if (remaining1 === 0 || remaining2 === 0)
  19531. return false;
  19532. if (remaining1 > remaining2)
  19533. return false;
  19534. component1 = complex1[i1];
  19535. t5 = component1.combinators;
  19536. if (t5.length > 1)
  19537. return false;
  19538. if (remaining1 === 1) {
  19539. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  19540. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  19541. return false;
  19542. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  19543. }
  19544. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  19545. component2 = complex2[endOfSubselector];
  19546. if (component2.combinators.length > 1)
  19547. return false;
  19548. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  19549. break;
  19550. ++endOfSubselector;
  19551. if (endOfSubselector === complex2.length - 1)
  19552. return false;
  19553. if (parents == null)
  19554. parents = A._setArrayType([], t1);
  19555. parents.push(component2);
  19556. }
  19557. component2 = complex2[endOfSubselector];
  19558. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  19559. combinator2 = A.IterableExtension_get_firstOrNull(component2.combinators);
  19560. if (combinator1 != combinator2)
  19561. if (!(combinator1 == null && combinator2 === B.Combinator_Cht0))
  19562. t4 = combinator1 === B.Combinator_Htt0 && combinator2 === B.Combinator_4QF0;
  19563. else
  19564. t4 = true;
  19565. else
  19566. t4 = true;
  19567. if (!t4)
  19568. return false;
  19569. ++i1;
  19570. i2 = endOfSubselector + 1;
  19571. if (complex1.length - i1 === 1)
  19572. if (combinator1 === B.Combinator_Htt0) {
  19573. t4 = complex2.length - 1;
  19574. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  19575. t5.SubListIterable$3(complex2, 0, t4, t3);
  19576. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  19577. return false;
  19578. } else if (combinator1 != null)
  19579. if (complex2.length - i2 > 1)
  19580. return false;
  19581. }
  19582. },
  19583. _isSupercombinator0(combinator1, combinator2) {
  19584. var t1;
  19585. if (combinator1 != combinator2)
  19586. if (!(combinator1 == null && combinator2 === B.Combinator_Cht0))
  19587. t1 = combinator1 === B.Combinator_Htt0 && combinator2 === B.Combinator_4QF0;
  19588. else
  19589. t1 = true;
  19590. else
  19591. t1 = true;
  19592. return t1;
  19593. },
  19594. compoundIsSuperselector0(compound1, compound2, parents) {
  19595. var t2, t3, t4, t5, t6, t7, t8, _i, simple1,
  19596. tuple1 = A._findPseudoElementIndexed0(compound1),
  19597. tuple2 = A._findPseudoElementIndexed0(compound2),
  19598. t1 = tuple1 == null;
  19599. if (!t1 && tuple2 != null) {
  19600. if (tuple1.item1.isSuperselector$1(tuple2.item1)) {
  19601. t1 = compound1.components;
  19602. t2 = tuple1.item2;
  19603. t3 = type$.int;
  19604. t4 = A._arrayInstanceType(t1)._precomputed1;
  19605. t5 = A.SubListIterable$(t1, 0, A.checkNotNullable(t2, "count", t3), t4);
  19606. t6 = compound2.components;
  19607. t7 = tuple2.item2;
  19608. t8 = A._arrayInstanceType(t6)._precomputed1;
  19609. 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);
  19610. } else
  19611. t1 = false;
  19612. return t1;
  19613. } else if (!t1 || tuple2 != null)
  19614. return false;
  19615. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  19616. simple1 = t1[_i];
  19617. if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null) {
  19618. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  19619. return false;
  19620. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  19621. return false;
  19622. }
  19623. return true;
  19624. },
  19625. _findPseudoElementIndexed0(compound) {
  19626. var t1, t2, i, simple;
  19627. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  19628. simple = t1[i];
  19629. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  19630. return new A.Tuple2(simple, i, type$.Tuple2_PseudoSelector_int_2);
  19631. }
  19632. return null;
  19633. },
  19634. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  19635. if (compound1.get$length(compound1) === 0)
  19636. return true;
  19637. if (compound2.get$length(compound2) === 0)
  19638. compound2 = A._setArrayType([new A.UniversalSelector0("*")], type$.JSArray_SimpleSelector_2);
  19639. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1), A.CompoundSelector$0(compound2), parents);
  19640. },
  19641. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  19642. var selector1_ = pseudo1.selector;
  19643. if (selector1_ == null)
  19644. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  19645. switch (pseudo1.normalizedName) {
  19646. case "is":
  19647. case "matches":
  19648. case "any":
  19649. case "where":
  19650. 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));
  19651. case "has":
  19652. case "host":
  19653. case "host-context":
  19654. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1_));
  19655. case "slotted":
  19656. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1_));
  19657. case "not":
  19658. return B.JSArray_methods.every$1(selector1_.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  19659. case "current":
  19660. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1_));
  19661. case "nth-child":
  19662. case "nth-last-child":
  19663. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1_));
  19664. default:
  19665. throw A.wrapException("unreachable");
  19666. }
  19667. },
  19668. _selectorPseudoArgs0(compound, $name, isClass) {
  19669. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  19670. 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);
  19671. },
  19672. unifyComplex_closure0: function unifyComplex_closure0() {
  19673. },
  19674. _weaveParents_closure3: function _weaveParents_closure3() {
  19675. },
  19676. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  19677. this.group = t0;
  19678. },
  19679. _weaveParents_closure5: function _weaveParents_closure5() {
  19680. },
  19681. _weaveParents_closure6: function _weaveParents_closure6() {
  19682. },
  19683. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  19684. this.uniqueSelectors = t0;
  19685. },
  19686. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  19687. this.uniqueSelectors = t0;
  19688. },
  19689. paths_closure0: function paths_closure0(t0) {
  19690. this.T = t0;
  19691. },
  19692. paths__closure0: function paths__closure0(t0, t1) {
  19693. this.paths = t0;
  19694. this.T = t1;
  19695. },
  19696. paths___closure0: function paths___closure0(t0, t1) {
  19697. this.option = t0;
  19698. this.T = t1;
  19699. },
  19700. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  19701. this.list1 = t0;
  19702. },
  19703. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  19704. this.complex1 = t0;
  19705. },
  19706. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  19707. },
  19708. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  19709. this.combinator1 = t0;
  19710. },
  19711. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  19712. this.selector1 = t0;
  19713. },
  19714. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  19715. this.parents = t0;
  19716. this.compound2 = t1;
  19717. },
  19718. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  19719. this.selector1 = t0;
  19720. },
  19721. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  19722. this.selector1 = t0;
  19723. },
  19724. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  19725. this.compound2 = t0;
  19726. this.pseudo1 = t1;
  19727. },
  19728. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  19729. this.complex = t0;
  19730. this.pseudo1 = t1;
  19731. },
  19732. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  19733. this.simple2 = t0;
  19734. },
  19735. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  19736. this.simple2 = t0;
  19737. },
  19738. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  19739. this.selector1 = t0;
  19740. },
  19741. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  19742. this.pseudo1 = t0;
  19743. this.selector1 = t1;
  19744. },
  19745. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  19746. this.isClass = t0;
  19747. this.name = t1;
  19748. },
  19749. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  19750. },
  19751. globalFunctions_closure0: function globalFunctions_closure0() {
  19752. },
  19753. IDSelector0: function IDSelector0(t0) {
  19754. this.name = t0;
  19755. },
  19756. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  19757. this.$this = t0;
  19758. },
  19759. IfExpression0: function IfExpression0(t0, t1) {
  19760. this.$arguments = t0;
  19761. this.span = t1;
  19762. },
  19763. IfClause$0(expression, children) {
  19764. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  19765. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  19766. },
  19767. ElseClause$0(children) {
  19768. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  19769. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  19770. },
  19771. IfRule0: function IfRule0(t0, t1, t2) {
  19772. this.clauses = t0;
  19773. this.lastClause = t1;
  19774. this.span = t2;
  19775. },
  19776. IfRule_toString_closure0: function IfRule_toString_closure0() {
  19777. },
  19778. IfRuleClause0: function IfRuleClause0() {
  19779. },
  19780. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  19781. },
  19782. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  19783. },
  19784. IfClause0: function IfClause0(t0, t1, t2) {
  19785. this.expression = t0;
  19786. this.children = t1;
  19787. this.hasDeclarations = t2;
  19788. },
  19789. ElseClause0: function ElseClause0(t0, t1) {
  19790. this.children = t0;
  19791. this.hasDeclarations = t1;
  19792. },
  19793. jsToDartList(list) {
  19794. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  19795. },
  19796. dartMapToImmutableMap(dartMap) {
  19797. var t1, t2,
  19798. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  19799. for (t1 = dartMap.get$entries(dartMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  19800. t2 = t1.get$current(t1);
  19801. immutableMap = J.$set$2$x(immutableMap, t2.key, t2.value);
  19802. }
  19803. return J.asImmutable$0$x(immutableMap);
  19804. },
  19805. immutableMapToDartMap(immutableMap) {
  19806. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  19807. J.forEach$1$x(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  19808. return dartMap;
  19809. },
  19810. ImmutableList: function ImmutableList() {
  19811. },
  19812. ImmutableMap: function ImmutableMap() {
  19813. },
  19814. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  19815. this.dartMap = t0;
  19816. },
  19817. NodeImporter__addSassPath($async$includePaths) {
  19818. return A._makeSyncStarIterable(function() {
  19819. var includePaths = $async$includePaths;
  19820. var $async$goto = 0, $async$handler = 2, $async$currentError, t1, sassPath;
  19821. return function $async$NodeImporter__addSassPath($async$errorCode, $async$result) {
  19822. if ($async$errorCode === 1) {
  19823. $async$currentError = $async$result;
  19824. $async$goto = $async$handler;
  19825. }
  19826. while (true)
  19827. switch ($async$goto) {
  19828. case 0:
  19829. // Function start
  19830. $async$goto = 3;
  19831. return A._IterationMarker_yieldStar(includePaths);
  19832. case 3:
  19833. // after yield
  19834. t1 = J.get$env$x(self.process);
  19835. if (t1 == null)
  19836. t1 = type$.Object._as(t1);
  19837. sassPath = A._asStringQ(t1.SASS_PATH);
  19838. if (sassPath == null) {
  19839. // goto return
  19840. $async$goto = 1;
  19841. break;
  19842. }
  19843. $async$goto = 4;
  19844. return A._IterationMarker_yieldStar(A._setArrayType(sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":"), type$.JSArray_String));
  19845. case 4:
  19846. // after yield
  19847. case 1:
  19848. // return
  19849. return A._IterationMarker_endOfIteration();
  19850. case 2:
  19851. // rethrow
  19852. return A._IterationMarker_uncaughtError($async$currentError);
  19853. }
  19854. };
  19855. }, type$.String);
  19856. },
  19857. NodeImporter: function NodeImporter(t0, t1, t2) {
  19858. this._implementation$_options = t0;
  19859. this._includePaths = t1;
  19860. this._implementation$_importers = t2;
  19861. },
  19862. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  19863. this.path = t0;
  19864. },
  19865. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  19866. },
  19867. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  19868. var _ = this;
  19869. _.url = t0;
  19870. _.modifiers = t1;
  19871. _.span = t2;
  19872. _._node0$_indexInParent = _._node0$_parent = null;
  19873. _.isGroupEnd = false;
  19874. },
  19875. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  19876. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  19877. t2 = type$.Uri,
  19878. t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  19879. 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));
  19880. },
  19881. ImportCache$none(logger) {
  19882. var t1 = type$.nullable_Tuple3_Importer_Uri_Uri_2,
  19883. t2 = type$.Uri;
  19884. 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));
  19885. },
  19886. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  19887. var sassPath, t2, t3, _i, path, _null = null,
  19888. t1 = J.get$env$x(self.process);
  19889. if (t1 == null)
  19890. t1 = type$.Object._as(t1);
  19891. sassPath = A._asStringQ(t1.SASS_PATH);
  19892. t1 = A._setArrayType([], type$.JSArray_Importer);
  19893. if (importers != null)
  19894. B.JSArray_methods.addAll$1(t1, importers);
  19895. if (loadPaths != null)
  19896. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  19897. t3 = t2.get$current(t2);
  19898. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(t3, _null, _null, _null, _null, _null, _null)));
  19899. }
  19900. if (sassPath != null) {
  19901. t2 = sassPath.split(J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  19902. t3 = t2.length;
  19903. _i = 0;
  19904. for (; _i < t3; ++_i) {
  19905. path = t2[_i];
  19906. t1.push(new A.FilesystemImporter0($.$get$context().absolute$7(path, _null, _null, _null, _null, _null, _null)));
  19907. }
  19908. }
  19909. return t1;
  19910. },
  19911. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
  19912. var _ = this;
  19913. _._import_cache$_importers = t0;
  19914. _._import_cache$_logger = t1;
  19915. _._import_cache$_canonicalizeCache = t2;
  19916. _._import_cache$_relativeCanonicalizeCache = t3;
  19917. _._import_cache$_importCache = t4;
  19918. _._import_cache$_resultsCache = t5;
  19919. },
  19920. ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  19921. var _ = this;
  19922. _.$this = t0;
  19923. _.baseUrl = t1;
  19924. _.url = t2;
  19925. _.baseImporter = t3;
  19926. _.forImport = t4;
  19927. },
  19928. ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2) {
  19929. this.$this = t0;
  19930. this.url = t1;
  19931. this.forImport = t2;
  19932. },
  19933. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  19934. this.importer = t0;
  19935. this.url = t1;
  19936. },
  19937. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  19938. var _ = this;
  19939. _.$this = t0;
  19940. _.importer = t1;
  19941. _.canonicalUrl = t2;
  19942. _.originalUrl = t3;
  19943. _.quiet = t4;
  19944. },
  19945. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  19946. this.canonicalUrl = t0;
  19947. },
  19948. ImportCache_humanize_closure3: function ImportCache_humanize_closure3() {
  19949. },
  19950. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  19951. },
  19952. ImportRule0: function ImportRule0(t0, t1) {
  19953. this.imports = t0;
  19954. this.span = t1;
  19955. },
  19956. NodeImporter0: function NodeImporter0() {
  19957. },
  19958. CanonicalizeOptions: function CanonicalizeOptions() {
  19959. },
  19960. NodeImporterResult0: function NodeImporterResult0() {
  19961. },
  19962. Importer0: function Importer0() {
  19963. },
  19964. NodeImporterResult1: function NodeImporterResult1() {
  19965. },
  19966. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
  19967. var _ = this;
  19968. _.namespace = t0;
  19969. _.name = t1;
  19970. _.$arguments = t2;
  19971. _.content = t3;
  19972. _.span = t4;
  19973. },
  19974. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  19975. this.name = t0;
  19976. this.$arguments = t1;
  19977. this.span = t2;
  19978. },
  19979. Interpolation$0(contents, span) {
  19980. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  19981. t1.Interpolation$20(contents, span);
  19982. return t1;
  19983. },
  19984. Interpolation0: function Interpolation0(t0, t1) {
  19985. this.contents = t0;
  19986. this.span = t1;
  19987. },
  19988. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  19989. },
  19990. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  19991. this.expression = t0;
  19992. this.span = t1;
  19993. },
  19994. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  19995. this._interpolation_buffer0$_text = t0;
  19996. this._interpolation_buffer0$_contents = t1;
  19997. },
  19998. _realCasePath0(path) {
  19999. var prefix, t1;
  20000. if (!(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")))
  20001. return path;
  20002. if (J.$eq$(J.get$platform$x(self.process), "win32")) {
  20003. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  20004. t1 = prefix.length;
  20005. if (t1 !== 0 && A.isAlphabetic1(B.JSString_methods._codeUnitAt$1(prefix, 0)))
  20006. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  20007. }
  20008. return new A._realCasePath_helper0().call$1(path);
  20009. },
  20010. _realCasePath_helper0: function _realCasePath_helper0() {
  20011. },
  20012. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  20013. this.helper = t0;
  20014. this.dirname = t1;
  20015. this.path = t2;
  20016. },
  20017. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  20018. this.basename = t0;
  20019. },
  20020. ModifiableCssKeyframeBlock$0(selector, span) {
  20021. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20022. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20023. },
  20024. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  20025. var _ = this;
  20026. _.selector = t0;
  20027. _.span = t1;
  20028. _.children = t2;
  20029. _._node0$_children = t3;
  20030. _._node0$_indexInParent = _._node0$_parent = null;
  20031. _.isGroupEnd = false;
  20032. },
  20033. KeyframeSelectorParser$0(contents, logger) {
  20034. var t1 = A.SpanScanner$(contents, null);
  20035. return new A.KeyframeSelectorParser0(t1, logger);
  20036. },
  20037. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  20038. this.scanner = t0;
  20039. this.logger = t1;
  20040. },
  20041. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  20042. this.$this = t0;
  20043. },
  20044. render(options, callback) {
  20045. var fiber = J.get$fiber$x(options);
  20046. if (fiber != null)
  20047. J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
  20048. else
  20049. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  20050. },
  20051. _renderAsync(options) {
  20052. var $async$goto = 0,
  20053. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  20054. $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, data, file;
  20055. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20056. if ($async$errorCode === 1)
  20057. return A._asyncRethrow($async$result, $async$completer);
  20058. while (true)
  20059. switch ($async$goto) {
  20060. case 0:
  20061. // Function start
  20062. start = new A.DateTime(Date.now(), false);
  20063. t1 = J.getInterceptor$x(options);
  20064. data = t1.get$data(options);
  20065. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20066. $async$goto = data != null ? 3 : 5;
  20067. break;
  20068. case 3:
  20069. // then
  20070. t2 = A._parseImporter(options, start);
  20071. t3 = A._parseFunctions(options, start, true);
  20072. t4 = t1.get$indentedSyntax(options);
  20073. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20074. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20075. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20076. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20077. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20078. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20079. t10 = t1.get$quietDeps(options);
  20080. if (t10 == null)
  20081. t10 = false;
  20082. t11 = t1.get$verbose(options);
  20083. if (t11 == null)
  20084. t11 = false;
  20085. t12 = t1.get$charset(options);
  20086. if (t12 == null)
  20087. t12 = true;
  20088. t13 = A._enableSourceMaps(options);
  20089. t1 = t1.get$logger(options);
  20090. t14 = J.$eq$(self.process.stdout.isTTY, true);
  20091. t15 = $._glyphs;
  20092. $async$goto = 6;
  20093. 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);
  20094. case 6:
  20095. // returning from await.
  20096. result = $async$result;
  20097. // goto join
  20098. $async$goto = 4;
  20099. break;
  20100. case 5:
  20101. // else
  20102. $async$goto = file != null ? 7 : 9;
  20103. break;
  20104. case 7:
  20105. // then
  20106. t2 = A._parseImporter(options, start);
  20107. t3 = A._parseFunctions(options, start, true);
  20108. t4 = t1.get$indentedSyntax(options);
  20109. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  20110. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20111. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20112. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20113. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20114. t9 = t1.get$quietDeps(options);
  20115. if (t9 == null)
  20116. t9 = false;
  20117. t10 = t1.get$verbose(options);
  20118. if (t10 == null)
  20119. t10 = false;
  20120. t11 = t1.get$charset(options);
  20121. if (t11 == null)
  20122. t11 = true;
  20123. t12 = A._enableSourceMaps(options);
  20124. t1 = t1.get$logger(options);
  20125. t13 = J.$eq$(self.process.stdout.isTTY, true);
  20126. t14 = $._glyphs;
  20127. $async$goto = 10;
  20128. return A._asyncAwait(A.compileAsync0(file, t11, t3, null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10), $async$_renderAsync);
  20129. case 10:
  20130. // returning from await.
  20131. result = $async$result;
  20132. // goto join
  20133. $async$goto = 8;
  20134. break;
  20135. case 9:
  20136. // else
  20137. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  20138. case 8:
  20139. // join
  20140. case 4:
  20141. // join
  20142. $async$returnValue = A._newRenderResult(options, result, start);
  20143. // goto return
  20144. $async$goto = 1;
  20145. break;
  20146. case 1:
  20147. // return
  20148. return A._asyncReturn($async$returnValue, $async$completer);
  20149. }
  20150. });
  20151. return A._asyncStartSync($async$_renderAsync, $async$completer);
  20152. },
  20153. renderSync(options) {
  20154. 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;
  20155. try {
  20156. start = new A.DateTime(Date.now(), false);
  20157. result = null;
  20158. t1 = J.getInterceptor$x(options);
  20159. data = t1.get$data(options);
  20160. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  20161. if (data != null) {
  20162. t2 = A._parseImporter(options, start);
  20163. t3 = A._parseFunctions(options, start, false);
  20164. t4 = t1.get$indentedSyntax(options);
  20165. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20166. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20167. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20168. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20169. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20170. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  20171. t10 = t1.get$quietDeps(options);
  20172. if (t10 == null)
  20173. t10 = false;
  20174. t11 = t1.get$verbose(options);
  20175. if (t11 == null)
  20176. t11 = false;
  20177. t12 = t1.get$charset(options);
  20178. if (t12 == null)
  20179. t12 = true;
  20180. t13 = A._enableSourceMaps(options);
  20181. t1 = t1.get$logger(options);
  20182. t14 = J.$eq$(self.process.stdout.isTTY, true);
  20183. t15 = $._glyphs;
  20184. result = A.compileString(data, t12, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11);
  20185. } else if (file != null) {
  20186. t2 = A._parseImporter(options, start);
  20187. t3 = A._parseFunctions(options, start, false);
  20188. t4 = t1.get$indentedSyntax(options);
  20189. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  20190. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  20191. t6 = J.$eq$(t1.get$indentType(options), "tab");
  20192. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  20193. t8 = A._parseLineFeed(t1.get$linefeed(options));
  20194. t9 = t1.get$quietDeps(options);
  20195. if (t9 == null)
  20196. t9 = false;
  20197. t10 = t1.get$verbose(options);
  20198. if (t10 == null)
  20199. t10 = false;
  20200. t11 = t1.get$charset(options);
  20201. if (t11 == null)
  20202. t11 = true;
  20203. t12 = A._enableSourceMaps(options);
  20204. t1 = t1.get$logger(options);
  20205. t13 = J.$eq$(self.process.stdout.isTTY, true);
  20206. t14 = $._glyphs;
  20207. result = A.compile(file, t11, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable0>")), _null, t7, t8, new A.NodeToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10);
  20208. } else {
  20209. t1 = A.ArgumentError$(string$.Either, _null);
  20210. throw A.wrapException(t1);
  20211. }
  20212. t1 = A._newRenderResult(options, result, start);
  20213. return t1;
  20214. } catch (exception) {
  20215. t1 = A.unwrapException(exception);
  20216. if (t1 instanceof A.SassException0) {
  20217. error = t1;
  20218. stackTrace = A.getTraceFromException(exception);
  20219. A.jsThrow(A._wrapException(error, stackTrace));
  20220. } else {
  20221. error0 = t1;
  20222. stackTrace0 = A.getTraceFromException(exception);
  20223. t1 = J.toString$0$(error0);
  20224. t2 = A.getTrace0(error0);
  20225. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  20226. }
  20227. }
  20228. },
  20229. _wrapException(exception, stackTrace) {
  20230. var file, t2, t3, t4,
  20231. t1 = A.SourceSpanException.prototype.get$span.call(exception, exception),
  20232. url = t1.get$sourceUrl(t1);
  20233. if (url == null)
  20234. file = "stdin";
  20235. else
  20236. file = url.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(url)) : url.toString$0(0);
  20237. t1 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  20238. t2 = A.getTrace0(exception);
  20239. if (t2 == null)
  20240. t2 = stackTrace;
  20241. t3 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20242. t3 = t3.get$start(t3);
  20243. t3 = t3.file.getLine$1(t3.offset);
  20244. t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  20245. t4 = t4.get$start(t4);
  20246. return A._newRenderError(t1, t2, t4.file.getColumn$1(t4.offset) + 1, file, t3 + 1, 1);
  20247. },
  20248. _parseFunctions(options, start, asynch) {
  20249. var result,
  20250. functions = J.get$functions$x(options);
  20251. if (functions == null)
  20252. return B.List_empty24;
  20253. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  20254. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  20255. return result;
  20256. },
  20257. _parseImporter(options, start) {
  20258. var importers, t2, t3, contextOptions, fiber,
  20259. t1 = J.getInterceptor$x(options);
  20260. if (t1.get$importer(options) == null)
  20261. importers = A._setArrayType([], type$.JSArray_JSFunction);
  20262. else {
  20263. t2 = type$.List_nullable_Object;
  20264. t3 = type$.JSFunction;
  20265. 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);
  20266. }
  20267. t2 = J.getInterceptor$asx(importers);
  20268. contextOptions = t2.get$isNotEmpty(importers) ? A._contextOptions(options, start) : new A.Object();
  20269. fiber = t1.get$fiber(options);
  20270. if (fiber != null) {
  20271. t2 = t2.map$1$1(importers, new A._parseImporter_closure(fiber), type$.JSFunction);
  20272. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  20273. }
  20274. t1 = t1.get$includePaths(options);
  20275. if (t1 == null)
  20276. t1 = [];
  20277. t2 = type$.String;
  20278. 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));
  20279. },
  20280. _contextOptions(options, start) {
  20281. var includePaths, t3, t4, t5, t6, t7,
  20282. t1 = J.getInterceptor$x(options),
  20283. t2 = t1.get$includePaths(options);
  20284. if (t2 == null)
  20285. t2 = [];
  20286. includePaths = A.List_List$from(t2, true, type$.String);
  20287. t2 = t1.get$file(options);
  20288. t3 = t1.get$data(options);
  20289. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  20290. B.JSArray_methods.addAll$1(t4, includePaths);
  20291. t4 = B.JSArray_methods.join$1(t4, J.$eq$(J.get$platform$x(self.process), "win32") ? ";" : ":");
  20292. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  20293. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  20294. if (t6 == null)
  20295. t6 = 2;
  20296. t7 = A._parseLineFeed(t1.get$linefeed(options));
  20297. t1 = t1.get$file(options);
  20298. if (t1 == null)
  20299. t1 = "data";
  20300. return {file: t2, data: t3, includePaths: t4, precision: 10, style: 1, indentType: t5, indentWidth: t6, linefeed: t7.text, result: {stats: {start: start._core$_value, entry: t1}}};
  20301. },
  20302. _parseOutputStyle(style) {
  20303. if (style == null || style === "expanded")
  20304. return B.OutputStyle_00;
  20305. if (style === "compressed")
  20306. return B.OutputStyle_10;
  20307. throw A.wrapException(A.ArgumentError$('Unsupported output style "' + A.S(style) + '".', null));
  20308. },
  20309. _parseIndentWidth(width) {
  20310. if (width == null)
  20311. return null;
  20312. return A._isInt(width) ? width : A.int_parse(J.toString$0$(width), null);
  20313. },
  20314. _parseLineFeed(str) {
  20315. switch (str) {
  20316. case "cr":
  20317. return B.LineFeed_oyU;
  20318. case "crlf":
  20319. return B.LineFeed_gg4;
  20320. case "lfcr":
  20321. return B.LineFeed_t2a;
  20322. default:
  20323. return B.LineFeed_SsD;
  20324. }
  20325. },
  20326. _newRenderResult(options, result, start) {
  20327. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, file, sourceMapDirUrl, i, source, t6, t7, buffer, indices, url, t8, t9, _null = null,
  20328. t1 = Date.now(),
  20329. t2 = result._compile_result$_serialize,
  20330. css = t2.css,
  20331. sourceMapBytes = type$.Null._as(self.undefined);
  20332. if (A._enableSourceMaps(options)) {
  20333. t3 = J.getInterceptor$x(options);
  20334. sourceMapOption = t3.get$sourceMap(options);
  20335. if (typeof sourceMapOption == "string")
  20336. sourceMapPath = sourceMapOption;
  20337. else {
  20338. t4 = t3.get$outFile(options);
  20339. t4.toString;
  20340. sourceMapPath = J.$add$ansx(t4, ".map");
  20341. }
  20342. t4 = $.$get$context();
  20343. sourceMapDir = t4.dirname$1(sourceMapPath);
  20344. t2 = t2.sourceMap;
  20345. t2.toString;
  20346. t2.sourceRoot = t3.get$sourceMapRoot(options);
  20347. outFile = t3.get$outFile(options);
  20348. t5 = outFile == null;
  20349. if (t5) {
  20350. file = t3.get$file(options);
  20351. if (file == null)
  20352. t2.targetUrl = "stdin.css";
  20353. else
  20354. t2.targetUrl = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
  20355. } else
  20356. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  20357. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  20358. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  20359. source = t4[i];
  20360. if (source === "stdin")
  20361. continue;
  20362. t6 = $.$get$url();
  20363. t7 = t6.style;
  20364. if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
  20365. continue;
  20366. t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
  20367. }
  20368. t4 = t3.get$sourceMapContents(options);
  20369. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  20370. t2 = t3.get$omitSourceMapUrl(options);
  20371. if (!(!J.$eq$(t2, false) && t2 != null)) {
  20372. t2 = t3.get$sourceMapEmbed(options);
  20373. if (!J.$eq$(t2, false) && t2 != null) {
  20374. buffer = new A.StringBuffer("");
  20375. indices = A._setArrayType([-1], type$.JSArray_int);
  20376. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  20377. indices.push(buffer._contents.length);
  20378. t2 = buffer._contents += ";base64,";
  20379. indices.push(t2.length - 1);
  20380. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  20381. t3 = sourceMapBytes.length;
  20382. A.RangeError_checkValidRange(0, t3, t3);
  20383. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  20384. t2 = buffer._contents;
  20385. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  20386. } else {
  20387. if (t5)
  20388. t2 = sourceMapPath;
  20389. else {
  20390. t2 = $.$get$context();
  20391. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  20392. }
  20393. url = $.$get$context().toUri$1(t2);
  20394. }
  20395. t2 = url.toString$0(0);
  20396. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  20397. }
  20398. }
  20399. t2 = self.Buffer.from(css, "utf8");
  20400. t3 = J.get$file$x(options);
  20401. if (t3 == null)
  20402. t3 = "data";
  20403. t4 = start._core$_value;
  20404. t1 = new A.DateTime(t1, false)._core$_value;
  20405. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  20406. t6 = A._setArrayType([], type$.JSArray_String);
  20407. for (t7 = result._evaluate.loadedUrls, t7 = A._LinkedHashSetIterator$(t7, t7._collection$_modifications), t8 = A._instanceType(t7)._precomputed1; t7.moveNext$0();) {
  20408. t9 = t7._collection$_current;
  20409. if (t9 == null)
  20410. t9 = t8._as(t9);
  20411. if (t9.get$scheme() === "file")
  20412. t6.push($.$get$context().style.pathFromUri$1(A._parseUri(t9)));
  20413. else
  20414. t6.push(t9.toString$0(0));
  20415. }
  20416. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  20417. },
  20418. _enableSourceMaps(options) {
  20419. var t2,
  20420. t1 = J.getInterceptor$x(options);
  20421. if (typeof t1.get$sourceMap(options) != "string") {
  20422. t2 = t1.get$sourceMap(options);
  20423. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  20424. } else
  20425. t1 = true;
  20426. return t1;
  20427. },
  20428. _newRenderError(message, stackTrace, column, file, line, $status) {
  20429. var error = new self.Error(message);
  20430. error.formatted = "Error: " + message;
  20431. if (line != null)
  20432. error.line = line;
  20433. if (column != null)
  20434. error.column = column;
  20435. if (file != null)
  20436. error.file = file;
  20437. error.status = $status;
  20438. A.attachJsStack(error, stackTrace);
  20439. return error;
  20440. },
  20441. render_closure: function render_closure(t0, t1) {
  20442. this.callback = t0;
  20443. this.options = t1;
  20444. },
  20445. render_closure0: function render_closure0(t0) {
  20446. this.callback = t0;
  20447. },
  20448. render_closure1: function render_closure1(t0) {
  20449. this.callback = t0;
  20450. },
  20451. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  20452. var _ = this;
  20453. _.options = t0;
  20454. _.start = t1;
  20455. _.result = t2;
  20456. _.asynch = t3;
  20457. },
  20458. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  20459. this.fiber = t0;
  20460. this.callback = t1;
  20461. this.context = t2;
  20462. },
  20463. _parseFunctions___closure0: function _parseFunctions___closure0(t0) {
  20464. this.currentFiber = t0;
  20465. },
  20466. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  20467. this.currentFiber = t0;
  20468. this.result = t1;
  20469. },
  20470. _parseFunctions___closure1: function _parseFunctions___closure1(t0) {
  20471. this.fiber = t0;
  20472. },
  20473. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  20474. this.callback = t0;
  20475. this.context = t1;
  20476. },
  20477. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  20478. this.callback = t0;
  20479. this.context = t1;
  20480. },
  20481. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  20482. this.completer = t0;
  20483. },
  20484. _parseImporter_closure: function _parseImporter_closure(t0) {
  20485. this.fiber = t0;
  20486. },
  20487. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  20488. this.fiber = t0;
  20489. this.importer = t1;
  20490. },
  20491. _parseImporter___closure: function _parseImporter___closure(t0) {
  20492. this.currentFiber = t0;
  20493. },
  20494. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  20495. this.currentFiber = t0;
  20496. this.result = t1;
  20497. },
  20498. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  20499. this.fiber = t0;
  20500. },
  20501. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  20502. var t2, key,
  20503. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  20504. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  20505. key = t2.get$current(t2);
  20506. if (!blocklist.contains$1(0, key))
  20507. t1.add$1(0, key);
  20508. }
  20509. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  20510. },
  20511. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  20512. this._limited_map_view0$_map = t0;
  20513. this._limited_map_view0$_keys = t1;
  20514. this.$ti = t2;
  20515. },
  20516. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  20517. var _ = this;
  20518. _.contents = t0;
  20519. _.separator = t1;
  20520. _.hasBrackets = t2;
  20521. _.span = t3;
  20522. },
  20523. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  20524. this.$this = t0;
  20525. },
  20526. _function10($name, $arguments, callback) {
  20527. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  20528. },
  20529. _length_closure2: function _length_closure2() {
  20530. },
  20531. _nth_closure0: function _nth_closure0() {
  20532. },
  20533. _setNth_closure0: function _setNth_closure0() {
  20534. },
  20535. _join_closure0: function _join_closure0() {
  20536. },
  20537. _append_closure2: function _append_closure2() {
  20538. },
  20539. _zip_closure0: function _zip_closure0() {
  20540. },
  20541. _zip__closure2: function _zip__closure2() {
  20542. },
  20543. _zip__closure3: function _zip__closure3(t0) {
  20544. this._box_0 = t0;
  20545. },
  20546. _zip__closure4: function _zip__closure4(t0) {
  20547. this._box_0 = t0;
  20548. },
  20549. _index_closure2: function _index_closure2() {
  20550. },
  20551. _separator_closure0: function _separator_closure0() {
  20552. },
  20553. _isBracketed_closure0: function _isBracketed_closure0() {
  20554. },
  20555. _slash_closure0: function _slash_closure0() {
  20556. },
  20557. SelectorList$0(components) {
  20558. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  20559. if (t1.length === 0)
  20560. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  20561. return new A.SelectorList0(t1);
  20562. },
  20563. SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, logger) {
  20564. return A.SelectorParser$0(contents, allowParent, allowPlaceholder, logger, null).parse$0();
  20565. },
  20566. SelectorList0: function SelectorList0(t0) {
  20567. this.components = t0;
  20568. },
  20569. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  20570. },
  20571. SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
  20572. this.$this = t0;
  20573. this.implicitParent = t1;
  20574. this.parent = t2;
  20575. },
  20576. SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
  20577. this.complex = t0;
  20578. },
  20579. SelectorList__complexContainsParentSelector_closure0: function SelectorList__complexContainsParentSelector_closure0() {
  20580. },
  20581. SelectorList__complexContainsParentSelector__closure0: function SelectorList__complexContainsParentSelector__closure0() {
  20582. },
  20583. SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
  20584. },
  20585. SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
  20586. this.parent = t0;
  20587. },
  20588. SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1, t2) {
  20589. this.parentSelector = t0;
  20590. this.resolvedSimples = t1;
  20591. this.component = t2;
  20592. },
  20593. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  20594. this.combinators = t0;
  20595. },
  20596. _NodeSassList: function _NodeSassList() {
  20597. },
  20598. legacyListClass_closure: function legacyListClass_closure() {
  20599. },
  20600. legacyListClass__closure: function legacyListClass__closure() {
  20601. },
  20602. legacyListClass_closure0: function legacyListClass_closure0() {
  20603. },
  20604. legacyListClass_closure1: function legacyListClass_closure1() {
  20605. },
  20606. legacyListClass_closure2: function legacyListClass_closure2() {
  20607. },
  20608. legacyListClass_closure3: function legacyListClass_closure3() {
  20609. },
  20610. legacyListClass_closure4: function legacyListClass_closure4() {
  20611. },
  20612. listClass_closure: function listClass_closure() {
  20613. },
  20614. listClass__closure: function listClass__closure() {
  20615. },
  20616. listClass__closure0: function listClass__closure0() {
  20617. },
  20618. _ConstructorOptions: function _ConstructorOptions() {
  20619. },
  20620. SassList$0(contents, _separator, brackets) {
  20621. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  20622. t1.SassList$3$brackets0(contents, _separator, brackets);
  20623. return t1;
  20624. },
  20625. SassList0: function SassList0(t0, t1, t2) {
  20626. this._list1$_contents = t0;
  20627. this._list1$_separator = t1;
  20628. this._list1$_hasBrackets = t2;
  20629. },
  20630. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  20631. },
  20632. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  20633. this._list1$_name = t0;
  20634. this.separator = t1;
  20635. this._name = t2;
  20636. },
  20637. NodeLogger: function NodeLogger() {
  20638. },
  20639. WarnOptions: function WarnOptions() {
  20640. },
  20641. DebugOptions: function DebugOptions() {
  20642. },
  20643. _QuietLogger0: function _QuietLogger0() {
  20644. },
  20645. LoudComment0: function LoudComment0(t0) {
  20646. this.text = t0;
  20647. },
  20648. MapExpression0: function MapExpression0(t0, t1) {
  20649. this.pairs = t0;
  20650. this.span = t1;
  20651. },
  20652. MapExpression_toString_closure0: function MapExpression_toString_closure0() {
  20653. },
  20654. _modify0(map, keys, modify, addNesting) {
  20655. var keyIterator = J.get$iterator$ax(keys);
  20656. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  20657. },
  20658. _deepMergeImpl0(map1, map2) {
  20659. var t2, t3, result,
  20660. t1 = map1._map0$_contents;
  20661. if (t1.get$isEmpty(t1))
  20662. return map2;
  20663. t2 = map2._map0$_contents;
  20664. if (t2.get$isEmpty(t2))
  20665. return map1;
  20666. t3 = type$.Value_2;
  20667. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  20668. t2.forEach$1(0, new A._deepMergeImpl_closure0(result));
  20669. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  20670. },
  20671. _function9($name, $arguments, callback) {
  20672. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  20673. },
  20674. _get_closure0: function _get_closure0() {
  20675. },
  20676. _set_closure1: function _set_closure1() {
  20677. },
  20678. _set__closure2: function _set__closure2(t0) {
  20679. this.$arguments = t0;
  20680. },
  20681. _set_closure2: function _set_closure2() {
  20682. },
  20683. _set__closure1: function _set__closure1(t0) {
  20684. this.args = t0;
  20685. },
  20686. _merge_closure1: function _merge_closure1() {
  20687. },
  20688. _merge_closure2: function _merge_closure2() {
  20689. },
  20690. _merge__closure0: function _merge__closure0(t0) {
  20691. this.map2 = t0;
  20692. },
  20693. _deepMerge_closure0: function _deepMerge_closure0() {
  20694. },
  20695. _deepRemove_closure0: function _deepRemove_closure0() {
  20696. },
  20697. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  20698. this.keys = t0;
  20699. },
  20700. _remove_closure1: function _remove_closure1() {
  20701. },
  20702. _remove_closure2: function _remove_closure2() {
  20703. },
  20704. _keys_closure0: function _keys_closure0() {
  20705. },
  20706. _values_closure0: function _values_closure0() {
  20707. },
  20708. _hasKey_closure0: function _hasKey_closure0() {
  20709. },
  20710. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  20711. this.keyIterator = t0;
  20712. this.modify = t1;
  20713. this.addNesting = t2;
  20714. },
  20715. _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
  20716. this.result = t0;
  20717. },
  20718. _NodeSassMap: function _NodeSassMap() {
  20719. },
  20720. legacyMapClass_closure: function legacyMapClass_closure() {
  20721. },
  20722. legacyMapClass__closure: function legacyMapClass__closure() {
  20723. },
  20724. legacyMapClass__closure0: function legacyMapClass__closure0() {
  20725. },
  20726. legacyMapClass_closure0: function legacyMapClass_closure0() {
  20727. },
  20728. legacyMapClass_closure1: function legacyMapClass_closure1() {
  20729. },
  20730. legacyMapClass_closure2: function legacyMapClass_closure2() {
  20731. },
  20732. legacyMapClass_closure3: function legacyMapClass_closure3() {
  20733. },
  20734. legacyMapClass_closure4: function legacyMapClass_closure4() {
  20735. },
  20736. mapClass_closure: function mapClass_closure() {
  20737. },
  20738. mapClass__closure: function mapClass__closure() {
  20739. },
  20740. mapClass__closure0: function mapClass__closure0() {
  20741. },
  20742. mapClass__closure1: function mapClass__closure1() {
  20743. },
  20744. SassMap0: function SassMap0(t0) {
  20745. this._map0$_contents = t0;
  20746. },
  20747. SassMap_asList_closure0: function SassMap_asList_closure0(t0) {
  20748. this.result = t0;
  20749. },
  20750. _numberFunction0($name, transform) {
  20751. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  20752. },
  20753. _function8($name, $arguments, callback) {
  20754. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  20755. },
  20756. _ceil_closure0: function _ceil_closure0() {
  20757. },
  20758. _clamp_closure0: function _clamp_closure0() {
  20759. },
  20760. _floor_closure0: function _floor_closure0() {
  20761. },
  20762. _max_closure0: function _max_closure0() {
  20763. },
  20764. _min_closure0: function _min_closure0() {
  20765. },
  20766. _round_closure0: function _round_closure0() {
  20767. },
  20768. _abs_closure0: function _abs_closure0() {
  20769. },
  20770. _hypot_closure0: function _hypot_closure0() {
  20771. },
  20772. _hypot__closure0: function _hypot__closure0() {
  20773. },
  20774. _log_closure0: function _log_closure0() {
  20775. },
  20776. _pow_closure0: function _pow_closure0() {
  20777. },
  20778. _sqrt_closure0: function _sqrt_closure0() {
  20779. },
  20780. _acos_closure0: function _acos_closure0() {
  20781. },
  20782. _asin_closure0: function _asin_closure0() {
  20783. },
  20784. _atan_closure0: function _atan_closure0() {
  20785. },
  20786. _atan2_closure0: function _atan2_closure0() {
  20787. },
  20788. _cos_closure0: function _cos_closure0() {
  20789. },
  20790. _sin_closure0: function _sin_closure0() {
  20791. },
  20792. _tan_closure0: function _tan_closure0() {
  20793. },
  20794. _compatible_closure0: function _compatible_closure0() {
  20795. },
  20796. _isUnitless_closure0: function _isUnitless_closure0() {
  20797. },
  20798. _unit_closure0: function _unit_closure0() {
  20799. },
  20800. _percentage_closure0: function _percentage_closure0() {
  20801. },
  20802. _randomFunction_closure0: function _randomFunction_closure0() {
  20803. },
  20804. _div_closure0: function _div_closure0() {
  20805. },
  20806. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  20807. this.transform = t0;
  20808. },
  20809. CssMediaQuery$type0(type, conditions, modifier) {
  20810. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  20811. },
  20812. CssMediaQuery$condition0(conditions, conjunction) {
  20813. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  20814. if (t1.length > 1 && conjunction == null)
  20815. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  20816. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  20817. },
  20818. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  20819. var _ = this;
  20820. _.modifier = t0;
  20821. _.type = t1;
  20822. _.conjunction = t2;
  20823. _.conditions = t3;
  20824. },
  20825. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  20826. this._media_query0$_name = t0;
  20827. },
  20828. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  20829. this.query = t0;
  20830. },
  20831. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  20832. this.scanner = t0;
  20833. this.logger = t1;
  20834. },
  20835. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  20836. this.$this = t0;
  20837. },
  20838. ModifiableCssMediaRule$0(queries, span) {
  20839. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  20840. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20841. if (J.get$isEmpty$asx(queries))
  20842. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  20843. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  20844. },
  20845. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  20846. var _ = this;
  20847. _.queries = t0;
  20848. _.span = t1;
  20849. _.children = t2;
  20850. _._node0$_children = t3;
  20851. _._node0$_indexInParent = _._node0$_parent = null;
  20852. _.isGroupEnd = false;
  20853. },
  20854. MediaRule$0(query, children, span) {
  20855. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20856. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20857. return new A.MediaRule0(query, span, t1, t2);
  20858. },
  20859. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  20860. var _ = this;
  20861. _.query = t0;
  20862. _.span = t1;
  20863. _.children = t2;
  20864. _.hasDeclarations = t3;
  20865. },
  20866. MergedExtension_merge0(left, right) {
  20867. var t3, t4, t5, t6,
  20868. t1 = left.extender,
  20869. t2 = t1.selector;
  20870. if (!t2.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  20871. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  20872. t3 = left.mediaContext;
  20873. t4 = t3 == null;
  20874. if (!t4) {
  20875. t5 = right.mediaContext;
  20876. t5 = t5 != null && !B.C_ListEquality.equals$2(0, t3, t5);
  20877. } else
  20878. t5 = false;
  20879. if (t5)
  20880. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span));
  20881. if (right.isOptional && right.mediaContext == null)
  20882. return left;
  20883. if (left.isOptional && t4)
  20884. return right;
  20885. t5 = left.target;
  20886. t6 = left.span;
  20887. if (t4)
  20888. t3 = right.mediaContext;
  20889. t2.get$specificity();
  20890. t1 = new A.Extender0(t2, false, t1.span);
  20891. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, t5, t3, true, t6);
  20892. },
  20893. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  20894. var _ = this;
  20895. _.left = t0;
  20896. _.right = t1;
  20897. _.extender = t2;
  20898. _.target = t3;
  20899. _.mediaContext = t4;
  20900. _.isOptional = t5;
  20901. _.span = t6;
  20902. },
  20903. MergedMapView$0(maps, $K, $V) {
  20904. var t1 = $K._eval$1("@<0>")._bind$1($V);
  20905. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  20906. t1.MergedMapView$10(maps, $K, $V);
  20907. return t1;
  20908. },
  20909. MergedMapView0: function MergedMapView0(t0, t1) {
  20910. this._merged_map_view$_mapsByKey = t0;
  20911. this.$ti = t1;
  20912. },
  20913. _function12($name, $arguments, callback) {
  20914. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  20915. },
  20916. global_closure57: function global_closure57() {
  20917. },
  20918. global_closure58: function global_closure58() {
  20919. },
  20920. global_closure59: function global_closure59() {
  20921. },
  20922. global_closure60: function global_closure60() {
  20923. },
  20924. local_closure1: function local_closure1() {
  20925. },
  20926. local_closure2: function local_closure2() {
  20927. },
  20928. local__closure0: function local__closure0() {
  20929. },
  20930. MixinRule$0($name, $arguments, children, span, comment) {
  20931. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20932. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20933. return new A.MixinRule0($name, $arguments, span, t1, t2);
  20934. },
  20935. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
  20936. var _ = this;
  20937. _._mixin_rule$__MixinRule_hasContent_FI = $;
  20938. _.name = t0;
  20939. _.$arguments = t1;
  20940. _.span = t2;
  20941. _.children = t3;
  20942. _.hasDeclarations = t4;
  20943. },
  20944. _HasContentVisitor0: function _HasContentVisitor0() {
  20945. },
  20946. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  20947. },
  20948. ExtendMode0: function ExtendMode0(t0, t1) {
  20949. this.name = t0;
  20950. this._name = t1;
  20951. },
  20952. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  20953. this._multi_span0$_primary = t0;
  20954. this.primaryLabel = t1;
  20955. this.secondarySpans = t2;
  20956. },
  20957. SupportsNegation0: function SupportsNegation0(t0, t1) {
  20958. this.condition = t0;
  20959. this.span = t1;
  20960. },
  20961. NoOpImporter: function NoOpImporter() {
  20962. },
  20963. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  20964. this._no_source_map_buffer0$_buffer = t0;
  20965. },
  20966. AstNode0: function AstNode0() {
  20967. },
  20968. _FakeAstNode0: function _FakeAstNode0(t0) {
  20969. this._node1$_callback = t0;
  20970. },
  20971. CssNode0: function CssNode0() {
  20972. },
  20973. CssParentNode0: function CssParentNode0() {
  20974. },
  20975. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  20976. this.includeBogus = t0;
  20977. this.includeComments = t1;
  20978. },
  20979. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  20980. },
  20981. readFile0(path) {
  20982. var sourceFile, t1, i,
  20983. contents = A._asString(A._readFile0(path, "utf8"));
  20984. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  20985. return contents;
  20986. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  20987. for (t1 = contents.length, i = 0; i < t1; ++i) {
  20988. if (B.JSString_methods._codeUnitAt$1(contents, i) !== 65533)
  20989. continue;
  20990. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0()));
  20991. }
  20992. return contents;
  20993. },
  20994. _readFile0(path, encoding) {
  20995. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  20996. },
  20997. fileExists0(path) {
  20998. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  20999. },
  21000. dirExists0(path) {
  21001. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  21002. },
  21003. listDir0(path) {
  21004. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  21005. },
  21006. _systemErrorToFileSystemException0(callback) {
  21007. var error, t1, exception, t2;
  21008. try {
  21009. t1 = callback.call$0();
  21010. return t1;
  21011. } catch (exception) {
  21012. error = A.unwrapException(exception);
  21013. if (!type$.JsSystemError._is(error))
  21014. throw exception;
  21015. t1 = error;
  21016. t2 = J.getInterceptor$x(t1);
  21017. 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)));
  21018. }
  21019. },
  21020. FileSystemException0: function FileSystemException0(t0, t1) {
  21021. this.message = t0;
  21022. this.path = t1;
  21023. },
  21024. Stderr0: function Stderr0(t0) {
  21025. this._node$_stderr = t0;
  21026. },
  21027. _readFile_closure0: function _readFile_closure0(t0, t1) {
  21028. this.path = t0;
  21029. this.encoding = t1;
  21030. },
  21031. fileExists_closure0: function fileExists_closure0(t0) {
  21032. this.path = t0;
  21033. },
  21034. dirExists_closure0: function dirExists_closure0(t0) {
  21035. this.path = t0;
  21036. },
  21037. listDir_closure0: function listDir_closure0(t0, t1) {
  21038. this.recursive = t0;
  21039. this.path = t1;
  21040. },
  21041. listDir__closure1: function listDir__closure1(t0) {
  21042. this.path = t0;
  21043. },
  21044. listDir__closure2: function listDir__closure2() {
  21045. },
  21046. listDir_closure_list0: function listDir_closure_list0() {
  21047. },
  21048. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  21049. this.parent = t0;
  21050. this.list = t1;
  21051. },
  21052. ModifiableCssNode0: function ModifiableCssNode0() {
  21053. },
  21054. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  21055. },
  21056. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  21057. },
  21058. main() {
  21059. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  21060. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  21061. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  21062. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  21063. J.set$Value$x(self.exports, $.$get$valueClass());
  21064. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  21065. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  21066. J.set$SassColor$x(self.exports, $.$get$colorClass());
  21067. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  21068. J.set$SassList$x(self.exports, $.$get$listClass());
  21069. J.set$SassMap$x(self.exports, $.$get$mapClass());
  21070. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  21071. J.set$SassString$x(self.exports, $.$get$stringClass());
  21072. J.set$sassNull$x(self.exports, B.C__SassNull0);
  21073. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  21074. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  21075. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  21076. 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())}});
  21077. J.set$info$x(self.exports, "dart-sass\t1.56.1\t(Sass Compiler)\t[Dart]\ndart2js\t2.18.4\t(Dart Compiler)\t[Dart]");
  21078. A.updateSourceSpanPrototype();
  21079. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  21080. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  21081. 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});
  21082. J.set$NULL$x(self.exports, B.C__SassNull0);
  21083. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  21084. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  21085. },
  21086. main_closure0: function main_closure0() {
  21087. },
  21088. main_closure1: function main_closure1() {
  21089. },
  21090. NodeToDartLogger: function NodeToDartLogger(t0, t1, t2) {
  21091. this._node = t0;
  21092. this._fallback = t1;
  21093. this._ascii = t2;
  21094. },
  21095. NodeToDartLogger_warn_closure: function NodeToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
  21096. var _ = this;
  21097. _.$this = t0;
  21098. _.message = t1;
  21099. _.span = t2;
  21100. _.trace = t3;
  21101. _.deprecation = t4;
  21102. },
  21103. NodeToDartLogger_debug_closure: function NodeToDartLogger_debug_closure(t0, t1, t2) {
  21104. this.$this = t0;
  21105. this.message = t1;
  21106. this.span = t2;
  21107. },
  21108. NullExpression0: function NullExpression0(t0) {
  21109. this.span = t0;
  21110. },
  21111. legacyNullClass_closure: function legacyNullClass_closure() {
  21112. },
  21113. legacyNullClass__closure: function legacyNullClass__closure() {
  21114. },
  21115. _SassNull0: function _SassNull0() {
  21116. },
  21117. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  21118. this.value = t0;
  21119. this.unit = t1;
  21120. this.span = t2;
  21121. },
  21122. _parseNumber(value, unit) {
  21123. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  21124. if (unit == null || unit.length === 0)
  21125. return A.SassNumber_SassNumber0(value, null);
  21126. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  21127. return A.SassNumber_SassNumber0(value, unit);
  21128. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  21129. operands = unit.split("/");
  21130. t1 = operands.length;
  21131. if (t1 > 2)
  21132. throw A.wrapException(invalidUnit);
  21133. numerator = operands[0];
  21134. denominator = t1 === 1 ? null : operands[1];
  21135. t1 = type$.JSArray_String;
  21136. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  21137. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  21138. throw A.wrapException(invalidUnit);
  21139. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  21140. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  21141. throw A.wrapException(invalidUnit);
  21142. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  21143. },
  21144. _NodeSassNumber: function _NodeSassNumber() {
  21145. },
  21146. legacyNumberClass_closure: function legacyNumberClass_closure() {
  21147. },
  21148. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  21149. },
  21150. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  21151. },
  21152. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  21153. },
  21154. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  21155. },
  21156. _parseNumber_closure: function _parseNumber_closure() {
  21157. },
  21158. _parseNumber_closure0: function _parseNumber_closure0() {
  21159. },
  21160. numberClass_closure: function numberClass_closure() {
  21161. },
  21162. numberClass__closure: function numberClass__closure() {
  21163. },
  21164. numberClass__closure0: function numberClass__closure0() {
  21165. },
  21166. numberClass__closure1: function numberClass__closure1() {
  21167. },
  21168. numberClass__closure2: function numberClass__closure2() {
  21169. },
  21170. numberClass__closure3: function numberClass__closure3() {
  21171. },
  21172. numberClass__closure4: function numberClass__closure4() {
  21173. },
  21174. numberClass__closure5: function numberClass__closure5() {
  21175. },
  21176. numberClass__closure6: function numberClass__closure6() {
  21177. },
  21178. numberClass__closure7: function numberClass__closure7() {
  21179. },
  21180. numberClass__closure8: function numberClass__closure8() {
  21181. },
  21182. numberClass__closure9: function numberClass__closure9() {
  21183. },
  21184. numberClass__closure10: function numberClass__closure10() {
  21185. },
  21186. numberClass__closure11: function numberClass__closure11() {
  21187. },
  21188. numberClass__closure12: function numberClass__closure12() {
  21189. },
  21190. numberClass__closure13: function numberClass__closure13() {
  21191. },
  21192. numberClass__closure14: function numberClass__closure14() {
  21193. },
  21194. numberClass__closure15: function numberClass__closure15() {
  21195. },
  21196. numberClass__closure16: function numberClass__closure16() {
  21197. },
  21198. numberClass__closure17: function numberClass__closure17() {
  21199. },
  21200. numberClass__closure18: function numberClass__closure18() {
  21201. },
  21202. numberClass__closure19: function numberClass__closure19() {
  21203. },
  21204. _ConstructorOptions0: function _ConstructorOptions0() {
  21205. },
  21206. conversionFactor0(unit1, unit2) {
  21207. var innerMap;
  21208. if (unit1 === unit2)
  21209. return 1;
  21210. innerMap = B.Map_K2BWj.$index(0, unit1);
  21211. if (innerMap == null)
  21212. return null;
  21213. return innerMap.$index(0, unit2);
  21214. },
  21215. SassNumber_SassNumber0(value, unit) {
  21216. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  21217. },
  21218. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  21219. var t1, numerators, t2, unsimplifiedDenominators, denominators, t3, valueDouble, _i, denominator, simplifiedAway, i, factor, _null = null;
  21220. if (denominatorUnits == null || J.get$isEmpty$asx(denominatorUnits))
  21221. if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21222. return new A.UnitlessSassNumber0(value, _null);
  21223. else {
  21224. t1 = J.getInterceptor$asx(numeratorUnits);
  21225. if (t1.get$length(numeratorUnits) === 1)
  21226. return new A.SingleUnitSassNumber0(t1.$index(numeratorUnits, 0), value, _null);
  21227. else
  21228. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numeratorUnits, type$.String), B.List_empty, value, _null);
  21229. }
  21230. else if (numeratorUnits == null || J.get$isEmpty$asx(numeratorUnits))
  21231. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominatorUnits, type$.String), value, _null);
  21232. else {
  21233. t1 = J.getInterceptor$ax(numeratorUnits);
  21234. numerators = t1.toList$0(numeratorUnits);
  21235. t2 = J.getInterceptor$ax(denominatorUnits);
  21236. unsimplifiedDenominators = t2.toList$0(denominatorUnits);
  21237. denominators = A._setArrayType([], type$.JSArray_String);
  21238. for (t3 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t3 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  21239. denominator = unsimplifiedDenominators[_i];
  21240. i = 0;
  21241. while (true) {
  21242. if (!(i < numerators.length)) {
  21243. simplifiedAway = false;
  21244. break;
  21245. }
  21246. c$0: {
  21247. factor = A.conversionFactor0(denominator, numerators[i]);
  21248. if (factor == null)
  21249. break c$0;
  21250. valueDouble *= factor;
  21251. B.JSArray_methods.removeAt$1(numerators, i);
  21252. simplifiedAway = true;
  21253. break;
  21254. }
  21255. ++i;
  21256. }
  21257. if (!simplifiedAway)
  21258. denominators.push(denominator);
  21259. }
  21260. if (t2.get$isEmpty(denominatorUnits))
  21261. if (t1.get$isEmpty(numeratorUnits))
  21262. return new A.UnitlessSassNumber0(valueDouble, _null);
  21263. else if (t1.get$length(numeratorUnits) === 1)
  21264. return new A.SingleUnitSassNumber0(t1.get$single(numeratorUnits), valueDouble, _null);
  21265. t1 = type$.String;
  21266. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  21267. }
  21268. },
  21269. SassNumber0: function SassNumber0() {
  21270. },
  21271. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  21272. var _ = this;
  21273. _.$this = t0;
  21274. _.other = t1;
  21275. _.otherName = t2;
  21276. _.otherHasUnits = t3;
  21277. _.name = t4;
  21278. _.newNumerators = t5;
  21279. _.newDenominators = t6;
  21280. },
  21281. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  21282. this._box_0 = t0;
  21283. this.newNumerator = t1;
  21284. },
  21285. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  21286. this.compatibilityException = t0;
  21287. },
  21288. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  21289. this._box_0 = t0;
  21290. this.newDenominator = t1;
  21291. },
  21292. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  21293. this.compatibilityException = t0;
  21294. },
  21295. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  21296. },
  21297. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  21298. },
  21299. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  21300. this._box_0 = t0;
  21301. this.numerator = t1;
  21302. },
  21303. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  21304. this.newNumerators = t0;
  21305. this.numerator = t1;
  21306. },
  21307. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  21308. this._box_0 = t0;
  21309. this.numerator = t1;
  21310. },
  21311. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  21312. this.newNumerators = t0;
  21313. this.numerator = t1;
  21314. },
  21315. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  21316. this.units2 = t0;
  21317. },
  21318. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  21319. },
  21320. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  21321. this.$this = t0;
  21322. },
  21323. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  21324. },
  21325. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  21326. },
  21327. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  21328. var _ = this;
  21329. _.left = t0;
  21330. _.right = t1;
  21331. _.operator = t2;
  21332. _.span = t3;
  21333. },
  21334. ParentSelector0: function ParentSelector0(t0) {
  21335. this.suffix = t0;
  21336. },
  21337. ParentStatement0: function ParentStatement0() {
  21338. },
  21339. ParentStatement_closure0: function ParentStatement_closure0() {
  21340. },
  21341. ParentStatement__closure0: function ParentStatement__closure0() {
  21342. },
  21343. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  21344. this.expression = t0;
  21345. this.span = t1;
  21346. },
  21347. Parser_isIdentifier0(text) {
  21348. var t1, t2, exception, logger = null;
  21349. try {
  21350. t1 = logger;
  21351. t2 = A.SpanScanner$(text, null);
  21352. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1)._parser0$_parseIdentifier$0();
  21353. return true;
  21354. } catch (exception) {
  21355. if (A.unwrapException(exception) instanceof A.SassFormatException0)
  21356. return false;
  21357. else
  21358. throw exception;
  21359. }
  21360. },
  21361. Parser1: function Parser1(t0, t1) {
  21362. this.scanner = t0;
  21363. this.logger = t1;
  21364. },
  21365. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  21366. this.$this = t0;
  21367. },
  21368. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  21369. this.caseSensitive = t0;
  21370. this.char = t1;
  21371. },
  21372. PlaceholderSelector0: function PlaceholderSelector0(t0) {
  21373. this.name = t0;
  21374. },
  21375. PlainCssCallable0: function PlainCssCallable0(t0) {
  21376. this.name = t0;
  21377. },
  21378. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  21379. this._prefixed_map_view0$_map = t0;
  21380. this._prefixed_map_view0$_prefix = t1;
  21381. this.$ti = t2;
  21382. },
  21383. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  21384. this._prefixed_map_view0$_view = t0;
  21385. },
  21386. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  21387. this.$this = t0;
  21388. },
  21389. PseudoSelector$0($name, argument, element, selector) {
  21390. var t1 = !element,
  21391. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  21392. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector);
  21393. },
  21394. PseudoSelector__isFakePseudoElement0($name) {
  21395. switch (B.JSString_methods._codeUnitAt$1($name, 0)) {
  21396. case 97:
  21397. case 65:
  21398. return A.equalsIgnoreCase0($name, "after");
  21399. case 98:
  21400. case 66:
  21401. return A.equalsIgnoreCase0($name, "before");
  21402. case 102:
  21403. case 70:
  21404. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  21405. default:
  21406. return false;
  21407. }
  21408. },
  21409. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5) {
  21410. var _ = this;
  21411. _.name = t0;
  21412. _.normalizedName = t1;
  21413. _.isClass = t2;
  21414. _.isSyntacticClass = t3;
  21415. _.argument = t4;
  21416. _.selector = t5;
  21417. _._pseudo$__PseudoSelector_specificity_FI = $;
  21418. },
  21419. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  21420. this.$this = t0;
  21421. },
  21422. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  21423. },
  21424. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  21425. },
  21426. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  21427. },
  21428. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  21429. this._public_member_map_view0$_inner = t0;
  21430. this.$ti = t1;
  21431. },
  21432. QualifiedName0: function QualifiedName0(t0, t1) {
  21433. this.name = t0;
  21434. this.namespace = t1;
  21435. },
  21436. createJSClass($name, $constructor) {
  21437. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  21438. },
  21439. JSClassExtension_injectSuperclass(_this, superclass) {
  21440. var t1 = J.getInterceptor$x(superclass),
  21441. t2 = J.getInterceptor$x(_this);
  21442. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  21443. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  21444. },
  21445. JSClassExtension_setCustomInspect(_this, inspect) {
  21446. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  21447. },
  21448. JSClassExtension_get_defineMethod(_this) {
  21449. return new A.JSClassExtension_get_defineMethod_closure(_this);
  21450. },
  21451. JSClassExtension_defineMethods(_this, methods) {
  21452. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  21453. },
  21454. JSClassExtension_get_defineGetter(_this) {
  21455. return new A.JSClassExtension_get_defineGetter_closure(_this);
  21456. },
  21457. JSClass0: function JSClass0() {
  21458. },
  21459. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  21460. this.inspect = t0;
  21461. },
  21462. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  21463. this._this = t0;
  21464. },
  21465. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  21466. this._this = t0;
  21467. },
  21468. RenderContext0: function RenderContext0() {
  21469. },
  21470. RenderContextOptions0: function RenderContextOptions0() {
  21471. },
  21472. RenderContextResult0: function RenderContextResult0() {
  21473. },
  21474. RenderContextResultStats0: function RenderContextResultStats0() {
  21475. },
  21476. RenderOptions: function RenderOptions() {
  21477. },
  21478. RenderResult: function RenderResult() {
  21479. },
  21480. RenderResultStats: function RenderResultStats() {
  21481. },
  21482. ImporterResult$(contents, sourceMapUrl, syntax) {
  21483. var t2,
  21484. t1 = syntax == null;
  21485. if (t1)
  21486. t2 = B.Syntax_SCSS_scss0;
  21487. else
  21488. t2 = syntax;
  21489. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  21490. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  21491. else if (t1 && true)
  21492. A.throwExpression(A.ArgumentError$("The syntax parameter must be passed.", null));
  21493. return new A.ImporterResult0(contents, sourceMapUrl, t2);
  21494. },
  21495. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  21496. this.contents = t0;
  21497. this._result$_sourceMapUrl = t1;
  21498. this.syntax = t2;
  21499. },
  21500. ReturnRule0: function ReturnRule0(t0, t1) {
  21501. this.expression = t0;
  21502. this.span = t1;
  21503. },
  21504. main0(args) {
  21505. return A.main$body(args);
  21506. },
  21507. main$body(args) {
  21508. var $async$goto = 0,
  21509. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  21510. $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;
  21511. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  21512. if ($async$errorCode === 1) {
  21513. $async$currentError = $async$result;
  21514. $async$goto = $async$handler;
  21515. }
  21516. while (true)
  21517. switch ($async$goto) {
  21518. case 0:
  21519. // Function start
  21520. _box_0 = {};
  21521. _box_0.printedError = false;
  21522. printError = new A.main_printError(_box_0);
  21523. _box_0.options = null;
  21524. $async$handler = 4;
  21525. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  21526. _box_0.options = options;
  21527. t1 = options._options;
  21528. $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  21529. $async$goto = A._asBool(_box_0.options._options.$index(0, "version")) ? 7 : 8;
  21530. break;
  21531. case 7:
  21532. // then
  21533. $async$temp1 = A;
  21534. $async$goto = 9;
  21535. return A._asyncAwait(A._loadVersion(), $async$main0);
  21536. case 9:
  21537. // returning from await.
  21538. $async$temp1.print($async$result);
  21539. J.set$exitCode$x(self.process, 0);
  21540. // goto return
  21541. $async$goto = 1;
  21542. break;
  21543. case 8:
  21544. // join
  21545. $async$goto = _box_0.options.get$interactive() ? 10 : 11;
  21546. break;
  21547. case 10:
  21548. // then
  21549. $async$goto = 12;
  21550. return A._asyncAwait(A.repl(_box_0.options), $async$main0);
  21551. case 12:
  21552. // returning from await.
  21553. // goto return
  21554. $async$goto = 1;
  21555. break;
  21556. case 11:
  21557. // join
  21558. t1 = type$.List_String._as(_box_0.options._options.$index(0, "load-path"));
  21559. t2 = _box_0.options;
  21560. t3 = type$.Uri;
  21561. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.StylesheetNode), A.ImportCache$(t1, A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color())), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  21562. $async$goto = A._asBool(_box_0.options._options.$index(0, "watch")) ? 13 : 14;
  21563. break;
  21564. case 13:
  21565. // then
  21566. $async$goto = 15;
  21567. return A._asyncAwait(A.watch(_box_0.options, graph), $async$main0);
  21568. case 15:
  21569. // returning from await.
  21570. // goto return
  21571. $async$goto = 1;
  21572. break;
  21573. case 14:
  21574. // join
  21575. t1 = _box_0.options, t1._ensureSources$0(), t1 = t1._sourcesToDestinations, t1 = J.get$iterator$ax(t1.get$keys(t1));
  21576. case 16:
  21577. // for condition
  21578. if (!t1.moveNext$0()) {
  21579. // goto after for
  21580. $async$goto = 17;
  21581. break;
  21582. }
  21583. source = t1.get$current(t1);
  21584. t2 = _box_0.options;
  21585. t2._ensureSources$0();
  21586. destination = t2._sourcesToDestinations.$index(0, source);
  21587. $async$handler = 19;
  21588. t2 = _box_0.options;
  21589. $async$goto = 22;
  21590. return A._asyncAwait(A.compileStylesheet(t2, graph, source, destination, A._asBool(t2._options.$index(0, "update"))), $async$main0);
  21591. case 22:
  21592. // returning from await.
  21593. $async$handler = 4;
  21594. // goto after finally
  21595. $async$goto = 21;
  21596. break;
  21597. case 19:
  21598. // catch
  21599. $async$handler = 18;
  21600. $async$exception = $async$currentError;
  21601. t2 = A.unwrapException($async$exception);
  21602. if (t2 instanceof A.SassException) {
  21603. error = t2;
  21604. stackTrace = A.getTraceFromException($async$exception);
  21605. new A.main_closure(_box_0, destination).call$0();
  21606. t2 = _box_0.options._options;
  21607. if (!t2._parser.options._map.containsKey$1("color"))
  21608. A.throwExpression(A.ArgumentError$('Could not find an option named "color".', null));
  21609. t2 = t2._parsed.containsKey$1("color") ? A._asBool(t2.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
  21610. t2 = J.toString$1$color$(error, t2);
  21611. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  21612. t3 = error;
  21613. t4 = typeof t3 == "string";
  21614. if (t4 || typeof t3 == "number" || A._isBool(t3))
  21615. t3 = null;
  21616. else {
  21617. t5 = $.$get$_traces();
  21618. if (A._isBool(t3) || typeof t3 == "number" || t4)
  21619. A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
  21620. t3 = t5._jsWeakMap.get(t3);
  21621. }
  21622. if (t3 == null)
  21623. t3 = stackTrace;
  21624. } else
  21625. t3 = null;
  21626. printError.call$2(t2, t3);
  21627. if (J.get$exitCode$x(self.process) !== 66)
  21628. J.set$exitCode$x(self.process, 65);
  21629. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  21630. // goto return
  21631. $async$goto = 1;
  21632. break;
  21633. }
  21634. } else if (t2 instanceof A.FileSystemException) {
  21635. error0 = t2;
  21636. stackTrace0 = A.getTraceFromException($async$exception);
  21637. path = error0.path;
  21638. t2 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  21639. if (A._asBool(_box_0.options._options.$index(0, "trace"))) {
  21640. t3 = error0;
  21641. t4 = typeof t3 == "string";
  21642. if (t4 || typeof t3 == "number" || A._isBool(t3))
  21643. t3 = null;
  21644. else {
  21645. t5 = $.$get$_traces();
  21646. if (A._isBool(t3) || typeof t3 == "number" || t4)
  21647. A.throwExpression(A.ArgumentError$value(t3, string$.Expand, null));
  21648. t3 = t5._jsWeakMap.get(t3);
  21649. }
  21650. if (t3 == null)
  21651. t3 = stackTrace0;
  21652. } else
  21653. t3 = null;
  21654. printError.call$2(t2, t3);
  21655. J.set$exitCode$x(self.process, 66);
  21656. if (A._asBool(_box_0.options._options.$index(0, "stop-on-error"))) {
  21657. // goto return
  21658. $async$goto = 1;
  21659. break;
  21660. }
  21661. } else
  21662. throw $async$exception;
  21663. // goto after finally
  21664. $async$goto = 21;
  21665. break;
  21666. case 18:
  21667. // uncaught
  21668. // goto catch
  21669. $async$goto = 4;
  21670. break;
  21671. case 21:
  21672. // after finally
  21673. // goto for condition
  21674. $async$goto = 16;
  21675. break;
  21676. case 17:
  21677. // after for
  21678. $async$handler = 2;
  21679. // goto after finally
  21680. $async$goto = 6;
  21681. break;
  21682. case 4:
  21683. // catch
  21684. $async$handler = 3;
  21685. $async$exception1 = $async$currentError;
  21686. t1 = A.unwrapException($async$exception1);
  21687. if (t1 instanceof A.UsageException) {
  21688. error1 = t1;
  21689. A.print(error1.message + "\n");
  21690. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  21691. t1 = $.$get$ExecutableOptions__parser();
  21692. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  21693. J.set$exitCode$x(self.process, 64);
  21694. } else {
  21695. error2 = t1;
  21696. stackTrace1 = A.getTraceFromException($async$exception1);
  21697. buffer = new A.StringBuffer("");
  21698. t1 = _box_0.options;
  21699. if (t1 != null && t1.get$color())
  21700. buffer._contents += "\x1b[31m\x1b[1m";
  21701. buffer._contents += "Unexpected exception:";
  21702. t1 = _box_0.options;
  21703. if (t1 != null && t1.get$color())
  21704. buffer._contents += "\x1b[0m";
  21705. buffer._contents += "\n";
  21706. buffer._contents += A.S(error2) + "\n";
  21707. t1 = buffer._contents;
  21708. t2 = A.getTrace(error2);
  21709. if (t2 == null)
  21710. t2 = stackTrace1;
  21711. printError.call$2(t1.charCodeAt(0) == 0 ? t1 : t1, t2);
  21712. J.set$exitCode$x(self.process, 255);
  21713. }
  21714. // goto after finally
  21715. $async$goto = 6;
  21716. break;
  21717. case 3:
  21718. // uncaught
  21719. // goto rethrow
  21720. $async$goto = 2;
  21721. break;
  21722. case 6:
  21723. // after finally
  21724. case 1:
  21725. // return
  21726. return A._asyncReturn($async$returnValue, $async$completer);
  21727. case 2:
  21728. // rethrow
  21729. return A._asyncRethrow($async$currentError, $async$completer);
  21730. }
  21731. });
  21732. return A._asyncStartSync($async$main0, $async$completer);
  21733. },
  21734. _loadVersion() {
  21735. var $async$goto = 0,
  21736. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  21737. $async$returnValue;
  21738. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  21739. if ($async$errorCode === 1)
  21740. return A._asyncRethrow($async$result, $async$completer);
  21741. while (true)
  21742. switch ($async$goto) {
  21743. case 0:
  21744. // Function start
  21745. $async$returnValue = "1.56.1 compiled with dart2js 2.18.4";
  21746. // goto return
  21747. $async$goto = 1;
  21748. break;
  21749. case 1:
  21750. // return
  21751. return A._asyncReturn($async$returnValue, $async$completer);
  21752. }
  21753. });
  21754. return A._asyncStartSync($async$_loadVersion, $async$completer);
  21755. },
  21756. main_printError: function main_printError(t0) {
  21757. this._box_0 = t0;
  21758. },
  21759. main_closure: function main_closure(t0, t1) {
  21760. this._box_0 = t0;
  21761. this.destination = t1;
  21762. },
  21763. SassParser0: function SassParser0(t0, t1, t2) {
  21764. var _ = this;
  21765. _._sass0$_currentIndentation = 0;
  21766. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  21767. _._stylesheet0$_isUseAllowed = true;
  21768. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  21769. _._stylesheet0$_globalVariables = t0;
  21770. _.lastSilentComment = null;
  21771. _.scanner = t1;
  21772. _.logger = t2;
  21773. },
  21774. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  21775. this.$this = t0;
  21776. this.child = t1;
  21777. this.children = t2;
  21778. },
  21779. _translateReturnValue(val) {
  21780. if (type$.Future_dynamic._is(val))
  21781. return A.futureToPromise(val, type$.dynamic);
  21782. else
  21783. return val;
  21784. },
  21785. main1() {
  21786. new Uint8Array(0);
  21787. A.main();
  21788. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  21789. },
  21790. _wrapMain(main) {
  21791. if (type$.dynamic_Function._is(main))
  21792. return A.allowInterop(new A._wrapMain_closure(main));
  21793. else
  21794. return A.allowInterop(new A._wrapMain_closure0(main));
  21795. },
  21796. _Exports: function _Exports() {
  21797. },
  21798. _wrapMain_closure: function _wrapMain_closure(t0) {
  21799. this.main = t0;
  21800. },
  21801. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  21802. this.main = t0;
  21803. },
  21804. ScssParser$0(contents, logger, url) {
  21805. var t1 = A.SpanScanner$(contents, url),
  21806. t2 = logger == null ? B.StderrLogger_false0 : logger;
  21807. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2);
  21808. },
  21809. ScssParser0: function ScssParser0(t0, t1, t2) {
  21810. var _ = this;
  21811. _._stylesheet0$_isUseAllowed = true;
  21812. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  21813. _._stylesheet0$_globalVariables = t0;
  21814. _.lastSilentComment = null;
  21815. _.scanner = t1;
  21816. _.logger = t2;
  21817. },
  21818. Selector0: function Selector0() {
  21819. },
  21820. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  21821. this.includeBogus = t0;
  21822. },
  21823. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  21824. this.includeLeadingCombinator = t0;
  21825. },
  21826. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  21827. this.$this = t0;
  21828. },
  21829. _IsUselessVisitor0: function _IsUselessVisitor0() {
  21830. },
  21831. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  21832. this.$this = t0;
  21833. },
  21834. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  21835. },
  21836. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  21837. },
  21838. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  21839. },
  21840. SelectorExpression0: function SelectorExpression0(t0) {
  21841. this.span = t0;
  21842. },
  21843. _prependParent0(compound) {
  21844. var t2, _null = null,
  21845. t1 = compound.components,
  21846. first = B.JSArray_methods.get$first(t1);
  21847. if (first instanceof A.UniversalSelector0)
  21848. return _null;
  21849. if (first instanceof A.TypeSelector0) {
  21850. t2 = first.name;
  21851. if (t2.namespace != null)
  21852. return _null;
  21853. t2 = A._setArrayType([new A.ParentSelector0(t2.name)], type$.JSArray_SimpleSelector_2);
  21854. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, _null, A._arrayInstanceType(t1)._precomputed1));
  21855. return A.CompoundSelector$0(t2);
  21856. } else {
  21857. t2 = A._setArrayType([new A.ParentSelector0(_null)], type$.JSArray_SimpleSelector_2);
  21858. B.JSArray_methods.addAll$1(t2, t1);
  21859. return A.CompoundSelector$0(t2);
  21860. }
  21861. },
  21862. _function7($name, $arguments, callback) {
  21863. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  21864. },
  21865. _nest_closure0: function _nest_closure0() {
  21866. },
  21867. _nest__closure1: function _nest__closure1(t0) {
  21868. this._box_0 = t0;
  21869. },
  21870. _nest__closure2: function _nest__closure2() {
  21871. },
  21872. _append_closure1: function _append_closure1() {
  21873. },
  21874. _append__closure1: function _append__closure1() {
  21875. },
  21876. _append__closure2: function _append__closure2() {
  21877. },
  21878. _append___closure0: function _append___closure0(t0) {
  21879. this.parent = t0;
  21880. },
  21881. _extend_closure0: function _extend_closure0() {
  21882. },
  21883. _replace_closure0: function _replace_closure0() {
  21884. },
  21885. _unify_closure0: function _unify_closure0() {
  21886. },
  21887. _isSuperselector_closure0: function _isSuperselector_closure0() {
  21888. },
  21889. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  21890. },
  21891. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  21892. },
  21893. _parse_closure0: function _parse_closure0() {
  21894. },
  21895. SelectorParser$0(contents, allowParent, allowPlaceholder, logger, url) {
  21896. var t1 = A.SpanScanner$(contents, url);
  21897. return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger);
  21898. },
  21899. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  21900. var _ = this;
  21901. _._selector$_allowParent = t0;
  21902. _._selector$_allowPlaceholder = t1;
  21903. _.scanner = t2;
  21904. _.logger = t3;
  21905. },
  21906. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  21907. this.$this = t0;
  21908. },
  21909. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  21910. this.$this = t0;
  21911. },
  21912. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  21913. var t1, css, t2, prefix,
  21914. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  21915. node.accept$1(visitor);
  21916. t1 = visitor._serialize0$_buffer;
  21917. css = t1.toString$0(0);
  21918. if (charset) {
  21919. t2 = new A.CodeUnits(css);
  21920. t2 = t2.any$1(t2, new A.serialize_closure0());
  21921. } else
  21922. t2 = false;
  21923. if (t2)
  21924. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  21925. else
  21926. prefix = "";
  21927. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  21928. return new A.SerializeResult0(prefix + css, t1);
  21929. },
  21930. serializeValue0(value, inspect, quote) {
  21931. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  21932. value.accept$1(visitor);
  21933. return visitor._serialize0$_buffer.toString$0(0);
  21934. },
  21935. serializeSelector0(selector, inspect) {
  21936. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  21937. selector.accept$1(visitor);
  21938. return visitor._serialize0$_buffer.toString$0(0);
  21939. },
  21940. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  21941. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  21942. t2 = style == null ? B.OutputStyle_00 : style,
  21943. t3 = useSpaces ? 32 : 9,
  21944. t4 = indentWidth == null ? 2 : indentWidth,
  21945. t5 = lineFeed == null ? B.LineFeed_SsD : lineFeed;
  21946. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  21947. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  21948. },
  21949. serialize_closure0: function serialize_closure0() {
  21950. },
  21951. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  21952. var _ = this;
  21953. _._serialize0$_buffer = t0;
  21954. _._serialize0$_indentation = 0;
  21955. _._serialize0$_style = t1;
  21956. _._serialize0$_inspect = t2;
  21957. _._serialize0$_quote = t3;
  21958. _._serialize0$_indentCharacter = t4;
  21959. _._serialize0$_indentWidth = t5;
  21960. _._lineFeed = t6;
  21961. },
  21962. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  21963. this.$this = t0;
  21964. this.node = t1;
  21965. },
  21966. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  21967. this.$this = t0;
  21968. this.node = t1;
  21969. },
  21970. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  21971. this.$this = t0;
  21972. this.node = t1;
  21973. },
  21974. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  21975. this.$this = t0;
  21976. this.node = t1;
  21977. },
  21978. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  21979. this.$this = t0;
  21980. this.node = t1;
  21981. },
  21982. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  21983. this.$this = t0;
  21984. this.node = t1;
  21985. },
  21986. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  21987. this.$this = t0;
  21988. this.node = t1;
  21989. },
  21990. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  21991. this.$this = t0;
  21992. this.node = t1;
  21993. },
  21994. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  21995. this.$this = t0;
  21996. this.node = t1;
  21997. },
  21998. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  21999. this.$this = t0;
  22000. this.node = t1;
  22001. },
  22002. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  22003. },
  22004. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  22005. this.$this = t0;
  22006. this.value = t1;
  22007. },
  22008. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  22009. this.$this = t0;
  22010. },
  22011. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  22012. this.$this = t0;
  22013. },
  22014. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  22015. },
  22016. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  22017. this.$this = t0;
  22018. this.value = t1;
  22019. },
  22020. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  22021. this.$this = t0;
  22022. this.child = t1;
  22023. },
  22024. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  22025. this.$this = t0;
  22026. this.child = t1;
  22027. },
  22028. OutputStyle0: function OutputStyle0(t0) {
  22029. this._name = t0;
  22030. },
  22031. LineFeed0: function LineFeed0(t0, t1, t2) {
  22032. this.name = t0;
  22033. this.text = t1;
  22034. this._name = t2;
  22035. },
  22036. SerializeResult0: function SerializeResult0(t0, t1) {
  22037. this.css = t0;
  22038. this.sourceMap = t1;
  22039. },
  22040. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  22041. 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;
  22042. },
  22043. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  22044. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  22045. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  22046. },
  22047. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  22048. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  22049. },
  22050. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  22051. var _ = this;
  22052. _._shadowed_view0$_inner = t0;
  22053. _.variables = t1;
  22054. _.variableNodes = t2;
  22055. _.functions = t3;
  22056. _.mixins = t4;
  22057. _.$ti = t5;
  22058. },
  22059. SilentComment0: function SilentComment0(t0, t1) {
  22060. this.text = t0;
  22061. this.span = t1;
  22062. },
  22063. SimpleSelector0: function SimpleSelector0() {
  22064. },
  22065. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  22066. this.$this = t0;
  22067. },
  22068. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  22069. this.$this = t0;
  22070. },
  22071. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  22072. var _ = this;
  22073. _._single_unit$_unit = t0;
  22074. _._number1$_value = t1;
  22075. _.hashCache = null;
  22076. _.asSlash = t2;
  22077. },
  22078. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  22079. this.$this = t0;
  22080. this.unit = t1;
  22081. },
  22082. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  22083. this.$this = t0;
  22084. },
  22085. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  22086. this._box_0 = t0;
  22087. this.$this = t1;
  22088. },
  22089. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  22090. this._box_0 = t0;
  22091. this.$this = t1;
  22092. },
  22093. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  22094. var _ = this;
  22095. _._source_map_buffer0$_buffer = t0;
  22096. _._source_map_buffer0$_entries = t1;
  22097. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  22098. _._source_map_buffer0$_inSpan = false;
  22099. },
  22100. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  22101. this._box_0 = t0;
  22102. this.prefixLength = t1;
  22103. },
  22104. updateSourceSpanPrototype() {
  22105. var t3, t4, _i, t5,
  22106. span = A.SourceFile$fromString("", null).span$1(0, 0),
  22107. t1 = type$.SourceSpan,
  22108. t2 = type$.String;
  22109. 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) {
  22110. t5 = t3._as(t1[_i].constructor);
  22111. 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));
  22112. }
  22113. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  22114. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure4(), "column", new A.updateSourceSpanPrototype_closure5()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  22115. },
  22116. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure() {
  22117. },
  22118. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  22119. },
  22120. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  22121. },
  22122. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  22123. },
  22124. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  22125. },
  22126. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  22127. },
  22128. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  22129. },
  22130. _IterableExtension__search0(_this, callback) {
  22131. var t1, value;
  22132. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  22133. value = callback.call$1(t1.get$current(t1));
  22134. if (value != null)
  22135. return value;
  22136. }
  22137. return null;
  22138. },
  22139. StatementSearchVisitor0: function StatementSearchVisitor0() {
  22140. },
  22141. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  22142. this.$this = t0;
  22143. },
  22144. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  22145. this.$this = t0;
  22146. },
  22147. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  22148. this.$this = t0;
  22149. },
  22150. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  22151. this.$this = t0;
  22152. },
  22153. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  22154. this.$this = t0;
  22155. },
  22156. StaticImport0: function StaticImport0(t0, t1, t2) {
  22157. this.url = t0;
  22158. this.modifiers = t1;
  22159. this.span = t2;
  22160. },
  22161. StderrLogger0: function StderrLogger0(t0) {
  22162. this.color = t0;
  22163. },
  22164. StringExpression_quoteText0(text) {
  22165. var t1,
  22166. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  22167. buffer = new A.StringBuffer("");
  22168. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  22169. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  22170. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  22171. return t1.charCodeAt(0) == 0 ? t1 : t1;
  22172. },
  22173. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  22174. var t1, t2, i, codeUnit, next, t3;
  22175. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  22176. codeUnit = B.JSString_methods._codeUnitAt$1(text, i);
  22177. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12) {
  22178. buffer.writeCharCode$1(92);
  22179. buffer.writeCharCode$1(97);
  22180. if (i !== t2) {
  22181. next = B.JSString_methods._codeUnitAt$1(text, i + 1);
  22182. if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12 || A.isHex0(next))
  22183. buffer.writeCharCode$1(32);
  22184. }
  22185. } else {
  22186. if (codeUnit !== quote)
  22187. if (codeUnit !== 92)
  22188. t3 = $static && codeUnit === 35 && i < t2 && B.JSString_methods._codeUnitAt$1(text, i + 1) === 123;
  22189. else
  22190. t3 = true;
  22191. else
  22192. t3 = true;
  22193. if (t3)
  22194. buffer.writeCharCode$1(92);
  22195. buffer.writeCharCode$1(codeUnit);
  22196. }
  22197. }
  22198. },
  22199. StringExpression__bestQuote0(strings) {
  22200. var t1, containsDoubleQuote, t2, t3, i, codeUnit;
  22201. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();) {
  22202. t2 = t1.get$current(t1);
  22203. for (t3 = t2.length, i = 0; i < t3; ++i) {
  22204. codeUnit = B.JSString_methods._codeUnitAt$1(t2, i);
  22205. if (codeUnit === 39)
  22206. return 34;
  22207. if (codeUnit === 34)
  22208. containsDoubleQuote = true;
  22209. }
  22210. }
  22211. return containsDoubleQuote ? 39 : 34;
  22212. },
  22213. StringExpression0: function StringExpression0(t0, t1) {
  22214. this.text = t0;
  22215. this.hasQuotes = t1;
  22216. },
  22217. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  22218. var result;
  22219. if (index === 0)
  22220. return 0;
  22221. if (index > 0)
  22222. return Math.min(index - 1, lengthInCodepoints);
  22223. result = lengthInCodepoints + index;
  22224. if (result < 0 && !allowNegative)
  22225. return 0;
  22226. return result;
  22227. },
  22228. _function6($name, $arguments, callback) {
  22229. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  22230. },
  22231. _unquote_closure0: function _unquote_closure0() {
  22232. },
  22233. _quote_closure0: function _quote_closure0() {
  22234. },
  22235. _length_closure1: function _length_closure1() {
  22236. },
  22237. _insert_closure0: function _insert_closure0() {
  22238. },
  22239. _index_closure1: function _index_closure1() {
  22240. },
  22241. _slice_closure0: function _slice_closure0() {
  22242. },
  22243. _toUpperCase_closure0: function _toUpperCase_closure0() {
  22244. },
  22245. _toLowerCase_closure0: function _toLowerCase_closure0() {
  22246. },
  22247. _uniqueId_closure0: function _uniqueId_closure0() {
  22248. },
  22249. _NodeSassString: function _NodeSassString() {
  22250. },
  22251. legacyStringClass_closure: function legacyStringClass_closure() {
  22252. },
  22253. legacyStringClass_closure0: function legacyStringClass_closure0() {
  22254. },
  22255. legacyStringClass_closure1: function legacyStringClass_closure1() {
  22256. },
  22257. stringClass_closure: function stringClass_closure() {
  22258. },
  22259. stringClass__closure: function stringClass__closure() {
  22260. },
  22261. stringClass__closure0: function stringClass__closure0() {
  22262. },
  22263. stringClass__closure1: function stringClass__closure1() {
  22264. },
  22265. stringClass__closure2: function stringClass__closure2() {
  22266. },
  22267. stringClass__closure3: function stringClass__closure3() {
  22268. },
  22269. _ConstructorOptions1: function _ConstructorOptions1() {
  22270. },
  22271. SassString$0(_text, quotes) {
  22272. return new A.SassString0(_text, quotes);
  22273. },
  22274. SassString0: function SassString0(t0, t1) {
  22275. var _ = this;
  22276. _._string0$_text = t0;
  22277. _._string0$_hasQuotes = t1;
  22278. _._string0$__SassString__sassLength_FI = $;
  22279. _._string0$_hashCache = null;
  22280. },
  22281. ModifiableCssStyleRule$0(selector, span, originalSelector) {
  22282. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22283. return new A.ModifiableCssStyleRule0(selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22284. },
  22285. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
  22286. var _ = this;
  22287. _.selector = t0;
  22288. _.originalSelector = t1;
  22289. _.span = t2;
  22290. _.children = t3;
  22291. _._node0$_children = t4;
  22292. _._node0$_indexInParent = _._node0$_parent = null;
  22293. _.isGroupEnd = false;
  22294. },
  22295. StyleRule$0(selector, children, span) {
  22296. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22297. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22298. return new A.StyleRule0(selector, span, t1, t2);
  22299. },
  22300. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  22301. var _ = this;
  22302. _.selector = t0;
  22303. _.span = t1;
  22304. _.children = t2;
  22305. _.hasDeclarations = t3;
  22306. },
  22307. CssStylesheet0: function CssStylesheet0(t0, t1) {
  22308. this.children = t0;
  22309. this.span = t1;
  22310. },
  22311. ModifiableCssStylesheet$0(span) {
  22312. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22313. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22314. },
  22315. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  22316. var _ = this;
  22317. _.span = t0;
  22318. _.children = t1;
  22319. _._node0$_children = t2;
  22320. _._node0$_indexInParent = _._node0$_parent = null;
  22321. _.isGroupEnd = false;
  22322. },
  22323. StylesheetParser0: function StylesheetParser0() {
  22324. },
  22325. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  22326. this.$this = t0;
  22327. },
  22328. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  22329. this.$this = t0;
  22330. },
  22331. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  22332. },
  22333. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  22334. this.$this = t0;
  22335. },
  22336. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  22337. this.$this = t0;
  22338. this.production = t1;
  22339. this.T = t2;
  22340. },
  22341. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  22342. this.$this = t0;
  22343. this.requireParens = t1;
  22344. },
  22345. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  22346. this.$this = t0;
  22347. },
  22348. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  22349. this.$this = t0;
  22350. this.start = t1;
  22351. },
  22352. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  22353. this.declaration = t0;
  22354. },
  22355. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  22356. this.name = t0;
  22357. },
  22358. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
  22359. this._box_0 = t0;
  22360. this.name = t1;
  22361. },
  22362. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  22363. var _ = this;
  22364. _._box_0 = t0;
  22365. _.$this = t1;
  22366. _.wasInStyleRule = t2;
  22367. _.start = t3;
  22368. },
  22369. StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
  22370. this._box_0 = t0;
  22371. },
  22372. StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
  22373. this._box_0 = t0;
  22374. this.value = t1;
  22375. },
  22376. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  22377. this.query = t0;
  22378. },
  22379. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  22380. },
  22381. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  22382. var _ = this;
  22383. _.$this = t0;
  22384. _.wasInControlDirective = t1;
  22385. _.variables = t2;
  22386. _.list = t3;
  22387. },
  22388. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  22389. this.name = t0;
  22390. this.$arguments = t1;
  22391. this.precedingComment = t2;
  22392. },
  22393. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  22394. this._box_0 = t0;
  22395. this.$this = t1;
  22396. },
  22397. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  22398. var _ = this;
  22399. _._box_0 = t0;
  22400. _.$this = t1;
  22401. _.wasInControlDirective = t2;
  22402. _.variable = t3;
  22403. _.from = t4;
  22404. _.to = t5;
  22405. },
  22406. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  22407. this.$this = t0;
  22408. this.variables = t1;
  22409. this.identifiers = t2;
  22410. },
  22411. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  22412. this.contentArguments_ = t0;
  22413. },
  22414. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  22415. this.query = t0;
  22416. },
  22417. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  22418. var _ = this;
  22419. _.$this = t0;
  22420. _.name = t1;
  22421. _.$arguments = t2;
  22422. _.precedingComment = t3;
  22423. },
  22424. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  22425. var _ = this;
  22426. _._box_0 = t0;
  22427. _.$this = t1;
  22428. _.name = t2;
  22429. _.value = t3;
  22430. },
  22431. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  22432. this.condition = t0;
  22433. },
  22434. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  22435. this.$this = t0;
  22436. this.wasInControlDirective = t1;
  22437. this.condition = t2;
  22438. },
  22439. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  22440. this._box_0 = t0;
  22441. this.name = t1;
  22442. },
  22443. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  22444. this._box_0 = t0;
  22445. this.$this = t1;
  22446. this.start = t2;
  22447. },
  22448. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  22449. this._box_0 = t0;
  22450. this.$this = t1;
  22451. },
  22452. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  22453. this._box_0 = t0;
  22454. this.resolveOneOperation = t1;
  22455. },
  22456. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  22457. var _ = this;
  22458. _._box_0 = t0;
  22459. _.$this = t1;
  22460. _.resetState = t2;
  22461. _.resolveOperations = t3;
  22462. },
  22463. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  22464. this._box_0 = t0;
  22465. this.$this = t1;
  22466. this.resolveOneOperation = t2;
  22467. },
  22468. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  22469. this._box_0 = t0;
  22470. this.$this = t1;
  22471. this.resolveOperations = t2;
  22472. },
  22473. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  22474. this.$this = t0;
  22475. },
  22476. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  22477. },
  22478. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  22479. },
  22480. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  22481. this.$this = t0;
  22482. this.start = t1;
  22483. },
  22484. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  22485. },
  22486. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  22487. this.$this = t0;
  22488. },
  22489. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  22490. this.$this = t0;
  22491. this.start = t1;
  22492. },
  22493. Stylesheet$internal0(children, span, plainCss) {
  22494. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  22495. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  22496. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  22497. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  22498. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  22499. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  22500. return t1;
  22501. },
  22502. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  22503. var t1, t2;
  22504. switch (syntax) {
  22505. case B.Syntax_Sass_sass0:
  22506. t1 = A.SpanScanner$(contents, url);
  22507. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22508. return new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
  22509. case B.Syntax_SCSS_scss0:
  22510. return A.ScssParser$0(contents, logger, url).parse$0();
  22511. case B.Syntax_CSS_css0:
  22512. t1 = A.SpanScanner$(contents, url);
  22513. t2 = logger == null ? B.StderrLogger_false0 : logger;
  22514. return new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2).parse$0();
  22515. default:
  22516. throw A.wrapException(A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null));
  22517. }
  22518. },
  22519. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  22520. var _ = this;
  22521. _.span = t0;
  22522. _.plainCss = t1;
  22523. _._stylesheet1$_uses = t2;
  22524. _._stylesheet1$_forwards = t3;
  22525. _.children = t4;
  22526. _.hasDeclarations = t5;
  22527. },
  22528. SupportsExpression0: function SupportsExpression0(t0) {
  22529. this.condition = t0;
  22530. },
  22531. ModifiableCssSupportsRule$0(condition, span) {
  22532. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  22533. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  22534. },
  22535. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  22536. var _ = this;
  22537. _.condition = t0;
  22538. _.span = t1;
  22539. _.children = t2;
  22540. _._node0$_children = t3;
  22541. _._node0$_indexInParent = _._node0$_parent = null;
  22542. _.isGroupEnd = false;
  22543. },
  22544. SupportsRule$0(condition, children, span) {
  22545. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22546. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22547. return new A.SupportsRule0(condition, span, t1, t2);
  22548. },
  22549. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  22550. var _ = this;
  22551. _.condition = t0;
  22552. _.span = t1;
  22553. _.children = t2;
  22554. _.hasDeclarations = t3;
  22555. },
  22556. NodeToDartImporter: function NodeToDartImporter(t0, t1) {
  22557. this._sync$_canonicalize = t0;
  22558. this._sync$_load = t1;
  22559. },
  22560. Syntax_forPath0(path) {
  22561. switch (A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1]) {
  22562. case ".sass":
  22563. return B.Syntax_Sass_sass0;
  22564. case ".css":
  22565. return B.Syntax_CSS_css0;
  22566. default:
  22567. return B.Syntax_SCSS_scss0;
  22568. }
  22569. },
  22570. Syntax0: function Syntax0(t0, t1) {
  22571. this._syntax0$_name = t0;
  22572. this._name = t1;
  22573. },
  22574. TerseLogger0: function TerseLogger0(t0, t1) {
  22575. this._terse$_warningCounts = t0;
  22576. this._terse$_inner = t1;
  22577. },
  22578. TerseLogger_summarize_closure1: function TerseLogger_summarize_closure1() {
  22579. },
  22580. TerseLogger_summarize_closure2: function TerseLogger_summarize_closure2() {
  22581. },
  22582. TypeSelector0: function TypeSelector0(t0) {
  22583. this.name = t0;
  22584. },
  22585. Types: function Types() {
  22586. },
  22587. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  22588. this.operator = t0;
  22589. this.operand = t1;
  22590. this.span = t2;
  22591. },
  22592. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  22593. this.name = t0;
  22594. this.operator = t1;
  22595. this._name = t2;
  22596. },
  22597. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  22598. this._number1$_value = t0;
  22599. this.hashCache = null;
  22600. this.asSlash = t1;
  22601. },
  22602. UniversalSelector0: function UniversalSelector0(t0) {
  22603. this.namespace = t0;
  22604. },
  22605. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  22606. this._unprefixed_map_view0$_map = t0;
  22607. this._unprefixed_map_view0$_prefix = t1;
  22608. this.$ti = t2;
  22609. },
  22610. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  22611. this._unprefixed_map_view0$_view = t0;
  22612. },
  22613. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  22614. this.$this = t0;
  22615. },
  22616. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  22617. this.$this = t0;
  22618. },
  22619. JSUrl0: function JSUrl0() {
  22620. },
  22621. UseRule0: function UseRule0(t0, t1, t2, t3) {
  22622. var _ = this;
  22623. _.url = t0;
  22624. _.namespace = t1;
  22625. _.configuration = t2;
  22626. _.span = t3;
  22627. },
  22628. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  22629. var _ = this;
  22630. _.declaration = t0;
  22631. _.environment = t1;
  22632. _.inDependency = t2;
  22633. _.$ti = t3;
  22634. },
  22635. fromImport0() {
  22636. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  22637. return t1 === true;
  22638. },
  22639. resolveImportPath0(path) {
  22640. var t1,
  22641. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  22642. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  22643. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  22644. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  22645. }
  22646. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  22647. if (t1 == null)
  22648. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  22649. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  22650. },
  22651. _tryPathWithExtensions0(path) {
  22652. var result = A._tryPath0(path + ".sass");
  22653. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  22654. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  22655. },
  22656. _tryPath0(path) {
  22657. var t1 = $.$get$context(),
  22658. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  22659. t1 = A._setArrayType([], type$.JSArray_String);
  22660. if (A.fileExists0(partial))
  22661. t1.push(partial);
  22662. if (A.fileExists0(path))
  22663. t1.push(path);
  22664. return t1;
  22665. },
  22666. _tryPathAsDirectory0(path) {
  22667. var t1;
  22668. if (!A.dirExists0(path))
  22669. return null;
  22670. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  22671. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  22672. },
  22673. _exactlyOne0(paths) {
  22674. var t1 = paths.length;
  22675. if (t1 === 0)
  22676. return null;
  22677. if (t1 === 1)
  22678. return B.JSArray_methods.get$first(paths);
  22679. throw A.wrapException(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  22680. },
  22681. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  22682. this.path = t0;
  22683. this.extension = t1;
  22684. },
  22685. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  22686. this.path = t0;
  22687. },
  22688. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  22689. this.path = t0;
  22690. },
  22691. _exactlyOne_closure0: function _exactlyOne_closure0() {
  22692. },
  22693. jsThrow(error) {
  22694. return type$.Never._as($.$get$_jsThrow().call$1(error));
  22695. },
  22696. attachJsStack(error, trace) {
  22697. var traceString = trace.toString$0(0),
  22698. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  22699. if (firstRealLine !== -1)
  22700. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  22701. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  22702. },
  22703. jsForEach(object, callback) {
  22704. var t1, t2;
  22705. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  22706. t2 = t1.get$current(t1);
  22707. callback.call$2(t2, object[t2]);
  22708. }
  22709. },
  22710. jsType(value) {
  22711. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  22712. 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));
  22713. },
  22714. defineGetter(object, $name, get, value) {
  22715. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  22716. },
  22717. allowInteropNamed($name, $function) {
  22718. $function = A.allowInterop($function);
  22719. A.defineGetter($function, "name", null, $name);
  22720. A._hideDartProperties($function);
  22721. return $function;
  22722. },
  22723. allowInteropCaptureThisNamed($name, $function) {
  22724. $function = A.allowInteropCaptureThis($function);
  22725. A.defineGetter($function, "name", null, $name);
  22726. A._hideDartProperties($function);
  22727. return $function;
  22728. },
  22729. _hideDartProperties(object) {
  22730. var t1, t2, t3, t4;
  22731. 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();) {
  22732. t3 = t1.__internal$_current;
  22733. if (t3 == null)
  22734. t3 = t2._as(t3);
  22735. if (B.JSString_methods.startsWith$1(t3, "_")) {
  22736. t4 = {value: object[t3], enumerable: false};
  22737. self.Object.defineProperty(object, t3, t4);
  22738. }
  22739. }
  22740. },
  22741. futureToPromise0(future) {
  22742. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  22743. },
  22744. jsToDartUrl(url) {
  22745. return A.Uri_parse(J.toString$0$(url));
  22746. },
  22747. dartToJSUrl(url) {
  22748. return new self.URL(url.toString$0(0));
  22749. },
  22750. toJSArray(iterable) {
  22751. var t1, t2,
  22752. array = new self.Array();
  22753. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  22754. t2.push$1(array, t1.get$current(t1));
  22755. return array;
  22756. },
  22757. objectToMap(object) {
  22758. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  22759. A.jsForEach(object, new A.objectToMap_closure(map));
  22760. return map;
  22761. },
  22762. jsToDartSeparator(separator) {
  22763. switch (separator) {
  22764. case " ":
  22765. return B.ListSeparator_EVt0;
  22766. case ",":
  22767. return B.ListSeparator_rXA0;
  22768. case "/":
  22769. return B.ListSeparator_zg90;
  22770. case null:
  22771. return B.ListSeparator_undecided_null_undecided0;
  22772. default:
  22773. A.jsThrow(new self.Error('Unknown separator "' + A.S(separator) + '".'));
  22774. }
  22775. },
  22776. parseSyntax(syntax) {
  22777. if (syntax == null || syntax === "scss")
  22778. return B.Syntax_SCSS_scss0;
  22779. if (syntax === "indented")
  22780. return B.Syntax_Sass_sass0;
  22781. if (syntax === "css")
  22782. return B.Syntax_CSS_css0;
  22783. A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  22784. },
  22785. _PropertyDescriptor0: function _PropertyDescriptor0() {
  22786. },
  22787. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  22788. this.future = t0;
  22789. },
  22790. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  22791. this.resolve = t0;
  22792. },
  22793. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  22794. this.reject = t0;
  22795. },
  22796. objectToMap_closure: function objectToMap_closure(t0) {
  22797. this.map = t0;
  22798. },
  22799. toSentence0(iter, conjunction) {
  22800. var t1 = iter.__internal$_iterable,
  22801. t2 = J.getInterceptor$asx(t1);
  22802. if (t2.get$length(t1) === 1)
  22803. return J.toString$0$(iter._f.call$1(t2.get$first(t1)));
  22804. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter._f.call$1(t2.get$last(t1))));
  22805. },
  22806. indent0(string, indentation) {
  22807. 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");
  22808. },
  22809. pluralize0($name, number, plural) {
  22810. if (number === 1)
  22811. return $name;
  22812. if (plural != null)
  22813. return plural;
  22814. return $name + "s";
  22815. },
  22816. trimAscii0(string, excludeEscape) {
  22817. var t1,
  22818. start = A._firstNonWhitespace0(string);
  22819. if (start == null)
  22820. t1 = "";
  22821. else {
  22822. t1 = A._lastNonWhitespace0(string, true);
  22823. t1.toString;
  22824. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  22825. }
  22826. return t1;
  22827. },
  22828. trimAsciiRight0(string, excludeEscape) {
  22829. var end = A._lastNonWhitespace0(string, excludeEscape);
  22830. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  22831. },
  22832. _firstNonWhitespace0(string) {
  22833. var t1, i, t2;
  22834. for (t1 = string.length, i = 0; i < t1; ++i) {
  22835. t2 = B.JSString_methods._codeUnitAt$1(string, i);
  22836. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  22837. return i;
  22838. }
  22839. return null;
  22840. },
  22841. _lastNonWhitespace0(string, excludeEscape) {
  22842. var t1, i, codeUnit;
  22843. for (t1 = string.length, i = t1 - 1; i >= 0; --i) {
  22844. codeUnit = B.JSString_methods.codeUnitAt$1(string, i);
  22845. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  22846. if (excludeEscape && i !== 0 && i !== t1 && codeUnit === 92)
  22847. return i + 1;
  22848. else
  22849. return i;
  22850. }
  22851. return null;
  22852. },
  22853. isPublic0(member) {
  22854. var start = B.JSString_methods._codeUnitAt$1(member, 0);
  22855. return start !== 45 && start !== 95;
  22856. },
  22857. flattenVertically0(iterable, $T) {
  22858. var result,
  22859. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  22860. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  22861. if (queues.length === 1)
  22862. return B.JSArray_methods.get$first(queues);
  22863. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  22864. for (; queues.length !== 0;) {
  22865. if (!!queues.fixed$length)
  22866. A.throwExpression(A.UnsupportedError$("removeWhere"));
  22867. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  22868. }
  22869. return result;
  22870. },
  22871. firstOrNull0(iterable) {
  22872. var iterator = J.get$iterator$ax(iterable);
  22873. return iterator.moveNext$0() ? iterator.get$current(iterator) : null;
  22874. },
  22875. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  22876. var codeUnitIndex, i, codeUnitIndex0;
  22877. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  22878. codeUnitIndex0 = codeUnitIndex + 1;
  22879. codeUnitIndex = B.JSString_methods._codeUnitAt$1(string, codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  22880. }
  22881. return codeUnitIndex;
  22882. },
  22883. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  22884. var codepointIndex, i;
  22885. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (B.JSString_methods._codeUnitAt$1(string, i) >>> 10 === 54 ? i + 1 : i) + 1)
  22886. ++codepointIndex;
  22887. return codepointIndex;
  22888. },
  22889. frameForSpan0(span, member, url) {
  22890. var t2, t3,
  22891. t1 = url == null ? span.get$sourceUrl(span) : url;
  22892. if (t1 == null)
  22893. t1 = $.$get$_noSourceUrl0();
  22894. t2 = span.get$start(span);
  22895. t2 = t2.file.getLine$1(t2.offset);
  22896. t3 = span.get$start(span);
  22897. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  22898. },
  22899. declarationName0(span) {
  22900. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  22901. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  22902. },
  22903. unvendor0($name) {
  22904. var i,
  22905. t1 = $name.length;
  22906. if (t1 < 2)
  22907. return $name;
  22908. if (B.JSString_methods._codeUnitAt$1($name, 0) !== 45)
  22909. return $name;
  22910. if (B.JSString_methods._codeUnitAt$1($name, 1) === 45)
  22911. return $name;
  22912. for (i = 2; i < t1; ++i)
  22913. if (B.JSString_methods._codeUnitAt$1($name, i) === 45)
  22914. return B.JSString_methods.substring$1($name, i + 1);
  22915. return $name;
  22916. },
  22917. equalsIgnoreCase0(string1, string2) {
  22918. var t1, i;
  22919. if (string1 === string2)
  22920. return true;
  22921. if (string1 == null || false)
  22922. return false;
  22923. t1 = string1.length;
  22924. if (t1 !== string2.length)
  22925. return false;
  22926. for (i = 0; i < t1; ++i)
  22927. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string1, i), B.JSString_methods._codeUnitAt$1(string2, i)))
  22928. return false;
  22929. return true;
  22930. },
  22931. startsWithIgnoreCase0(string, prefix) {
  22932. var i,
  22933. t1 = prefix.length;
  22934. if (string.length < t1)
  22935. return false;
  22936. for (i = 0; i < t1; ++i)
  22937. if (!A.characterEqualsIgnoreCase0(B.JSString_methods._codeUnitAt$1(string, i), B.JSString_methods._codeUnitAt$1(prefix, i)))
  22938. return false;
  22939. return true;
  22940. },
  22941. mapInPlace0(list, $function) {
  22942. var i;
  22943. for (i = 0; i < list.length; ++i)
  22944. list[i] = $function.call$1(list[i]);
  22945. },
  22946. longestCommonSubsequence0(list1, list2, select, $T) {
  22947. var t1, _i, selections, i, i0, j, selection, j0,
  22948. _length = list1.get$length(list1) + 1,
  22949. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  22950. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  22951. lengths[_i] = A.List_List$filled(((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0) + 1, 0, false, t1);
  22952. _length = list1.get$length(list1);
  22953. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  22954. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  22955. selections[_i] = A.List_List$filled((list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0, null, false, t1);
  22956. for (i = 0; i < (list1._tail - list1._head & J.get$length$asx(list1._table) - 1) >>> 0; i = i0)
  22957. for (i0 = i + 1, j = 0; j < (list2._tail - list2._head & J.get$length$asx(list2._table) - 1) >>> 0; j = j0) {
  22958. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  22959. selections[i][j] = selection;
  22960. t1 = lengths[i0];
  22961. j0 = j + 1;
  22962. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  22963. }
  22964. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  22965. },
  22966. removeFirstWhere0(list, test, orElse) {
  22967. var i;
  22968. for (i = 0; i < list.length; ++i) {
  22969. if (!test.call$1(list[i]))
  22970. continue;
  22971. B.JSArray_methods.removeAt$1(list, i);
  22972. return;
  22973. }
  22974. orElse.call$0();
  22975. },
  22976. mapAddAll20(destination, source, K1, K2, $V) {
  22977. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  22978. },
  22979. setAll0(map, keys, value) {
  22980. var t1;
  22981. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  22982. map.$indexSet(0, t1.get$current(t1), value);
  22983. },
  22984. rotateSlice0(list, start, end) {
  22985. var i, next,
  22986. element = list.$index(0, end - 1);
  22987. for (i = start; i < end; ++i, element = next) {
  22988. next = list.$index(0, i);
  22989. list.$indexSet(0, i, element);
  22990. }
  22991. },
  22992. mapAsync0(iterable, callback, $E, $F) {
  22993. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  22994. },
  22995. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  22996. var $async$goto = 0,
  22997. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  22998. $async$returnValue, t2, _i, t1, $async$temp1;
  22999. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23000. if ($async$errorCode === 1)
  23001. return A._asyncRethrow($async$result, $async$completer);
  23002. while (true)
  23003. switch ($async$goto) {
  23004. case 0:
  23005. // Function start
  23006. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  23007. t2 = iterable.length, _i = 0;
  23008. case 3:
  23009. // for condition
  23010. if (!(_i < t2)) {
  23011. // goto after for
  23012. $async$goto = 5;
  23013. break;
  23014. }
  23015. $async$temp1 = t1;
  23016. $async$goto = 6;
  23017. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  23018. case 6:
  23019. // returning from await.
  23020. $async$temp1.push($async$result);
  23021. case 4:
  23022. // for update
  23023. ++_i;
  23024. // goto for condition
  23025. $async$goto = 3;
  23026. break;
  23027. case 5:
  23028. // after for
  23029. $async$returnValue = t1;
  23030. // goto return
  23031. $async$goto = 1;
  23032. break;
  23033. case 1:
  23034. // return
  23035. return A._asyncReturn($async$returnValue, $async$completer);
  23036. }
  23037. });
  23038. return A._asyncStartSync($async$mapAsync0, $async$completer);
  23039. },
  23040. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  23041. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  23042. },
  23043. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  23044. var $async$goto = 0,
  23045. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  23046. $async$returnValue, t1, value;
  23047. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23048. if ($async$errorCode === 1)
  23049. return A._asyncRethrow($async$result, $async$completer);
  23050. while (true)
  23051. switch ($async$goto) {
  23052. case 0:
  23053. // Function start
  23054. if (map.containsKey$1(key)) {
  23055. t1 = map.$index(0, key);
  23056. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  23057. // goto return
  23058. $async$goto = 1;
  23059. break;
  23060. }
  23061. $async$goto = 3;
  23062. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  23063. case 3:
  23064. // returning from await.
  23065. value = $async$result;
  23066. map.$indexSet(0, key, value);
  23067. $async$returnValue = value;
  23068. // goto return
  23069. $async$goto = 1;
  23070. break;
  23071. case 1:
  23072. // return
  23073. return A._asyncReturn($async$returnValue, $async$completer);
  23074. }
  23075. });
  23076. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  23077. },
  23078. copyMapOfMap0(map, K1, K2, $V) {
  23079. var t2, t3, t4, t5,
  23080. t1 = A.LinkedHashMap_LinkedHashMap$_empty(K1, K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"));
  23081. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23082. t3 = t2.get$current(t2);
  23083. t4 = t3.key;
  23084. t3 = t3.value;
  23085. t5 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  23086. t5.addAll$1(0, t3);
  23087. t1.$indexSet(0, t4, t5);
  23088. }
  23089. return t1;
  23090. },
  23091. copyMapOfList0(map, $K, $E) {
  23092. var t2, t3,
  23093. t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $E._eval$1("List<0>"));
  23094. for (t2 = map.get$entries(map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23095. t3 = t2.get$current(t2);
  23096. t1.$indexSet(0, t3.key, J.toList$0$ax(t3.value));
  23097. }
  23098. return t1;
  23099. },
  23100. consumeEscapedCharacter0(scanner) {
  23101. var first, value, i, next, t1;
  23102. scanner.expectChar$1(92);
  23103. first = scanner.peekChar$0();
  23104. if (first == null)
  23105. return 65533;
  23106. else if (first === 10 || first === 13 || first === 12)
  23107. scanner.error$1(0, "Expected escape sequence.");
  23108. else if (A.isHex0(first)) {
  23109. for (value = 0, i = 0; i < 6; ++i) {
  23110. next = scanner.peekChar$0();
  23111. if (next == null || !A.isHex0(next))
  23112. break;
  23113. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  23114. }
  23115. t1 = scanner.peekChar$0();
  23116. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  23117. scanner.readChar$0();
  23118. if (value !== 0)
  23119. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  23120. else
  23121. t1 = true;
  23122. if (t1)
  23123. return 65533;
  23124. else
  23125. return value;
  23126. } else
  23127. return scanner.readChar$0();
  23128. },
  23129. throwWithTrace0(error, trace) {
  23130. A.attachTrace0(error, trace);
  23131. throw A.wrapException(error);
  23132. },
  23133. attachTrace0(error, trace) {
  23134. var t1;
  23135. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23136. return;
  23137. if (trace.toString$0(0).length === 0)
  23138. return;
  23139. t1 = $.$get$_traces0();
  23140. A.Expando__checkType(error);
  23141. t1 = t1._jsWeakMap;
  23142. if (t1.get(error) == null)
  23143. t1.set(error, trace);
  23144. },
  23145. getTrace0(error) {
  23146. var t1;
  23147. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  23148. t1 = null;
  23149. else {
  23150. t1 = $.$get$_traces0();
  23151. A.Expando__checkType(error);
  23152. t1 = t1._jsWeakMap.get(error);
  23153. }
  23154. return t1;
  23155. },
  23156. IterableExtension_get_exceptLast0(_this) {
  23157. var t1 = J.getInterceptor$asx(_this),
  23158. size = t1.get$length(_this) - 1;
  23159. if (size < 0)
  23160. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  23161. return t1.take$1(_this, size);
  23162. },
  23163. indent_closure0: function indent_closure0(t0) {
  23164. this.indentation = t0;
  23165. },
  23166. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  23167. this.T = t0;
  23168. },
  23169. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  23170. this.result = t0;
  23171. this.T = t1;
  23172. },
  23173. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  23174. this.selections = t0;
  23175. this.lengths = t1;
  23176. this.T = t2;
  23177. },
  23178. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  23179. var _ = this;
  23180. _.destination = t0;
  23181. _.K1 = t1;
  23182. _.K2 = t2;
  23183. _.V = t3;
  23184. },
  23185. CssValue0: function CssValue0(t0, t1, t2) {
  23186. this.value = t0;
  23187. this.span = t1;
  23188. this.$ti = t2;
  23189. },
  23190. ValueExpression0: function ValueExpression0(t0, t1) {
  23191. this.value = t0;
  23192. this.span = t1;
  23193. },
  23194. ModifiableCssValue0: function ModifiableCssValue0(t0, t1, t2) {
  23195. this.value = t0;
  23196. this.span = t1;
  23197. this.$ti = t2;
  23198. },
  23199. valueClass_closure: function valueClass_closure() {
  23200. },
  23201. valueClass__closure: function valueClass__closure() {
  23202. },
  23203. valueClass__closure0: function valueClass__closure0() {
  23204. },
  23205. valueClass__closure1: function valueClass__closure1() {
  23206. },
  23207. valueClass__closure2: function valueClass__closure2() {
  23208. },
  23209. valueClass__closure3: function valueClass__closure3() {
  23210. },
  23211. valueClass__closure4: function valueClass__closure4() {
  23212. },
  23213. valueClass__closure5: function valueClass__closure5() {
  23214. },
  23215. valueClass__closure6: function valueClass__closure6() {
  23216. },
  23217. valueClass__closure7: function valueClass__closure7() {
  23218. },
  23219. valueClass__closure8: function valueClass__closure8() {
  23220. },
  23221. valueClass__closure9: function valueClass__closure9() {
  23222. },
  23223. valueClass__closure10: function valueClass__closure10() {
  23224. },
  23225. valueClass__closure11: function valueClass__closure11() {
  23226. },
  23227. valueClass__closure12: function valueClass__closure12() {
  23228. },
  23229. valueClass__closure13: function valueClass__closure13() {
  23230. },
  23231. valueClass__closure14: function valueClass__closure14() {
  23232. },
  23233. valueClass__closure15: function valueClass__closure15() {
  23234. },
  23235. valueClass__closure16: function valueClass__closure16() {
  23236. },
  23237. SassApiValue_assertSelector0(_this, allowParent, $name) {
  23238. var error, stackTrace, t1, exception,
  23239. string = _this._value$_selectorString$1($name);
  23240. try {
  23241. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null);
  23242. return t1;
  23243. } catch (exception) {
  23244. t1 = A.unwrapException(exception);
  23245. if (t1 instanceof A.SassFormatException0) {
  23246. error = t1;
  23247. stackTrace = A.getTraceFromException(exception);
  23248. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  23249. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), stackTrace);
  23250. } else
  23251. throw exception;
  23252. }
  23253. },
  23254. SassApiValue_assertCompoundSelector0(_this, $name) {
  23255. var error, stackTrace, t1, exception,
  23256. allowParent = false,
  23257. string = _this._value$_selectorString$1($name);
  23258. try {
  23259. t1 = A.SelectorParser$0(string, allowParent, true, null, null).parseCompoundSelector$0();
  23260. return t1;
  23261. } catch (exception) {
  23262. t1 = A.unwrapException(exception);
  23263. if (t1 instanceof A.SassFormatException0) {
  23264. error = t1;
  23265. stackTrace = A.getTraceFromException(exception);
  23266. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  23267. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), stackTrace);
  23268. } else
  23269. throw exception;
  23270. }
  23271. },
  23272. Value0: function Value0() {
  23273. },
  23274. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  23275. this.namespace = t0;
  23276. this.name = t1;
  23277. this.span = t2;
  23278. },
  23279. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  23280. if (namespace != null && global)
  23281. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  23282. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  23283. },
  23284. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  23285. var _ = this;
  23286. _.namespace = t0;
  23287. _.name = t1;
  23288. _.expression = t2;
  23289. _.isGuarded = t3;
  23290. _.isGlobal = t4;
  23291. _.span = t5;
  23292. },
  23293. WarnRule0: function WarnRule0(t0, t1) {
  23294. this.expression = t0;
  23295. this.span = t1;
  23296. },
  23297. WhileRule$0(condition, children, span) {
  23298. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23299. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23300. return new A.WhileRule0(condition, span, t1, t2);
  23301. },
  23302. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  23303. var _ = this;
  23304. _.condition = t0;
  23305. _.span = t1;
  23306. _.children = t2;
  23307. _.hasDeclarations = t3;
  23308. },
  23309. printString(string) {
  23310. if (typeof dartPrint == "function") {
  23311. dartPrint(string);
  23312. return;
  23313. }
  23314. if (typeof console == "object" && typeof console.log != "undefined") {
  23315. console.log(string);
  23316. return;
  23317. }
  23318. if (typeof window == "object")
  23319. return;
  23320. if (typeof print == "function") {
  23321. print(string);
  23322. return;
  23323. }
  23324. throw "Unable to print message: " + String(string);
  23325. },
  23326. _convertDartFunctionFast(f) {
  23327. var ret,
  23328. existing = f.$dart_jsFunction;
  23329. if (existing != null)
  23330. return existing;
  23331. ret = function(_call, f) {
  23332. return function() {
  23333. return _call(f, Array.prototype.slice.apply(arguments));
  23334. };
  23335. }(A._callDartFunctionFast, f);
  23336. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  23337. f.$dart_jsFunction = ret;
  23338. return ret;
  23339. },
  23340. _convertDartFunctionFastCaptureThis(f) {
  23341. var ret,
  23342. existing = f._$dart_jsFunctionCaptureThis;
  23343. if (existing != null)
  23344. return existing;
  23345. ret = function(_call, f) {
  23346. return function() {
  23347. return _call(f, this, Array.prototype.slice.apply(arguments));
  23348. };
  23349. }(A._callDartFunctionFastCaptureThis, f);
  23350. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  23351. f._$dart_jsFunctionCaptureThis = ret;
  23352. return ret;
  23353. },
  23354. _callDartFunctionFast(callback, $arguments) {
  23355. return A.Function_apply(callback, $arguments);
  23356. },
  23357. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  23358. var t1 = [$self];
  23359. B.JSArray_methods.addAll$1(t1, $arguments);
  23360. return A.Function_apply(callback, t1);
  23361. },
  23362. allowInterop(f) {
  23363. if (typeof f == "function")
  23364. return f;
  23365. else
  23366. return A._convertDartFunctionFast(f);
  23367. },
  23368. allowInteropCaptureThis(f) {
  23369. if (typeof f == "function")
  23370. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  23371. else
  23372. return A._convertDartFunctionFastCaptureThis(f);
  23373. },
  23374. mergeMaps(map1, map2, $K, $V) {
  23375. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  23376. result.addAll$1(0, map2);
  23377. return result;
  23378. },
  23379. groupBy(values, key, $S, $T) {
  23380. var t1, t2, _i, element, t3, t4,
  23381. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  23382. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  23383. element = values[_i];
  23384. t3 = key.call$1(element);
  23385. t4 = map.$index(0, t3);
  23386. if (t4 == null) {
  23387. t4 = A._setArrayType([], t2);
  23388. map.$indexSet(0, t3, t4);
  23389. t3 = t4;
  23390. } else
  23391. t3 = t4;
  23392. J.add$1$ax(t3, element);
  23393. }
  23394. return map;
  23395. },
  23396. minBy(values, orderBy) {
  23397. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  23398. 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();) {
  23399. element = t1.__internal$_current;
  23400. if (element == null)
  23401. element = t2._as(element);
  23402. elementOrderBy = orderBy.call$1(element);
  23403. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  23404. minOrderBy = elementOrderBy;
  23405. minValue = element;
  23406. }
  23407. }
  23408. return minValue;
  23409. },
  23410. IterableExtension_get_firstOrNull(_this) {
  23411. var t1,
  23412. iterator = new J.ArrayIterator(_this, _this.length);
  23413. if (iterator.moveNext$0()) {
  23414. t1 = iterator._current;
  23415. return t1 == null ? A._instanceType(iterator)._precomputed1._as(t1) : t1;
  23416. }
  23417. return null;
  23418. },
  23419. IterableNullableExtension_whereNotNull(_this, $T) {
  23420. return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T);
  23421. },
  23422. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) {
  23423. return A._makeSyncStarIterable(function() {
  23424. var _this = $async$_this,
  23425. $T = $async$$T;
  23426. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  23427. return function $async$IterableNullableExtension_whereNotNull($async$errorCode, $async$result) {
  23428. if ($async$errorCode === 1) {
  23429. $async$currentError = $async$result;
  23430. $async$goto = $async$handler;
  23431. }
  23432. while (true)
  23433. switch ($async$goto) {
  23434. case 0:
  23435. // Function start
  23436. t1 = _this.get$iterator(_this);
  23437. case 2:
  23438. // for condition
  23439. if (!t1.moveNext$0()) {
  23440. // goto after for
  23441. $async$goto = 3;
  23442. break;
  23443. }
  23444. element = t1.get$current(t1);
  23445. $async$goto = element != null ? 4 : 5;
  23446. break;
  23447. case 4:
  23448. // then
  23449. $async$goto = 6;
  23450. return element;
  23451. case 6:
  23452. // after yield
  23453. case 5:
  23454. // join
  23455. // goto for condition
  23456. $async$goto = 2;
  23457. break;
  23458. case 3:
  23459. // after for
  23460. // implicit return
  23461. return A._IterationMarker_endOfIteration();
  23462. case 1:
  23463. // rethrow
  23464. return A._IterationMarker_uncaughtError($async$currentError);
  23465. }
  23466. };
  23467. }, $async$type);
  23468. },
  23469. IterableIntegerExtension_get_maxOrNull(_this) {
  23470. var value, t1, newValue,
  23471. iterator = new A.ListIterator(_this, _this.get$length(_this));
  23472. if (iterator.moveNext$0()) {
  23473. value = iterator.__internal$_current;
  23474. if (value == null)
  23475. value = A._instanceType(iterator)._precomputed1._as(value);
  23476. for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
  23477. newValue = iterator.__internal$_current;
  23478. if (newValue == null)
  23479. newValue = t1._as(newValue);
  23480. if (newValue > value)
  23481. value = newValue;
  23482. }
  23483. return value;
  23484. }
  23485. return null;
  23486. },
  23487. IterableIntegerExtension_get_max(_this) {
  23488. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  23489. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  23490. },
  23491. IterableIntegerExtension_get_sum(_this) {
  23492. var t1, t2, result, t3;
  23493. 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();) {
  23494. t3 = t1.__internal$_current;
  23495. result += t3 == null ? t2._as(t3) : t3;
  23496. }
  23497. return result;
  23498. },
  23499. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  23500. return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R);
  23501. },
  23502. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) {
  23503. return A._makeSyncStarIterable(function() {
  23504. var _this = $async$_this,
  23505. convert = $async$convert,
  23506. $E = $async$$E,
  23507. $R = $async$$R;
  23508. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  23509. return function $async$ListExtensions_mapIndexed($async$errorCode, $async$result) {
  23510. if ($async$errorCode === 1) {
  23511. $async$currentError = $async$result;
  23512. $async$goto = $async$handler;
  23513. }
  23514. while (true)
  23515. switch ($async$goto) {
  23516. case 0:
  23517. // Function start
  23518. t1 = _this.length, index = 0;
  23519. case 2:
  23520. // for condition
  23521. if (!(index < t1)) {
  23522. // goto after for
  23523. $async$goto = 4;
  23524. break;
  23525. }
  23526. $async$goto = 5;
  23527. return convert.call$2(index, _this[index]);
  23528. case 5:
  23529. // after yield
  23530. case 3:
  23531. // for update
  23532. ++index;
  23533. // goto for condition
  23534. $async$goto = 2;
  23535. break;
  23536. case 4:
  23537. // after for
  23538. // implicit return
  23539. return A._IterationMarker_endOfIteration();
  23540. case 1:
  23541. // rethrow
  23542. return A._IterationMarker_uncaughtError($async$currentError);
  23543. }
  23544. };
  23545. }, $async$type);
  23546. },
  23547. defaultCompare(value1, value2) {
  23548. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  23549. },
  23550. current() {
  23551. var exception, t1, path, lastIndex, uri = null;
  23552. try {
  23553. uri = A.Uri_base();
  23554. } catch (exception) {
  23555. if (type$.Exception._is(A.unwrapException(exception))) {
  23556. t1 = $._current;
  23557. if (t1 != null)
  23558. return t1;
  23559. throw exception;
  23560. } else
  23561. throw exception;
  23562. }
  23563. if (J.$eq$(uri, $._currentUriBase)) {
  23564. t1 = $._current;
  23565. t1.toString;
  23566. return t1;
  23567. }
  23568. $._currentUriBase = uri;
  23569. if ($.$get$Style_platform() == $.$get$Style_url())
  23570. t1 = $._current = uri.resolve$1(".").toString$0(0);
  23571. else {
  23572. path = uri.toFilePath$0();
  23573. lastIndex = path.length - 1;
  23574. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  23575. }
  23576. return t1;
  23577. },
  23578. absolute(part1, part2, part3, part4, part5, part6, part7) {
  23579. return $.$get$context().absolute$7(part1, part2, part3, part4, part5, part6, part7);
  23580. },
  23581. join(part1, part2, part3) {
  23582. var _null = null;
  23583. return $.$get$context().join$8(0, part1, part2, part3, _null, _null, _null, _null, _null);
  23584. },
  23585. prettyUri(uri) {
  23586. return $.$get$context().prettyUri$1(uri);
  23587. },
  23588. isAlphabetic(char) {
  23589. var t1;
  23590. if (!(char >= 65 && char <= 90))
  23591. t1 = char >= 97 && char <= 122;
  23592. else
  23593. t1 = true;
  23594. return t1;
  23595. },
  23596. isDriveLetter(path, index) {
  23597. var t1 = path.length,
  23598. t2 = index + 2;
  23599. if (t1 < t2)
  23600. return false;
  23601. if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index)))
  23602. return false;
  23603. if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58)
  23604. return false;
  23605. if (t1 === t2)
  23606. return true;
  23607. return B.JSString_methods.codeUnitAt$1(path, t2) === 47;
  23608. },
  23609. EvaluationContext_current() {
  23610. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  23611. if (type$.EvaluationContext._is(context))
  23612. return context;
  23613. throw A.wrapException(A.StateError$(string$.No_Sass));
  23614. },
  23615. repl(options) {
  23616. return A.repl$body(options);
  23617. },
  23618. repl$body(options) {
  23619. var $async$goto = 0,
  23620. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  23621. $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;
  23622. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  23623. if ($async$errorCode === 1) {
  23624. $async$currentError = $async$result;
  23625. $async$goto = $async$handler;
  23626. }
  23627. while (true)
  23628. switch ($async$goto) {
  23629. case 0:
  23630. // Function start
  23631. t1 = A._setArrayType([], type$.JSArray_String);
  23632. t2 = B.JSString_methods.$mul(" ", 3);
  23633. t3 = $.$get$alwaysValid();
  23634. repl0 = new A.Repl(">> ", t2, t3, t1);
  23635. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  23636. repl = repl0;
  23637. t1 = options._options;
  23638. logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  23639. t2 = $.$get$context().absolute$7(".", null, null, null, null, null, null);
  23640. 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));
  23641. t2 = repl.__Repl__adapter_A;
  23642. t2 === $ && A.throwUnnamedLateFieldNI();
  23643. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  23644. $async$handler = 2;
  23645. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  23646. case 5:
  23647. // for condition
  23648. $async$goto = 7;
  23649. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  23650. case 7:
  23651. // returning from await.
  23652. if (!$async$result) {
  23653. // goto after for
  23654. $async$goto = 6;
  23655. break;
  23656. }
  23657. line = t2.get$current(t2);
  23658. if (J.trim$0$s(line).length === 0) {
  23659. // goto for condition
  23660. $async$goto = 5;
  23661. break;
  23662. }
  23663. try {
  23664. if (J.startsWith$1$s(line, "@")) {
  23665. t5 = evaluator;
  23666. t6 = logger;
  23667. t7 = A.SpanScanner$(line, null);
  23668. if (t6 == null)
  23669. t6 = B.StderrLogger_false;
  23670. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6).parseUseRule$0();
  23671. t5._visitor.runStatement$2(t5._importer, t6);
  23672. // goto for condition
  23673. $async$goto = 5;
  23674. break;
  23675. }
  23676. t5 = A.SpanScanner$(line, null);
  23677. if (new A.Parser(t5, B.StderrLogger_false)._isVariableDeclarationLike$0()) {
  23678. t5 = logger;
  23679. t6 = A.SpanScanner$(line, null);
  23680. if (t5 == null)
  23681. t5 = B.StderrLogger_false;
  23682. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5).parseVariableDeclaration$0();
  23683. t5 = evaluator;
  23684. t5._visitor.runStatement$2(t5._importer, declaration);
  23685. t5 = evaluator;
  23686. t6 = declaration.name;
  23687. t7 = declaration.span;
  23688. t8 = declaration.namespace;
  23689. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  23690. toZone = $.printToZone;
  23691. if (toZone == null)
  23692. A.printString(line0);
  23693. else
  23694. toZone.call$1(line0);
  23695. } else {
  23696. t5 = evaluator;
  23697. t6 = logger;
  23698. t7 = A.SpanScanner$(line, null);
  23699. if (t6 == null)
  23700. t6 = B.StderrLogger_false;
  23701. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6);
  23702. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  23703. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  23704. toZone = $.printToZone;
  23705. if (toZone == null)
  23706. A.printString(line0);
  23707. else
  23708. toZone.call$1(line0);
  23709. }
  23710. } catch (exception) {
  23711. t5 = A.unwrapException(exception);
  23712. if (t5 instanceof A.SassException) {
  23713. error = t5;
  23714. stackTrace = A.getTraceFromException(exception);
  23715. t5 = error;
  23716. t6 = typeof t5 == "string";
  23717. if (t6 || typeof t5 == "number" || A._isBool(t5))
  23718. t5 = null;
  23719. else {
  23720. t7 = $.$get$_traces();
  23721. if (A._isBool(t5) || typeof t5 == "number" || t6)
  23722. A.throwExpression(A.ArgumentError$value(t5, string$.Expand, null));
  23723. t5 = t7._jsWeakMap.get(t5);
  23724. }
  23725. if (t5 == null)
  23726. t5 = stackTrace;
  23727. A._logError(error, t5, line, repl, options, logger);
  23728. } else
  23729. throw exception;
  23730. }
  23731. // goto for condition
  23732. $async$goto = 5;
  23733. break;
  23734. case 6:
  23735. // after for
  23736. $async$next.push(4);
  23737. // goto finally
  23738. $async$goto = 3;
  23739. break;
  23740. case 2:
  23741. // uncaught
  23742. $async$next = [1];
  23743. case 3:
  23744. // finally
  23745. $async$handler = 1;
  23746. $async$goto = 8;
  23747. return A._asyncAwait(t2.cancel$0(), $async$repl);
  23748. case 8:
  23749. // returning from await.
  23750. // goto the next finally handler
  23751. $async$goto = $async$next.pop();
  23752. break;
  23753. case 4:
  23754. // after finally
  23755. // implicit return
  23756. return A._asyncReturn(null, $async$completer);
  23757. case 1:
  23758. // rethrow
  23759. return A._asyncRethrow($async$currentError, $async$completer);
  23760. }
  23761. });
  23762. return A._asyncStartSync($async$repl, $async$completer);
  23763. },
  23764. _logError(error, stackTrace, line, repl, options, logger) {
  23765. var t2, spacesBeforeError, t3,
  23766. t1 = A.SourceSpanException.prototype.get$span.call(error, error);
  23767. if (t1.get$sourceUrl(t1) == null)
  23768. if (!A._asBool(options._options.$index(0, "quiet")))
  23769. t1 = logger._emittedDebug || logger._emittedWarning;
  23770. else
  23771. t1 = false;
  23772. else
  23773. t1 = true;
  23774. if (t1) {
  23775. A.print(error.toString$1$color(0, options.get$color()));
  23776. return;
  23777. }
  23778. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  23779. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  23780. t2 = t2.get$start(t2);
  23781. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  23782. if (options.get$color()) {
  23783. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  23784. t2 = t2.get$start(t2);
  23785. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  23786. } else
  23787. t2 = false;
  23788. if (t2)
  23789. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, error).get$text() + "\n");
  23790. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  23791. t3 = A.SourceSpanException.prototype.get$span.call(error, error);
  23792. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  23793. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  23794. t1 += "Error: " + error._span_exception$_message + "\n";
  23795. if (A._asBool(options._options.$index(0, "trace")))
  23796. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  23797. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  23798. },
  23799. isWhitespace(character) {
  23800. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  23801. },
  23802. isNewline(character) {
  23803. return character === 10 || character === 13 || character === 12;
  23804. },
  23805. isAlphabetic0(character) {
  23806. var t1;
  23807. if (!(character >= 97 && character <= 122))
  23808. t1 = character >= 65 && character <= 90;
  23809. else
  23810. t1 = true;
  23811. return t1;
  23812. },
  23813. isDigit(character) {
  23814. return character != null && character >= 48 && character <= 57;
  23815. },
  23816. isHex(character) {
  23817. if (character == null)
  23818. return false;
  23819. if (A.isDigit(character))
  23820. return true;
  23821. if (character >= 97 && character <= 102)
  23822. return true;
  23823. if (character >= 65 && character <= 70)
  23824. return true;
  23825. return false;
  23826. },
  23827. asHex(character) {
  23828. if (character <= 57)
  23829. return character - 48;
  23830. if (character <= 70)
  23831. return 10 + character - 65;
  23832. return 10 + character - 97;
  23833. },
  23834. hexCharFor(number) {
  23835. return number < 10 ? 48 + number : 87 + number;
  23836. },
  23837. opposite(character) {
  23838. switch (character) {
  23839. case 40:
  23840. return 41;
  23841. case 123:
  23842. return 125;
  23843. case 91:
  23844. return 93;
  23845. default:
  23846. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  23847. }
  23848. },
  23849. characterEqualsIgnoreCase(character1, character2) {
  23850. var upperCase1;
  23851. if (character1 === character2)
  23852. return true;
  23853. if ((character1 ^ character2) >>> 0 !== 32)
  23854. return false;
  23855. upperCase1 = (character1 & 4294967263) >>> 0;
  23856. return upperCase1 >= 65 && upperCase1 <= 90;
  23857. },
  23858. NullableExtension_andThen(_this, fn) {
  23859. return _this == null ? null : fn.call$1(_this);
  23860. },
  23861. SetExtension_removeNull(_this, $T) {
  23862. _this.remove$1(0, null);
  23863. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  23864. },
  23865. fuzzyEquals(number1, number2) {
  23866. var t1;
  23867. if (number1 === number2)
  23868. return true;
  23869. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  23870. t1 = $.$get$_inverseEpsilon();
  23871. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  23872. } else
  23873. t1 = false;
  23874. return t1;
  23875. },
  23876. fuzzyHashCode(number) {
  23877. if (!isFinite(number))
  23878. return B.JSNumber_methods.get$hashCode(number);
  23879. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  23880. },
  23881. fuzzyLessThan(number1, number2) {
  23882. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  23883. },
  23884. fuzzyLessThanOrEquals(number1, number2) {
  23885. return number1 < number2 || A.fuzzyEquals(number1, number2);
  23886. },
  23887. fuzzyGreaterThan(number1, number2) {
  23888. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  23889. },
  23890. fuzzyGreaterThanOrEquals(number1, number2) {
  23891. return number1 > number2 || A.fuzzyEquals(number1, number2);
  23892. },
  23893. fuzzyAsInt(number) {
  23894. var rounded;
  23895. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  23896. return null;
  23897. rounded = B.JSNumber_methods.round$0(number);
  23898. return A.fuzzyEquals(number, rounded) ? rounded : null;
  23899. },
  23900. fuzzyRound(number) {
  23901. var t1;
  23902. if (number > 0) {
  23903. t1 = B.JSNumber_methods.$mod(number, 1);
  23904. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  23905. } else {
  23906. t1 = B.JSNumber_methods.$mod(number, 1);
  23907. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  23908. }
  23909. },
  23910. fuzzyCheckRange(number, min, max) {
  23911. if (A.fuzzyEquals(number, min))
  23912. return min;
  23913. if (A.fuzzyEquals(number, max))
  23914. return max;
  23915. if (number > min && number < max)
  23916. return number;
  23917. return null;
  23918. },
  23919. fuzzyAssertRange(number, min, max, $name) {
  23920. var result = A.fuzzyCheckRange(number, min, max);
  23921. if (result != null)
  23922. return result;
  23923. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  23924. },
  23925. moduloLikeSass(num1, num2) {
  23926. var result;
  23927. if (num2 > 0)
  23928. return B.JSNumber_methods.$mod(num1, num2);
  23929. if (num2 === 0)
  23930. return 0 / 0;
  23931. result = B.JSNumber_methods.$mod(num1, num2);
  23932. return result === 0 ? 0 : result + num2;
  23933. },
  23934. SpanExtensions_trimLeft(_this) {
  23935. var t5,
  23936. t1 = _this._file$_start,
  23937. t2 = _this._end,
  23938. t3 = _this.file._decodedChars,
  23939. t4 = t3.length,
  23940. start = 0;
  23941. while (true) {
  23942. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  23943. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  23944. break;
  23945. ++start;
  23946. }
  23947. return A.FileSpanExtension_subspan(_this, start, null);
  23948. },
  23949. SpanExtensions_trimRight(_this) {
  23950. var t5,
  23951. t1 = _this._file$_start,
  23952. t2 = _this._end,
  23953. t3 = _this.file._decodedChars,
  23954. end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
  23955. t4 = t3.length;
  23956. while (true) {
  23957. t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
  23958. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  23959. break;
  23960. --end;
  23961. }
  23962. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  23963. },
  23964. encodeVlq(value) {
  23965. var res, signBit, digit, t1;
  23966. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  23967. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  23968. res = A._setArrayType([], type$.JSArray_String);
  23969. if (value < 0) {
  23970. value = -value;
  23971. signBit = 1;
  23972. } else
  23973. signBit = 0;
  23974. value = value << 1 | signBit;
  23975. do {
  23976. digit = value & 31;
  23977. value = value >>> 5;
  23978. t1 = value > 0;
  23979. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  23980. } while (t1);
  23981. return res;
  23982. },
  23983. isAllTheSame(iter) {
  23984. var firstValue, t1, t2, value;
  23985. if (iter.get$length(iter) === 0)
  23986. return true;
  23987. firstValue = iter.get$first(iter);
  23988. 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();) {
  23989. value = t1.__internal$_current;
  23990. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  23991. return false;
  23992. }
  23993. return true;
  23994. },
  23995. replaceFirstNull(list, element) {
  23996. var index = B.JSArray_methods.indexOf$1(list, null);
  23997. if (index < 0)
  23998. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  23999. list[index] = element;
  24000. },
  24001. replaceWithNull(list, element) {
  24002. var index = B.JSArray_methods.indexOf$1(list, element);
  24003. if (index < 0)
  24004. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  24005. list[index] = null;
  24006. },
  24007. countCodeUnits(string, codeUnit) {
  24008. var t1, t2, count, t3;
  24009. 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();) {
  24010. t3 = t1.__internal$_current;
  24011. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  24012. ++count;
  24013. }
  24014. return count;
  24015. },
  24016. findLineStart(context, text, column) {
  24017. var beginningOfLine, index, lineStart;
  24018. if (text.length === 0)
  24019. for (beginningOfLine = 0; true;) {
  24020. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  24021. if (index === -1)
  24022. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  24023. if (index - beginningOfLine >= column)
  24024. return beginningOfLine;
  24025. beginningOfLine = index + 1;
  24026. }
  24027. index = B.JSString_methods.indexOf$1(context, text);
  24028. for (; index !== -1;) {
  24029. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  24030. if (column === index - lineStart)
  24031. return lineStart;
  24032. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  24033. }
  24034. return null;
  24035. },
  24036. validateErrorArgs(string, match, position, $length) {
  24037. var t2,
  24038. t1 = position != null;
  24039. if (t1)
  24040. if (position < 0)
  24041. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  24042. else if (position > string.length)
  24043. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  24044. t2 = $length != null;
  24045. if (t2 && $length < 0)
  24046. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  24047. if (t1 && t2 && position + $length > string.length)
  24048. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  24049. },
  24050. isWhitespace0(character) {
  24051. return character === 32 || character === 9 || character === 10 || character === 13 || character === 12;
  24052. },
  24053. isNewline0(character) {
  24054. return character === 10 || character === 13 || character === 12;
  24055. },
  24056. isAlphabetic1(character) {
  24057. var t1;
  24058. if (!(character >= 97 && character <= 122))
  24059. t1 = character >= 65 && character <= 90;
  24060. else
  24061. t1 = true;
  24062. return t1;
  24063. },
  24064. isDigit0(character) {
  24065. return character != null && character >= 48 && character <= 57;
  24066. },
  24067. isHex0(character) {
  24068. if (character == null)
  24069. return false;
  24070. if (A.isDigit0(character))
  24071. return true;
  24072. if (character >= 97 && character <= 102)
  24073. return true;
  24074. if (character >= 65 && character <= 70)
  24075. return true;
  24076. return false;
  24077. },
  24078. asHex0(character) {
  24079. if (character <= 57)
  24080. return character - 48;
  24081. if (character <= 70)
  24082. return 10 + character - 65;
  24083. return 10 + character - 97;
  24084. },
  24085. hexCharFor0(number) {
  24086. return number < 10 ? 48 + number : 87 + number;
  24087. },
  24088. opposite0(character) {
  24089. switch (character) {
  24090. case 40:
  24091. return 41;
  24092. case 123:
  24093. return 125;
  24094. case 91:
  24095. return 93;
  24096. default:
  24097. throw A.wrapException(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  24098. }
  24099. },
  24100. characterEqualsIgnoreCase0(character1, character2) {
  24101. var upperCase1;
  24102. if (character1 === character2)
  24103. return true;
  24104. if ((character1 ^ character2) >>> 0 !== 32)
  24105. return false;
  24106. upperCase1 = (character1 & 4294967263) >>> 0;
  24107. return upperCase1 >= 65 && upperCase1 <= 90;
  24108. },
  24109. EvaluationContext_current0() {
  24110. var context = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  24111. if (type$.EvaluationContext_2._is(context))
  24112. return context;
  24113. throw A.wrapException(A.StateError$(string$.No_Sass));
  24114. },
  24115. NullableExtension_andThen0(_this, fn) {
  24116. return _this == null ? null : fn.call$1(_this);
  24117. },
  24118. fuzzyEquals0(number1, number2) {
  24119. var t1;
  24120. if (number1 === number2)
  24121. return true;
  24122. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  24123. t1 = $.$get$_inverseEpsilon0();
  24124. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  24125. } else
  24126. t1 = false;
  24127. return t1;
  24128. },
  24129. fuzzyHashCode0(number) {
  24130. if (!isFinite(number))
  24131. return B.JSNumber_methods.get$hashCode(number);
  24132. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  24133. },
  24134. fuzzyLessThan0(number1, number2) {
  24135. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  24136. },
  24137. fuzzyLessThanOrEquals0(number1, number2) {
  24138. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  24139. },
  24140. fuzzyGreaterThan0(number1, number2) {
  24141. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  24142. },
  24143. fuzzyGreaterThanOrEquals0(number1, number2) {
  24144. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  24145. },
  24146. fuzzyIsInt(number) {
  24147. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24148. return false;
  24149. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  24150. },
  24151. fuzzyAsInt0(number) {
  24152. var rounded;
  24153. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  24154. return null;
  24155. rounded = B.JSNumber_methods.round$0(number);
  24156. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  24157. },
  24158. fuzzyRound0(number) {
  24159. var t1;
  24160. if (number > 0) {
  24161. t1 = B.JSNumber_methods.$mod(number, 1);
  24162. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24163. } else {
  24164. t1 = B.JSNumber_methods.$mod(number, 1);
  24165. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  24166. }
  24167. },
  24168. fuzzyCheckRange0(number, min, max) {
  24169. if (A.fuzzyEquals0(number, min))
  24170. return min;
  24171. if (A.fuzzyEquals0(number, max))
  24172. return max;
  24173. if (number > min && number < max)
  24174. return number;
  24175. return null;
  24176. },
  24177. fuzzyAssertRange0(number, min, max, $name) {
  24178. var result = A.fuzzyCheckRange0(number, min, max);
  24179. if (result != null)
  24180. return result;
  24181. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  24182. },
  24183. moduloLikeSass0(num1, num2) {
  24184. var result;
  24185. if (num2 > 0)
  24186. return B.JSNumber_methods.$mod(num1, num2);
  24187. if (num2 === 0)
  24188. return 0 / 0;
  24189. result = B.JSNumber_methods.$mod(num1, num2);
  24190. return result === 0 ? 0 : result + num2;
  24191. },
  24192. SpanExtensions_trimLeft0(_this) {
  24193. var t5,
  24194. t1 = _this._file$_start,
  24195. t2 = _this._end,
  24196. t3 = _this.file._decodedChars,
  24197. t4 = t3.length,
  24198. start = 0;
  24199. while (true) {
  24200. t5 = B.JSString_methods._codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), start);
  24201. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24202. break;
  24203. ++start;
  24204. }
  24205. return A.FileSpanExtension_subspan(_this, start, null);
  24206. },
  24207. SpanExtensions_trimRight0(_this) {
  24208. var t5,
  24209. t1 = _this._file$_start,
  24210. t2 = _this._end,
  24211. t3 = _this.file._decodedChars,
  24212. end = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3, t1, t2), 0, null).length - 1,
  24213. t4 = t3.length;
  24214. while (true) {
  24215. t5 = B.JSString_methods.codeUnitAt$1(A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null), end);
  24216. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  24217. break;
  24218. --end;
  24219. }
  24220. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  24221. },
  24222. unwrapValue(object) {
  24223. var value;
  24224. if (object != null) {
  24225. if (object instanceof A.Value0)
  24226. return object;
  24227. value = object.dartValue;
  24228. if (value != null && value instanceof A.Value0)
  24229. return value;
  24230. if (object instanceof self.Error)
  24231. throw A.wrapException(object);
  24232. }
  24233. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  24234. },
  24235. wrapValue(value) {
  24236. var t1;
  24237. if (value instanceof A.SassColor0) {
  24238. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  24239. return t1;
  24240. }
  24241. if (value instanceof A.SassList0) {
  24242. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  24243. return t1;
  24244. }
  24245. if (value instanceof A.SassMap0) {
  24246. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  24247. return t1;
  24248. }
  24249. if (value instanceof A.SassNumber0) {
  24250. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  24251. return t1;
  24252. }
  24253. if (value instanceof A.SassString0) {
  24254. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  24255. return t1;
  24256. }
  24257. return value;
  24258. }
  24259. },
  24260. J = {
  24261. makeDispatchRecord(interceptor, proto, extension, indexability) {
  24262. return {i: interceptor, p: proto, e: extension, x: indexability};
  24263. },
  24264. getNativeInterceptor(object) {
  24265. var proto, objectProto, $constructor, interceptor, t1,
  24266. record = object[init.dispatchPropertyName];
  24267. if (record == null)
  24268. if ($.initNativeDispatchFlag == null) {
  24269. A.initNativeDispatch();
  24270. record = object[init.dispatchPropertyName];
  24271. }
  24272. if (record != null) {
  24273. proto = record.p;
  24274. if (false === proto)
  24275. return record.i;
  24276. if (true === proto)
  24277. return object;
  24278. objectProto = Object.getPrototypeOf(object);
  24279. if (proto === objectProto)
  24280. return record.i;
  24281. if (record.e === objectProto)
  24282. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  24283. }
  24284. $constructor = object.constructor;
  24285. if ($constructor == null)
  24286. interceptor = null;
  24287. else {
  24288. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  24289. if (t1 == null)
  24290. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  24291. interceptor = $constructor[t1];
  24292. }
  24293. if (interceptor != null)
  24294. return interceptor;
  24295. interceptor = A.lookupAndCacheInterceptor(object);
  24296. if (interceptor != null)
  24297. return interceptor;
  24298. if (typeof object == "function")
  24299. return B.JavaScriptFunction_methods;
  24300. proto = Object.getPrototypeOf(object);
  24301. if (proto == null)
  24302. return B.PlainJavaScriptObject_methods;
  24303. if (proto === Object.prototype)
  24304. return B.PlainJavaScriptObject_methods;
  24305. if (typeof $constructor == "function") {
  24306. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  24307. if (t1 == null)
  24308. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  24309. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  24310. return B.UnknownJavaScriptObject_methods;
  24311. }
  24312. return B.UnknownJavaScriptObject_methods;
  24313. },
  24314. JSArray_JSArray$fixed($length, $E) {
  24315. if ($length < 0 || $length > 4294967295)
  24316. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  24317. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  24318. },
  24319. JSArray_JSArray$allocateFixed($length, $E) {
  24320. if ($length > 4294967295)
  24321. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  24322. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  24323. },
  24324. JSArray_JSArray$growable($length, $E) {
  24325. if ($length < 0)
  24326. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  24327. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  24328. },
  24329. JSArray_JSArray$allocateGrowable($length, $E) {
  24330. if ($length < 0)
  24331. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  24332. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  24333. },
  24334. JSArray_JSArray$markFixed(allocation, $E) {
  24335. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  24336. },
  24337. JSArray_markFixedList(list) {
  24338. list.fixed$length = Array;
  24339. return list;
  24340. },
  24341. JSArray_markUnmodifiableList(list) {
  24342. list.fixed$length = Array;
  24343. list.immutable$list = Array;
  24344. return list;
  24345. },
  24346. JSArray__compareAny(a, b) {
  24347. return J.compareTo$1$ns(a, b);
  24348. },
  24349. JSString__isWhitespace(codeUnit) {
  24350. if (codeUnit < 256)
  24351. switch (codeUnit) {
  24352. case 9:
  24353. case 10:
  24354. case 11:
  24355. case 12:
  24356. case 13:
  24357. case 32:
  24358. case 133:
  24359. case 160:
  24360. return true;
  24361. default:
  24362. return false;
  24363. }
  24364. switch (codeUnit) {
  24365. case 5760:
  24366. case 8192:
  24367. case 8193:
  24368. case 8194:
  24369. case 8195:
  24370. case 8196:
  24371. case 8197:
  24372. case 8198:
  24373. case 8199:
  24374. case 8200:
  24375. case 8201:
  24376. case 8202:
  24377. case 8232:
  24378. case 8233:
  24379. case 8239:
  24380. case 8287:
  24381. case 12288:
  24382. case 65279:
  24383. return true;
  24384. default:
  24385. return false;
  24386. }
  24387. },
  24388. JSString__skipLeadingWhitespace(string, index) {
  24389. var t1, codeUnit;
  24390. for (t1 = string.length; index < t1;) {
  24391. codeUnit = B.JSString_methods._codeUnitAt$1(string, index);
  24392. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  24393. break;
  24394. ++index;
  24395. }
  24396. return index;
  24397. },
  24398. JSString__skipTrailingWhitespace(string, index) {
  24399. var index0, codeUnit;
  24400. for (; index > 0; index = index0) {
  24401. index0 = index - 1;
  24402. codeUnit = B.JSString_methods.codeUnitAt$1(string, index0);
  24403. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  24404. break;
  24405. }
  24406. return index;
  24407. },
  24408. getInterceptor$(receiver) {
  24409. if (typeof receiver == "number") {
  24410. if (Math.floor(receiver) == receiver)
  24411. return J.JSInt.prototype;
  24412. return J.JSNumNotInt.prototype;
  24413. }
  24414. if (typeof receiver == "string")
  24415. return J.JSString.prototype;
  24416. if (receiver == null)
  24417. return J.JSNull.prototype;
  24418. if (typeof receiver == "boolean")
  24419. return J.JSBool.prototype;
  24420. if (receiver.constructor == Array)
  24421. return J.JSArray.prototype;
  24422. if (typeof receiver != "object") {
  24423. if (typeof receiver == "function")
  24424. return J.JavaScriptFunction.prototype;
  24425. return receiver;
  24426. }
  24427. if (receiver instanceof A.Object)
  24428. return receiver;
  24429. return J.getNativeInterceptor(receiver);
  24430. },
  24431. getInterceptor$ansx(receiver) {
  24432. if (typeof receiver == "number")
  24433. return J.JSNumber.prototype;
  24434. if (typeof receiver == "string")
  24435. return J.JSString.prototype;
  24436. if (receiver == null)
  24437. return receiver;
  24438. if (receiver.constructor == Array)
  24439. return J.JSArray.prototype;
  24440. if (typeof receiver != "object") {
  24441. if (typeof receiver == "function")
  24442. return J.JavaScriptFunction.prototype;
  24443. return receiver;
  24444. }
  24445. if (receiver instanceof A.Object)
  24446. return receiver;
  24447. return J.getNativeInterceptor(receiver);
  24448. },
  24449. getInterceptor$asx(receiver) {
  24450. if (typeof receiver == "string")
  24451. return J.JSString.prototype;
  24452. if (receiver == null)
  24453. return receiver;
  24454. if (receiver.constructor == Array)
  24455. return J.JSArray.prototype;
  24456. if (typeof receiver != "object") {
  24457. if (typeof receiver == "function")
  24458. return J.JavaScriptFunction.prototype;
  24459. return receiver;
  24460. }
  24461. if (receiver instanceof A.Object)
  24462. return receiver;
  24463. return J.getNativeInterceptor(receiver);
  24464. },
  24465. getInterceptor$ax(receiver) {
  24466. if (receiver == null)
  24467. return receiver;
  24468. if (receiver.constructor == Array)
  24469. return J.JSArray.prototype;
  24470. if (typeof receiver != "object") {
  24471. if (typeof receiver == "function")
  24472. return J.JavaScriptFunction.prototype;
  24473. return receiver;
  24474. }
  24475. if (receiver instanceof A.Object)
  24476. return receiver;
  24477. return J.getNativeInterceptor(receiver);
  24478. },
  24479. getInterceptor$n(receiver) {
  24480. if (typeof receiver == "number")
  24481. return J.JSNumber.prototype;
  24482. if (receiver == null)
  24483. return receiver;
  24484. if (!(receiver instanceof A.Object))
  24485. return J.UnknownJavaScriptObject.prototype;
  24486. return receiver;
  24487. },
  24488. getInterceptor$ns(receiver) {
  24489. if (typeof receiver == "number")
  24490. return J.JSNumber.prototype;
  24491. if (typeof receiver == "string")
  24492. return J.JSString.prototype;
  24493. if (receiver == null)
  24494. return receiver;
  24495. if (!(receiver instanceof A.Object))
  24496. return J.UnknownJavaScriptObject.prototype;
  24497. return receiver;
  24498. },
  24499. getInterceptor$s(receiver) {
  24500. if (typeof receiver == "string")
  24501. return J.JSString.prototype;
  24502. if (receiver == null)
  24503. return receiver;
  24504. if (!(receiver instanceof A.Object))
  24505. return J.UnknownJavaScriptObject.prototype;
  24506. return receiver;
  24507. },
  24508. getInterceptor$u(receiver) {
  24509. if (receiver == null)
  24510. return J.JSNull.prototype;
  24511. if (!(receiver instanceof A.Object))
  24512. return J.UnknownJavaScriptObject.prototype;
  24513. return receiver;
  24514. },
  24515. getInterceptor$x(receiver) {
  24516. if (receiver == null)
  24517. return receiver;
  24518. if (typeof receiver != "object") {
  24519. if (typeof receiver == "function")
  24520. return J.JavaScriptFunction.prototype;
  24521. return receiver;
  24522. }
  24523. if (receiver instanceof A.Object)
  24524. return receiver;
  24525. return J.getNativeInterceptor(receiver);
  24526. },
  24527. getInterceptor$z(receiver) {
  24528. if (receiver == null)
  24529. return receiver;
  24530. if (!(receiver instanceof A.Object))
  24531. return J.UnknownJavaScriptObject.prototype;
  24532. return receiver;
  24533. },
  24534. set$Exception$x(receiver, value) {
  24535. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  24536. },
  24537. set$FALSE$x(receiver, value) {
  24538. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  24539. },
  24540. set$Logger$x(receiver, value) {
  24541. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  24542. },
  24543. set$NULL$x(receiver, value) {
  24544. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  24545. },
  24546. set$SassArgumentList$x(receiver, value) {
  24547. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  24548. },
  24549. set$SassBoolean$x(receiver, value) {
  24550. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  24551. },
  24552. set$SassColor$x(receiver, value) {
  24553. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  24554. },
  24555. set$SassFunction$x(receiver, value) {
  24556. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  24557. },
  24558. set$SassList$x(receiver, value) {
  24559. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  24560. },
  24561. set$SassMap$x(receiver, value) {
  24562. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  24563. },
  24564. set$SassNumber$x(receiver, value) {
  24565. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  24566. },
  24567. set$SassString$x(receiver, value) {
  24568. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  24569. },
  24570. set$TRUE$x(receiver, value) {
  24571. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  24572. },
  24573. set$Value$x(receiver, value) {
  24574. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  24575. },
  24576. set$cli_pkg_main_0_$x(receiver, value) {
  24577. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  24578. },
  24579. set$compile$x(receiver, value) {
  24580. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  24581. },
  24582. set$compileAsync$x(receiver, value) {
  24583. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  24584. },
  24585. set$compileString$x(receiver, value) {
  24586. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  24587. },
  24588. set$compileStringAsync$x(receiver, value) {
  24589. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  24590. },
  24591. set$context$x(receiver, value) {
  24592. return J.getInterceptor$x(receiver).set$context(receiver, value);
  24593. },
  24594. set$dartValue$x(receiver, value) {
  24595. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  24596. },
  24597. set$exitCode$x(receiver, value) {
  24598. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  24599. },
  24600. set$info$x(receiver, value) {
  24601. return J.getInterceptor$x(receiver).set$info(receiver, value);
  24602. },
  24603. set$length$asx(receiver, value) {
  24604. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  24605. },
  24606. set$render$x(receiver, value) {
  24607. return J.getInterceptor$x(receiver).set$render(receiver, value);
  24608. },
  24609. set$renderSync$x(receiver, value) {
  24610. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  24611. },
  24612. set$sassFalse$x(receiver, value) {
  24613. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  24614. },
  24615. set$sassNull$x(receiver, value) {
  24616. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  24617. },
  24618. set$sassTrue$x(receiver, value) {
  24619. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  24620. },
  24621. set$types$x(receiver, value) {
  24622. return J.getInterceptor$x(receiver).set$types(receiver, value);
  24623. },
  24624. get$$prototype$x(receiver) {
  24625. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  24626. },
  24627. get$_dartException$x(receiver) {
  24628. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  24629. },
  24630. get$alertAscii$x(receiver) {
  24631. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  24632. },
  24633. get$alertColor$x(receiver) {
  24634. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  24635. },
  24636. get$blue$x(receiver) {
  24637. return J.getInterceptor$x(receiver).get$blue(receiver);
  24638. },
  24639. get$brackets$x(receiver) {
  24640. return J.getInterceptor$x(receiver).get$brackets(receiver);
  24641. },
  24642. get$charset$x(receiver) {
  24643. return J.getInterceptor$x(receiver).get$charset(receiver);
  24644. },
  24645. get$code$x(receiver) {
  24646. return J.getInterceptor$x(receiver).get$code(receiver);
  24647. },
  24648. get$current$x(receiver) {
  24649. return J.getInterceptor$x(receiver).get$current(receiver);
  24650. },
  24651. get$dartValue$x(receiver) {
  24652. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  24653. },
  24654. get$debug$x(receiver) {
  24655. return J.getInterceptor$x(receiver).get$debug(receiver);
  24656. },
  24657. get$denominatorUnits$x(receiver) {
  24658. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  24659. },
  24660. get$end$z(receiver) {
  24661. return J.getInterceptor$z(receiver).get$end(receiver);
  24662. },
  24663. get$env$x(receiver) {
  24664. return J.getInterceptor$x(receiver).get$env(receiver);
  24665. },
  24666. get$exitCode$x(receiver) {
  24667. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  24668. },
  24669. get$fiber$x(receiver) {
  24670. return J.getInterceptor$x(receiver).get$fiber(receiver);
  24671. },
  24672. get$file$x(receiver) {
  24673. return J.getInterceptor$x(receiver).get$file(receiver);
  24674. },
  24675. get$first$ax(receiver) {
  24676. return J.getInterceptor$ax(receiver).get$first(receiver);
  24677. },
  24678. get$functions$x(receiver) {
  24679. return J.getInterceptor$x(receiver).get$functions(receiver);
  24680. },
  24681. get$green$x(receiver) {
  24682. return J.getInterceptor$x(receiver).get$green(receiver);
  24683. },
  24684. get$hashCode$(receiver) {
  24685. return J.getInterceptor$(receiver).get$hashCode(receiver);
  24686. },
  24687. get$importer$x(receiver) {
  24688. return J.getInterceptor$x(receiver).get$importer(receiver);
  24689. },
  24690. get$importers$x(receiver) {
  24691. return J.getInterceptor$x(receiver).get$importers(receiver);
  24692. },
  24693. get$isEmpty$asx(receiver) {
  24694. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  24695. },
  24696. get$isNotEmpty$asx(receiver) {
  24697. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  24698. },
  24699. get$isTTY$x(receiver) {
  24700. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  24701. },
  24702. get$iterator$ax(receiver) {
  24703. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  24704. },
  24705. get$keys$z(receiver) {
  24706. return J.getInterceptor$z(receiver).get$keys(receiver);
  24707. },
  24708. get$last$ax(receiver) {
  24709. return J.getInterceptor$ax(receiver).get$last(receiver);
  24710. },
  24711. get$length$asx(receiver) {
  24712. return J.getInterceptor$asx(receiver).get$length(receiver);
  24713. },
  24714. get$loadPaths$x(receiver) {
  24715. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  24716. },
  24717. get$logger$x(receiver) {
  24718. return J.getInterceptor$x(receiver).get$logger(receiver);
  24719. },
  24720. get$message$x(receiver) {
  24721. return J.getInterceptor$x(receiver).get$message(receiver);
  24722. },
  24723. get$mtime$x(receiver) {
  24724. return J.getInterceptor$x(receiver).get$mtime(receiver);
  24725. },
  24726. get$name$x(receiver) {
  24727. return J.getInterceptor$x(receiver).get$name(receiver);
  24728. },
  24729. get$numeratorUnits$x(receiver) {
  24730. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  24731. },
  24732. get$options$x(receiver) {
  24733. return J.getInterceptor$x(receiver).get$options(receiver);
  24734. },
  24735. get$parent$z(receiver) {
  24736. return J.getInterceptor$z(receiver).get$parent(receiver);
  24737. },
  24738. get$path$x(receiver) {
  24739. return J.getInterceptor$x(receiver).get$path(receiver);
  24740. },
  24741. get$platform$x(receiver) {
  24742. return J.getInterceptor$x(receiver).get$platform(receiver);
  24743. },
  24744. get$quietDeps$x(receiver) {
  24745. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  24746. },
  24747. get$quotes$x(receiver) {
  24748. return J.getInterceptor$x(receiver).get$quotes(receiver);
  24749. },
  24750. get$red$x(receiver) {
  24751. return J.getInterceptor$x(receiver).get$red(receiver);
  24752. },
  24753. get$reversed$ax(receiver) {
  24754. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  24755. },
  24756. get$runtimeType$u(receiver) {
  24757. return J.getInterceptor$u(receiver).get$runtimeType(receiver);
  24758. },
  24759. get$separator$x(receiver) {
  24760. return J.getInterceptor$x(receiver).get$separator(receiver);
  24761. },
  24762. get$single$ax(receiver) {
  24763. return J.getInterceptor$ax(receiver).get$single(receiver);
  24764. },
  24765. get$sourceMap$x(receiver) {
  24766. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  24767. },
  24768. get$sourceMapIncludeSources$x(receiver) {
  24769. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  24770. },
  24771. get$span$z(receiver) {
  24772. return J.getInterceptor$z(receiver).get$span(receiver);
  24773. },
  24774. get$start$z(receiver) {
  24775. return J.getInterceptor$z(receiver).get$start(receiver);
  24776. },
  24777. get$stderr$x(receiver) {
  24778. return J.getInterceptor$x(receiver).get$stderr(receiver);
  24779. },
  24780. get$stdin$x(receiver) {
  24781. return J.getInterceptor$x(receiver).get$stdin(receiver);
  24782. },
  24783. get$style$x(receiver) {
  24784. return J.getInterceptor$x(receiver).get$style(receiver);
  24785. },
  24786. get$syntax$x(receiver) {
  24787. return J.getInterceptor$x(receiver).get$syntax(receiver);
  24788. },
  24789. get$trace$z(receiver) {
  24790. return J.getInterceptor$z(receiver).get$trace(receiver);
  24791. },
  24792. get$url$x(receiver) {
  24793. return J.getInterceptor$x(receiver).get$url(receiver);
  24794. },
  24795. get$values$z(receiver) {
  24796. return J.getInterceptor$z(receiver).get$values(receiver);
  24797. },
  24798. get$verbose$x(receiver) {
  24799. return J.getInterceptor$x(receiver).get$verbose(receiver);
  24800. },
  24801. get$warn$x(receiver) {
  24802. return J.getInterceptor$x(receiver).get$warn(receiver);
  24803. },
  24804. $add$ansx(receiver, a0) {
  24805. if (typeof receiver == "number" && typeof a0 == "number")
  24806. return receiver + a0;
  24807. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  24808. },
  24809. $eq$(receiver, a0) {
  24810. if (receiver == null)
  24811. return a0 == null;
  24812. if (typeof receiver != "object")
  24813. return a0 != null && receiver === a0;
  24814. return J.getInterceptor$(receiver).$eq(receiver, a0);
  24815. },
  24816. $index$asx(receiver, a0) {
  24817. if (typeof a0 === "number")
  24818. if (receiver.constructor == Array || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  24819. if (a0 >>> 0 === a0 && a0 < receiver.length)
  24820. return receiver[a0];
  24821. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  24822. },
  24823. $indexSet$ax(receiver, a0, a1) {
  24824. if (typeof a0 === "number")
  24825. if ((receiver.constructor == Array || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  24826. return receiver[a0] = a1;
  24827. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  24828. },
  24829. $set$2$x(receiver, a0, a1) {
  24830. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  24831. },
  24832. add$1$ax(receiver, a0) {
  24833. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  24834. },
  24835. addAll$1$ax(receiver, a0) {
  24836. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  24837. },
  24838. allMatches$1$s(receiver, a0) {
  24839. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  24840. },
  24841. allMatches$2$s(receiver, a0, a1) {
  24842. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  24843. },
  24844. any$1$ax(receiver, a0) {
  24845. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  24846. },
  24847. apply$2$x(receiver, a0, a1) {
  24848. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  24849. },
  24850. asImmutable$0$x(receiver) {
  24851. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  24852. },
  24853. asMutable$0$x(receiver) {
  24854. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  24855. },
  24856. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  24857. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  24858. },
  24859. cast$1$0$ax(receiver, $T1) {
  24860. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  24861. },
  24862. close$0$x(receiver) {
  24863. return J.getInterceptor$x(receiver).close$0(receiver);
  24864. },
  24865. codeUnitAt$1$s(receiver, a0) {
  24866. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  24867. },
  24868. compareTo$1$ns(receiver, a0) {
  24869. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  24870. },
  24871. contains$1$asx(receiver, a0) {
  24872. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  24873. },
  24874. createInterface$1$x(receiver, a0) {
  24875. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  24876. },
  24877. elementAt$1$ax(receiver, a0) {
  24878. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  24879. },
  24880. endsWith$1$s(receiver, a0) {
  24881. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  24882. },
  24883. every$1$ax(receiver, a0) {
  24884. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  24885. },
  24886. existsSync$1$x(receiver, a0) {
  24887. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  24888. },
  24889. expand$1$1$ax(receiver, a0, $T1) {
  24890. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  24891. },
  24892. fillRange$3$ax(receiver, a0, a1, a2) {
  24893. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  24894. },
  24895. fold$2$ax(receiver, a0, a1) {
  24896. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  24897. },
  24898. forEach$1$x(receiver, a0) {
  24899. return J.getInterceptor$x(receiver).forEach$1(receiver, a0);
  24900. },
  24901. getTime$0$x(receiver) {
  24902. return J.getInterceptor$x(receiver).getTime$0(receiver);
  24903. },
  24904. isDirectory$0$x(receiver) {
  24905. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  24906. },
  24907. isFile$0$x(receiver) {
  24908. return J.getInterceptor$x(receiver).isFile$0(receiver);
  24909. },
  24910. join$0$ax(receiver) {
  24911. return J.getInterceptor$ax(receiver).join$0(receiver);
  24912. },
  24913. join$1$ax(receiver, a0) {
  24914. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  24915. },
  24916. listen$1$z(receiver, a0) {
  24917. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  24918. },
  24919. map$1$1$ax(receiver, a0, $T1) {
  24920. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  24921. },
  24922. matchAsPrefix$2$s(receiver, a0, a1) {
  24923. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  24924. },
  24925. mkdirSync$1$x(receiver, a0) {
  24926. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  24927. },
  24928. noSuchMethod$1$(receiver, a0) {
  24929. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  24930. },
  24931. on$2$x(receiver, a0, a1) {
  24932. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  24933. },
  24934. readFileSync$2$x(receiver, a0, a1) {
  24935. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  24936. },
  24937. readdirSync$1$x(receiver, a0) {
  24938. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  24939. },
  24940. remove$1$z(receiver, a0) {
  24941. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  24942. },
  24943. run$0$x(receiver) {
  24944. return J.getInterceptor$x(receiver).run$0(receiver);
  24945. },
  24946. run$1$x(receiver, a0) {
  24947. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  24948. },
  24949. setRange$4$ax(receiver, a0, a1, a2, a3) {
  24950. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  24951. },
  24952. skip$1$ax(receiver, a0) {
  24953. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  24954. },
  24955. sort$1$ax(receiver, a0) {
  24956. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  24957. },
  24958. startsWith$1$s(receiver, a0) {
  24959. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  24960. },
  24961. statSync$1$x(receiver, a0) {
  24962. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  24963. },
  24964. substring$1$s(receiver, a0) {
  24965. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  24966. },
  24967. substring$2$s(receiver, a0, a1) {
  24968. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  24969. },
  24970. take$1$ax(receiver, a0) {
  24971. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  24972. },
  24973. then$1$1$x(receiver, a0, $T1) {
  24974. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  24975. },
  24976. then$1$2$onError$x(receiver, a0, a1, $T1) {
  24977. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  24978. },
  24979. then$2$x(receiver, a0, a1) {
  24980. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  24981. },
  24982. toArray$0$x(receiver) {
  24983. return J.getInterceptor$x(receiver).toArray$0(receiver);
  24984. },
  24985. toList$0$ax(receiver) {
  24986. return J.getInterceptor$ax(receiver).toList$0(receiver);
  24987. },
  24988. toList$1$growable$ax(receiver, a0) {
  24989. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  24990. },
  24991. toRadixString$1$n(receiver, a0) {
  24992. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  24993. },
  24994. toSet$0$ax(receiver) {
  24995. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  24996. },
  24997. toString$0$(receiver) {
  24998. return J.getInterceptor$(receiver).toString$0(receiver);
  24999. },
  25000. toString$1$color$(receiver, a0) {
  25001. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  25002. },
  25003. trim$0$s(receiver) {
  25004. return J.getInterceptor$s(receiver).trim$0(receiver);
  25005. },
  25006. unlinkSync$1$x(receiver, a0) {
  25007. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  25008. },
  25009. watch$2$x(receiver, a0, a1) {
  25010. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  25011. },
  25012. where$1$ax(receiver, a0) {
  25013. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  25014. },
  25015. write$1$x(receiver, a0) {
  25016. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  25017. },
  25018. writeFileSync$2$x(receiver, a0, a1) {
  25019. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  25020. },
  25021. yield$0$x(receiver) {
  25022. return J.getInterceptor$x(receiver).yield$0(receiver);
  25023. },
  25024. Interceptor: function Interceptor() {
  25025. },
  25026. JSBool: function JSBool() {
  25027. },
  25028. JSNull: function JSNull() {
  25029. },
  25030. JavaScriptObject: function JavaScriptObject() {
  25031. },
  25032. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  25033. },
  25034. PlainJavaScriptObject: function PlainJavaScriptObject() {
  25035. },
  25036. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  25037. },
  25038. JavaScriptFunction: function JavaScriptFunction() {
  25039. },
  25040. JSArray: function JSArray(t0) {
  25041. this.$ti = t0;
  25042. },
  25043. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  25044. this.$ti = t0;
  25045. },
  25046. ArrayIterator: function ArrayIterator(t0, t1) {
  25047. var _ = this;
  25048. _._iterable = t0;
  25049. _._length = t1;
  25050. _._index = 0;
  25051. _._current = null;
  25052. },
  25053. JSNumber: function JSNumber() {
  25054. },
  25055. JSInt: function JSInt() {
  25056. },
  25057. JSNumNotInt: function JSNumNotInt() {
  25058. },
  25059. JSString: function JSString() {
  25060. }
  25061. },
  25062. B = {};
  25063. var holders = [A, J, B];
  25064. var $ = {};
  25065. A.JS_CONST.prototype = {};
  25066. J.Interceptor.prototype = {
  25067. $eq(receiver, other) {
  25068. return receiver === other;
  25069. },
  25070. get$hashCode(receiver) {
  25071. return A.Primitives_objectHashCode(receiver);
  25072. },
  25073. toString$0(receiver) {
  25074. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  25075. },
  25076. noSuchMethod$1(receiver, invocation) {
  25077. throw A.wrapException(A.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
  25078. }
  25079. };
  25080. J.JSBool.prototype = {
  25081. toString$0(receiver) {
  25082. return String(receiver);
  25083. },
  25084. get$hashCode(receiver) {
  25085. return receiver ? 519018 : 218159;
  25086. },
  25087. $isbool: 1
  25088. };
  25089. J.JSNull.prototype = {
  25090. $eq(receiver, other) {
  25091. return null == other;
  25092. },
  25093. toString$0(receiver) {
  25094. return "null";
  25095. },
  25096. get$hashCode(receiver) {
  25097. return 0;
  25098. },
  25099. get$runtimeType(receiver) {
  25100. return B.Type_Null_Yyn;
  25101. },
  25102. $isNull: 1
  25103. };
  25104. J.JavaScriptObject.prototype = {};
  25105. J.LegacyJavaScriptObject.prototype = {
  25106. get$hashCode(receiver) {
  25107. return 0;
  25108. },
  25109. toString$0(receiver) {
  25110. return String(receiver);
  25111. },
  25112. $isPromise: 1,
  25113. $isJsSystemError: 1,
  25114. $is_NodeSassColor: 1,
  25115. $is_Channels: 1,
  25116. $isCompileOptions: 1,
  25117. $isCompileStringOptions: 1,
  25118. $isNodeCompileResult: 1,
  25119. $is_NodeException: 1,
  25120. $isFiber: 1,
  25121. $isJSFunction0: 1,
  25122. $isImmutableList: 1,
  25123. $isImmutableMap: 1,
  25124. $isNodeImporter0: 1,
  25125. $isNodeImporterResult0: 1,
  25126. $isNodeImporterResult1: 1,
  25127. $is_NodeSassList: 1,
  25128. $is_ConstructorOptions: 1,
  25129. $isWarnOptions: 1,
  25130. $isDebugOptions: 1,
  25131. $is_NodeSassMap: 1,
  25132. $is_NodeSassNumber: 1,
  25133. $is_ConstructorOptions0: 1,
  25134. $isJSClass0: 1,
  25135. $isRenderContextOptions0: 1,
  25136. $isRenderOptions: 1,
  25137. $isRenderResult: 1,
  25138. $is_NodeSassString: 1,
  25139. $is_ConstructorOptions1: 1,
  25140. $isJSUrl0: 1,
  25141. get$isTTY(obj) {
  25142. return obj.isTTY;
  25143. },
  25144. get$write(obj) {
  25145. return obj.write;
  25146. },
  25147. write$1(receiver, p0) {
  25148. return receiver.write(p0);
  25149. },
  25150. createInterface$1(receiver, p0) {
  25151. return receiver.createInterface(p0);
  25152. },
  25153. on$2(receiver, p0, p1) {
  25154. return receiver.on(p0, p1);
  25155. },
  25156. get$close(obj) {
  25157. return obj.close;
  25158. },
  25159. close$0(receiver) {
  25160. return receiver.close();
  25161. },
  25162. setPrompt$1(receiver, p0) {
  25163. return receiver.setPrompt(p0);
  25164. },
  25165. get$length(obj) {
  25166. return obj.length;
  25167. },
  25168. toString$0(receiver) {
  25169. return receiver.toString();
  25170. },
  25171. get$debug(obj) {
  25172. return obj.debug;
  25173. },
  25174. debug$2(receiver, p0, p1) {
  25175. return receiver.debug(p0, p1);
  25176. },
  25177. get$warn(obj) {
  25178. return obj.warn;
  25179. },
  25180. warn$1(receiver, p0) {
  25181. return receiver.warn(p0);
  25182. },
  25183. existsSync$1(receiver, p0) {
  25184. return receiver.existsSync(p0);
  25185. },
  25186. mkdirSync$1(receiver, p0) {
  25187. return receiver.mkdirSync(p0);
  25188. },
  25189. readdirSync$1(receiver, p0) {
  25190. return receiver.readdirSync(p0);
  25191. },
  25192. readFileSync$2(receiver, p0, p1) {
  25193. return receiver.readFileSync(p0, p1);
  25194. },
  25195. statSync$1(receiver, p0) {
  25196. return receiver.statSync(p0);
  25197. },
  25198. unlinkSync$1(receiver, p0) {
  25199. return receiver.unlinkSync(p0);
  25200. },
  25201. watch$2(receiver, p0, p1) {
  25202. return receiver.watch(p0, p1);
  25203. },
  25204. writeFileSync$2(receiver, p0, p1) {
  25205. return receiver.writeFileSync(p0, p1);
  25206. },
  25207. get$path(obj) {
  25208. return obj.path;
  25209. },
  25210. isDirectory$0(receiver) {
  25211. return receiver.isDirectory();
  25212. },
  25213. isFile$0(receiver) {
  25214. return receiver.isFile();
  25215. },
  25216. get$mtime(obj) {
  25217. return obj.mtime;
  25218. },
  25219. then$1$1(receiver, p0) {
  25220. return receiver.then(p0);
  25221. },
  25222. then$2(receiver, p0, p1) {
  25223. return receiver.then(p0, p1);
  25224. },
  25225. getTime$0(receiver) {
  25226. return receiver.getTime();
  25227. },
  25228. get$message(obj) {
  25229. return obj.message;
  25230. },
  25231. message$1(receiver, p0) {
  25232. return receiver.message(p0);
  25233. },
  25234. get$code(obj) {
  25235. return obj.code;
  25236. },
  25237. get$syscall(obj) {
  25238. return obj.syscall;
  25239. },
  25240. get$env(obj) {
  25241. return obj.env;
  25242. },
  25243. get$exitCode(obj) {
  25244. return obj.exitCode;
  25245. },
  25246. set$exitCode(obj, v) {
  25247. return obj.exitCode = v;
  25248. },
  25249. get$platform(obj) {
  25250. return obj.platform;
  25251. },
  25252. get$stderr(obj) {
  25253. return obj.stderr;
  25254. },
  25255. get$stdin(obj) {
  25256. return obj.stdin;
  25257. },
  25258. get$name(obj) {
  25259. return obj.name;
  25260. },
  25261. push$1(receiver, p0) {
  25262. return receiver.push(p0);
  25263. },
  25264. call$0(receiver) {
  25265. return receiver.call();
  25266. },
  25267. call$1(receiver, p0) {
  25268. return receiver.call(p0);
  25269. },
  25270. call$2(receiver, p0, p1) {
  25271. return receiver.call(p0, p1);
  25272. },
  25273. call$3$1(receiver, p0) {
  25274. return receiver.call(p0);
  25275. },
  25276. call$2$1(receiver, p0) {
  25277. return receiver.call(p0);
  25278. },
  25279. call$1$1(receiver, p0) {
  25280. return receiver.call(p0);
  25281. },
  25282. call$3(receiver, p0, p1, p2) {
  25283. return receiver.call(p0, p1, p2);
  25284. },
  25285. call$3$3(receiver, p0, p1, p2) {
  25286. return receiver.call(p0, p1, p2);
  25287. },
  25288. call$2$2(receiver, p0, p1) {
  25289. return receiver.call(p0, p1);
  25290. },
  25291. call$1$0(receiver) {
  25292. return receiver.call();
  25293. },
  25294. call$2$0(receiver) {
  25295. return receiver.call();
  25296. },
  25297. call$2$3(receiver, p0, p1, p2) {
  25298. return receiver.call(p0, p1, p2);
  25299. },
  25300. call$1$2(receiver, p0, p1) {
  25301. return receiver.call(p0, p1);
  25302. },
  25303. apply$2(receiver, p0, p1) {
  25304. return receiver.apply(p0, p1);
  25305. },
  25306. get$file(obj) {
  25307. return obj.file;
  25308. },
  25309. get$contents(obj) {
  25310. return obj.contents;
  25311. },
  25312. get$options(obj) {
  25313. return obj.options;
  25314. },
  25315. get$data(obj) {
  25316. return obj.data;
  25317. },
  25318. get$includePaths(obj) {
  25319. return obj.includePaths;
  25320. },
  25321. get$style(obj) {
  25322. return obj.style;
  25323. },
  25324. get$indentType(obj) {
  25325. return obj.indentType;
  25326. },
  25327. get$indentWidth(obj) {
  25328. return obj.indentWidth;
  25329. },
  25330. get$linefeed(obj) {
  25331. return obj.linefeed;
  25332. },
  25333. set$context(obj, v) {
  25334. return obj.context = v;
  25335. },
  25336. get$$prototype(obj) {
  25337. return obj.prototype;
  25338. },
  25339. get$dartValue(obj) {
  25340. return obj.dartValue;
  25341. },
  25342. set$dartValue(obj, v) {
  25343. return obj.dartValue = v;
  25344. },
  25345. get$red(obj) {
  25346. return obj.red;
  25347. },
  25348. get$green(obj) {
  25349. return obj.green;
  25350. },
  25351. get$blue(obj) {
  25352. return obj.blue;
  25353. },
  25354. get$hue(obj) {
  25355. return obj.hue;
  25356. },
  25357. get$saturation(obj) {
  25358. return obj.saturation;
  25359. },
  25360. get$lightness(obj) {
  25361. return obj.lightness;
  25362. },
  25363. get$whiteness(obj) {
  25364. return obj.whiteness;
  25365. },
  25366. get$blackness(obj) {
  25367. return obj.blackness;
  25368. },
  25369. get$alpha(obj) {
  25370. return obj.alpha;
  25371. },
  25372. get$alertAscii(obj) {
  25373. return obj.alertAscii;
  25374. },
  25375. get$alertColor(obj) {
  25376. return obj.alertColor;
  25377. },
  25378. get$loadPaths(obj) {
  25379. return obj.loadPaths;
  25380. },
  25381. get$quietDeps(obj) {
  25382. return obj.quietDeps;
  25383. },
  25384. get$verbose(obj) {
  25385. return obj.verbose;
  25386. },
  25387. get$charset(obj) {
  25388. return obj.charset;
  25389. },
  25390. get$sourceMap(obj) {
  25391. return obj.sourceMap;
  25392. },
  25393. get$sourceMapIncludeSources(obj) {
  25394. return obj.sourceMapIncludeSources;
  25395. },
  25396. get$logger(obj) {
  25397. return obj.logger;
  25398. },
  25399. get$importers(obj) {
  25400. return obj.importers;
  25401. },
  25402. get$functions(obj) {
  25403. return obj.functions;
  25404. },
  25405. get$syntax(obj) {
  25406. return obj.syntax;
  25407. },
  25408. get$url(obj) {
  25409. return obj.url;
  25410. },
  25411. get$importer(obj) {
  25412. return obj.importer;
  25413. },
  25414. get$_dartException(obj) {
  25415. return obj._dartException;
  25416. },
  25417. set$renderSync(obj, v) {
  25418. return obj.renderSync = v;
  25419. },
  25420. set$compileString(obj, v) {
  25421. return obj.compileString = v;
  25422. },
  25423. set$compileStringAsync(obj, v) {
  25424. return obj.compileStringAsync = v;
  25425. },
  25426. set$compile(obj, v) {
  25427. return obj.compile = v;
  25428. },
  25429. set$compileAsync(obj, v) {
  25430. return obj.compileAsync = v;
  25431. },
  25432. set$info(obj, v) {
  25433. return obj.info = v;
  25434. },
  25435. set$Exception(obj, v) {
  25436. return obj.Exception = v;
  25437. },
  25438. set$Logger(obj, v) {
  25439. return obj.Logger = v;
  25440. },
  25441. set$Value(obj, v) {
  25442. return obj.Value = v;
  25443. },
  25444. set$SassArgumentList(obj, v) {
  25445. return obj.SassArgumentList = v;
  25446. },
  25447. set$SassBoolean(obj, v) {
  25448. return obj.SassBoolean = v;
  25449. },
  25450. set$SassColor(obj, v) {
  25451. return obj.SassColor = v;
  25452. },
  25453. set$SassFunction(obj, v) {
  25454. return obj.SassFunction = v;
  25455. },
  25456. set$SassList(obj, v) {
  25457. return obj.SassList = v;
  25458. },
  25459. set$SassMap(obj, v) {
  25460. return obj.SassMap = v;
  25461. },
  25462. set$SassNumber(obj, v) {
  25463. return obj.SassNumber = v;
  25464. },
  25465. set$SassString(obj, v) {
  25466. return obj.SassString = v;
  25467. },
  25468. set$sassNull(obj, v) {
  25469. return obj.sassNull = v;
  25470. },
  25471. set$sassTrue(obj, v) {
  25472. return obj.sassTrue = v;
  25473. },
  25474. set$sassFalse(obj, v) {
  25475. return obj.sassFalse = v;
  25476. },
  25477. set$render(obj, v) {
  25478. return obj.render = v;
  25479. },
  25480. set$types(obj, v) {
  25481. return obj.types = v;
  25482. },
  25483. set$NULL(obj, v) {
  25484. return obj.NULL = v;
  25485. },
  25486. set$TRUE(obj, v) {
  25487. return obj.TRUE = v;
  25488. },
  25489. set$FALSE(obj, v) {
  25490. return obj.FALSE = v;
  25491. },
  25492. get$current(obj) {
  25493. return obj.current;
  25494. },
  25495. yield$0(receiver) {
  25496. return receiver.yield();
  25497. },
  25498. run$1$1(receiver, p0) {
  25499. return receiver.run(p0);
  25500. },
  25501. run$1(receiver, p0) {
  25502. return receiver.run(p0);
  25503. },
  25504. run$0(receiver) {
  25505. return receiver.run();
  25506. },
  25507. toArray$0(receiver) {
  25508. return receiver.toArray();
  25509. },
  25510. asMutable$0(receiver) {
  25511. return receiver.asMutable();
  25512. },
  25513. asImmutable$0(receiver) {
  25514. return receiver.asImmutable();
  25515. },
  25516. $set$2(receiver, p0, p1) {
  25517. return receiver.set(p0, p1);
  25518. },
  25519. forEach$1(receiver, p0) {
  25520. return receiver.forEach(p0);
  25521. },
  25522. get$canonicalize(obj) {
  25523. return obj.canonicalize;
  25524. },
  25525. canonicalize$1(receiver, p0) {
  25526. return receiver.canonicalize(p0);
  25527. },
  25528. get$load(obj) {
  25529. return obj.load;
  25530. },
  25531. load$1(receiver, p0) {
  25532. return receiver.load(p0);
  25533. },
  25534. get$findFileUrl(obj) {
  25535. return obj.findFileUrl;
  25536. },
  25537. get$sourceMapUrl(obj) {
  25538. return obj.sourceMapUrl;
  25539. },
  25540. get$separator(obj) {
  25541. return obj.separator;
  25542. },
  25543. get$brackets(obj) {
  25544. return obj.brackets;
  25545. },
  25546. get$numeratorUnits(obj) {
  25547. return obj.numeratorUnits;
  25548. },
  25549. get$denominatorUnits(obj) {
  25550. return obj.denominatorUnits;
  25551. },
  25552. get$indentedSyntax(obj) {
  25553. return obj.indentedSyntax;
  25554. },
  25555. get$omitSourceMapUrl(obj) {
  25556. return obj.omitSourceMapUrl;
  25557. },
  25558. get$outFile(obj) {
  25559. return obj.outFile;
  25560. },
  25561. get$outputStyle(obj) {
  25562. return obj.outputStyle;
  25563. },
  25564. get$fiber(obj) {
  25565. return obj.fiber;
  25566. },
  25567. get$sourceMapContents(obj) {
  25568. return obj.sourceMapContents;
  25569. },
  25570. get$sourceMapEmbed(obj) {
  25571. return obj.sourceMapEmbed;
  25572. },
  25573. get$sourceMapRoot(obj) {
  25574. return obj.sourceMapRoot;
  25575. },
  25576. set$cli_pkg_main_0_(obj, v) {
  25577. return obj.cli_pkg_main_0_ = v;
  25578. },
  25579. get$quotes(obj) {
  25580. return obj.quotes;
  25581. }
  25582. };
  25583. J.PlainJavaScriptObject.prototype = {};
  25584. J.UnknownJavaScriptObject.prototype = {};
  25585. J.JavaScriptFunction.prototype = {
  25586. toString$0(receiver) {
  25587. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  25588. if (dartClosure == null)
  25589. return this.super$LegacyJavaScriptObject$toString(receiver);
  25590. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  25591. },
  25592. $isFunction: 1
  25593. };
  25594. J.JSArray.prototype = {
  25595. cast$1$0(receiver, $R) {
  25596. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  25597. },
  25598. add$1(receiver, value) {
  25599. if (!!receiver.fixed$length)
  25600. A.throwExpression(A.UnsupportedError$("add"));
  25601. receiver.push(value);
  25602. },
  25603. removeAt$1(receiver, index) {
  25604. var t1;
  25605. if (!!receiver.fixed$length)
  25606. A.throwExpression(A.UnsupportedError$("removeAt"));
  25607. t1 = receiver.length;
  25608. if (index >= t1)
  25609. throw A.wrapException(A.RangeError$value(index, null, null));
  25610. return receiver.splice(index, 1)[0];
  25611. },
  25612. insert$2(receiver, index, value) {
  25613. var t1;
  25614. if (!!receiver.fixed$length)
  25615. A.throwExpression(A.UnsupportedError$("insert"));
  25616. t1 = receiver.length;
  25617. if (index > t1)
  25618. throw A.wrapException(A.RangeError$value(index, null, null));
  25619. receiver.splice(index, 0, value);
  25620. },
  25621. insertAll$2(receiver, index, iterable) {
  25622. var insertionLength, end;
  25623. if (!!receiver.fixed$length)
  25624. A.throwExpression(A.UnsupportedError$("insertAll"));
  25625. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  25626. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  25627. iterable = J.toList$0$ax(iterable);
  25628. insertionLength = J.get$length$asx(iterable);
  25629. receiver.length = receiver.length + insertionLength;
  25630. end = index + insertionLength;
  25631. this.setRange$4(receiver, end, receiver.length, receiver, index);
  25632. this.setRange$3(receiver, index, end, iterable);
  25633. },
  25634. removeLast$0(receiver) {
  25635. if (!!receiver.fixed$length)
  25636. A.throwExpression(A.UnsupportedError$("removeLast"));
  25637. if (receiver.length === 0)
  25638. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  25639. return receiver.pop();
  25640. },
  25641. _removeWhere$2(receiver, test, removeMatching) {
  25642. var i, element, t1, retained = [],
  25643. end = receiver.length;
  25644. for (i = 0; i < end; ++i) {
  25645. element = receiver[i];
  25646. if (!test.call$1(element))
  25647. retained.push(element);
  25648. if (receiver.length !== end)
  25649. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25650. }
  25651. t1 = retained.length;
  25652. if (t1 === end)
  25653. return;
  25654. this.set$length(receiver, t1);
  25655. for (i = 0; i < retained.length; ++i)
  25656. receiver[i] = retained[i];
  25657. },
  25658. where$1(receiver, f) {
  25659. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  25660. },
  25661. expand$1$1(receiver, f, $T) {
  25662. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  25663. },
  25664. addAll$1(receiver, collection) {
  25665. var t1;
  25666. if (!!receiver.fixed$length)
  25667. A.throwExpression(A.UnsupportedError$("addAll"));
  25668. if (Array.isArray(collection)) {
  25669. this._addAllFromArray$1(receiver, collection);
  25670. return;
  25671. }
  25672. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  25673. receiver.push(t1.get$current(t1));
  25674. },
  25675. _addAllFromArray$1(receiver, array) {
  25676. var i,
  25677. len = array.length;
  25678. if (len === 0)
  25679. return;
  25680. if (receiver === array)
  25681. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25682. for (i = 0; i < len; ++i)
  25683. receiver.push(array[i]);
  25684. },
  25685. clear$0(receiver) {
  25686. if (!!receiver.fixed$length)
  25687. A.throwExpression(A.UnsupportedError$("clear"));
  25688. receiver.length = 0;
  25689. },
  25690. map$1$1(receiver, f, $T) {
  25691. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  25692. },
  25693. join$1(receiver, separator) {
  25694. var i,
  25695. list = A.List_List$filled(receiver.length, "", false, type$.String);
  25696. for (i = 0; i < receiver.length; ++i)
  25697. list[i] = A.S(receiver[i]);
  25698. return list.join(separator);
  25699. },
  25700. join$0($receiver) {
  25701. return this.join$1($receiver, "");
  25702. },
  25703. take$1(receiver, n) {
  25704. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  25705. },
  25706. skip$1(receiver, n) {
  25707. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  25708. },
  25709. fold$1$2(receiver, initialValue, combine) {
  25710. var value, i,
  25711. $length = receiver.length;
  25712. for (value = initialValue, i = 0; i < $length; ++i) {
  25713. value = combine.call$2(value, receiver[i]);
  25714. if (receiver.length !== $length)
  25715. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25716. }
  25717. return value;
  25718. },
  25719. fold$2($receiver, initialValue, combine) {
  25720. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  25721. },
  25722. elementAt$1(receiver, index) {
  25723. return receiver[index];
  25724. },
  25725. sublist$2(receiver, start, end) {
  25726. var end0 = receiver.length;
  25727. if (start > end0)
  25728. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  25729. if (end == null)
  25730. end = end0;
  25731. else if (end < start || end > end0)
  25732. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  25733. if (start === end)
  25734. return A._setArrayType([], A._arrayInstanceType(receiver));
  25735. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  25736. },
  25737. sublist$1($receiver, start) {
  25738. return this.sublist$2($receiver, start, null);
  25739. },
  25740. getRange$2(receiver, start, end) {
  25741. A.RangeError_checkValidRange(start, end, receiver.length);
  25742. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  25743. },
  25744. get$first(receiver) {
  25745. if (receiver.length > 0)
  25746. return receiver[0];
  25747. throw A.wrapException(A.IterableElementError_noElement());
  25748. },
  25749. get$last(receiver) {
  25750. var t1 = receiver.length;
  25751. if (t1 > 0)
  25752. return receiver[t1 - 1];
  25753. throw A.wrapException(A.IterableElementError_noElement());
  25754. },
  25755. get$single(receiver) {
  25756. var t1 = receiver.length;
  25757. if (t1 === 1)
  25758. return receiver[0];
  25759. if (t1 === 0)
  25760. throw A.wrapException(A.IterableElementError_noElement());
  25761. throw A.wrapException(A.IterableElementError_tooMany());
  25762. },
  25763. removeRange$2(receiver, start, end) {
  25764. if (!!receiver.fixed$length)
  25765. A.throwExpression(A.UnsupportedError$("removeRange"));
  25766. A.RangeError_checkValidRange(start, end, receiver.length);
  25767. receiver.splice(start, end - start);
  25768. },
  25769. setRange$4(receiver, start, end, iterable, skipCount) {
  25770. var $length, otherList, otherStart, t1, i;
  25771. if (!!receiver.immutable$list)
  25772. A.throwExpression(A.UnsupportedError$("setRange"));
  25773. A.RangeError_checkValidRange(start, end, receiver.length);
  25774. $length = end - start;
  25775. if ($length === 0)
  25776. return;
  25777. A.RangeError_checkNotNegative(skipCount, "skipCount");
  25778. if (type$.List_dynamic._is(iterable)) {
  25779. otherList = iterable;
  25780. otherStart = skipCount;
  25781. } else {
  25782. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  25783. otherStart = 0;
  25784. }
  25785. t1 = J.getInterceptor$asx(otherList);
  25786. if (otherStart + $length > t1.get$length(otherList))
  25787. throw A.wrapException(A.IterableElementError_tooFew());
  25788. if (otherStart < start)
  25789. for (i = $length - 1; i >= 0; --i)
  25790. receiver[start + i] = t1.$index(otherList, otherStart + i);
  25791. else
  25792. for (i = 0; i < $length; ++i)
  25793. receiver[start + i] = t1.$index(otherList, otherStart + i);
  25794. },
  25795. setRange$3($receiver, start, end, iterable) {
  25796. return this.setRange$4($receiver, start, end, iterable, 0);
  25797. },
  25798. fillRange$3(receiver, start, end, fillValue) {
  25799. var i;
  25800. if (!!receiver.immutable$list)
  25801. A.throwExpression(A.UnsupportedError$("fill range"));
  25802. A.RangeError_checkValidRange(start, end, receiver.length);
  25803. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  25804. for (i = start; i < end; ++i)
  25805. receiver[i] = fillValue;
  25806. },
  25807. any$1(receiver, test) {
  25808. var i,
  25809. end = receiver.length;
  25810. for (i = 0; i < end; ++i) {
  25811. if (test.call$1(receiver[i]))
  25812. return true;
  25813. if (receiver.length !== end)
  25814. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25815. }
  25816. return false;
  25817. },
  25818. every$1(receiver, test) {
  25819. var i,
  25820. end = receiver.length;
  25821. for (i = 0; i < end; ++i) {
  25822. if (!test.call$1(receiver[i]))
  25823. return false;
  25824. if (receiver.length !== end)
  25825. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  25826. }
  25827. return true;
  25828. },
  25829. get$reversed(receiver) {
  25830. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  25831. },
  25832. sort$1(receiver, compare) {
  25833. if (!!receiver.immutable$list)
  25834. A.throwExpression(A.UnsupportedError$("sort"));
  25835. A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare);
  25836. },
  25837. sort$0($receiver) {
  25838. return this.sort$1($receiver, null);
  25839. },
  25840. indexOf$1(receiver, element) {
  25841. var i,
  25842. $length = receiver.length;
  25843. if (0 >= $length)
  25844. return -1;
  25845. for (i = 0; i < $length; ++i)
  25846. if (J.$eq$(receiver[i], element))
  25847. return i;
  25848. return -1;
  25849. },
  25850. contains$1(receiver, other) {
  25851. var i;
  25852. for (i = 0; i < receiver.length; ++i)
  25853. if (J.$eq$(receiver[i], other))
  25854. return true;
  25855. return false;
  25856. },
  25857. get$isEmpty(receiver) {
  25858. return receiver.length === 0;
  25859. },
  25860. get$isNotEmpty(receiver) {
  25861. return receiver.length !== 0;
  25862. },
  25863. toString$0(receiver) {
  25864. return A.IterableBase_iterableToFullString(receiver, "[", "]");
  25865. },
  25866. toList$1$growable(receiver, growable) {
  25867. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  25868. return t1;
  25869. },
  25870. toList$0($receiver) {
  25871. return this.toList$1$growable($receiver, true);
  25872. },
  25873. toSet$0(receiver) {
  25874. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  25875. },
  25876. get$iterator(receiver) {
  25877. return new J.ArrayIterator(receiver, receiver.length);
  25878. },
  25879. get$hashCode(receiver) {
  25880. return A.Primitives_objectHashCode(receiver);
  25881. },
  25882. get$length(receiver) {
  25883. return receiver.length;
  25884. },
  25885. set$length(receiver, newLength) {
  25886. if (!!receiver.fixed$length)
  25887. A.throwExpression(A.UnsupportedError$("set length"));
  25888. if (newLength < 0)
  25889. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  25890. if (newLength > receiver.length)
  25891. A._arrayInstanceType(receiver)._precomputed1._as(null);
  25892. receiver.length = newLength;
  25893. },
  25894. $index(receiver, index) {
  25895. if (!(index >= 0 && index < receiver.length))
  25896. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  25897. return receiver[index];
  25898. },
  25899. $indexSet(receiver, index, value) {
  25900. if (!!receiver.immutable$list)
  25901. A.throwExpression(A.UnsupportedError$("indexed set"));
  25902. if (!(index >= 0 && index < receiver.length))
  25903. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  25904. receiver[index] = value;
  25905. },
  25906. $add(receiver, other) {
  25907. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  25908. this.addAll$1(t1, other);
  25909. return t1;
  25910. },
  25911. indexWhere$1(receiver, test) {
  25912. var i;
  25913. if (0 >= receiver.length)
  25914. return -1;
  25915. for (i = 0; i < receiver.length; ++i)
  25916. if (test.call$1(receiver[i]))
  25917. return i;
  25918. return -1;
  25919. },
  25920. $isEfficientLengthIterable: 1,
  25921. $isIterable: 1,
  25922. $isList: 1
  25923. };
  25924. J.JSUnmodifiableArray.prototype = {};
  25925. J.ArrayIterator.prototype = {
  25926. get$current(_) {
  25927. var t1 = this._current;
  25928. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  25929. },
  25930. moveNext$0() {
  25931. var t2, _this = this,
  25932. t1 = _this._iterable,
  25933. $length = t1.length;
  25934. if (_this._length !== $length)
  25935. throw A.wrapException(A.throwConcurrentModificationError(t1));
  25936. t2 = _this._index;
  25937. if (t2 >= $length) {
  25938. _this._current = null;
  25939. return false;
  25940. }
  25941. _this._current = t1[t2];
  25942. _this._index = t2 + 1;
  25943. return true;
  25944. }
  25945. };
  25946. J.JSNumber.prototype = {
  25947. compareTo$1(receiver, b) {
  25948. var bIsNegative;
  25949. if (receiver < b)
  25950. return -1;
  25951. else if (receiver > b)
  25952. return 1;
  25953. else if (receiver === b) {
  25954. if (receiver === 0) {
  25955. bIsNegative = this.get$isNegative(b);
  25956. if (this.get$isNegative(receiver) === bIsNegative)
  25957. return 0;
  25958. if (this.get$isNegative(receiver))
  25959. return -1;
  25960. return 1;
  25961. }
  25962. return 0;
  25963. } else if (isNaN(receiver)) {
  25964. if (isNaN(b))
  25965. return 0;
  25966. return 1;
  25967. } else
  25968. return -1;
  25969. },
  25970. get$isNegative(receiver) {
  25971. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  25972. },
  25973. ceil$0(receiver) {
  25974. var truncated, d;
  25975. if (receiver >= 0) {
  25976. if (receiver <= 2147483647) {
  25977. truncated = receiver | 0;
  25978. return receiver === truncated ? truncated : truncated + 1;
  25979. }
  25980. } else if (receiver >= -2147483648)
  25981. return receiver | 0;
  25982. d = Math.ceil(receiver);
  25983. if (isFinite(d))
  25984. return d;
  25985. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  25986. },
  25987. floor$0(receiver) {
  25988. var truncated, d;
  25989. if (receiver >= 0) {
  25990. if (receiver <= 2147483647)
  25991. return receiver | 0;
  25992. } else if (receiver >= -2147483648) {
  25993. truncated = receiver | 0;
  25994. return receiver === truncated ? truncated : truncated - 1;
  25995. }
  25996. d = Math.floor(receiver);
  25997. if (isFinite(d))
  25998. return d;
  25999. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  26000. },
  26001. round$0(receiver) {
  26002. if (receiver > 0) {
  26003. if (receiver !== 1 / 0)
  26004. return Math.round(receiver);
  26005. } else if (receiver > -1 / 0)
  26006. return 0 - Math.round(0 - receiver);
  26007. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  26008. },
  26009. clamp$2(receiver, lowerLimit, upperLimit) {
  26010. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  26011. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  26012. if (this.compareTo$1(receiver, lowerLimit) < 0)
  26013. return lowerLimit;
  26014. if (this.compareTo$1(receiver, upperLimit) > 0)
  26015. return upperLimit;
  26016. return receiver;
  26017. },
  26018. toRadixString$1(receiver, radix) {
  26019. var result, match, exponent, t1;
  26020. if (radix < 2 || radix > 36)
  26021. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  26022. result = receiver.toString(radix);
  26023. if (B.JSString_methods.codeUnitAt$1(result, result.length - 1) !== 41)
  26024. return result;
  26025. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  26026. if (match == null)
  26027. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  26028. result = match[1];
  26029. exponent = +match[3];
  26030. t1 = match[2];
  26031. if (t1 != null) {
  26032. result += t1;
  26033. exponent -= t1.length;
  26034. }
  26035. return result + B.JSString_methods.$mul("0", exponent);
  26036. },
  26037. toString$0(receiver) {
  26038. if (receiver === 0 && 1 / receiver < 0)
  26039. return "-0.0";
  26040. else
  26041. return "" + receiver;
  26042. },
  26043. get$hashCode(receiver) {
  26044. var absolute, floorLog2, factor, scaled,
  26045. intValue = receiver | 0;
  26046. if (receiver === intValue)
  26047. return intValue & 536870911;
  26048. absolute = Math.abs(receiver);
  26049. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  26050. factor = Math.pow(2, floorLog2);
  26051. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  26052. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  26053. },
  26054. $add(receiver, other) {
  26055. return receiver + other;
  26056. },
  26057. $mod(receiver, other) {
  26058. var result = receiver % other;
  26059. if (result === 0)
  26060. return 0;
  26061. if (result > 0)
  26062. return result;
  26063. if (other < 0)
  26064. return result - other;
  26065. else
  26066. return result + other;
  26067. },
  26068. $tdiv(receiver, other) {
  26069. if ((receiver | 0) === receiver)
  26070. if (other >= 1 || other < -1)
  26071. return receiver / other | 0;
  26072. return this._tdivSlow$1(receiver, other);
  26073. },
  26074. _tdivFast$1(receiver, other) {
  26075. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  26076. },
  26077. _tdivSlow$1(receiver, other) {
  26078. var quotient = receiver / other;
  26079. if (quotient >= -2147483648 && quotient <= 2147483647)
  26080. return quotient | 0;
  26081. if (quotient > 0) {
  26082. if (quotient !== 1 / 0)
  26083. return Math.floor(quotient);
  26084. } else if (quotient > -1 / 0)
  26085. return Math.ceil(quotient);
  26086. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  26087. },
  26088. _shrOtherPositive$1(receiver, other) {
  26089. var t1;
  26090. if (receiver > 0)
  26091. t1 = this._shrBothPositive$1(receiver, other);
  26092. else {
  26093. t1 = other > 31 ? 31 : other;
  26094. t1 = receiver >> t1 >>> 0;
  26095. }
  26096. return t1;
  26097. },
  26098. _shrReceiverPositive$1(receiver, other) {
  26099. if (0 > other)
  26100. throw A.wrapException(A.argumentErrorValue(other));
  26101. return this._shrBothPositive$1(receiver, other);
  26102. },
  26103. _shrBothPositive$1(receiver, other) {
  26104. return other > 31 ? 0 : receiver >>> other;
  26105. },
  26106. $isComparable: 1,
  26107. $isdouble: 1,
  26108. $isnum: 1
  26109. };
  26110. J.JSInt.prototype = {$isint: 1};
  26111. J.JSNumNotInt.prototype = {};
  26112. J.JSString.prototype = {
  26113. codeUnitAt$1(receiver, index) {
  26114. if (index < 0)
  26115. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26116. if (index >= receiver.length)
  26117. A.throwExpression(A.diagnoseIndexError(receiver, index));
  26118. return receiver.charCodeAt(index);
  26119. },
  26120. _codeUnitAt$1(receiver, index) {
  26121. if (index >= receiver.length)
  26122. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  26123. return receiver.charCodeAt(index);
  26124. },
  26125. allMatches$2(receiver, string, start) {
  26126. var t1 = string.length;
  26127. if (start > t1)
  26128. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  26129. return new A._StringAllMatchesIterable(string, receiver, start);
  26130. },
  26131. allMatches$1($receiver, string) {
  26132. return this.allMatches$2($receiver, string, 0);
  26133. },
  26134. matchAsPrefix$2(receiver, string, start) {
  26135. var t1, i, _null = null;
  26136. if (start < 0 || start > string.length)
  26137. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  26138. t1 = receiver.length;
  26139. if (start + t1 > string.length)
  26140. return _null;
  26141. for (i = 0; i < t1; ++i)
  26142. if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i))
  26143. return _null;
  26144. return new A.StringMatch(start, receiver);
  26145. },
  26146. $add(receiver, other) {
  26147. return receiver + other;
  26148. },
  26149. endsWith$1(receiver, other) {
  26150. var otherLength = other.length,
  26151. t1 = receiver.length;
  26152. if (otherLength > t1)
  26153. return false;
  26154. return other === this.substring$1(receiver, t1 - otherLength);
  26155. },
  26156. replaceFirst$2(receiver, from, to) {
  26157. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  26158. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  26159. },
  26160. split$1(receiver, pattern) {
  26161. if (typeof pattern == "string")
  26162. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  26163. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  26164. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  26165. else
  26166. return this._defaultSplit$1(receiver, pattern);
  26167. },
  26168. replaceRange$3(receiver, start, end, replacement) {
  26169. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  26170. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  26171. },
  26172. _defaultSplit$1(receiver, pattern) {
  26173. var t1, start, $length, match, matchStart, matchEnd,
  26174. result = A._setArrayType([], type$.JSArray_String);
  26175. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  26176. match = t1.get$current(t1);
  26177. matchStart = match.get$start(match);
  26178. matchEnd = match.get$end(match);
  26179. $length = matchEnd - matchStart;
  26180. if ($length === 0 && start === matchStart)
  26181. continue;
  26182. result.push(this.substring$2(receiver, start, matchStart));
  26183. start = matchEnd;
  26184. }
  26185. if (start < receiver.length || $length > 0)
  26186. result.push(this.substring$1(receiver, start));
  26187. return result;
  26188. },
  26189. startsWith$2(receiver, pattern, index) {
  26190. var endIndex;
  26191. if (index < 0 || index > receiver.length)
  26192. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  26193. if (typeof pattern == "string") {
  26194. endIndex = index + pattern.length;
  26195. if (endIndex > receiver.length)
  26196. return false;
  26197. return pattern === receiver.substring(index, endIndex);
  26198. }
  26199. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  26200. },
  26201. startsWith$1($receiver, pattern) {
  26202. return this.startsWith$2($receiver, pattern, 0);
  26203. },
  26204. substring$2(receiver, start, end) {
  26205. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  26206. },
  26207. substring$1($receiver, start) {
  26208. return this.substring$2($receiver, start, null);
  26209. },
  26210. trim$0(receiver) {
  26211. var startIndex, t1, endIndex0,
  26212. result = receiver.trim(),
  26213. endIndex = result.length;
  26214. if (endIndex === 0)
  26215. return result;
  26216. if (this._codeUnitAt$1(result, 0) === 133) {
  26217. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  26218. if (startIndex === endIndex)
  26219. return "";
  26220. } else
  26221. startIndex = 0;
  26222. t1 = endIndex - 1;
  26223. endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  26224. if (startIndex === 0 && endIndex0 === endIndex)
  26225. return result;
  26226. return result.substring(startIndex, endIndex0);
  26227. },
  26228. trimRight$0(receiver) {
  26229. var result, endIndex, t1;
  26230. if (typeof receiver.trimRight != "undefined") {
  26231. result = receiver.trimRight();
  26232. endIndex = result.length;
  26233. if (endIndex === 0)
  26234. return result;
  26235. t1 = endIndex - 1;
  26236. if (this.codeUnitAt$1(result, t1) === 133)
  26237. endIndex = J.JSString__skipTrailingWhitespace(result, t1);
  26238. } else {
  26239. endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length);
  26240. result = receiver;
  26241. }
  26242. if (endIndex === result.length)
  26243. return result;
  26244. if (endIndex === 0)
  26245. return "";
  26246. return result.substring(0, endIndex);
  26247. },
  26248. $mul(receiver, times) {
  26249. var s, result;
  26250. if (0 >= times)
  26251. return "";
  26252. if (times === 1 || receiver.length === 0)
  26253. return receiver;
  26254. if (times !== times >>> 0)
  26255. throw A.wrapException(B.C_OutOfMemoryError);
  26256. for (s = receiver, result = ""; true;) {
  26257. if ((times & 1) === 1)
  26258. result = s + result;
  26259. times = times >>> 1;
  26260. if (times === 0)
  26261. break;
  26262. s += s;
  26263. }
  26264. return result;
  26265. },
  26266. padLeft$2(receiver, width, padding) {
  26267. var delta = width - receiver.length;
  26268. if (delta <= 0)
  26269. return receiver;
  26270. return this.$mul(padding, delta) + receiver;
  26271. },
  26272. padRight$1(receiver, width) {
  26273. var delta = width - receiver.length;
  26274. if (delta <= 0)
  26275. return receiver;
  26276. return receiver + this.$mul(" ", delta);
  26277. },
  26278. indexOf$2(receiver, pattern, start) {
  26279. var t1;
  26280. if (start < 0 || start > receiver.length)
  26281. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  26282. t1 = receiver.indexOf(pattern, start);
  26283. return t1;
  26284. },
  26285. indexOf$1($receiver, pattern) {
  26286. return this.indexOf$2($receiver, pattern, 0);
  26287. },
  26288. lastIndexOf$2(receiver, pattern, start) {
  26289. var t1, t2, i;
  26290. if (start == null)
  26291. start = receiver.length;
  26292. else if (start < 0 || start > receiver.length)
  26293. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  26294. if (typeof pattern == "string") {
  26295. t1 = pattern.length;
  26296. t2 = receiver.length;
  26297. if (start + t1 > t2)
  26298. start = t2 - t1;
  26299. return receiver.lastIndexOf(pattern, start);
  26300. }
  26301. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  26302. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  26303. return i;
  26304. return -1;
  26305. },
  26306. lastIndexOf$1($receiver, pattern) {
  26307. return this.lastIndexOf$2($receiver, pattern, null);
  26308. },
  26309. contains$2(receiver, other, startIndex) {
  26310. var t1 = receiver.length;
  26311. if (startIndex > t1)
  26312. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  26313. return A.stringContainsUnchecked(receiver, other, startIndex);
  26314. },
  26315. contains$1($receiver, other) {
  26316. return this.contains$2($receiver, other, 0);
  26317. },
  26318. get$isNotEmpty(receiver) {
  26319. return receiver.length !== 0;
  26320. },
  26321. compareTo$1(receiver, other) {
  26322. var t1;
  26323. if (receiver === other)
  26324. t1 = 0;
  26325. else
  26326. t1 = receiver < other ? -1 : 1;
  26327. return t1;
  26328. },
  26329. toString$0(receiver) {
  26330. return receiver;
  26331. },
  26332. get$hashCode(receiver) {
  26333. var t1, hash, i;
  26334. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  26335. hash = hash + receiver.charCodeAt(i) & 536870911;
  26336. hash = hash + ((hash & 524287) << 10) & 536870911;
  26337. hash ^= hash >> 6;
  26338. }
  26339. hash = hash + ((hash & 67108863) << 3) & 536870911;
  26340. hash ^= hash >> 11;
  26341. return hash + ((hash & 16383) << 15) & 536870911;
  26342. },
  26343. get$length(receiver) {
  26344. return receiver.length;
  26345. },
  26346. $isComparable: 1,
  26347. $isString: 1
  26348. };
  26349. A._CastIterableBase.prototype = {
  26350. get$iterator(_) {
  26351. var t1 = A._instanceType(this);
  26352. 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>"));
  26353. },
  26354. get$length(_) {
  26355. return J.get$length$asx(this.get$_source());
  26356. },
  26357. get$isEmpty(_) {
  26358. return J.get$isEmpty$asx(this.get$_source());
  26359. },
  26360. get$isNotEmpty(_) {
  26361. return J.get$isNotEmpty$asx(this.get$_source());
  26362. },
  26363. skip$1(_, count) {
  26364. var t1 = A._instanceType(this);
  26365. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  26366. },
  26367. take$1(_, count) {
  26368. var t1 = A._instanceType(this);
  26369. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  26370. },
  26371. elementAt$1(_, index) {
  26372. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  26373. },
  26374. get$first(_) {
  26375. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  26376. },
  26377. get$last(_) {
  26378. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  26379. },
  26380. get$single(_) {
  26381. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  26382. },
  26383. contains$1(_, other) {
  26384. return J.contains$1$asx(this.get$_source(), other);
  26385. },
  26386. toString$0(_) {
  26387. return J.toString$0$(this.get$_source());
  26388. }
  26389. };
  26390. A.CastIterator.prototype = {
  26391. moveNext$0() {
  26392. return this._source.moveNext$0();
  26393. },
  26394. get$current(_) {
  26395. var t1 = this._source;
  26396. return this.$ti._rest[1]._as(t1.get$current(t1));
  26397. }
  26398. };
  26399. A.CastIterable.prototype = {
  26400. get$_source() {
  26401. return this._source;
  26402. }
  26403. };
  26404. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  26405. A._CastListBase.prototype = {
  26406. $index(_, index) {
  26407. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  26408. },
  26409. $indexSet(_, index, value) {
  26410. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  26411. },
  26412. set$length(_, $length) {
  26413. J.set$length$asx(this._source, $length);
  26414. },
  26415. add$1(_, value) {
  26416. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  26417. },
  26418. sort$1(_, compare) {
  26419. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  26420. J.sort$1$ax(this._source, t1);
  26421. },
  26422. setRange$4(_, start, end, iterable, skipCount) {
  26423. var t1 = this.$ti;
  26424. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  26425. },
  26426. fillRange$3(_, start, end, fillValue) {
  26427. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  26428. },
  26429. $isEfficientLengthIterable: 1,
  26430. $isList: 1
  26431. };
  26432. A._CastListBase_sort_closure.prototype = {
  26433. call$2(v1, v2) {
  26434. var t1 = this.$this.$ti._rest[1];
  26435. return this.compare.call$2(t1._as(v1), t1._as(v2));
  26436. },
  26437. $signature() {
  26438. return this.$this.$ti._eval$1("int(1,1)");
  26439. }
  26440. };
  26441. A.CastList.prototype = {
  26442. cast$1$0(_, $R) {
  26443. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  26444. },
  26445. get$_source() {
  26446. return this._source;
  26447. }
  26448. };
  26449. A.CastSet.prototype = {
  26450. add$1(_, value) {
  26451. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  26452. },
  26453. addAll$1(_, elements) {
  26454. var t1 = this.$ti;
  26455. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  26456. },
  26457. difference$1(other) {
  26458. var t1, _this = this;
  26459. if (_this._emptySet != null)
  26460. return _this._conditionalAdd$2(other, false);
  26461. t1 = _this.$ti;
  26462. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  26463. },
  26464. _conditionalAdd$2(other, otherContains) {
  26465. var t3, castElement,
  26466. emptySet = this._emptySet,
  26467. t1 = this.$ti,
  26468. t2 = t1._rest[1],
  26469. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  26470. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  26471. castElement = t1._as(t2.get$current(t2));
  26472. if (otherContains === t3.contains$1(0, castElement))
  26473. result.add$1(0, castElement);
  26474. }
  26475. return result;
  26476. },
  26477. toSet$0(_) {
  26478. var emptySet = this._emptySet,
  26479. t1 = this.$ti._rest[1],
  26480. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  26481. result.addAll$1(0, this);
  26482. return result;
  26483. },
  26484. $isEfficientLengthIterable: 1,
  26485. $isSet: 1,
  26486. get$_source() {
  26487. return this._source;
  26488. }
  26489. };
  26490. A.CastMap.prototype = {
  26491. cast$2$0(_, RK, RV) {
  26492. var t1 = this.$ti;
  26493. 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>"));
  26494. },
  26495. containsKey$1(key) {
  26496. return this._source.containsKey$1(key);
  26497. },
  26498. $index(_, key) {
  26499. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  26500. },
  26501. $indexSet(_, key, value) {
  26502. var t1 = this.$ti;
  26503. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  26504. },
  26505. addAll$1(_, other) {
  26506. var t1 = this.$ti;
  26507. 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>")));
  26508. },
  26509. remove$1(_, key) {
  26510. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  26511. },
  26512. forEach$1(_, f) {
  26513. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  26514. },
  26515. get$keys(_) {
  26516. var t1 = this._source,
  26517. t2 = this.$ti;
  26518. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  26519. },
  26520. get$values(_) {
  26521. var t1 = this._source,
  26522. t2 = this.$ti;
  26523. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  26524. },
  26525. get$length(_) {
  26526. var t1 = this._source;
  26527. return t1.get$length(t1);
  26528. },
  26529. get$isEmpty(_) {
  26530. var t1 = this._source;
  26531. return t1.get$isEmpty(t1);
  26532. },
  26533. get$isNotEmpty(_) {
  26534. var t1 = this._source;
  26535. return t1.get$isNotEmpty(t1);
  26536. },
  26537. get$entries(_) {
  26538. var t1 = this._source;
  26539. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  26540. }
  26541. };
  26542. A.CastMap_forEach_closure.prototype = {
  26543. call$2(key, value) {
  26544. var t1 = this.$this.$ti;
  26545. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  26546. },
  26547. $signature() {
  26548. return this.$this.$ti._eval$1("~(1,2)");
  26549. }
  26550. };
  26551. A.CastMap_entries_closure.prototype = {
  26552. call$1(e) {
  26553. var t1 = this.$this.$ti,
  26554. t2 = t1._rest[3];
  26555. 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>"));
  26556. },
  26557. $signature() {
  26558. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  26559. }
  26560. };
  26561. A.LateError.prototype = {
  26562. toString$0(_) {
  26563. return "LateInitializationError: " + this._message;
  26564. }
  26565. };
  26566. A.CodeUnits.prototype = {
  26567. get$length(_) {
  26568. return this.__internal$_string.length;
  26569. },
  26570. $index(_, i) {
  26571. return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i);
  26572. }
  26573. };
  26574. A.nullFuture_closure.prototype = {
  26575. call$0() {
  26576. return A.Future_Future$value(null, type$.Null);
  26577. },
  26578. $signature: 2
  26579. };
  26580. A.SentinelValue.prototype = {};
  26581. A.EfficientLengthIterable.prototype = {};
  26582. A.ListIterable.prototype = {
  26583. get$iterator(_) {
  26584. return new A.ListIterator(this, this.get$length(this));
  26585. },
  26586. get$isEmpty(_) {
  26587. return this.get$length(this) === 0;
  26588. },
  26589. get$first(_) {
  26590. if (this.get$length(this) === 0)
  26591. throw A.wrapException(A.IterableElementError_noElement());
  26592. return this.elementAt$1(0, 0);
  26593. },
  26594. get$last(_) {
  26595. var _this = this;
  26596. if (_this.get$length(_this) === 0)
  26597. throw A.wrapException(A.IterableElementError_noElement());
  26598. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  26599. },
  26600. get$single(_) {
  26601. var _this = this;
  26602. if (_this.get$length(_this) === 0)
  26603. throw A.wrapException(A.IterableElementError_noElement());
  26604. if (_this.get$length(_this) > 1)
  26605. throw A.wrapException(A.IterableElementError_tooMany());
  26606. return _this.elementAt$1(0, 0);
  26607. },
  26608. contains$1(_, element) {
  26609. var i, _this = this,
  26610. $length = _this.get$length(_this);
  26611. for (i = 0; i < $length; ++i) {
  26612. if (J.$eq$(_this.elementAt$1(0, i), element))
  26613. return true;
  26614. if ($length !== _this.get$length(_this))
  26615. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26616. }
  26617. return false;
  26618. },
  26619. every$1(_, test) {
  26620. var i, _this = this,
  26621. $length = _this.get$length(_this);
  26622. for (i = 0; i < $length; ++i) {
  26623. if (!test.call$1(_this.elementAt$1(0, i)))
  26624. return false;
  26625. if ($length !== _this.get$length(_this))
  26626. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26627. }
  26628. return true;
  26629. },
  26630. any$1(_, test) {
  26631. var i, _this = this,
  26632. $length = _this.get$length(_this);
  26633. for (i = 0; i < $length; ++i) {
  26634. if (test.call$1(_this.elementAt$1(0, i)))
  26635. return true;
  26636. if ($length !== _this.get$length(_this))
  26637. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26638. }
  26639. return false;
  26640. },
  26641. join$1(_, separator) {
  26642. var first, t1, i, _this = this,
  26643. $length = _this.get$length(_this);
  26644. if (separator.length !== 0) {
  26645. if ($length === 0)
  26646. return "";
  26647. first = A.S(_this.elementAt$1(0, 0));
  26648. if ($length !== _this.get$length(_this))
  26649. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26650. for (t1 = first, i = 1; i < $length; ++i) {
  26651. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  26652. if ($length !== _this.get$length(_this))
  26653. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26654. }
  26655. return t1.charCodeAt(0) == 0 ? t1 : t1;
  26656. } else {
  26657. for (i = 0, t1 = ""; i < $length; ++i) {
  26658. t1 += A.S(_this.elementAt$1(0, i));
  26659. if ($length !== _this.get$length(_this))
  26660. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26661. }
  26662. return t1.charCodeAt(0) == 0 ? t1 : t1;
  26663. }
  26664. },
  26665. join$0($receiver) {
  26666. return this.join$1($receiver, "");
  26667. },
  26668. where$1(_, test) {
  26669. return this.super$Iterable$where(0, test);
  26670. },
  26671. map$1$1(_, toElement, $T) {
  26672. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  26673. },
  26674. reduce$1(_, combine) {
  26675. var value, i, _this = this,
  26676. $length = _this.get$length(_this);
  26677. if ($length === 0)
  26678. throw A.wrapException(A.IterableElementError_noElement());
  26679. value = _this.elementAt$1(0, 0);
  26680. for (i = 1; i < $length; ++i) {
  26681. value = combine.call$2(value, _this.elementAt$1(0, i));
  26682. if ($length !== _this.get$length(_this))
  26683. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26684. }
  26685. return value;
  26686. },
  26687. fold$1$2(_, initialValue, combine) {
  26688. var value, i, _this = this,
  26689. $length = _this.get$length(_this);
  26690. for (value = initialValue, i = 0; i < $length; ++i) {
  26691. value = combine.call$2(value, _this.elementAt$1(0, i));
  26692. if ($length !== _this.get$length(_this))
  26693. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26694. }
  26695. return value;
  26696. },
  26697. fold$2($receiver, initialValue, combine) {
  26698. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  26699. },
  26700. skip$1(_, count) {
  26701. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  26702. },
  26703. take$1(_, count) {
  26704. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  26705. },
  26706. toList$1$growable(_, growable) {
  26707. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  26708. },
  26709. toList$0($receiver) {
  26710. return this.toList$1$growable($receiver, true);
  26711. },
  26712. toSet$0(_) {
  26713. var i, _this = this,
  26714. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  26715. for (i = 0; i < _this.get$length(_this); ++i)
  26716. result.add$1(0, _this.elementAt$1(0, i));
  26717. return result;
  26718. }
  26719. };
  26720. A.SubListIterable.prototype = {
  26721. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  26722. var endOrLength,
  26723. t1 = this.__internal$_start;
  26724. A.RangeError_checkNotNegative(t1, "start");
  26725. endOrLength = this._endOrLength;
  26726. if (endOrLength != null) {
  26727. A.RangeError_checkNotNegative(endOrLength, "end");
  26728. if (t1 > endOrLength)
  26729. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  26730. }
  26731. },
  26732. get$_endIndex() {
  26733. var $length = J.get$length$asx(this.__internal$_iterable),
  26734. endOrLength = this._endOrLength;
  26735. if (endOrLength == null || endOrLength > $length)
  26736. return $length;
  26737. return endOrLength;
  26738. },
  26739. get$_startIndex() {
  26740. var $length = J.get$length$asx(this.__internal$_iterable),
  26741. t1 = this.__internal$_start;
  26742. if (t1 > $length)
  26743. return $length;
  26744. return t1;
  26745. },
  26746. get$length(_) {
  26747. var endOrLength,
  26748. $length = J.get$length$asx(this.__internal$_iterable),
  26749. t1 = this.__internal$_start;
  26750. if (t1 >= $length)
  26751. return 0;
  26752. endOrLength = this._endOrLength;
  26753. if (endOrLength == null || endOrLength >= $length)
  26754. return $length - t1;
  26755. return endOrLength - t1;
  26756. },
  26757. elementAt$1(_, index) {
  26758. var _this = this,
  26759. realIndex = _this.get$_startIndex() + index;
  26760. if (index < 0 || realIndex >= _this.get$_endIndex())
  26761. throw A.wrapException(A.IndexError$(index, _this, "index", null, null));
  26762. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  26763. },
  26764. skip$1(_, count) {
  26765. var newStart, endOrLength, _this = this;
  26766. A.RangeError_checkNotNegative(count, "count");
  26767. newStart = _this.__internal$_start + count;
  26768. endOrLength = _this._endOrLength;
  26769. if (endOrLength != null && newStart >= endOrLength)
  26770. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  26771. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  26772. },
  26773. take$1(_, count) {
  26774. var endOrLength, t1, newEnd, _this = this;
  26775. A.RangeError_checkNotNegative(count, "count");
  26776. endOrLength = _this._endOrLength;
  26777. t1 = _this.__internal$_start;
  26778. newEnd = t1 + count;
  26779. if (endOrLength == null)
  26780. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  26781. else {
  26782. if (endOrLength < newEnd)
  26783. return _this;
  26784. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  26785. }
  26786. },
  26787. toList$1$growable(_, growable) {
  26788. var $length, result, i, _this = this,
  26789. start = _this.__internal$_start,
  26790. t1 = _this.__internal$_iterable,
  26791. t2 = J.getInterceptor$asx(t1),
  26792. end = t2.get$length(t1),
  26793. endOrLength = _this._endOrLength;
  26794. if (endOrLength != null && endOrLength < end)
  26795. end = endOrLength;
  26796. $length = end - start;
  26797. if ($length <= 0) {
  26798. t1 = _this.$ti._precomputed1;
  26799. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  26800. }
  26801. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  26802. for (i = 1; i < $length; ++i) {
  26803. result[i] = t2.elementAt$1(t1, start + i);
  26804. if (t2.get$length(t1) < end)
  26805. throw A.wrapException(A.ConcurrentModificationError$(_this));
  26806. }
  26807. return result;
  26808. },
  26809. toList$0($receiver) {
  26810. return this.toList$1$growable($receiver, true);
  26811. }
  26812. };
  26813. A.ListIterator.prototype = {
  26814. get$current(_) {
  26815. var t1 = this.__internal$_current;
  26816. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  26817. },
  26818. moveNext$0() {
  26819. var t3, _this = this,
  26820. t1 = _this.__internal$_iterable,
  26821. t2 = J.getInterceptor$asx(t1),
  26822. $length = t2.get$length(t1);
  26823. if (_this.__internal$_length !== $length)
  26824. throw A.wrapException(A.ConcurrentModificationError$(t1));
  26825. t3 = _this.__internal$_index;
  26826. if (t3 >= $length) {
  26827. _this.__internal$_current = null;
  26828. return false;
  26829. }
  26830. _this.__internal$_current = t2.elementAt$1(t1, t3);
  26831. ++_this.__internal$_index;
  26832. return true;
  26833. }
  26834. };
  26835. A.MappedIterable.prototype = {
  26836. get$iterator(_) {
  26837. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  26838. },
  26839. get$length(_) {
  26840. return J.get$length$asx(this.__internal$_iterable);
  26841. },
  26842. get$isEmpty(_) {
  26843. return J.get$isEmpty$asx(this.__internal$_iterable);
  26844. },
  26845. get$first(_) {
  26846. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  26847. },
  26848. get$last(_) {
  26849. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  26850. },
  26851. get$single(_) {
  26852. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  26853. },
  26854. elementAt$1(_, index) {
  26855. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  26856. }
  26857. };
  26858. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  26859. A.MappedIterator.prototype = {
  26860. moveNext$0() {
  26861. var _this = this,
  26862. t1 = _this._iterator;
  26863. if (t1.moveNext$0()) {
  26864. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  26865. return true;
  26866. }
  26867. _this.__internal$_current = null;
  26868. return false;
  26869. },
  26870. get$current(_) {
  26871. var t1 = this.__internal$_current;
  26872. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  26873. }
  26874. };
  26875. A.MappedListIterable.prototype = {
  26876. get$length(_) {
  26877. return J.get$length$asx(this._source);
  26878. },
  26879. elementAt$1(_, index) {
  26880. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  26881. }
  26882. };
  26883. A.WhereIterable.prototype = {
  26884. get$iterator(_) {
  26885. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  26886. },
  26887. map$1$1(_, toElement, $T) {
  26888. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  26889. }
  26890. };
  26891. A.WhereIterator.prototype = {
  26892. moveNext$0() {
  26893. var t1, t2;
  26894. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  26895. if (t2.call$1(t1.get$current(t1)))
  26896. return true;
  26897. return false;
  26898. },
  26899. get$current(_) {
  26900. var t1 = this._iterator;
  26901. return t1.get$current(t1);
  26902. }
  26903. };
  26904. A.ExpandIterable.prototype = {
  26905. get$iterator(_) {
  26906. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
  26907. }
  26908. };
  26909. A.ExpandIterator.prototype = {
  26910. get$current(_) {
  26911. var t1 = this.__internal$_current;
  26912. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  26913. },
  26914. moveNext$0() {
  26915. var t2, t3, _this = this,
  26916. t1 = _this._currentExpansion;
  26917. if (t1 == null)
  26918. return false;
  26919. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  26920. _this.__internal$_current = null;
  26921. if (t2.moveNext$0()) {
  26922. _this._currentExpansion = null;
  26923. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  26924. _this._currentExpansion = t1;
  26925. } else
  26926. return false;
  26927. }
  26928. t1 = _this._currentExpansion;
  26929. _this.__internal$_current = t1.get$current(t1);
  26930. return true;
  26931. }
  26932. };
  26933. A.TakeIterable.prototype = {
  26934. get$iterator(_) {
  26935. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
  26936. }
  26937. };
  26938. A.EfficientLengthTakeIterable.prototype = {
  26939. get$length(_) {
  26940. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  26941. t1 = this._takeCount;
  26942. if (iterableLength > t1)
  26943. return t1;
  26944. return iterableLength;
  26945. },
  26946. $isEfficientLengthIterable: 1
  26947. };
  26948. A.TakeIterator.prototype = {
  26949. moveNext$0() {
  26950. if (--this._remaining >= 0)
  26951. return this._iterator.moveNext$0();
  26952. this._remaining = -1;
  26953. return false;
  26954. },
  26955. get$current(_) {
  26956. var t1;
  26957. if (this._remaining < 0) {
  26958. A._instanceType(this)._precomputed1._as(null);
  26959. return null;
  26960. }
  26961. t1 = this._iterator;
  26962. return t1.get$current(t1);
  26963. }
  26964. };
  26965. A.SkipIterable.prototype = {
  26966. skip$1(_, count) {
  26967. A.ArgumentError_checkNotNull(count, "count");
  26968. A.RangeError_checkNotNegative(count, "count");
  26969. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  26970. },
  26971. get$iterator(_) {
  26972. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  26973. }
  26974. };
  26975. A.EfficientLengthSkipIterable.prototype = {
  26976. get$length(_) {
  26977. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  26978. if ($length >= 0)
  26979. return $length;
  26980. return 0;
  26981. },
  26982. skip$1(_, count) {
  26983. A.ArgumentError_checkNotNull(count, "count");
  26984. A.RangeError_checkNotNegative(count, "count");
  26985. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  26986. },
  26987. $isEfficientLengthIterable: 1
  26988. };
  26989. A.SkipIterator.prototype = {
  26990. moveNext$0() {
  26991. var t1, i;
  26992. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  26993. t1.moveNext$0();
  26994. this._skipCount = 0;
  26995. return t1.moveNext$0();
  26996. },
  26997. get$current(_) {
  26998. var t1 = this._iterator;
  26999. return t1.get$current(t1);
  27000. }
  27001. };
  27002. A.SkipWhileIterable.prototype = {
  27003. get$iterator(_) {
  27004. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  27005. }
  27006. };
  27007. A.SkipWhileIterator.prototype = {
  27008. moveNext$0() {
  27009. var t1, t2, _this = this;
  27010. if (!_this._hasSkipped) {
  27011. _this._hasSkipped = true;
  27012. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  27013. if (!t2.call$1(t1.get$current(t1)))
  27014. return true;
  27015. }
  27016. return _this._iterator.moveNext$0();
  27017. },
  27018. get$current(_) {
  27019. var t1 = this._iterator;
  27020. return t1.get$current(t1);
  27021. }
  27022. };
  27023. A.EmptyIterable.prototype = {
  27024. get$iterator(_) {
  27025. return B.C_EmptyIterator;
  27026. },
  27027. get$isEmpty(_) {
  27028. return true;
  27029. },
  27030. get$length(_) {
  27031. return 0;
  27032. },
  27033. get$first(_) {
  27034. throw A.wrapException(A.IterableElementError_noElement());
  27035. },
  27036. get$last(_) {
  27037. throw A.wrapException(A.IterableElementError_noElement());
  27038. },
  27039. get$single(_) {
  27040. throw A.wrapException(A.IterableElementError_noElement());
  27041. },
  27042. elementAt$1(_, index) {
  27043. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  27044. },
  27045. contains$1(_, element) {
  27046. return false;
  27047. },
  27048. every$1(_, test) {
  27049. return true;
  27050. },
  27051. join$1(_, separator) {
  27052. return "";
  27053. },
  27054. join$0($receiver) {
  27055. return this.join$1($receiver, "");
  27056. },
  27057. where$1(_, test) {
  27058. return this;
  27059. },
  27060. map$1$1(_, toElement, $T) {
  27061. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  27062. },
  27063. skip$1(_, count) {
  27064. A.RangeError_checkNotNegative(count, "count");
  27065. return this;
  27066. },
  27067. take$1(_, count) {
  27068. A.RangeError_checkNotNegative(count, "count");
  27069. return this;
  27070. },
  27071. toList$1$growable(_, growable) {
  27072. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  27073. return t1;
  27074. },
  27075. toList$0($receiver) {
  27076. return this.toList$1$growable($receiver, true);
  27077. },
  27078. toSet$0(_) {
  27079. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  27080. }
  27081. };
  27082. A.EmptyIterator.prototype = {
  27083. moveNext$0() {
  27084. return false;
  27085. },
  27086. get$current(_) {
  27087. throw A.wrapException(A.IterableElementError_noElement());
  27088. }
  27089. };
  27090. A.FollowedByIterable.prototype = {
  27091. get$iterator(_) {
  27092. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  27093. },
  27094. get$length(_) {
  27095. var t1 = this._second;
  27096. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  27097. },
  27098. get$isEmpty(_) {
  27099. var t1;
  27100. if (J.get$isEmpty$asx(this.__internal$_first)) {
  27101. t1 = this._second;
  27102. t1 = t1.get$isEmpty(t1);
  27103. } else
  27104. t1 = false;
  27105. return t1;
  27106. },
  27107. get$isNotEmpty(_) {
  27108. var t1;
  27109. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  27110. t1 = this._second;
  27111. t1 = t1.get$isNotEmpty(t1);
  27112. } else
  27113. t1 = true;
  27114. return t1;
  27115. },
  27116. contains$1(_, value) {
  27117. return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value);
  27118. },
  27119. get$first(_) {
  27120. var t1,
  27121. iterator = J.get$iterator$ax(this.__internal$_first);
  27122. if (iterator.moveNext$0())
  27123. return iterator.get$current(iterator);
  27124. t1 = this._second;
  27125. return t1.get$first(t1);
  27126. },
  27127. get$last(_) {
  27128. var last,
  27129. t1 = this._second,
  27130. iterator = t1.get$iterator(t1);
  27131. if (iterator.moveNext$0()) {
  27132. last = iterator.get$current(iterator);
  27133. for (; iterator.moveNext$0();)
  27134. last = iterator.get$current(iterator);
  27135. return last;
  27136. }
  27137. return J.get$last$ax(this.__internal$_first);
  27138. }
  27139. };
  27140. A.EfficientLengthFollowedByIterable.prototype = {
  27141. elementAt$1(_, index) {
  27142. var t1 = this.__internal$_first,
  27143. t2 = J.getInterceptor$asx(t1),
  27144. firstLength = t2.get$length(t1);
  27145. if (index < firstLength)
  27146. return t2.elementAt$1(t1, index);
  27147. return this._second.elementAt$1(0, index - firstLength);
  27148. },
  27149. get$first(_) {
  27150. var t1 = this.__internal$_first,
  27151. t2 = J.getInterceptor$asx(t1);
  27152. if (t2.get$isNotEmpty(t1))
  27153. return t2.get$first(t1);
  27154. t1 = this._second;
  27155. return t1.get$first(t1);
  27156. },
  27157. get$last(_) {
  27158. var t1 = this._second;
  27159. if (t1.get$isNotEmpty(t1))
  27160. return t1.get$last(t1);
  27161. return J.get$last$ax(this.__internal$_first);
  27162. },
  27163. $isEfficientLengthIterable: 1
  27164. };
  27165. A.FollowedByIterator.prototype = {
  27166. moveNext$0() {
  27167. var t1, _this = this;
  27168. if (_this._currentIterator.moveNext$0())
  27169. return true;
  27170. t1 = _this._nextIterable;
  27171. if (t1 != null) {
  27172. t1 = t1.get$iterator(t1);
  27173. _this._currentIterator = t1;
  27174. _this._nextIterable = null;
  27175. return t1.moveNext$0();
  27176. }
  27177. return false;
  27178. },
  27179. get$current(_) {
  27180. var t1 = this._currentIterator;
  27181. return t1.get$current(t1);
  27182. }
  27183. };
  27184. A.WhereTypeIterable.prototype = {
  27185. get$iterator(_) {
  27186. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  27187. }
  27188. };
  27189. A.WhereTypeIterator.prototype = {
  27190. moveNext$0() {
  27191. var t1, t2;
  27192. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  27193. if (t2._is(t1.get$current(t1)))
  27194. return true;
  27195. return false;
  27196. },
  27197. get$current(_) {
  27198. var t1 = this._source;
  27199. return this.$ti._precomputed1._as(t1.get$current(t1));
  27200. }
  27201. };
  27202. A.FixedLengthListMixin.prototype = {
  27203. set$length(receiver, newLength) {
  27204. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  27205. },
  27206. add$1(receiver, value) {
  27207. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  27208. }
  27209. };
  27210. A.UnmodifiableListMixin.prototype = {
  27211. $indexSet(_, index, value) {
  27212. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27213. },
  27214. set$length(_, newLength) {
  27215. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  27216. },
  27217. add$1(_, value) {
  27218. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  27219. },
  27220. sort$1(_, compare) {
  27221. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27222. },
  27223. setRange$4(_, start, end, iterable, skipCount) {
  27224. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27225. },
  27226. fillRange$3(_, start, end, fillValue) {
  27227. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  27228. }
  27229. };
  27230. A.UnmodifiableListBase.prototype = {};
  27231. A.ReversedListIterable.prototype = {
  27232. get$length(_) {
  27233. return J.get$length$asx(this._source);
  27234. },
  27235. elementAt$1(_, index) {
  27236. var t1 = this._source,
  27237. t2 = J.getInterceptor$asx(t1);
  27238. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  27239. }
  27240. };
  27241. A.Symbol.prototype = {
  27242. get$hashCode(_) {
  27243. var hash = this._hashCode;
  27244. if (hash != null)
  27245. return hash;
  27246. hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911;
  27247. this._hashCode = hash;
  27248. return hash;
  27249. },
  27250. toString$0(_) {
  27251. return 'Symbol("' + A.S(this.__internal$_name) + '")';
  27252. },
  27253. $eq(_, other) {
  27254. if (other == null)
  27255. return false;
  27256. return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name;
  27257. },
  27258. $isSymbol0: 1
  27259. };
  27260. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  27261. A.ConstantMapView.prototype = {};
  27262. A.ConstantMap.prototype = {
  27263. cast$2$0(_, RK, RV) {
  27264. var t1 = A._instanceType(this);
  27265. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  27266. },
  27267. get$isEmpty(_) {
  27268. return this.get$length(this) === 0;
  27269. },
  27270. get$isNotEmpty(_) {
  27271. return this.get$length(this) !== 0;
  27272. },
  27273. toString$0(_) {
  27274. return A.MapBase_mapToString(this);
  27275. },
  27276. $indexSet(_, key, val) {
  27277. A.ConstantMap__throwUnmodifiable();
  27278. },
  27279. remove$1(_, key) {
  27280. A.ConstantMap__throwUnmodifiable();
  27281. },
  27282. addAll$1(_, other) {
  27283. A.ConstantMap__throwUnmodifiable();
  27284. },
  27285. get$entries(_) {
  27286. return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>"));
  27287. },
  27288. entries$body$ConstantMap($async$_, $async$type) {
  27289. var $async$self = this;
  27290. return A._makeSyncStarIterable(function() {
  27291. var _ = $async$_;
  27292. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  27293. return function $async$get$entries($async$errorCode, $async$result) {
  27294. if ($async$errorCode === 1) {
  27295. $async$currentError = $async$result;
  27296. $async$goto = $async$handler;
  27297. }
  27298. while (true)
  27299. switch ($async$goto) {
  27300. case 0:
  27301. // Function start
  27302. 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>");
  27303. case 2:
  27304. // for condition
  27305. if (!t1.moveNext$0()) {
  27306. // goto after for
  27307. $async$goto = 3;
  27308. break;
  27309. }
  27310. key = t1.get$current(t1);
  27311. $async$goto = 4;
  27312. return new A.MapEntry(key, $async$self.$index(0, key), t2);
  27313. case 4:
  27314. // after yield
  27315. // goto for condition
  27316. $async$goto = 2;
  27317. break;
  27318. case 3:
  27319. // after for
  27320. // implicit return
  27321. return A._IterationMarker_endOfIteration();
  27322. case 1:
  27323. // rethrow
  27324. return A._IterationMarker_uncaughtError($async$currentError);
  27325. }
  27326. };
  27327. }, $async$type);
  27328. },
  27329. $isMap: 1
  27330. };
  27331. A.ConstantStringMap.prototype = {
  27332. get$length(_) {
  27333. return this.__js_helper$_length;
  27334. },
  27335. containsKey$1(key) {
  27336. if (typeof key != "string")
  27337. return false;
  27338. if ("__proto__" === key)
  27339. return false;
  27340. return this._jsObject.hasOwnProperty(key);
  27341. },
  27342. $index(_, key) {
  27343. if (!this.containsKey$1(key))
  27344. return null;
  27345. return this._jsObject[key];
  27346. },
  27347. forEach$1(_, f) {
  27348. var t1, t2, i, key,
  27349. keys = this.__js_helper$_keys;
  27350. for (t1 = keys.length, t2 = this._jsObject, i = 0; i < t1; ++i) {
  27351. key = keys[i];
  27352. f.call$2(key, t2[key]);
  27353. }
  27354. },
  27355. get$keys(_) {
  27356. return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>"));
  27357. },
  27358. get$values(_) {
  27359. var t1 = this.$ti;
  27360. return A.MappedIterable_MappedIterable(this.__js_helper$_keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  27361. }
  27362. };
  27363. A.ConstantStringMap_values_closure.prototype = {
  27364. call$1(key) {
  27365. return this.$this._jsObject[key];
  27366. },
  27367. $signature() {
  27368. return this.$this.$ti._eval$1("2(1)");
  27369. }
  27370. };
  27371. A._ConstantMapKeyIterable.prototype = {
  27372. get$iterator(_) {
  27373. var t1 = this.__js_helper$_map.__js_helper$_keys;
  27374. return new J.ArrayIterator(t1, t1.length);
  27375. },
  27376. get$length(_) {
  27377. return this.__js_helper$_map.__js_helper$_keys.length;
  27378. }
  27379. };
  27380. A.GeneralConstantMap.prototype = {
  27381. _getMap$0() {
  27382. var t1, t2, t3, _this = this,
  27383. backingMap = _this.$map;
  27384. if (backingMap == null) {
  27385. t1 = _this.$ti;
  27386. t2 = t1._precomputed1;
  27387. t3 = A.GeneralConstantMap__typeTest(t2);
  27388. backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t3, t2, t1._rest[1]);
  27389. A.fillLiteralMap(_this._jsData, backingMap);
  27390. _this.$map = backingMap;
  27391. }
  27392. return backingMap;
  27393. },
  27394. containsKey$1(key) {
  27395. return this._getMap$0().containsKey$1(key);
  27396. },
  27397. $index(_, key) {
  27398. return this._getMap$0().$index(0, key);
  27399. },
  27400. forEach$1(_, f) {
  27401. this._getMap$0().forEach$1(0, f);
  27402. },
  27403. get$keys(_) {
  27404. var t1 = this._getMap$0();
  27405. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  27406. },
  27407. get$values(_) {
  27408. var t1 = this._getMap$0();
  27409. return t1.get$values(t1);
  27410. },
  27411. get$length(_) {
  27412. return this._getMap$0().__js_helper$_length;
  27413. }
  27414. };
  27415. A.GeneralConstantMap__typeTest_closure.prototype = {
  27416. call$1(o) {
  27417. return this.T._is(o);
  27418. },
  27419. $signature: 9
  27420. };
  27421. A.Instantiation.prototype = {
  27422. Instantiation$1(_genericClosure) {
  27423. if (false)
  27424. A.instantiatedGenericFunctionType(0, 0);
  27425. },
  27426. $eq(_, other) {
  27427. if (other == null)
  27428. return false;
  27429. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other);
  27430. },
  27431. get$hashCode(_) {
  27432. return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue, B.C_SentinelValue);
  27433. },
  27434. toString$0(_) {
  27435. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  27436. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  27437. }
  27438. };
  27439. A.Instantiation1.prototype = {
  27440. get$_types() {
  27441. return [A.createRuntimeType(this.$ti._precomputed1)];
  27442. },
  27443. call$0() {
  27444. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  27445. },
  27446. call$2(a0, a1) {
  27447. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  27448. },
  27449. call$3(a0, a1, a2) {
  27450. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  27451. },
  27452. call$4(a0, a1, a2, a3) {
  27453. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  27454. },
  27455. $signature() {
  27456. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  27457. }
  27458. };
  27459. A.JSInvocationMirror.prototype = {
  27460. get$memberName() {
  27461. var t1 = this.__js_helper$_memberName;
  27462. return t1;
  27463. },
  27464. get$positionalArguments() {
  27465. var t1, argumentCount, list, index, _this = this;
  27466. if (_this.__js_helper$_kind === 1)
  27467. return B.List_empty11;
  27468. t1 = _this._arguments;
  27469. argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount;
  27470. if (argumentCount === 0)
  27471. return B.List_empty11;
  27472. list = [];
  27473. for (index = 0; index < argumentCount; ++index)
  27474. list.push(t1[index]);
  27475. return J.JSArray_markUnmodifiableList(list);
  27476. },
  27477. get$namedArguments() {
  27478. var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this;
  27479. if (_this.__js_helper$_kind !== 0)
  27480. return B.Map_empty4;
  27481. t1 = _this._namedArgumentNames;
  27482. namedArgumentCount = t1.length;
  27483. t2 = _this._arguments;
  27484. namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount;
  27485. if (namedArgumentCount === 0)
  27486. return B.Map_empty4;
  27487. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  27488. for (i = 0; i < namedArgumentCount; ++i)
  27489. map.$indexSet(0, new A.Symbol(t1[i]), t2[namedArgumentsStartIndex + i]);
  27490. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  27491. }
  27492. };
  27493. A.Primitives_functionNoSuchMethod_closure.prototype = {
  27494. call$2($name, argument) {
  27495. var t1 = this._box_0;
  27496. t1.names = t1.names + "$" + $name;
  27497. this.namedArgumentList.push($name);
  27498. this.$arguments.push(argument);
  27499. ++t1.argumentCount;
  27500. },
  27501. $signature: 221
  27502. };
  27503. A.TypeErrorDecoder.prototype = {
  27504. matchTypeError$1(message) {
  27505. var result, t1, _this = this,
  27506. match = new RegExp(_this._pattern).exec(message);
  27507. if (match == null)
  27508. return null;
  27509. result = Object.create(null);
  27510. t1 = _this._arguments;
  27511. if (t1 !== -1)
  27512. result.arguments = match[t1 + 1];
  27513. t1 = _this._argumentsExpr;
  27514. if (t1 !== -1)
  27515. result.argumentsExpr = match[t1 + 1];
  27516. t1 = _this._expr;
  27517. if (t1 !== -1)
  27518. result.expr = match[t1 + 1];
  27519. t1 = _this._method;
  27520. if (t1 !== -1)
  27521. result.method = match[t1 + 1];
  27522. t1 = _this._receiver;
  27523. if (t1 !== -1)
  27524. result.receiver = match[t1 + 1];
  27525. return result;
  27526. }
  27527. };
  27528. A.NullError.prototype = {
  27529. toString$0(_) {
  27530. var t1 = this._method;
  27531. if (t1 == null)
  27532. return "NoSuchMethodError: " + this.__js_helper$_message;
  27533. return "NoSuchMethodError: method not found: '" + t1 + "' on null";
  27534. }
  27535. };
  27536. A.JsNoSuchMethodError.prototype = {
  27537. toString$0(_) {
  27538. var t2, _this = this,
  27539. _s38_ = "NoSuchMethodError: method not found: '",
  27540. t1 = _this._method;
  27541. if (t1 == null)
  27542. return "NoSuchMethodError: " + _this.__js_helper$_message;
  27543. t2 = _this._receiver;
  27544. if (t2 == null)
  27545. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  27546. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  27547. }
  27548. };
  27549. A.UnknownJsTypeError.prototype = {
  27550. toString$0(_) {
  27551. var t1 = this.__js_helper$_message;
  27552. return t1.length === 0 ? "Error" : "Error: " + t1;
  27553. }
  27554. };
  27555. A.NullThrownFromJavaScriptException.prototype = {
  27556. toString$0(_) {
  27557. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  27558. },
  27559. $isException: 1
  27560. };
  27561. A.ExceptionAndStackTrace.prototype = {};
  27562. A._StackTrace.prototype = {
  27563. toString$0(_) {
  27564. var trace,
  27565. t1 = this._trace;
  27566. if (t1 != null)
  27567. return t1;
  27568. t1 = this._exception;
  27569. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  27570. return this._trace = trace == null ? "" : trace;
  27571. },
  27572. $isStackTrace: 1
  27573. };
  27574. A.Closure.prototype = {
  27575. toString$0(_) {
  27576. var $constructor = this.constructor,
  27577. $name = $constructor == null ? null : $constructor.name;
  27578. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  27579. },
  27580. $isFunction: 1,
  27581. get$$call() {
  27582. return this;
  27583. },
  27584. "call*": "call$1",
  27585. $requiredArgCount: 1,
  27586. $defaultValues: null
  27587. };
  27588. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  27589. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  27590. A.TearOffClosure.prototype = {};
  27591. A.StaticClosure.prototype = {
  27592. toString$0(_) {
  27593. var $name = this.$static_name;
  27594. if ($name == null)
  27595. return "Closure of unknown static method";
  27596. return "Closure '" + A.unminifyOrTag($name) + "'";
  27597. }
  27598. };
  27599. A.BoundClosure.prototype = {
  27600. $eq(_, other) {
  27601. if (other == null)
  27602. return false;
  27603. if (this === other)
  27604. return true;
  27605. if (!(other instanceof A.BoundClosure))
  27606. return false;
  27607. return this.$_target === other.$_target && this._receiver === other._receiver;
  27608. },
  27609. get$hashCode(_) {
  27610. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  27611. },
  27612. toString$0(_) {
  27613. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  27614. }
  27615. };
  27616. A.RuntimeError.prototype = {
  27617. toString$0(_) {
  27618. return "RuntimeError: " + this.message;
  27619. },
  27620. get$message(receiver) {
  27621. return this.message;
  27622. }
  27623. };
  27624. A._Required.prototype = {};
  27625. A.JsLinkedHashMap.prototype = {
  27626. get$length(_) {
  27627. return this.__js_helper$_length;
  27628. },
  27629. get$isEmpty(_) {
  27630. return this.__js_helper$_length === 0;
  27631. },
  27632. get$isNotEmpty(_) {
  27633. return this.__js_helper$_length !== 0;
  27634. },
  27635. get$keys(_) {
  27636. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  27637. },
  27638. get$values(_) {
  27639. var t1 = A._instanceType(this);
  27640. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  27641. },
  27642. containsKey$1(key) {
  27643. var strings, nums;
  27644. if (typeof key == "string") {
  27645. strings = this._strings;
  27646. if (strings == null)
  27647. return false;
  27648. return strings[key] != null;
  27649. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  27650. nums = this._nums;
  27651. if (nums == null)
  27652. return false;
  27653. return nums[key] != null;
  27654. } else
  27655. return this.internalContainsKey$1(key);
  27656. },
  27657. internalContainsKey$1(key) {
  27658. var rest = this.__js_helper$_rest;
  27659. if (rest == null)
  27660. return false;
  27661. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  27662. },
  27663. addAll$1(_, other) {
  27664. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  27665. },
  27666. $index(_, key) {
  27667. var strings, cell, t1, nums, _null = null;
  27668. if (typeof key == "string") {
  27669. strings = this._strings;
  27670. if (strings == null)
  27671. return _null;
  27672. cell = strings[key];
  27673. t1 = cell == null ? _null : cell.hashMapCellValue;
  27674. return t1;
  27675. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  27676. nums = this._nums;
  27677. if (nums == null)
  27678. return _null;
  27679. cell = nums[key];
  27680. t1 = cell == null ? _null : cell.hashMapCellValue;
  27681. return t1;
  27682. } else
  27683. return this.internalGet$1(key);
  27684. },
  27685. internalGet$1(key) {
  27686. var bucket, index,
  27687. rest = this.__js_helper$_rest;
  27688. if (rest == null)
  27689. return null;
  27690. bucket = rest[this.internalComputeHashCode$1(key)];
  27691. index = this.internalFindBucketIndex$2(bucket, key);
  27692. if (index < 0)
  27693. return null;
  27694. return bucket[index].hashMapCellValue;
  27695. },
  27696. $indexSet(_, key, value) {
  27697. var strings, nums, _this = this;
  27698. if (typeof key == "string") {
  27699. strings = _this._strings;
  27700. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  27701. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  27702. nums = _this._nums;
  27703. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  27704. } else
  27705. _this.internalSet$2(key, value);
  27706. },
  27707. internalSet$2(key, value) {
  27708. var hash, bucket, index, _this = this,
  27709. rest = _this.__js_helper$_rest;
  27710. if (rest == null)
  27711. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  27712. hash = _this.internalComputeHashCode$1(key);
  27713. bucket = rest[hash];
  27714. if (bucket == null)
  27715. rest[hash] = [_this._newLinkedCell$2(key, value)];
  27716. else {
  27717. index = _this.internalFindBucketIndex$2(bucket, key);
  27718. if (index >= 0)
  27719. bucket[index].hashMapCellValue = value;
  27720. else
  27721. bucket.push(_this._newLinkedCell$2(key, value));
  27722. }
  27723. },
  27724. putIfAbsent$2(key, ifAbsent) {
  27725. var t1, value, _this = this;
  27726. if (_this.containsKey$1(key)) {
  27727. t1 = _this.$index(0, key);
  27728. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  27729. }
  27730. value = ifAbsent.call$0();
  27731. _this.$indexSet(0, key, value);
  27732. return value;
  27733. },
  27734. remove$1(_, key) {
  27735. var _this = this;
  27736. if (typeof key == "string")
  27737. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  27738. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  27739. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  27740. else
  27741. return _this.internalRemove$1(key);
  27742. },
  27743. internalRemove$1(key) {
  27744. var hash, bucket, index, cell, _this = this,
  27745. rest = _this.__js_helper$_rest;
  27746. if (rest == null)
  27747. return null;
  27748. hash = _this.internalComputeHashCode$1(key);
  27749. bucket = rest[hash];
  27750. index = _this.internalFindBucketIndex$2(bucket, key);
  27751. if (index < 0)
  27752. return null;
  27753. cell = bucket.splice(index, 1)[0];
  27754. _this.__js_helper$_unlinkCell$1(cell);
  27755. if (bucket.length === 0)
  27756. delete rest[hash];
  27757. return cell.hashMapCellValue;
  27758. },
  27759. clear$0(_) {
  27760. var _this = this;
  27761. if (_this.__js_helper$_length > 0) {
  27762. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  27763. _this.__js_helper$_length = 0;
  27764. _this._modified$0();
  27765. }
  27766. },
  27767. forEach$1(_, action) {
  27768. var _this = this,
  27769. cell = _this._first,
  27770. modifications = _this._modifications;
  27771. for (; cell != null;) {
  27772. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  27773. if (modifications !== _this._modifications)
  27774. throw A.wrapException(A.ConcurrentModificationError$(_this));
  27775. cell = cell._next;
  27776. }
  27777. },
  27778. _addHashTableEntry$3(table, key, value) {
  27779. var cell = table[key];
  27780. if (cell == null)
  27781. table[key] = this._newLinkedCell$2(key, value);
  27782. else
  27783. cell.hashMapCellValue = value;
  27784. },
  27785. __js_helper$_removeHashTableEntry$2(table, key) {
  27786. var cell;
  27787. if (table == null)
  27788. return null;
  27789. cell = table[key];
  27790. if (cell == null)
  27791. return null;
  27792. this.__js_helper$_unlinkCell$1(cell);
  27793. delete table[key];
  27794. return cell.hashMapCellValue;
  27795. },
  27796. _modified$0() {
  27797. this._modifications = this._modifications + 1 & 1073741823;
  27798. },
  27799. _newLinkedCell$2(key, value) {
  27800. var t1, _this = this,
  27801. cell = new A.LinkedHashMapCell(key, value);
  27802. if (_this._first == null)
  27803. _this._first = _this._last = cell;
  27804. else {
  27805. t1 = _this._last;
  27806. t1.toString;
  27807. cell._previous = t1;
  27808. _this._last = t1._next = cell;
  27809. }
  27810. ++_this.__js_helper$_length;
  27811. _this._modified$0();
  27812. return cell;
  27813. },
  27814. __js_helper$_unlinkCell$1(cell) {
  27815. var _this = this,
  27816. previous = cell._previous,
  27817. next = cell._next;
  27818. if (previous == null)
  27819. _this._first = next;
  27820. else
  27821. previous._next = next;
  27822. if (next == null)
  27823. _this._last = previous;
  27824. else
  27825. next._previous = previous;
  27826. --_this.__js_helper$_length;
  27827. _this._modified$0();
  27828. },
  27829. internalComputeHashCode$1(key) {
  27830. return J.get$hashCode$(key) & 0x3fffffff;
  27831. },
  27832. internalFindBucketIndex$2(bucket, key) {
  27833. var $length, i;
  27834. if (bucket == null)
  27835. return -1;
  27836. $length = bucket.length;
  27837. for (i = 0; i < $length; ++i)
  27838. if (J.$eq$(bucket[i].hashMapCellKey, key))
  27839. return i;
  27840. return -1;
  27841. },
  27842. toString$0(_) {
  27843. return A.MapBase_mapToString(this);
  27844. },
  27845. _newHashTable$0() {
  27846. var table = Object.create(null);
  27847. table["<non-identifier-key>"] = table;
  27848. delete table["<non-identifier-key>"];
  27849. return table;
  27850. }
  27851. };
  27852. A.JsLinkedHashMap_values_closure.prototype = {
  27853. call$1(each) {
  27854. var t1 = this.$this,
  27855. t2 = t1.$index(0, each);
  27856. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  27857. },
  27858. $signature() {
  27859. return A._instanceType(this.$this)._eval$1("2(1)");
  27860. }
  27861. };
  27862. A.JsLinkedHashMap_addAll_closure.prototype = {
  27863. call$2(key, value) {
  27864. this.$this.$indexSet(0, key, value);
  27865. },
  27866. $signature() {
  27867. return A._instanceType(this.$this)._eval$1("~(1,2)");
  27868. }
  27869. };
  27870. A.LinkedHashMapCell.prototype = {};
  27871. A.LinkedHashMapKeyIterable.prototype = {
  27872. get$length(_) {
  27873. return this.__js_helper$_map.__js_helper$_length;
  27874. },
  27875. get$isEmpty(_) {
  27876. return this.__js_helper$_map.__js_helper$_length === 0;
  27877. },
  27878. get$iterator(_) {
  27879. var t1 = this.__js_helper$_map,
  27880. t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
  27881. t2._cell = t1._first;
  27882. return t2;
  27883. },
  27884. contains$1(_, element) {
  27885. return this.__js_helper$_map.containsKey$1(element);
  27886. }
  27887. };
  27888. A.LinkedHashMapKeyIterator.prototype = {
  27889. get$current(_) {
  27890. return this.__js_helper$_current;
  27891. },
  27892. moveNext$0() {
  27893. var cell, _this = this,
  27894. t1 = _this.__js_helper$_map;
  27895. if (_this._modifications !== t1._modifications)
  27896. throw A.wrapException(A.ConcurrentModificationError$(t1));
  27897. cell = _this._cell;
  27898. if (cell == null) {
  27899. _this.__js_helper$_current = null;
  27900. return false;
  27901. } else {
  27902. _this.__js_helper$_current = cell.hashMapCellKey;
  27903. _this._cell = cell._next;
  27904. return true;
  27905. }
  27906. }
  27907. };
  27908. A.initHooks_closure.prototype = {
  27909. call$1(o) {
  27910. return this.getTag(o);
  27911. },
  27912. $signature: 76
  27913. };
  27914. A.initHooks_closure0.prototype = {
  27915. call$2(o, tag) {
  27916. return this.getUnknownTag(o, tag);
  27917. },
  27918. $signature: 373
  27919. };
  27920. A.initHooks_closure1.prototype = {
  27921. call$1(tag) {
  27922. return this.prototypeForTag(tag);
  27923. },
  27924. $signature: 311
  27925. };
  27926. A.JSSyntaxRegExp.prototype = {
  27927. toString$0(_) {
  27928. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  27929. },
  27930. get$_nativeGlobalVersion() {
  27931. var _this = this,
  27932. t1 = _this._nativeGlobalRegExp;
  27933. if (t1 != null)
  27934. return t1;
  27935. t1 = _this._nativeRegExp;
  27936. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  27937. },
  27938. get$_nativeAnchoredVersion() {
  27939. var _this = this,
  27940. t1 = _this._nativeAnchoredRegExp;
  27941. if (t1 != null)
  27942. return t1;
  27943. t1 = _this._nativeRegExp;
  27944. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  27945. },
  27946. firstMatch$1(string) {
  27947. var m = this._nativeRegExp.exec(string);
  27948. if (m == null)
  27949. return null;
  27950. return new A._MatchImplementation(m);
  27951. },
  27952. allMatches$2(_, string, start) {
  27953. var t1 = string.length;
  27954. if (start > t1)
  27955. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  27956. return new A._AllMatchesIterable(this, string, start);
  27957. },
  27958. allMatches$1($receiver, string) {
  27959. return this.allMatches$2($receiver, string, 0);
  27960. },
  27961. _execGlobal$2(string, start) {
  27962. var match,
  27963. regexp = this.get$_nativeGlobalVersion();
  27964. regexp.lastIndex = start;
  27965. match = regexp.exec(string);
  27966. if (match == null)
  27967. return null;
  27968. return new A._MatchImplementation(match);
  27969. },
  27970. _execAnchored$2(string, start) {
  27971. var match,
  27972. regexp = this.get$_nativeAnchoredVersion();
  27973. regexp.lastIndex = start;
  27974. match = regexp.exec(string);
  27975. if (match == null)
  27976. return null;
  27977. if (match.pop() != null)
  27978. return null;
  27979. return new A._MatchImplementation(match);
  27980. },
  27981. matchAsPrefix$2(_, string, start) {
  27982. if (start < 0 || start > string.length)
  27983. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  27984. return this._execAnchored$2(string, start);
  27985. }
  27986. };
  27987. A._MatchImplementation.prototype = {
  27988. get$start(_) {
  27989. return this._match.index;
  27990. },
  27991. get$end(_) {
  27992. var t1 = this._match;
  27993. return t1.index + t1[0].length;
  27994. },
  27995. $isMatch: 1,
  27996. $isRegExpMatch: 1
  27997. };
  27998. A._AllMatchesIterable.prototype = {
  27999. get$iterator(_) {
  28000. return new A._AllMatchesIterator(this._re, this._string, this._start);
  28001. }
  28002. };
  28003. A._AllMatchesIterator.prototype = {
  28004. get$current(_) {
  28005. var t1 = this.__js_helper$_current;
  28006. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  28007. },
  28008. moveNext$0() {
  28009. var t1, t2, t3, match, nextIndex, _this = this,
  28010. string = _this._string;
  28011. if (string == null)
  28012. return false;
  28013. t1 = _this._nextIndex;
  28014. t2 = string.length;
  28015. if (t1 <= t2) {
  28016. t3 = _this._regExp;
  28017. match = t3._execGlobal$2(string, t1);
  28018. if (match != null) {
  28019. _this.__js_helper$_current = match;
  28020. nextIndex = match.get$end(match);
  28021. if (match._match.index === nextIndex) {
  28022. if (t3._nativeRegExp.unicode) {
  28023. t1 = _this._nextIndex;
  28024. t3 = t1 + 1;
  28025. if (t3 < t2) {
  28026. t1 = B.JSString_methods.codeUnitAt$1(string, t1);
  28027. if (t1 >= 55296 && t1 <= 56319) {
  28028. t1 = B.JSString_methods.codeUnitAt$1(string, t3);
  28029. t1 = t1 >= 56320 && t1 <= 57343;
  28030. } else
  28031. t1 = false;
  28032. } else
  28033. t1 = false;
  28034. } else
  28035. t1 = false;
  28036. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  28037. }
  28038. _this._nextIndex = nextIndex;
  28039. return true;
  28040. }
  28041. }
  28042. _this._string = _this.__js_helper$_current = null;
  28043. return false;
  28044. }
  28045. };
  28046. A.StringMatch.prototype = {
  28047. get$end(_) {
  28048. return this.start + this.pattern.length;
  28049. },
  28050. $isMatch: 1,
  28051. get$start(receiver) {
  28052. return this.start;
  28053. }
  28054. };
  28055. A._StringAllMatchesIterable.prototype = {
  28056. get$iterator(_) {
  28057. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  28058. },
  28059. get$first(_) {
  28060. var t1 = this._pattern,
  28061. index = this._input.indexOf(t1, this.__js_helper$_index);
  28062. if (index >= 0)
  28063. return new A.StringMatch(index, t1);
  28064. throw A.wrapException(A.IterableElementError_noElement());
  28065. }
  28066. };
  28067. A._StringAllMatchesIterator.prototype = {
  28068. moveNext$0() {
  28069. var index, end, _this = this,
  28070. t1 = _this.__js_helper$_index,
  28071. t2 = _this._pattern,
  28072. t3 = t2.length,
  28073. t4 = _this._input,
  28074. t5 = t4.length;
  28075. if (t1 + t3 > t5) {
  28076. _this.__js_helper$_current = null;
  28077. return false;
  28078. }
  28079. index = t4.indexOf(t2, t1);
  28080. if (index < 0) {
  28081. _this.__js_helper$_index = t5 + 1;
  28082. _this.__js_helper$_current = null;
  28083. return false;
  28084. }
  28085. end = index + t3;
  28086. _this.__js_helper$_current = new A.StringMatch(index, t2);
  28087. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  28088. return true;
  28089. },
  28090. get$current(_) {
  28091. var t1 = this.__js_helper$_current;
  28092. t1.toString;
  28093. return t1;
  28094. }
  28095. };
  28096. A._Cell.prototype = {
  28097. _readLocal$0() {
  28098. var t1 = this._value;
  28099. if (t1 === this)
  28100. throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  28101. return t1;
  28102. }
  28103. };
  28104. A.NativeTypedData.prototype = {
  28105. _invalidPosition$3(receiver, position, $length, $name) {
  28106. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  28107. throw A.wrapException(t1);
  28108. },
  28109. _checkPosition$3(receiver, position, $length, $name) {
  28110. if (position >>> 0 !== position || position > $length)
  28111. this._invalidPosition$3(receiver, position, $length, $name);
  28112. }
  28113. };
  28114. A.NativeTypedArray.prototype = {
  28115. get$length(receiver) {
  28116. return receiver.length;
  28117. },
  28118. _setRangeFast$4(receiver, start, end, source, skipCount) {
  28119. var count, sourceLength,
  28120. targetLength = receiver.length;
  28121. this._checkPosition$3(receiver, start, targetLength, "start");
  28122. this._checkPosition$3(receiver, end, targetLength, "end");
  28123. if (start > end)
  28124. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  28125. count = end - start;
  28126. if (skipCount < 0)
  28127. throw A.wrapException(A.ArgumentError$(skipCount, null));
  28128. sourceLength = source.length;
  28129. if (sourceLength - skipCount < count)
  28130. throw A.wrapException(A.StateError$("Not enough elements"));
  28131. if (skipCount !== 0 || sourceLength !== count)
  28132. source = source.subarray(skipCount, skipCount + count);
  28133. receiver.set(source, start);
  28134. },
  28135. $isJavaScriptIndexingBehavior: 1
  28136. };
  28137. A.NativeTypedArrayOfDouble.prototype = {
  28138. $index(receiver, index) {
  28139. A._checkValidIndex(index, receiver, receiver.length);
  28140. return receiver[index];
  28141. },
  28142. $indexSet(receiver, index, value) {
  28143. A._checkValidIndex(index, receiver, receiver.length);
  28144. receiver[index] = value;
  28145. },
  28146. setRange$4(receiver, start, end, iterable, skipCount) {
  28147. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  28148. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  28149. return;
  28150. }
  28151. this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
  28152. },
  28153. $isEfficientLengthIterable: 1,
  28154. $isIterable: 1,
  28155. $isList: 1
  28156. };
  28157. A.NativeTypedArrayOfInt.prototype = {
  28158. $indexSet(receiver, index, value) {
  28159. A._checkValidIndex(index, receiver, receiver.length);
  28160. receiver[index] = value;
  28161. },
  28162. setRange$4(receiver, start, end, iterable, skipCount) {
  28163. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  28164. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  28165. return;
  28166. }
  28167. this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount);
  28168. },
  28169. $isEfficientLengthIterable: 1,
  28170. $isIterable: 1,
  28171. $isList: 1
  28172. };
  28173. A.NativeInt16List.prototype = {
  28174. $index(receiver, index) {
  28175. A._checkValidIndex(index, receiver, receiver.length);
  28176. return receiver[index];
  28177. }
  28178. };
  28179. A.NativeInt32List.prototype = {
  28180. $index(receiver, index) {
  28181. A._checkValidIndex(index, receiver, receiver.length);
  28182. return receiver[index];
  28183. }
  28184. };
  28185. A.NativeInt8List.prototype = {
  28186. $index(receiver, index) {
  28187. A._checkValidIndex(index, receiver, receiver.length);
  28188. return receiver[index];
  28189. }
  28190. };
  28191. A.NativeUint16List.prototype = {
  28192. $index(receiver, index) {
  28193. A._checkValidIndex(index, receiver, receiver.length);
  28194. return receiver[index];
  28195. }
  28196. };
  28197. A.NativeUint32List.prototype = {
  28198. $index(receiver, index) {
  28199. A._checkValidIndex(index, receiver, receiver.length);
  28200. return receiver[index];
  28201. },
  28202. sublist$2(receiver, start, end) {
  28203. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  28204. }
  28205. };
  28206. A.NativeUint8ClampedList.prototype = {
  28207. get$length(receiver) {
  28208. return receiver.length;
  28209. },
  28210. $index(receiver, index) {
  28211. A._checkValidIndex(index, receiver, receiver.length);
  28212. return receiver[index];
  28213. }
  28214. };
  28215. A.NativeUint8List.prototype = {
  28216. get$length(receiver) {
  28217. return receiver.length;
  28218. },
  28219. $index(receiver, index) {
  28220. A._checkValidIndex(index, receiver, receiver.length);
  28221. return receiver[index];
  28222. },
  28223. $isNativeUint8List: 1,
  28224. $isUint8List: 1
  28225. };
  28226. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  28227. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  28228. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  28229. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  28230. A.Rti.prototype = {
  28231. _eval$1(recipe) {
  28232. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  28233. },
  28234. _bind$1(typeOrTuple) {
  28235. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  28236. }
  28237. };
  28238. A._FunctionParameters.prototype = {};
  28239. A._Type.prototype = {
  28240. toString$0(_) {
  28241. return A._rtiToString(this._rti, null);
  28242. },
  28243. $isType: 1
  28244. };
  28245. A._Error.prototype = {
  28246. toString$0(_) {
  28247. return this.__rti$_message;
  28248. }
  28249. };
  28250. A._TypeError.prototype = {
  28251. get$message(_) {
  28252. return this.__rti$_message;
  28253. },
  28254. $isTypeError: 1
  28255. };
  28256. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  28257. call$1(_) {
  28258. var t1 = this._box_0,
  28259. f = t1.storedCallback;
  28260. t1.storedCallback = null;
  28261. f.call$0();
  28262. },
  28263. $signature: 64
  28264. };
  28265. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  28266. call$1(callback) {
  28267. var t1, t2;
  28268. this._box_0.storedCallback = callback;
  28269. t1 = this.div;
  28270. t2 = this.span;
  28271. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  28272. },
  28273. $signature: 28
  28274. };
  28275. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  28276. call$0() {
  28277. this.callback.call$0();
  28278. },
  28279. $signature: 1
  28280. };
  28281. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  28282. call$0() {
  28283. this.callback.call$0();
  28284. },
  28285. $signature: 1
  28286. };
  28287. A._TimerImpl.prototype = {
  28288. _TimerImpl$2(milliseconds, callback) {
  28289. if (self.setTimeout != null)
  28290. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  28291. else
  28292. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  28293. },
  28294. _TimerImpl$periodic$2(milliseconds, callback) {
  28295. if (self.setTimeout != null)
  28296. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  28297. else
  28298. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  28299. },
  28300. cancel$0() {
  28301. if (self.setTimeout != null) {
  28302. var t1 = this._handle;
  28303. if (t1 == null)
  28304. return;
  28305. if (this._once)
  28306. self.clearTimeout(t1);
  28307. else
  28308. self.clearInterval(t1);
  28309. this._handle = null;
  28310. } else
  28311. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  28312. }
  28313. };
  28314. A._TimerImpl_internalCallback.prototype = {
  28315. call$0() {
  28316. var t1 = this.$this;
  28317. t1._handle = null;
  28318. t1._tick = 1;
  28319. this.callback.call$0();
  28320. },
  28321. $signature: 0
  28322. };
  28323. A._TimerImpl$periodic_closure.prototype = {
  28324. call$0() {
  28325. var duration, _this = this,
  28326. t1 = _this.$this,
  28327. tick = t1._tick + 1,
  28328. t2 = _this.milliseconds;
  28329. if (t2 > 0) {
  28330. duration = Date.now() - _this.start;
  28331. if (duration > (tick + 1) * t2)
  28332. tick = B.JSInt_methods.$tdiv(duration, t2);
  28333. }
  28334. t1._tick = tick;
  28335. _this.callback.call$1(t1);
  28336. },
  28337. $signature: 1
  28338. };
  28339. A._AsyncAwaitCompleter.prototype = {
  28340. complete$1(value) {
  28341. var t1, _this = this;
  28342. if (value == null)
  28343. _this.$ti._precomputed1._as(value);
  28344. if (!_this.isSync)
  28345. _this._future._asyncComplete$1(value);
  28346. else {
  28347. t1 = _this._future;
  28348. if (_this.$ti._eval$1("Future<1>")._is(value))
  28349. t1._chainFuture$1(value);
  28350. else
  28351. t1._completeWithValue$1(value);
  28352. }
  28353. },
  28354. completeError$2(e, st) {
  28355. var t1 = this._future;
  28356. if (this.isSync)
  28357. t1._completeError$2(e, st);
  28358. else
  28359. t1._asyncCompleteError$2(e, st);
  28360. }
  28361. };
  28362. A._awaitOnObject_closure.prototype = {
  28363. call$1(result) {
  28364. return this.bodyFunction.call$2(0, result);
  28365. },
  28366. $signature: 137
  28367. };
  28368. A._awaitOnObject_closure0.prototype = {
  28369. call$2(error, stackTrace) {
  28370. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  28371. },
  28372. $signature: 308
  28373. };
  28374. A._wrapJsFunctionForAsync_closure.prototype = {
  28375. call$2(errorCode, result) {
  28376. this.$protected(errorCode, result);
  28377. },
  28378. $signature: 398
  28379. };
  28380. A._IterationMarker.prototype = {
  28381. toString$0(_) {
  28382. return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")";
  28383. }
  28384. };
  28385. A._SyncStarIterator.prototype = {
  28386. get$current(_) {
  28387. var nested = this._nestedIterator;
  28388. if (nested == null)
  28389. return this._async$_current;
  28390. return nested.get$current(nested);
  28391. },
  28392. moveNext$0() {
  28393. var t1, value, state, suspendedBodies, inner, _this = this;
  28394. for (; true;) {
  28395. t1 = _this._nestedIterator;
  28396. if (t1 != null)
  28397. if (t1.moveNext$0())
  28398. return true;
  28399. else
  28400. _this._nestedIterator = null;
  28401. value = function(body, SUCCESS, ERROR) {
  28402. var errorValue,
  28403. errorCode = SUCCESS;
  28404. while (true)
  28405. try {
  28406. return body(errorCode, errorValue);
  28407. } catch (error) {
  28408. errorValue = error;
  28409. errorCode = ERROR;
  28410. }
  28411. }(_this._body, 0, 1);
  28412. if (value instanceof A._IterationMarker) {
  28413. state = value.state;
  28414. if (state === 2) {
  28415. suspendedBodies = _this._suspendedBodies;
  28416. if (suspendedBodies == null || suspendedBodies.length === 0) {
  28417. _this._async$_current = null;
  28418. return false;
  28419. }
  28420. _this._body = suspendedBodies.pop();
  28421. continue;
  28422. } else {
  28423. t1 = value.value;
  28424. if (state === 3)
  28425. throw t1;
  28426. else {
  28427. inner = J.get$iterator$ax(t1);
  28428. if (inner instanceof A._SyncStarIterator) {
  28429. t1 = _this._suspendedBodies;
  28430. if (t1 == null)
  28431. t1 = _this._suspendedBodies = [];
  28432. t1.push(_this._body);
  28433. _this._body = inner._body;
  28434. continue;
  28435. } else {
  28436. _this._nestedIterator = inner;
  28437. continue;
  28438. }
  28439. }
  28440. }
  28441. } else {
  28442. _this._async$_current = value;
  28443. return true;
  28444. }
  28445. }
  28446. return false;
  28447. }
  28448. };
  28449. A._SyncStarIterable.prototype = {
  28450. get$iterator(_) {
  28451. return new A._SyncStarIterator(this._outerHelper());
  28452. }
  28453. };
  28454. A.AsyncError.prototype = {
  28455. toString$0(_) {
  28456. return A.S(this.error);
  28457. },
  28458. $isError: 1,
  28459. get$stackTrace() {
  28460. return this.stackTrace;
  28461. }
  28462. };
  28463. A.Future_wait_handleError.prototype = {
  28464. call$2(theError, theStackTrace) {
  28465. var _this = this,
  28466. t1 = _this._box_0,
  28467. t2 = --t1.remaining;
  28468. if (t1.values != null) {
  28469. t1.values = null;
  28470. if (t1.remaining === 0 || _this.eagerError)
  28471. _this._future._completeError$2(theError, theStackTrace);
  28472. else {
  28473. _this.error._value = theError;
  28474. _this.stackTrace._value = theStackTrace;
  28475. }
  28476. } else if (t2 === 0 && !_this.eagerError)
  28477. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  28478. },
  28479. $signature: 74
  28480. };
  28481. A.Future_wait_closure.prototype = {
  28482. call$1(value) {
  28483. var valueList, _this = this,
  28484. t1 = _this._box_0;
  28485. --t1.remaining;
  28486. valueList = t1.values;
  28487. if (valueList != null) {
  28488. J.$indexSet$ax(valueList, _this.pos, value);
  28489. if (t1.remaining === 0)
  28490. _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
  28491. } else if (t1.remaining === 0 && !_this.eagerError)
  28492. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  28493. },
  28494. $signature() {
  28495. return this.T._eval$1("Null(0)");
  28496. }
  28497. };
  28498. A._Completer.prototype = {
  28499. completeError$2(error, stackTrace) {
  28500. var replacement;
  28501. A.checkNotNullable(error, "error", type$.Object);
  28502. if ((this.future._state & 30) !== 0)
  28503. throw A.wrapException(A.StateError$("Future already completed"));
  28504. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  28505. if (replacement != null) {
  28506. error = replacement.error;
  28507. stackTrace = replacement.stackTrace;
  28508. } else if (stackTrace == null)
  28509. stackTrace = A.AsyncError_defaultStackTrace(error);
  28510. this._completeError$2(error, stackTrace);
  28511. },
  28512. completeError$1(error) {
  28513. return this.completeError$2(error, null);
  28514. }
  28515. };
  28516. A._AsyncCompleter.prototype = {
  28517. complete$1(value) {
  28518. var t1 = this.future;
  28519. if ((t1._state & 30) !== 0)
  28520. throw A.wrapException(A.StateError$("Future already completed"));
  28521. t1._asyncComplete$1(value);
  28522. },
  28523. complete$0() {
  28524. return this.complete$1(null);
  28525. },
  28526. _completeError$2(error, stackTrace) {
  28527. this.future._asyncCompleteError$2(error, stackTrace);
  28528. }
  28529. };
  28530. A._SyncCompleter.prototype = {
  28531. complete$1(value) {
  28532. var t1 = this.future;
  28533. if ((t1._state & 30) !== 0)
  28534. throw A.wrapException(A.StateError$("Future already completed"));
  28535. t1._complete$1(value);
  28536. },
  28537. _completeError$2(error, stackTrace) {
  28538. this.future._completeError$2(error, stackTrace);
  28539. }
  28540. };
  28541. A._FutureListener.prototype = {
  28542. matchesErrorTest$1(asyncError) {
  28543. if ((this.state & 15) !== 6)
  28544. return true;
  28545. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  28546. },
  28547. handleError$1(asyncError) {
  28548. var exception,
  28549. errorCallback = this.errorCallback,
  28550. result = null,
  28551. t1 = type$.dynamic,
  28552. t2 = type$.Object,
  28553. t3 = asyncError.error,
  28554. t4 = this.result._zone;
  28555. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  28556. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  28557. else
  28558. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  28559. try {
  28560. t1 = result;
  28561. return t1;
  28562. } catch (exception) {
  28563. if (type$.TypeError._is(A.unwrapException(exception))) {
  28564. if ((this.state & 1) !== 0)
  28565. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  28566. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  28567. } else
  28568. throw exception;
  28569. }
  28570. }
  28571. };
  28572. A._Future.prototype = {
  28573. then$1$2$onError(_, f, onError, $R) {
  28574. var result, t1,
  28575. currentZone = $.Zone__current;
  28576. if (currentZone === B.C__RootZone) {
  28577. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  28578. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  28579. } else {
  28580. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  28581. if (onError != null)
  28582. onError = A._registerErrorHandler(onError, currentZone);
  28583. }
  28584. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  28585. t1 = onError == null ? 1 : 3;
  28586. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  28587. return result;
  28588. },
  28589. then$1$1($receiver, f, $R) {
  28590. return this.then$1$2$onError($receiver, f, null, $R);
  28591. },
  28592. _thenAwait$1$2(f, onError, $E) {
  28593. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  28594. this._addListener$1(new A._FutureListener(result, 3, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  28595. return result;
  28596. },
  28597. whenComplete$1(action) {
  28598. var t1 = this.$ti,
  28599. t2 = $.Zone__current,
  28600. result = new A._Future(t2, t1);
  28601. if (t2 !== B.C__RootZone)
  28602. action = t2.registerCallback$1$1(action, type$.dynamic);
  28603. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  28604. return result;
  28605. },
  28606. _setErrorObject$1(error) {
  28607. this._state = this._state & 1 | 16;
  28608. this._resultOrListeners = error;
  28609. },
  28610. _cloneResult$1(source) {
  28611. this._state = source._state & 30 | this._state & 1;
  28612. this._resultOrListeners = source._resultOrListeners;
  28613. },
  28614. _addListener$1(listener) {
  28615. var _this = this,
  28616. t1 = _this._state;
  28617. if (t1 <= 3) {
  28618. listener._nextListener = _this._resultOrListeners;
  28619. _this._resultOrListeners = listener;
  28620. } else {
  28621. if ((t1 & 4) !== 0) {
  28622. t1 = _this._resultOrListeners;
  28623. if ((t1._state & 24) === 0) {
  28624. t1._addListener$1(listener);
  28625. return;
  28626. }
  28627. _this._cloneResult$1(t1);
  28628. }
  28629. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  28630. }
  28631. },
  28632. _prependListeners$1(listeners) {
  28633. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  28634. _box_0.listeners = listeners;
  28635. if (listeners == null)
  28636. return;
  28637. t1 = _this._state;
  28638. if (t1 <= 3) {
  28639. existingListeners = _this._resultOrListeners;
  28640. _this._resultOrListeners = listeners;
  28641. if (existingListeners != null) {
  28642. next = listeners._nextListener;
  28643. for (cursor = listeners; next != null; cursor = next, next = next0)
  28644. next0 = next._nextListener;
  28645. cursor._nextListener = existingListeners;
  28646. }
  28647. } else {
  28648. if ((t1 & 4) !== 0) {
  28649. t1 = _this._resultOrListeners;
  28650. if ((t1._state & 24) === 0) {
  28651. t1._prependListeners$1(listeners);
  28652. return;
  28653. }
  28654. _this._cloneResult$1(t1);
  28655. }
  28656. _box_0.listeners = _this._reverseListeners$1(listeners);
  28657. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  28658. }
  28659. },
  28660. _removeListeners$0() {
  28661. var current = this._resultOrListeners;
  28662. this._resultOrListeners = null;
  28663. return this._reverseListeners$1(current);
  28664. },
  28665. _reverseListeners$1(listeners) {
  28666. var current, prev, next;
  28667. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  28668. next = current._nextListener;
  28669. current._nextListener = prev;
  28670. }
  28671. return prev;
  28672. },
  28673. _chainForeignFuture$1(source) {
  28674. var e, s, exception, _this = this;
  28675. _this._state ^= 2;
  28676. try {
  28677. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  28678. } catch (exception) {
  28679. e = A.unwrapException(exception);
  28680. s = A.getTraceFromException(exception);
  28681. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  28682. }
  28683. },
  28684. _complete$1(value) {
  28685. var listeners, _this = this,
  28686. t1 = _this.$ti;
  28687. if (t1._eval$1("Future<1>")._is(value))
  28688. if (t1._is(value))
  28689. A._Future__chainCoreFuture(value, _this);
  28690. else
  28691. _this._chainForeignFuture$1(value);
  28692. else {
  28693. listeners = _this._removeListeners$0();
  28694. _this._state = 8;
  28695. _this._resultOrListeners = value;
  28696. A._Future__propagateToListeners(_this, listeners);
  28697. }
  28698. },
  28699. _completeWithValue$1(value) {
  28700. var _this = this,
  28701. listeners = _this._removeListeners$0();
  28702. _this._state = 8;
  28703. _this._resultOrListeners = value;
  28704. A._Future__propagateToListeners(_this, listeners);
  28705. },
  28706. _completeError$2(error, stackTrace) {
  28707. var listeners = this._removeListeners$0();
  28708. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  28709. A._Future__propagateToListeners(this, listeners);
  28710. },
  28711. _asyncComplete$1(value) {
  28712. if (this.$ti._eval$1("Future<1>")._is(value)) {
  28713. this._chainFuture$1(value);
  28714. return;
  28715. }
  28716. this._asyncCompleteWithValue$1(value);
  28717. },
  28718. _asyncCompleteWithValue$1(value) {
  28719. this._state ^= 2;
  28720. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  28721. },
  28722. _chainFuture$1(value) {
  28723. var _this = this;
  28724. if (_this.$ti._is(value)) {
  28725. if ((value._state & 16) !== 0) {
  28726. _this._state ^= 2;
  28727. _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value));
  28728. } else
  28729. A._Future__chainCoreFuture(value, _this);
  28730. return;
  28731. }
  28732. _this._chainForeignFuture$1(value);
  28733. },
  28734. _asyncCompleteError$2(error, stackTrace) {
  28735. this._state ^= 2;
  28736. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  28737. },
  28738. $isFuture: 1
  28739. };
  28740. A._Future__addListener_closure.prototype = {
  28741. call$0() {
  28742. A._Future__propagateToListeners(this.$this, this.listener);
  28743. },
  28744. $signature: 0
  28745. };
  28746. A._Future__prependListeners_closure.prototype = {
  28747. call$0() {
  28748. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  28749. },
  28750. $signature: 0
  28751. };
  28752. A._Future__chainForeignFuture_closure.prototype = {
  28753. call$1(value) {
  28754. var error, stackTrace, exception,
  28755. t1 = this.$this;
  28756. t1._state ^= 2;
  28757. try {
  28758. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  28759. } catch (exception) {
  28760. error = A.unwrapException(exception);
  28761. stackTrace = A.getTraceFromException(exception);
  28762. t1._completeError$2(error, stackTrace);
  28763. }
  28764. },
  28765. $signature: 64
  28766. };
  28767. A._Future__chainForeignFuture_closure0.prototype = {
  28768. call$2(error, stackTrace) {
  28769. this.$this._completeError$2(error, stackTrace);
  28770. },
  28771. $signature: 66
  28772. };
  28773. A._Future__chainForeignFuture_closure1.prototype = {
  28774. call$0() {
  28775. this.$this._completeError$2(this.e, this.s);
  28776. },
  28777. $signature: 0
  28778. };
  28779. A._Future__asyncCompleteWithValue_closure.prototype = {
  28780. call$0() {
  28781. this.$this._completeWithValue$1(this.value);
  28782. },
  28783. $signature: 0
  28784. };
  28785. A._Future__chainFuture_closure.prototype = {
  28786. call$0() {
  28787. A._Future__chainCoreFuture(this.value, this.$this);
  28788. },
  28789. $signature: 0
  28790. };
  28791. A._Future__asyncCompleteError_closure.prototype = {
  28792. call$0() {
  28793. this.$this._completeError$2(this.error, this.stackTrace);
  28794. },
  28795. $signature: 0
  28796. };
  28797. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  28798. call$0() {
  28799. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  28800. try {
  28801. t1 = _this._box_0.listener;
  28802. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  28803. } catch (exception) {
  28804. e = A.unwrapException(exception);
  28805. s = A.getTraceFromException(exception);
  28806. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  28807. t2 = _this._box_0;
  28808. if (t1)
  28809. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  28810. else
  28811. t2.listenerValueOrError = A.AsyncError$(e, s);
  28812. t2.listenerHasError = true;
  28813. return;
  28814. }
  28815. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  28816. if ((completeResult._state & 16) !== 0) {
  28817. t1 = _this._box_0;
  28818. t1.listenerValueOrError = completeResult._resultOrListeners;
  28819. t1.listenerHasError = true;
  28820. }
  28821. return;
  28822. }
  28823. if (type$.Future_dynamic._is(completeResult)) {
  28824. originalSource = _this._box_1.source;
  28825. t1 = _this._box_0;
  28826. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  28827. t1.listenerHasError = false;
  28828. }
  28829. },
  28830. $signature: 0
  28831. };
  28832. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  28833. call$1(_) {
  28834. return this.originalSource;
  28835. },
  28836. $signature: 391
  28837. };
  28838. A._Future__propagateToListeners_handleValueCallback.prototype = {
  28839. call$0() {
  28840. var e, s, t1, t2, t3, exception;
  28841. try {
  28842. t1 = this._box_0;
  28843. t2 = t1.listener;
  28844. t3 = t2.$ti;
  28845. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  28846. } catch (exception) {
  28847. e = A.unwrapException(exception);
  28848. s = A.getTraceFromException(exception);
  28849. t1 = this._box_0;
  28850. t1.listenerValueOrError = A.AsyncError$(e, s);
  28851. t1.listenerHasError = true;
  28852. }
  28853. },
  28854. $signature: 0
  28855. };
  28856. A._Future__propagateToListeners_handleError.prototype = {
  28857. call$0() {
  28858. var asyncError, e, s, t1, exception, t2, _this = this;
  28859. try {
  28860. asyncError = _this._box_1.source._resultOrListeners;
  28861. t1 = _this._box_0;
  28862. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  28863. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  28864. t1.listenerHasError = false;
  28865. }
  28866. } catch (exception) {
  28867. e = A.unwrapException(exception);
  28868. s = A.getTraceFromException(exception);
  28869. t1 = _this._box_1.source._resultOrListeners;
  28870. t2 = _this._box_0;
  28871. if (t1.error === e)
  28872. t2.listenerValueOrError = t1;
  28873. else
  28874. t2.listenerValueOrError = A.AsyncError$(e, s);
  28875. t2.listenerHasError = true;
  28876. }
  28877. },
  28878. $signature: 0
  28879. };
  28880. A._AsyncCallbackEntry.prototype = {};
  28881. A.Stream.prototype = {
  28882. get$isBroadcast() {
  28883. return false;
  28884. },
  28885. get$length(_) {
  28886. var t1 = {},
  28887. future = new A._Future($.Zone__current, type$._Future_int);
  28888. t1.count = 0;
  28889. 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());
  28890. return future;
  28891. }
  28892. };
  28893. A.Stream_Stream$fromFuture_closure.prototype = {
  28894. call$1(value) {
  28895. var t1 = this.controller;
  28896. t1._async$_add$1(value);
  28897. t1._closeUnchecked$0();
  28898. },
  28899. $signature() {
  28900. return this.T._eval$1("Null(0)");
  28901. }
  28902. };
  28903. A.Stream_Stream$fromFuture_closure0.prototype = {
  28904. call$2(error, stackTrace) {
  28905. var t1 = this.controller;
  28906. t1._addError$2(error, stackTrace);
  28907. t1._closeUnchecked$0();
  28908. },
  28909. $signature: 524
  28910. };
  28911. A.Stream_length_closure.prototype = {
  28912. call$1(_) {
  28913. ++this._box_0.count;
  28914. },
  28915. $signature() {
  28916. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  28917. }
  28918. };
  28919. A.Stream_length_closure0.prototype = {
  28920. call$0() {
  28921. this.future._complete$1(this._box_0.count);
  28922. },
  28923. $signature: 0
  28924. };
  28925. A.StreamTransformerBase.prototype = {};
  28926. A._StreamController.prototype = {
  28927. get$stream() {
  28928. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  28929. },
  28930. get$_pendingEvents() {
  28931. if ((this._state & 8) === 0)
  28932. return this._varData;
  28933. return this._varData.varData;
  28934. },
  28935. _ensurePendingEvents$0() {
  28936. var events, state, _this = this;
  28937. if ((_this._state & 8) === 0) {
  28938. events = _this._varData;
  28939. return events == null ? _this._varData = new A._PendingEvents() : events;
  28940. }
  28941. state = _this._varData;
  28942. events = state.varData;
  28943. return events == null ? state.varData = new A._PendingEvents() : events;
  28944. },
  28945. get$_subscription() {
  28946. var varData = this._varData;
  28947. return (this._state & 8) !== 0 ? varData.varData : varData;
  28948. },
  28949. _badEventState$0() {
  28950. if ((this._state & 4) !== 0)
  28951. return new A.StateError("Cannot add event after closing");
  28952. return new A.StateError("Cannot add event while adding a stream");
  28953. },
  28954. addStream$2$cancelOnError(source, cancelOnError) {
  28955. var t2, t3, t4, _this = this,
  28956. t1 = _this._state;
  28957. if (t1 >= 4)
  28958. throw A.wrapException(_this._badEventState$0());
  28959. if ((t1 & 2) !== 0) {
  28960. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  28961. t1._asyncComplete$1(null);
  28962. return t1;
  28963. }
  28964. t1 = _this._varData;
  28965. t2 = new A._Future($.Zone__current, type$._Future_dynamic);
  28966. t3 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), false, _this.get$_close(), _this.get$_addError());
  28967. t4 = _this._state;
  28968. if ((t4 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t4 & 2) === 0)
  28969. t3.pause$0(0);
  28970. _this._varData = new A._StreamControllerAddStreamState(t1, t2, t3);
  28971. _this._state |= 8;
  28972. return t2;
  28973. },
  28974. _ensureDoneFuture$0() {
  28975. var t1 = this._doneFuture;
  28976. if (t1 == null)
  28977. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  28978. return t1;
  28979. },
  28980. add$1(_, value) {
  28981. if (this._state >= 4)
  28982. throw A.wrapException(this._badEventState$0());
  28983. this._async$_add$1(value);
  28984. },
  28985. addError$2(error, stackTrace) {
  28986. var replacement;
  28987. A.checkNotNullable(error, "error", type$.Object);
  28988. if (this._state >= 4)
  28989. throw A.wrapException(this._badEventState$0());
  28990. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  28991. if (replacement != null) {
  28992. error = replacement.error;
  28993. stackTrace = replacement.stackTrace;
  28994. } else if (stackTrace == null)
  28995. stackTrace = A.AsyncError_defaultStackTrace(error);
  28996. this._addError$2(error, stackTrace);
  28997. },
  28998. addError$1(error) {
  28999. return this.addError$2(error, null);
  29000. },
  29001. close$0(_) {
  29002. var _this = this,
  29003. t1 = _this._state;
  29004. if ((t1 & 4) !== 0)
  29005. return _this._ensureDoneFuture$0();
  29006. if (t1 >= 4)
  29007. throw A.wrapException(_this._badEventState$0());
  29008. _this._closeUnchecked$0();
  29009. return _this._ensureDoneFuture$0();
  29010. },
  29011. _closeUnchecked$0() {
  29012. var t1 = this._state |= 4;
  29013. if ((t1 & 1) !== 0)
  29014. this._sendDone$0();
  29015. else if ((t1 & 3) === 0)
  29016. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  29017. },
  29018. _async$_add$1(value) {
  29019. var t1 = this._state;
  29020. if ((t1 & 1) !== 0)
  29021. this._sendData$1(value);
  29022. else if ((t1 & 3) === 0)
  29023. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  29024. },
  29025. _addError$2(error, stackTrace) {
  29026. var t1 = this._state;
  29027. if ((t1 & 1) !== 0)
  29028. this._sendError$2(error, stackTrace);
  29029. else if ((t1 & 3) === 0)
  29030. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  29031. },
  29032. _close$0() {
  29033. var addState = this._varData;
  29034. this._varData = addState.varData;
  29035. this._state &= 4294967287;
  29036. addState.addStreamFuture._asyncComplete$1(null);
  29037. },
  29038. _subscribe$4(onData, onError, onDone, cancelOnError) {
  29039. var subscription, pendingEvents, t1, addState, _this = this;
  29040. if ((_this._state & 3) !== 0)
  29041. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  29042. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  29043. pendingEvents = _this.get$_pendingEvents();
  29044. t1 = _this._state |= 1;
  29045. if ((t1 & 8) !== 0) {
  29046. addState = _this._varData;
  29047. addState.varData = subscription;
  29048. addState.addSubscription.resume$0(0);
  29049. } else
  29050. _this._varData = subscription;
  29051. subscription._setPendingEvents$1(pendingEvents);
  29052. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  29053. return subscription;
  29054. },
  29055. _recordCancel$1(subscription) {
  29056. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  29057. if ((_this._state & 8) !== 0)
  29058. result = _this._varData.cancel$0();
  29059. _this._varData = null;
  29060. _this._state = _this._state & 4294967286 | 2;
  29061. onCancel = _this.onCancel;
  29062. if (onCancel != null)
  29063. if (result == null)
  29064. try {
  29065. cancelResult = onCancel.call$0();
  29066. if (type$.Future_void._is(cancelResult))
  29067. result = cancelResult;
  29068. } catch (exception) {
  29069. e = A.unwrapException(exception);
  29070. s = A.getTraceFromException(exception);
  29071. result0 = new A._Future($.Zone__current, type$._Future_void);
  29072. result0._asyncCompleteError$2(e, s);
  29073. result = result0;
  29074. }
  29075. else
  29076. result = result.whenComplete$1(onCancel);
  29077. t1 = new A._StreamController__recordCancel_complete(_this);
  29078. if (result != null)
  29079. result = result.whenComplete$1(t1);
  29080. else
  29081. t1.call$0();
  29082. return result;
  29083. },
  29084. _recordPause$1(subscription) {
  29085. if ((this._state & 8) !== 0)
  29086. this._varData.addSubscription.pause$0(0);
  29087. A._runGuarded(this.onPause);
  29088. },
  29089. _recordResume$1(subscription) {
  29090. if ((this._state & 8) !== 0)
  29091. this._varData.addSubscription.resume$0(0);
  29092. A._runGuarded(this.onResume);
  29093. },
  29094. $isEventSink: 1,
  29095. set$onPause(val) {
  29096. return this.onPause = val;
  29097. },
  29098. set$onResume(val) {
  29099. return this.onResume = val;
  29100. },
  29101. set$onCancel(val) {
  29102. return this.onCancel = val;
  29103. }
  29104. };
  29105. A._StreamController__subscribe_closure.prototype = {
  29106. call$0() {
  29107. A._runGuarded(this.$this.onListen);
  29108. },
  29109. $signature: 0
  29110. };
  29111. A._StreamController__recordCancel_complete.prototype = {
  29112. call$0() {
  29113. var doneFuture = this.$this._doneFuture;
  29114. if (doneFuture != null && (doneFuture._state & 30) === 0)
  29115. doneFuture._asyncComplete$1(null);
  29116. },
  29117. $signature: 0
  29118. };
  29119. A._SyncStreamControllerDispatch.prototype = {
  29120. _sendData$1(data) {
  29121. this.get$_subscription()._async$_add$1(data);
  29122. },
  29123. _sendError$2(error, stackTrace) {
  29124. this.get$_subscription()._addError$2(error, stackTrace);
  29125. },
  29126. _sendDone$0() {
  29127. this.get$_subscription()._close$0();
  29128. }
  29129. };
  29130. A._AsyncStreamControllerDispatch.prototype = {
  29131. _sendData$1(data) {
  29132. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  29133. },
  29134. _sendError$2(error, stackTrace) {
  29135. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  29136. },
  29137. _sendDone$0() {
  29138. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  29139. }
  29140. };
  29141. A._AsyncStreamController.prototype = {};
  29142. A._SyncStreamController.prototype = {};
  29143. A._ControllerStream.prototype = {
  29144. get$hashCode(_) {
  29145. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  29146. },
  29147. $eq(_, other) {
  29148. if (other == null)
  29149. return false;
  29150. if (this === other)
  29151. return true;
  29152. return other instanceof A._ControllerStream && other._controller === this._controller;
  29153. }
  29154. };
  29155. A._ControllerSubscription.prototype = {
  29156. _async$_onCancel$0() {
  29157. return this._controller._recordCancel$1(this);
  29158. },
  29159. _async$_onPause$0() {
  29160. this._controller._recordPause$1(this);
  29161. },
  29162. _async$_onResume$0() {
  29163. this._controller._recordResume$1(this);
  29164. }
  29165. };
  29166. A._AddStreamState.prototype = {
  29167. cancel$0() {
  29168. var cancel = this.addSubscription.cancel$0();
  29169. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  29170. }
  29171. };
  29172. A._AddStreamState_cancel_closure.prototype = {
  29173. call$0() {
  29174. this.$this.addStreamFuture._asyncComplete$1(null);
  29175. },
  29176. $signature: 1
  29177. };
  29178. A._StreamControllerAddStreamState.prototype = {};
  29179. A._BufferingStreamSubscription.prototype = {
  29180. _setPendingEvents$1(pendingEvents) {
  29181. var _this = this;
  29182. if (pendingEvents == null)
  29183. return;
  29184. _this._pending = pendingEvents;
  29185. if (pendingEvents.lastPendingEvent != null) {
  29186. _this._state = (_this._state | 64) >>> 0;
  29187. pendingEvents.schedule$1(_this);
  29188. }
  29189. },
  29190. pause$1(_, resumeSignal) {
  29191. var t2, t3, _this = this,
  29192. t1 = _this._state;
  29193. if ((t1 & 8) !== 0)
  29194. return;
  29195. t2 = (t1 + 128 | 4) >>> 0;
  29196. _this._state = t2;
  29197. if (t1 < 128) {
  29198. t3 = _this._pending;
  29199. if (t3 != null)
  29200. if (t3._state === 1)
  29201. t3._state = 3;
  29202. }
  29203. if ((t1 & 4) === 0 && (t2 & 32) === 0)
  29204. _this._guardCallback$1(_this.get$_async$_onPause());
  29205. },
  29206. pause$0($receiver) {
  29207. return this.pause$1($receiver, null);
  29208. },
  29209. resume$0(_) {
  29210. var _this = this,
  29211. t1 = _this._state;
  29212. if ((t1 & 8) !== 0)
  29213. return;
  29214. if (t1 >= 128) {
  29215. t1 = _this._state = t1 - 128;
  29216. if (t1 < 128)
  29217. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
  29218. _this._pending.schedule$1(_this);
  29219. else {
  29220. t1 = (t1 & 4294967291) >>> 0;
  29221. _this._state = t1;
  29222. if ((t1 & 32) === 0)
  29223. _this._guardCallback$1(_this.get$_async$_onResume());
  29224. }
  29225. }
  29226. },
  29227. cancel$0() {
  29228. var _this = this,
  29229. t1 = (_this._state & 4294967279) >>> 0;
  29230. _this._state = t1;
  29231. if ((t1 & 8) === 0)
  29232. _this._cancel$0();
  29233. t1 = _this._cancelFuture;
  29234. return t1 == null ? $.$get$Future__nullFuture() : t1;
  29235. },
  29236. _cancel$0() {
  29237. var t2, _this = this,
  29238. t1 = _this._state = (_this._state | 8) >>> 0;
  29239. if ((t1 & 64) !== 0) {
  29240. t2 = _this._pending;
  29241. if (t2._state === 1)
  29242. t2._state = 3;
  29243. }
  29244. if ((t1 & 32) === 0)
  29245. _this._pending = null;
  29246. _this._cancelFuture = _this._async$_onCancel$0();
  29247. },
  29248. _async$_add$1(data) {
  29249. var t1 = this._state;
  29250. if ((t1 & 8) !== 0)
  29251. return;
  29252. if (t1 < 32)
  29253. this._sendData$1(data);
  29254. else
  29255. this._addPending$1(new A._DelayedData(data));
  29256. },
  29257. _addError$2(error, stackTrace) {
  29258. var t1 = this._state;
  29259. if ((t1 & 8) !== 0)
  29260. return;
  29261. if (t1 < 32)
  29262. this._sendError$2(error, stackTrace);
  29263. else
  29264. this._addPending$1(new A._DelayedError(error, stackTrace));
  29265. },
  29266. _close$0() {
  29267. var _this = this,
  29268. t1 = _this._state;
  29269. if ((t1 & 8) !== 0)
  29270. return;
  29271. t1 = (t1 | 2) >>> 0;
  29272. _this._state = t1;
  29273. if (t1 < 32)
  29274. _this._sendDone$0();
  29275. else
  29276. _this._addPending$1(B.C__DelayedDone);
  29277. },
  29278. _async$_onPause$0() {
  29279. },
  29280. _async$_onResume$0() {
  29281. },
  29282. _async$_onCancel$0() {
  29283. return null;
  29284. },
  29285. _addPending$1($event) {
  29286. var t1, _this = this,
  29287. pending = _this._pending;
  29288. if (pending == null)
  29289. pending = _this._pending = new A._PendingEvents();
  29290. pending.add$1(0, $event);
  29291. t1 = _this._state;
  29292. if ((t1 & 64) === 0) {
  29293. t1 = (t1 | 64) >>> 0;
  29294. _this._state = t1;
  29295. if (t1 < 128)
  29296. pending.schedule$1(_this);
  29297. }
  29298. },
  29299. _sendData$1(data) {
  29300. var _this = this,
  29301. t1 = _this._state;
  29302. _this._state = (t1 | 32) >>> 0;
  29303. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  29304. _this._state = (_this._state & 4294967263) >>> 0;
  29305. _this._checkState$1((t1 & 4) !== 0);
  29306. },
  29307. _sendError$2(error, stackTrace) {
  29308. var cancelFuture, _this = this,
  29309. t1 = _this._state,
  29310. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  29311. if ((t1 & 1) !== 0) {
  29312. _this._state = (t1 | 16) >>> 0;
  29313. _this._cancel$0();
  29314. cancelFuture = _this._cancelFuture;
  29315. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  29316. cancelFuture.whenComplete$1(t2);
  29317. else
  29318. t2.call$0();
  29319. } else {
  29320. t2.call$0();
  29321. _this._checkState$1((t1 & 4) !== 0);
  29322. }
  29323. },
  29324. _sendDone$0() {
  29325. var cancelFuture, _this = this,
  29326. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  29327. _this._cancel$0();
  29328. _this._state = (_this._state | 16) >>> 0;
  29329. cancelFuture = _this._cancelFuture;
  29330. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  29331. cancelFuture.whenComplete$1(t1);
  29332. else
  29333. t1.call$0();
  29334. },
  29335. _guardCallback$1(callback) {
  29336. var _this = this,
  29337. t1 = _this._state;
  29338. _this._state = (t1 | 32) >>> 0;
  29339. callback.call$0();
  29340. _this._state = (_this._state & 4294967263) >>> 0;
  29341. _this._checkState$1((t1 & 4) !== 0);
  29342. },
  29343. _checkState$1(wasInputPaused) {
  29344. var t2, isInputPaused, _this = this,
  29345. t1 = _this._state;
  29346. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
  29347. t1 = _this._state = (t1 & 4294967231) >>> 0;
  29348. if ((t1 & 4) !== 0)
  29349. if (t1 < 128) {
  29350. t2 = _this._pending;
  29351. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  29352. t2 = t2 !== false;
  29353. } else
  29354. t2 = false;
  29355. else
  29356. t2 = false;
  29357. if (t2) {
  29358. t1 = (t1 & 4294967291) >>> 0;
  29359. _this._state = t1;
  29360. }
  29361. }
  29362. for (; true; wasInputPaused = isInputPaused) {
  29363. if ((t1 & 8) !== 0) {
  29364. _this._pending = null;
  29365. return;
  29366. }
  29367. isInputPaused = (t1 & 4) !== 0;
  29368. if (wasInputPaused === isInputPaused)
  29369. break;
  29370. _this._state = (t1 ^ 32) >>> 0;
  29371. if (isInputPaused)
  29372. _this._async$_onPause$0();
  29373. else
  29374. _this._async$_onResume$0();
  29375. t1 = (_this._state & 4294967263) >>> 0;
  29376. _this._state = t1;
  29377. }
  29378. if ((t1 & 64) !== 0 && t1 < 128)
  29379. _this._pending.schedule$1(_this);
  29380. },
  29381. $isStreamSubscription: 1
  29382. };
  29383. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  29384. call$0() {
  29385. var onError, t3, t4,
  29386. t1 = this.$this,
  29387. t2 = t1._state;
  29388. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  29389. return;
  29390. t1._state = (t2 | 32) >>> 0;
  29391. onError = t1._onError;
  29392. t2 = this.error;
  29393. t3 = type$.Object;
  29394. t4 = t1._zone;
  29395. if (type$.void_Function_Object_StackTrace._is(onError))
  29396. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  29397. else
  29398. t4.runUnaryGuarded$1$2(onError, t2, t3);
  29399. t1._state = (t1._state & 4294967263) >>> 0;
  29400. },
  29401. $signature: 0
  29402. };
  29403. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  29404. call$0() {
  29405. var t1 = this.$this,
  29406. t2 = t1._state;
  29407. if ((t2 & 16) === 0)
  29408. return;
  29409. t1._state = (t2 | 42) >>> 0;
  29410. t1._zone.runGuarded$1(t1._onDone);
  29411. t1._state = (t1._state & 4294967263) >>> 0;
  29412. },
  29413. $signature: 0
  29414. };
  29415. A._StreamImpl.prototype = {
  29416. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  29417. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  29418. },
  29419. listen$1($receiver, onData) {
  29420. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  29421. },
  29422. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  29423. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  29424. }
  29425. };
  29426. A._DelayedEvent.prototype = {
  29427. get$next() {
  29428. return this.next;
  29429. },
  29430. set$next(val) {
  29431. return this.next = val;
  29432. }
  29433. };
  29434. A._DelayedData.prototype = {
  29435. perform$1(dispatch) {
  29436. dispatch._sendData$1(this.value);
  29437. }
  29438. };
  29439. A._DelayedError.prototype = {
  29440. perform$1(dispatch) {
  29441. dispatch._sendError$2(this.error, this.stackTrace);
  29442. }
  29443. };
  29444. A._DelayedDone.prototype = {
  29445. perform$1(dispatch) {
  29446. dispatch._sendDone$0();
  29447. },
  29448. get$next() {
  29449. return null;
  29450. },
  29451. set$next(_) {
  29452. throw A.wrapException(A.StateError$("No events after a done."));
  29453. }
  29454. };
  29455. A._PendingEvents.prototype = {
  29456. schedule$1(dispatch) {
  29457. var _this = this,
  29458. t1 = _this._state;
  29459. if (t1 === 1)
  29460. return;
  29461. if (t1 >= 1) {
  29462. _this._state = 1;
  29463. return;
  29464. }
  29465. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  29466. _this._state = 1;
  29467. },
  29468. add$1(_, $event) {
  29469. var _this = this,
  29470. lastEvent = _this.lastPendingEvent;
  29471. if (lastEvent == null)
  29472. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  29473. else {
  29474. lastEvent.set$next($event);
  29475. _this.lastPendingEvent = $event;
  29476. }
  29477. }
  29478. };
  29479. A._PendingEvents_schedule_closure.prototype = {
  29480. call$0() {
  29481. var $event, nextEvent,
  29482. t1 = this.$this,
  29483. oldState = t1._state;
  29484. t1._state = 0;
  29485. if (oldState === 3)
  29486. return;
  29487. $event = t1.firstPendingEvent;
  29488. nextEvent = $event.get$next();
  29489. t1.firstPendingEvent = nextEvent;
  29490. if (nextEvent == null)
  29491. t1.lastPendingEvent = null;
  29492. $event.perform$1(this.dispatch);
  29493. },
  29494. $signature: 0
  29495. };
  29496. A._StreamIterator.prototype = {
  29497. get$current(_) {
  29498. if (this._async$_hasValue)
  29499. return this._stateData;
  29500. return null;
  29501. },
  29502. moveNext$0() {
  29503. var future, _this = this,
  29504. subscription = _this._subscription;
  29505. if (subscription != null) {
  29506. if (_this._async$_hasValue) {
  29507. future = new A._Future($.Zone__current, type$._Future_bool);
  29508. _this._stateData = future;
  29509. _this._async$_hasValue = false;
  29510. subscription.resume$0(0);
  29511. return future;
  29512. }
  29513. throw A.wrapException(A.StateError$("Already waiting for next."));
  29514. }
  29515. return _this._initializeOrDone$0();
  29516. },
  29517. _initializeOrDone$0() {
  29518. var future, subscription, _this = this,
  29519. stateData = _this._stateData;
  29520. if (stateData != null) {
  29521. future = new A._Future($.Zone__current, type$._Future_bool);
  29522. _this._stateData = future;
  29523. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  29524. if (_this._stateData != null)
  29525. _this._subscription = subscription;
  29526. return future;
  29527. }
  29528. return $.$get$Future__falseFuture();
  29529. },
  29530. cancel$0() {
  29531. var _this = this,
  29532. subscription = _this._subscription,
  29533. stateData = _this._stateData;
  29534. _this._stateData = null;
  29535. if (subscription != null) {
  29536. _this._subscription = null;
  29537. if (!_this._async$_hasValue)
  29538. stateData._asyncComplete$1(false);
  29539. else
  29540. _this._async$_hasValue = false;
  29541. return subscription.cancel$0();
  29542. }
  29543. return $.$get$Future__nullFuture();
  29544. },
  29545. _onData$1(data) {
  29546. var moveNextFuture, t1, _this = this;
  29547. if (_this._subscription == null)
  29548. return;
  29549. moveNextFuture = _this._stateData;
  29550. _this._stateData = data;
  29551. _this._async$_hasValue = true;
  29552. moveNextFuture._complete$1(true);
  29553. if (_this._async$_hasValue) {
  29554. t1 = _this._subscription;
  29555. if (t1 != null)
  29556. t1.pause$0(0);
  29557. }
  29558. },
  29559. _onError$2(error, stackTrace) {
  29560. var _this = this,
  29561. subscription = _this._subscription,
  29562. moveNextFuture = _this._stateData;
  29563. _this._stateData = _this._subscription = null;
  29564. if (subscription != null)
  29565. moveNextFuture._completeError$2(error, stackTrace);
  29566. else
  29567. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  29568. },
  29569. _onDone$0() {
  29570. var _this = this,
  29571. subscription = _this._subscription,
  29572. moveNextFuture = _this._stateData;
  29573. _this._stateData = _this._subscription = null;
  29574. if (subscription != null)
  29575. moveNextFuture._completeWithValue$1(false);
  29576. else
  29577. moveNextFuture._asyncCompleteWithValue$1(false);
  29578. }
  29579. };
  29580. A._ForwardingStream.prototype = {
  29581. get$isBroadcast() {
  29582. return this._async$_source.get$isBroadcast();
  29583. },
  29584. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  29585. var t1 = this.$ti,
  29586. t2 = t1._rest[1],
  29587. t3 = $.Zone__current,
  29588. t4 = cancelOnError === true ? 1 : 0,
  29589. t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  29590. t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  29591. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  29592. 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>"));
  29593. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  29594. return t2;
  29595. },
  29596. listen$1($receiver, onData) {
  29597. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  29598. },
  29599. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  29600. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  29601. }
  29602. };
  29603. A._ForwardingStreamSubscription.prototype = {
  29604. _async$_add$1(data) {
  29605. if ((this._state & 2) !== 0)
  29606. return;
  29607. this.super$_BufferingStreamSubscription$_add(data);
  29608. },
  29609. _addError$2(error, stackTrace) {
  29610. if ((this._state & 2) !== 0)
  29611. return;
  29612. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  29613. },
  29614. _async$_onPause$0() {
  29615. var t1 = this._subscription;
  29616. if (t1 != null)
  29617. t1.pause$0(0);
  29618. },
  29619. _async$_onResume$0() {
  29620. var t1 = this._subscription;
  29621. if (t1 != null)
  29622. t1.resume$0(0);
  29623. },
  29624. _async$_onCancel$0() {
  29625. var subscription = this._subscription;
  29626. if (subscription != null) {
  29627. this._subscription = null;
  29628. return subscription.cancel$0();
  29629. }
  29630. return null;
  29631. },
  29632. _handleData$1(data) {
  29633. this._stream._handleData$2(data, this);
  29634. },
  29635. _handleError$2(error, stackTrace) {
  29636. this._addError$2(error, stackTrace);
  29637. },
  29638. _handleDone$0() {
  29639. this._close$0();
  29640. }
  29641. };
  29642. A._ExpandStream.prototype = {
  29643. _handleData$2(inputEvent, sink) {
  29644. var value, e, s, t1, exception, error, stackTrace, replacement;
  29645. try {
  29646. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  29647. value = t1.get$current(t1);
  29648. sink._async$_add$1(value);
  29649. }
  29650. } catch (exception) {
  29651. e = A.unwrapException(exception);
  29652. s = A.getTraceFromException(exception);
  29653. error = e;
  29654. stackTrace = s;
  29655. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  29656. if (replacement != null) {
  29657. error = replacement.error;
  29658. stackTrace = replacement.stackTrace;
  29659. }
  29660. sink._addError$2(error, stackTrace);
  29661. }
  29662. }
  29663. };
  29664. A._ZoneFunction.prototype = {};
  29665. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  29666. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  29667. A._Zone.prototype = {
  29668. _processUncaughtError$3(zone, error, stackTrace) {
  29669. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  29670. implementation = this.get$_handleUncaughtError(),
  29671. implZone = implementation.zone;
  29672. if (implZone === B.C__RootZone) {
  29673. A._rootHandleError(error, stackTrace);
  29674. return;
  29675. }
  29676. handler = implementation.$function;
  29677. parentDelegate = implZone.get$_parentDelegate();
  29678. t1 = J.get$parent$z(implZone);
  29679. t1.toString;
  29680. parentZone = t1;
  29681. currentZone = $.Zone__current;
  29682. try {
  29683. $.Zone__current = parentZone;
  29684. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  29685. $.Zone__current = currentZone;
  29686. } catch (exception) {
  29687. e = A.unwrapException(exception);
  29688. s = A.getTraceFromException(exception);
  29689. $.Zone__current = currentZone;
  29690. t1 = error === e ? stackTrace : s;
  29691. parentZone._processUncaughtError$3(implZone, e, t1);
  29692. }
  29693. },
  29694. $isZone: 1
  29695. };
  29696. A._CustomZone.prototype = {
  29697. get$_delegate() {
  29698. var t1 = this._delegateCache;
  29699. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  29700. },
  29701. get$_parentDelegate() {
  29702. return this.parent.get$_delegate();
  29703. },
  29704. get$errorZone() {
  29705. return this._handleUncaughtError.zone;
  29706. },
  29707. runGuarded$1(f) {
  29708. var e, s, exception;
  29709. try {
  29710. this.run$1$1(0, f, type$.void);
  29711. } catch (exception) {
  29712. e = A.unwrapException(exception);
  29713. s = A.getTraceFromException(exception);
  29714. this._processUncaughtError$3(this, e, s);
  29715. }
  29716. },
  29717. runUnaryGuarded$1$2(f, arg, $T) {
  29718. var e, s, exception;
  29719. try {
  29720. this.runUnary$2$2(f, arg, type$.void, $T);
  29721. } catch (exception) {
  29722. e = A.unwrapException(exception);
  29723. s = A.getTraceFromException(exception);
  29724. this._processUncaughtError$3(this, e, s);
  29725. }
  29726. },
  29727. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  29728. var e, s, exception;
  29729. try {
  29730. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  29731. } catch (exception) {
  29732. e = A.unwrapException(exception);
  29733. s = A.getTraceFromException(exception);
  29734. this._processUncaughtError$3(this, e, s);
  29735. }
  29736. },
  29737. bindCallback$1$1(f, $R) {
  29738. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  29739. },
  29740. bindUnaryCallback$2$1(f, $R, $T) {
  29741. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  29742. },
  29743. bindCallbackGuarded$1(f) {
  29744. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  29745. },
  29746. $index(_, key) {
  29747. var value,
  29748. t1 = this._async$_map,
  29749. result = t1.$index(0, key);
  29750. if (result != null || t1.containsKey$1(key))
  29751. return result;
  29752. value = this.parent.$index(0, key);
  29753. if (value != null)
  29754. t1.$indexSet(0, key, value);
  29755. return value;
  29756. },
  29757. handleUncaughtError$2(error, stackTrace) {
  29758. this._processUncaughtError$3(this, error, stackTrace);
  29759. },
  29760. fork$2$specification$zoneValues(specification, zoneValues) {
  29761. var implementation = this._fork,
  29762. t1 = implementation.zone;
  29763. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  29764. },
  29765. run$1$1(_, f) {
  29766. var implementation = this._run,
  29767. t1 = implementation.zone;
  29768. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  29769. },
  29770. runUnary$2$2(f, arg) {
  29771. var implementation = this._runUnary,
  29772. t1 = implementation.zone;
  29773. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  29774. },
  29775. runBinary$3$3(f, arg1, arg2) {
  29776. var implementation = this._runBinary,
  29777. t1 = implementation.zone;
  29778. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  29779. },
  29780. registerCallback$1$1(callback) {
  29781. var implementation = this._registerCallback,
  29782. t1 = implementation.zone;
  29783. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  29784. },
  29785. registerUnaryCallback$2$1(callback) {
  29786. var implementation = this._registerUnaryCallback,
  29787. t1 = implementation.zone;
  29788. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  29789. },
  29790. registerBinaryCallback$3$1(callback) {
  29791. var implementation = this._registerBinaryCallback,
  29792. t1 = implementation.zone;
  29793. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  29794. },
  29795. errorCallback$2(error, stackTrace) {
  29796. var implementation, implementationZone;
  29797. A.checkNotNullable(error, "error", type$.Object);
  29798. implementation = this._errorCallback;
  29799. implementationZone = implementation.zone;
  29800. if (implementationZone === B.C__RootZone)
  29801. return null;
  29802. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  29803. },
  29804. scheduleMicrotask$1(f) {
  29805. var implementation = this._scheduleMicrotask,
  29806. t1 = implementation.zone;
  29807. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  29808. },
  29809. createTimer$2(duration, f) {
  29810. var implementation = this._createTimer,
  29811. t1 = implementation.zone;
  29812. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  29813. },
  29814. print$1(line) {
  29815. var implementation = this._print,
  29816. t1 = implementation.zone;
  29817. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  29818. },
  29819. get$_run() {
  29820. return this._run;
  29821. },
  29822. get$_runUnary() {
  29823. return this._runUnary;
  29824. },
  29825. get$_runBinary() {
  29826. return this._runBinary;
  29827. },
  29828. get$_registerCallback() {
  29829. return this._registerCallback;
  29830. },
  29831. get$_registerUnaryCallback() {
  29832. return this._registerUnaryCallback;
  29833. },
  29834. get$_registerBinaryCallback() {
  29835. return this._registerBinaryCallback;
  29836. },
  29837. get$_errorCallback() {
  29838. return this._errorCallback;
  29839. },
  29840. get$_scheduleMicrotask() {
  29841. return this._scheduleMicrotask;
  29842. },
  29843. get$_createTimer() {
  29844. return this._createTimer;
  29845. },
  29846. get$_createPeriodicTimer() {
  29847. return this._createPeriodicTimer;
  29848. },
  29849. get$_print() {
  29850. return this._print;
  29851. },
  29852. get$_fork() {
  29853. return this._fork;
  29854. },
  29855. get$_handleUncaughtError() {
  29856. return this._handleUncaughtError;
  29857. },
  29858. get$parent(receiver) {
  29859. return this.parent;
  29860. },
  29861. get$_async$_map() {
  29862. return this._async$_map;
  29863. }
  29864. };
  29865. A._CustomZone_bindCallback_closure.prototype = {
  29866. call$0() {
  29867. return this.$this.run$1$1(0, this.registered, this.R);
  29868. },
  29869. $signature() {
  29870. return this.R._eval$1("0()");
  29871. }
  29872. };
  29873. A._CustomZone_bindUnaryCallback_closure.prototype = {
  29874. call$1(arg) {
  29875. var _this = this;
  29876. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  29877. },
  29878. $signature() {
  29879. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  29880. }
  29881. };
  29882. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  29883. call$0() {
  29884. return this.$this.runGuarded$1(this.registered);
  29885. },
  29886. $signature: 0
  29887. };
  29888. A._rootHandleError_closure.prototype = {
  29889. call$0() {
  29890. var t1 = this.error,
  29891. t2 = this.stackTrace;
  29892. A.checkNotNullable(t1, "error", type$.Object);
  29893. A.checkNotNullable(t2, "stackTrace", type$.StackTrace);
  29894. A.Error__throw(t1, t2);
  29895. },
  29896. $signature: 0
  29897. };
  29898. A._RootZone.prototype = {
  29899. get$_run() {
  29900. return B._ZoneFunction__RootZone__rootRun;
  29901. },
  29902. get$_runUnary() {
  29903. return B._ZoneFunction__RootZone__rootRunUnary;
  29904. },
  29905. get$_runBinary() {
  29906. return B._ZoneFunction__RootZone__rootRunBinary;
  29907. },
  29908. get$_registerCallback() {
  29909. return B._ZoneFunction__RootZone__rootRegisterCallback;
  29910. },
  29911. get$_registerUnaryCallback() {
  29912. return B._ZoneFunction_Eeh;
  29913. },
  29914. get$_registerBinaryCallback() {
  29915. return B._ZoneFunction_7G2;
  29916. },
  29917. get$_errorCallback() {
  29918. return B._ZoneFunction__RootZone__rootErrorCallback;
  29919. },
  29920. get$_scheduleMicrotask() {
  29921. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  29922. },
  29923. get$_createTimer() {
  29924. return B._ZoneFunction__RootZone__rootCreateTimer;
  29925. },
  29926. get$_createPeriodicTimer() {
  29927. return B._ZoneFunction_3bB;
  29928. },
  29929. get$_print() {
  29930. return B._ZoneFunction__RootZone__rootPrint;
  29931. },
  29932. get$_fork() {
  29933. return B._ZoneFunction__RootZone__rootFork;
  29934. },
  29935. get$_handleUncaughtError() {
  29936. return B._ZoneFunction_NMc;
  29937. },
  29938. get$parent(_) {
  29939. return null;
  29940. },
  29941. get$_async$_map() {
  29942. return $.$get$_RootZone__rootMap();
  29943. },
  29944. get$_delegate() {
  29945. var t1 = $._RootZone__rootDelegate;
  29946. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  29947. },
  29948. get$_parentDelegate() {
  29949. var t1 = $._RootZone__rootDelegate;
  29950. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  29951. },
  29952. get$errorZone() {
  29953. return this;
  29954. },
  29955. runGuarded$1(f) {
  29956. var e, s, exception;
  29957. try {
  29958. if (B.C__RootZone === $.Zone__current) {
  29959. f.call$0();
  29960. return;
  29961. }
  29962. A._rootRun(null, null, this, f);
  29963. } catch (exception) {
  29964. e = A.unwrapException(exception);
  29965. s = A.getTraceFromException(exception);
  29966. A._rootHandleError(e, s);
  29967. }
  29968. },
  29969. runUnaryGuarded$1$2(f, arg) {
  29970. var e, s, exception;
  29971. try {
  29972. if (B.C__RootZone === $.Zone__current) {
  29973. f.call$1(arg);
  29974. return;
  29975. }
  29976. A._rootRunUnary(null, null, this, f, arg);
  29977. } catch (exception) {
  29978. e = A.unwrapException(exception);
  29979. s = A.getTraceFromException(exception);
  29980. A._rootHandleError(e, s);
  29981. }
  29982. },
  29983. runBinaryGuarded$2$3(f, arg1, arg2) {
  29984. var e, s, exception;
  29985. try {
  29986. if (B.C__RootZone === $.Zone__current) {
  29987. f.call$2(arg1, arg2);
  29988. return;
  29989. }
  29990. A._rootRunBinary(null, null, this, f, arg1, arg2);
  29991. } catch (exception) {
  29992. e = A.unwrapException(exception);
  29993. s = A.getTraceFromException(exception);
  29994. A._rootHandleError(e, s);
  29995. }
  29996. },
  29997. bindCallback$1$1(f, $R) {
  29998. return new A._RootZone_bindCallback_closure(this, f, $R);
  29999. },
  30000. bindUnaryCallback$2$1(f, $R, $T) {
  30001. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  30002. },
  30003. bindCallbackGuarded$1(f) {
  30004. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  30005. },
  30006. $index(_, key) {
  30007. return null;
  30008. },
  30009. handleUncaughtError$2(error, stackTrace) {
  30010. A._rootHandleError(error, stackTrace);
  30011. },
  30012. fork$2$specification$zoneValues(specification, zoneValues) {
  30013. return A._rootFork(null, null, this, specification, zoneValues);
  30014. },
  30015. run$1$1(_, f) {
  30016. if ($.Zone__current === B.C__RootZone)
  30017. return f.call$0();
  30018. return A._rootRun(null, null, this, f);
  30019. },
  30020. runUnary$2$2(f, arg) {
  30021. if ($.Zone__current === B.C__RootZone)
  30022. return f.call$1(arg);
  30023. return A._rootRunUnary(null, null, this, f, arg);
  30024. },
  30025. runBinary$3$3(f, arg1, arg2) {
  30026. if ($.Zone__current === B.C__RootZone)
  30027. return f.call$2(arg1, arg2);
  30028. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  30029. },
  30030. registerCallback$1$1(f) {
  30031. return f;
  30032. },
  30033. registerUnaryCallback$2$1(f) {
  30034. return f;
  30035. },
  30036. registerBinaryCallback$3$1(f) {
  30037. return f;
  30038. },
  30039. errorCallback$2(error, stackTrace) {
  30040. return null;
  30041. },
  30042. scheduleMicrotask$1(f) {
  30043. A._rootScheduleMicrotask(null, null, this, f);
  30044. },
  30045. createTimer$2(duration, f) {
  30046. return A.Timer__createTimer(duration, f);
  30047. },
  30048. print$1(line) {
  30049. A.printString(line);
  30050. }
  30051. };
  30052. A._RootZone_bindCallback_closure.prototype = {
  30053. call$0() {
  30054. return this.$this.run$1$1(0, this.f, this.R);
  30055. },
  30056. $signature() {
  30057. return this.R._eval$1("0()");
  30058. }
  30059. };
  30060. A._RootZone_bindUnaryCallback_closure.prototype = {
  30061. call$1(arg) {
  30062. var _this = this;
  30063. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  30064. },
  30065. $signature() {
  30066. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  30067. }
  30068. };
  30069. A._RootZone_bindCallbackGuarded_closure.prototype = {
  30070. call$0() {
  30071. return this.$this.runGuarded$1(this.f);
  30072. },
  30073. $signature: 0
  30074. };
  30075. A._HashMap.prototype = {
  30076. get$length(_) {
  30077. return this._collection$_length;
  30078. },
  30079. get$isEmpty(_) {
  30080. return this._collection$_length === 0;
  30081. },
  30082. get$isNotEmpty(_) {
  30083. return this._collection$_length !== 0;
  30084. },
  30085. get$keys(_) {
  30086. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  30087. },
  30088. get$values(_) {
  30089. var t1 = A._instanceType(this);
  30090. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  30091. },
  30092. containsKey$1(key) {
  30093. var strings, nums;
  30094. if (typeof key == "string" && key !== "__proto__") {
  30095. strings = this._collection$_strings;
  30096. return strings == null ? false : strings[key] != null;
  30097. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30098. nums = this._collection$_nums;
  30099. return nums == null ? false : nums[key] != null;
  30100. } else
  30101. return this._containsKey$1(key);
  30102. },
  30103. _containsKey$1(key) {
  30104. var rest = this._collection$_rest;
  30105. if (rest == null)
  30106. return false;
  30107. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  30108. },
  30109. addAll$1(_, other) {
  30110. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  30111. },
  30112. $index(_, key) {
  30113. var strings, t1, nums;
  30114. if (typeof key == "string" && key !== "__proto__") {
  30115. strings = this._collection$_strings;
  30116. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  30117. return t1;
  30118. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30119. nums = this._collection$_nums;
  30120. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  30121. return t1;
  30122. } else
  30123. return this._get$1(key);
  30124. },
  30125. _get$1(key) {
  30126. var bucket, index,
  30127. rest = this._collection$_rest;
  30128. if (rest == null)
  30129. return null;
  30130. bucket = this._getBucket$2(rest, key);
  30131. index = this._findBucketIndex$2(bucket, key);
  30132. return index < 0 ? null : bucket[index + 1];
  30133. },
  30134. $indexSet(_, key, value) {
  30135. var strings, nums, _this = this;
  30136. if (typeof key == "string" && key !== "__proto__") {
  30137. strings = _this._collection$_strings;
  30138. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  30139. } else if (typeof key == "number" && (key & 1073741823) === key) {
  30140. nums = _this._collection$_nums;
  30141. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  30142. } else
  30143. _this._set$2(key, value);
  30144. },
  30145. _set$2(key, value) {
  30146. var hash, bucket, index, _this = this,
  30147. rest = _this._collection$_rest;
  30148. if (rest == null)
  30149. rest = _this._collection$_rest = A._HashMap__newHashTable();
  30150. hash = _this._computeHashCode$1(key);
  30151. bucket = rest[hash];
  30152. if (bucket == null) {
  30153. A._HashMap__setTableEntry(rest, hash, [key, value]);
  30154. ++_this._collection$_length;
  30155. _this._keys = null;
  30156. } else {
  30157. index = _this._findBucketIndex$2(bucket, key);
  30158. if (index >= 0)
  30159. bucket[index + 1] = value;
  30160. else {
  30161. bucket.push(key, value);
  30162. ++_this._collection$_length;
  30163. _this._keys = null;
  30164. }
  30165. }
  30166. },
  30167. remove$1(_, key) {
  30168. var t1;
  30169. if (typeof key == "string" && key !== "__proto__")
  30170. return this._removeHashTableEntry$2(this._collection$_strings, key);
  30171. else {
  30172. t1 = this._remove$1(key);
  30173. return t1;
  30174. }
  30175. },
  30176. _remove$1(key) {
  30177. var hash, bucket, index, result, _this = this,
  30178. rest = _this._collection$_rest;
  30179. if (rest == null)
  30180. return null;
  30181. hash = _this._computeHashCode$1(key);
  30182. bucket = rest[hash];
  30183. index = _this._findBucketIndex$2(bucket, key);
  30184. if (index < 0)
  30185. return null;
  30186. --_this._collection$_length;
  30187. _this._keys = null;
  30188. result = bucket.splice(index, 2)[1];
  30189. if (0 === bucket.length)
  30190. delete rest[hash];
  30191. return result;
  30192. },
  30193. forEach$1(_, action) {
  30194. var $length, t1, i, key, t2, _this = this,
  30195. keys = _this._computeKeys$0();
  30196. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  30197. key = keys[i];
  30198. t2 = _this.$index(0, key);
  30199. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  30200. if (keys !== _this._keys)
  30201. throw A.wrapException(A.ConcurrentModificationError$(_this));
  30202. }
  30203. },
  30204. _computeKeys$0() {
  30205. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  30206. result = _this._keys;
  30207. if (result != null)
  30208. return result;
  30209. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  30210. strings = _this._collection$_strings;
  30211. if (strings != null) {
  30212. names = Object.getOwnPropertyNames(strings);
  30213. entries = names.length;
  30214. for (index = 0, i = 0; i < entries; ++i) {
  30215. result[index] = names[i];
  30216. ++index;
  30217. }
  30218. } else
  30219. index = 0;
  30220. nums = _this._collection$_nums;
  30221. if (nums != null) {
  30222. names = Object.getOwnPropertyNames(nums);
  30223. entries = names.length;
  30224. for (i = 0; i < entries; ++i) {
  30225. result[index] = +names[i];
  30226. ++index;
  30227. }
  30228. }
  30229. rest = _this._collection$_rest;
  30230. if (rest != null) {
  30231. names = Object.getOwnPropertyNames(rest);
  30232. entries = names.length;
  30233. for (i = 0; i < entries; ++i) {
  30234. bucket = rest[names[i]];
  30235. $length = bucket.length;
  30236. for (i0 = 0; i0 < $length; i0 += 2) {
  30237. result[index] = bucket[i0];
  30238. ++index;
  30239. }
  30240. }
  30241. }
  30242. return _this._keys = result;
  30243. },
  30244. _collection$_addHashTableEntry$3(table, key, value) {
  30245. if (table[key] == null) {
  30246. ++this._collection$_length;
  30247. this._keys = null;
  30248. }
  30249. A._HashMap__setTableEntry(table, key, value);
  30250. },
  30251. _removeHashTableEntry$2(table, key) {
  30252. var value;
  30253. if (table != null && table[key] != null) {
  30254. value = A._HashMap__getTableEntry(table, key);
  30255. delete table[key];
  30256. --this._collection$_length;
  30257. this._keys = null;
  30258. return value;
  30259. } else
  30260. return null;
  30261. },
  30262. _computeHashCode$1(key) {
  30263. return J.get$hashCode$(key) & 1073741823;
  30264. },
  30265. _getBucket$2(table, key) {
  30266. return table[this._computeHashCode$1(key)];
  30267. },
  30268. _findBucketIndex$2(bucket, key) {
  30269. var $length, i;
  30270. if (bucket == null)
  30271. return -1;
  30272. $length = bucket.length;
  30273. for (i = 0; i < $length; i += 2)
  30274. if (J.$eq$(bucket[i], key))
  30275. return i;
  30276. return -1;
  30277. }
  30278. };
  30279. A._HashMap_values_closure.prototype = {
  30280. call$1(each) {
  30281. var t1 = this.$this,
  30282. t2 = t1.$index(0, each);
  30283. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  30284. },
  30285. $signature() {
  30286. return A._instanceType(this.$this)._eval$1("2(1)");
  30287. }
  30288. };
  30289. A._HashMap_addAll_closure.prototype = {
  30290. call$2(key, value) {
  30291. this.$this.$indexSet(0, key, value);
  30292. },
  30293. $signature() {
  30294. return A._instanceType(this.$this)._eval$1("~(1,2)");
  30295. }
  30296. };
  30297. A._IdentityHashMap.prototype = {
  30298. _computeHashCode$1(key) {
  30299. return A.objectHashCode(key) & 1073741823;
  30300. },
  30301. _findBucketIndex$2(bucket, key) {
  30302. var $length, i, t1;
  30303. if (bucket == null)
  30304. return -1;
  30305. $length = bucket.length;
  30306. for (i = 0; i < $length; i += 2) {
  30307. t1 = bucket[i];
  30308. if (t1 == null ? key == null : t1 === key)
  30309. return i;
  30310. }
  30311. return -1;
  30312. }
  30313. };
  30314. A._HashMapKeyIterable.prototype = {
  30315. get$length(_) {
  30316. return this._map._collection$_length;
  30317. },
  30318. get$isEmpty(_) {
  30319. return this._map._collection$_length === 0;
  30320. },
  30321. get$iterator(_) {
  30322. var t1 = this._map;
  30323. return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
  30324. },
  30325. contains$1(_, element) {
  30326. return this._map.containsKey$1(element);
  30327. }
  30328. };
  30329. A._HashMapKeyIterator.prototype = {
  30330. get$current(_) {
  30331. var t1 = this._collection$_current;
  30332. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  30333. },
  30334. moveNext$0() {
  30335. var _this = this,
  30336. keys = _this._keys,
  30337. offset = _this._offset,
  30338. t1 = _this._map;
  30339. if (keys !== t1._keys)
  30340. throw A.wrapException(A.ConcurrentModificationError$(t1));
  30341. else if (offset >= keys.length) {
  30342. _this._collection$_current = null;
  30343. return false;
  30344. } else {
  30345. _this._collection$_current = keys[offset];
  30346. _this._offset = offset + 1;
  30347. return true;
  30348. }
  30349. }
  30350. };
  30351. A._LinkedIdentityHashMap.prototype = {
  30352. internalComputeHashCode$1(key) {
  30353. return A.objectHashCode(key) & 1073741823;
  30354. },
  30355. internalFindBucketIndex$2(bucket, key) {
  30356. var $length, i, t1;
  30357. if (bucket == null)
  30358. return -1;
  30359. $length = bucket.length;
  30360. for (i = 0; i < $length; ++i) {
  30361. t1 = bucket[i].hashMapCellKey;
  30362. if (t1 == null ? key == null : t1 === key)
  30363. return i;
  30364. }
  30365. return -1;
  30366. }
  30367. };
  30368. A._LinkedCustomHashMap.prototype = {
  30369. $index(_, key) {
  30370. if (!this._validKey.call$1(key))
  30371. return null;
  30372. return this.super$JsLinkedHashMap$internalGet(key);
  30373. },
  30374. $indexSet(_, key, value) {
  30375. this.super$JsLinkedHashMap$internalSet(key, value);
  30376. },
  30377. containsKey$1(key) {
  30378. if (!this._validKey.call$1(key))
  30379. return false;
  30380. return this.super$JsLinkedHashMap$internalContainsKey(key);
  30381. },
  30382. remove$1(_, key) {
  30383. if (!this._validKey.call$1(key))
  30384. return null;
  30385. return this.super$JsLinkedHashMap$internalRemove(key);
  30386. },
  30387. internalComputeHashCode$1(key) {
  30388. return this._hashCode.call$1(key) & 1073741823;
  30389. },
  30390. internalFindBucketIndex$2(bucket, key) {
  30391. var $length, t1, i;
  30392. if (bucket == null)
  30393. return -1;
  30394. $length = bucket.length;
  30395. for (t1 = this._equals, i = 0; i < $length; ++i)
  30396. if (t1.call$2(bucket[i].hashMapCellKey, key))
  30397. return i;
  30398. return -1;
  30399. }
  30400. };
  30401. A._LinkedCustomHashMap_closure.prototype = {
  30402. call$1(v) {
  30403. return this.K._is(v);
  30404. },
  30405. $signature: 135
  30406. };
  30407. A._LinkedHashSet.prototype = {
  30408. _newSet$0() {
  30409. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  30410. },
  30411. _newSimilarSet$1$0($R) {
  30412. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  30413. },
  30414. _newSimilarSet$0() {
  30415. return this._newSimilarSet$1$0(type$.dynamic);
  30416. },
  30417. get$iterator(_) {
  30418. var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
  30419. t1._collection$_cell = this._collection$_first;
  30420. return t1;
  30421. },
  30422. get$length(_) {
  30423. return this._collection$_length;
  30424. },
  30425. get$isEmpty(_) {
  30426. return this._collection$_length === 0;
  30427. },
  30428. get$isNotEmpty(_) {
  30429. return this._collection$_length !== 0;
  30430. },
  30431. contains$1(_, object) {
  30432. var strings, nums;
  30433. if (typeof object == "string" && object !== "__proto__") {
  30434. strings = this._collection$_strings;
  30435. if (strings == null)
  30436. return false;
  30437. return strings[object] != null;
  30438. } else if (typeof object == "number" && (object & 1073741823) === object) {
  30439. nums = this._collection$_nums;
  30440. if (nums == null)
  30441. return false;
  30442. return nums[object] != null;
  30443. } else
  30444. return this._contains$1(object);
  30445. },
  30446. _contains$1(object) {
  30447. var rest = this._collection$_rest;
  30448. if (rest == null)
  30449. return false;
  30450. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  30451. },
  30452. get$first(_) {
  30453. var first = this._collection$_first;
  30454. if (first == null)
  30455. throw A.wrapException(A.StateError$("No elements"));
  30456. return first._element;
  30457. },
  30458. get$last(_) {
  30459. var last = this._collection$_last;
  30460. if (last == null)
  30461. throw A.wrapException(A.StateError$("No elements"));
  30462. return last._element;
  30463. },
  30464. add$1(_, element) {
  30465. var strings, nums, _this = this;
  30466. if (typeof element == "string" && element !== "__proto__") {
  30467. strings = _this._collection$_strings;
  30468. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  30469. } else if (typeof element == "number" && (element & 1073741823) === element) {
  30470. nums = _this._collection$_nums;
  30471. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  30472. } else
  30473. return _this._add$1(element);
  30474. },
  30475. _add$1(element) {
  30476. var hash, bucket, _this = this,
  30477. rest = _this._collection$_rest;
  30478. if (rest == null)
  30479. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  30480. hash = _this._computeHashCode$1(element);
  30481. bucket = rest[hash];
  30482. if (bucket == null)
  30483. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  30484. else {
  30485. if (_this._findBucketIndex$2(bucket, element) >= 0)
  30486. return false;
  30487. bucket.push(_this._collection$_newLinkedCell$1(element));
  30488. }
  30489. return true;
  30490. },
  30491. remove$1(_, object) {
  30492. var _this = this;
  30493. if (typeof object == "string" && object !== "__proto__")
  30494. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  30495. else if (typeof object == "number" && (object & 1073741823) === object)
  30496. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  30497. else
  30498. return _this._remove$1(object);
  30499. },
  30500. _remove$1(object) {
  30501. var hash, bucket, index, cell, _this = this,
  30502. rest = _this._collection$_rest;
  30503. if (rest == null)
  30504. return false;
  30505. hash = _this._computeHashCode$1(object);
  30506. bucket = rest[hash];
  30507. index = _this._findBucketIndex$2(bucket, object);
  30508. if (index < 0)
  30509. return false;
  30510. cell = bucket.splice(index, 1)[0];
  30511. if (0 === bucket.length)
  30512. delete rest[hash];
  30513. _this._unlinkCell$1(cell);
  30514. return true;
  30515. },
  30516. _collection$_addHashTableEntry$2(table, element) {
  30517. if (table[element] != null)
  30518. return false;
  30519. table[element] = this._collection$_newLinkedCell$1(element);
  30520. return true;
  30521. },
  30522. _removeHashTableEntry$2(table, element) {
  30523. var cell;
  30524. if (table == null)
  30525. return false;
  30526. cell = table[element];
  30527. if (cell == null)
  30528. return false;
  30529. this._unlinkCell$1(cell);
  30530. delete table[element];
  30531. return true;
  30532. },
  30533. _collection$_modified$0() {
  30534. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  30535. },
  30536. _collection$_newLinkedCell$1(element) {
  30537. var t1, _this = this,
  30538. cell = new A._LinkedHashSetCell(element);
  30539. if (_this._collection$_first == null)
  30540. _this._collection$_first = _this._collection$_last = cell;
  30541. else {
  30542. t1 = _this._collection$_last;
  30543. t1.toString;
  30544. cell._collection$_previous = t1;
  30545. _this._collection$_last = t1._collection$_next = cell;
  30546. }
  30547. ++_this._collection$_length;
  30548. _this._collection$_modified$0();
  30549. return cell;
  30550. },
  30551. _unlinkCell$1(cell) {
  30552. var _this = this,
  30553. previous = cell._collection$_previous,
  30554. next = cell._collection$_next;
  30555. if (previous == null)
  30556. _this._collection$_first = next;
  30557. else
  30558. previous._collection$_next = next;
  30559. if (next == null)
  30560. _this._collection$_last = previous;
  30561. else
  30562. next._collection$_previous = previous;
  30563. --_this._collection$_length;
  30564. _this._collection$_modified$0();
  30565. },
  30566. _computeHashCode$1(element) {
  30567. return J.get$hashCode$(element) & 1073741823;
  30568. },
  30569. _findBucketIndex$2(bucket, element) {
  30570. var $length, i;
  30571. if (bucket == null)
  30572. return -1;
  30573. $length = bucket.length;
  30574. for (i = 0; i < $length; ++i)
  30575. if (J.$eq$(bucket[i]._element, element))
  30576. return i;
  30577. return -1;
  30578. }
  30579. };
  30580. A._LinkedIdentityHashSet.prototype = {
  30581. _newSet$0() {
  30582. return new A._LinkedIdentityHashSet(this.$ti);
  30583. },
  30584. _newSimilarSet$1$0($R) {
  30585. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  30586. },
  30587. _newSimilarSet$0() {
  30588. return this._newSimilarSet$1$0(type$.dynamic);
  30589. },
  30590. _computeHashCode$1(key) {
  30591. return A.objectHashCode(key) & 1073741823;
  30592. },
  30593. _findBucketIndex$2(bucket, element) {
  30594. var $length, i, t1;
  30595. if (bucket == null)
  30596. return -1;
  30597. $length = bucket.length;
  30598. for (i = 0; i < $length; ++i) {
  30599. t1 = bucket[i]._element;
  30600. if (t1 == null ? element == null : t1 === element)
  30601. return i;
  30602. }
  30603. return -1;
  30604. }
  30605. };
  30606. A._LinkedHashSetCell.prototype = {};
  30607. A._LinkedHashSetIterator.prototype = {
  30608. get$current(_) {
  30609. var t1 = this._collection$_current;
  30610. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  30611. },
  30612. moveNext$0() {
  30613. var _this = this,
  30614. cell = _this._collection$_cell,
  30615. t1 = _this._set;
  30616. if (_this._collection$_modifications !== t1._collection$_modifications)
  30617. throw A.wrapException(A.ConcurrentModificationError$(t1));
  30618. else if (cell == null) {
  30619. _this._collection$_current = null;
  30620. return false;
  30621. } else {
  30622. _this._collection$_current = cell._element;
  30623. _this._collection$_cell = cell._collection$_next;
  30624. return true;
  30625. }
  30626. }
  30627. };
  30628. A.UnmodifiableListView.prototype = {
  30629. cast$1$0(_, $R) {
  30630. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  30631. },
  30632. get$length(_) {
  30633. return J.get$length$asx(this._collection$_source);
  30634. },
  30635. $index(_, index) {
  30636. return J.elementAt$1$ax(this._collection$_source, index);
  30637. }
  30638. };
  30639. A.HashMap_HashMap$from_closure.prototype = {
  30640. call$2(k, v) {
  30641. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  30642. },
  30643. $signature: 162
  30644. };
  30645. A.IterableBase.prototype = {};
  30646. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  30647. call$2(k, v) {
  30648. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  30649. },
  30650. $signature: 162
  30651. };
  30652. A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1};
  30653. A.ListMixin.prototype = {
  30654. get$iterator(receiver) {
  30655. return new A.ListIterator(receiver, this.get$length(receiver));
  30656. },
  30657. elementAt$1(receiver, index) {
  30658. return this.$index(receiver, index);
  30659. },
  30660. get$isEmpty(receiver) {
  30661. return this.get$length(receiver) === 0;
  30662. },
  30663. get$isNotEmpty(receiver) {
  30664. return !this.get$isEmpty(receiver);
  30665. },
  30666. get$first(receiver) {
  30667. if (this.get$length(receiver) === 0)
  30668. throw A.wrapException(A.IterableElementError_noElement());
  30669. return this.$index(receiver, 0);
  30670. },
  30671. get$last(receiver) {
  30672. if (this.get$length(receiver) === 0)
  30673. throw A.wrapException(A.IterableElementError_noElement());
  30674. return this.$index(receiver, this.get$length(receiver) - 1);
  30675. },
  30676. get$single(receiver) {
  30677. if (this.get$length(receiver) === 0)
  30678. throw A.wrapException(A.IterableElementError_noElement());
  30679. if (this.get$length(receiver) > 1)
  30680. throw A.wrapException(A.IterableElementError_tooMany());
  30681. return this.$index(receiver, 0);
  30682. },
  30683. contains$1(receiver, element) {
  30684. var i,
  30685. $length = this.get$length(receiver);
  30686. for (i = 0; i < $length; ++i) {
  30687. if (J.$eq$(this.$index(receiver, i), element))
  30688. return true;
  30689. if ($length !== this.get$length(receiver))
  30690. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30691. }
  30692. return false;
  30693. },
  30694. every$1(receiver, test) {
  30695. var i,
  30696. $length = this.get$length(receiver);
  30697. for (i = 0; i < $length; ++i) {
  30698. if (!test.call$1(this.$index(receiver, i)))
  30699. return false;
  30700. if ($length !== this.get$length(receiver))
  30701. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30702. }
  30703. return true;
  30704. },
  30705. any$1(receiver, test) {
  30706. var i,
  30707. $length = this.get$length(receiver);
  30708. for (i = 0; i < $length; ++i) {
  30709. if (test.call$1(this.$index(receiver, i)))
  30710. return true;
  30711. if ($length !== this.get$length(receiver))
  30712. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30713. }
  30714. return false;
  30715. },
  30716. lastWhere$2$orElse(receiver, test, orElse) {
  30717. var i, element,
  30718. $length = this.get$length(receiver);
  30719. for (i = $length - 1; i >= 0; --i) {
  30720. element = this.$index(receiver, i);
  30721. if (test.call$1(element))
  30722. return element;
  30723. if ($length !== this.get$length(receiver))
  30724. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30725. }
  30726. if (orElse != null)
  30727. return orElse.call$0();
  30728. throw A.wrapException(A.IterableElementError_noElement());
  30729. },
  30730. join$1(receiver, separator) {
  30731. var t1;
  30732. if (this.get$length(receiver) === 0)
  30733. return "";
  30734. t1 = A.StringBuffer__writeAll("", receiver, separator);
  30735. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30736. },
  30737. join$0($receiver) {
  30738. return this.join$1($receiver, "");
  30739. },
  30740. where$1(receiver, test) {
  30741. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListMixin.E>"));
  30742. },
  30743. map$1$1(receiver, f, $T) {
  30744. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  30745. },
  30746. expand$1$1(receiver, f, $T) {
  30747. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  30748. },
  30749. skip$1(receiver, count) {
  30750. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30751. },
  30752. take$1(receiver, count) {
  30753. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E"));
  30754. },
  30755. toList$1$growable(receiver, growable) {
  30756. var t1, first, result, i, _this = this;
  30757. if (_this.get$isEmpty(receiver)) {
  30758. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30759. return t1;
  30760. }
  30761. first = _this.$index(receiver, 0);
  30762. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30763. for (i = 1; i < _this.get$length(receiver); ++i)
  30764. result[i] = _this.$index(receiver, i);
  30765. return result;
  30766. },
  30767. toList$0($receiver) {
  30768. return this.toList$1$growable($receiver, true);
  30769. },
  30770. toSet$0(receiver) {
  30771. var i,
  30772. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListMixin.E"));
  30773. for (i = 0; i < this.get$length(receiver); ++i)
  30774. result.add$1(0, this.$index(receiver, i));
  30775. return result;
  30776. },
  30777. add$1(receiver, element) {
  30778. var t1 = this.get$length(receiver);
  30779. this.set$length(receiver, t1 + 1);
  30780. this.$indexSet(receiver, t1, element);
  30781. },
  30782. cast$1$0(receiver, $R) {
  30783. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  30784. },
  30785. sort$1(receiver, compare) {
  30786. A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare);
  30787. },
  30788. getRange$2(receiver, start, end) {
  30789. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  30790. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListMixin.E"));
  30791. },
  30792. fillRange$3(receiver, start, end, fill) {
  30793. var i,
  30794. value = fill == null ? A.instanceType(receiver)._eval$1("ListMixin.E")._as(fill) : fill;
  30795. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  30796. for (i = start; i < end; ++i)
  30797. this.$indexSet(receiver, i, value);
  30798. },
  30799. setRange$4(receiver, start, end, iterable, skipCount) {
  30800. var $length, otherStart, otherList, t1, i;
  30801. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  30802. $length = end - start;
  30803. if ($length === 0)
  30804. return;
  30805. A.RangeError_checkNotNegative(skipCount, "skipCount");
  30806. if (A.instanceType(receiver)._eval$1("List<ListMixin.E>")._is(iterable)) {
  30807. otherStart = skipCount;
  30808. otherList = iterable;
  30809. } else {
  30810. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  30811. otherStart = 0;
  30812. }
  30813. t1 = J.getInterceptor$asx(otherList);
  30814. if (otherStart + $length > t1.get$length(otherList))
  30815. throw A.wrapException(A.IterableElementError_tooFew());
  30816. if (otherStart < start)
  30817. for (i = $length - 1; i >= 0; --i)
  30818. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  30819. else
  30820. for (i = 0; i < $length; ++i)
  30821. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  30822. },
  30823. get$reversed(receiver) {
  30824. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListMixin.E>"));
  30825. },
  30826. toString$0(receiver) {
  30827. return A.IterableBase_iterableToFullString(receiver, "[", "]");
  30828. }
  30829. };
  30830. A.MapBase.prototype = {};
  30831. A.MapBase_mapToString_closure.prototype = {
  30832. call$2(k, v) {
  30833. var t2,
  30834. t1 = this._box_0;
  30835. if (!t1.first)
  30836. this.result._contents += ", ";
  30837. t1.first = false;
  30838. t1 = this.result;
  30839. t2 = t1._contents += A.S(k);
  30840. t1._contents = t2 + ": ";
  30841. t1._contents += A.S(v);
  30842. },
  30843. $signature: 167
  30844. };
  30845. A.MapMixin.prototype = {
  30846. cast$2$0(_, RK, RV) {
  30847. var t1 = A._instanceType(this);
  30848. return A.Map_castFrom(this, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV);
  30849. },
  30850. forEach$1(_, action) {
  30851. var t1, t2, key, t3, _this = this;
  30852. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapMixin.V"); t1.moveNext$0();) {
  30853. key = t1.get$current(t1);
  30854. t3 = _this.$index(0, key);
  30855. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  30856. }
  30857. },
  30858. addAll$1(_, other) {
  30859. other.forEach$1(0, new A.MapMixin_addAll_closure(this));
  30860. },
  30861. get$entries(_) {
  30862. var _this = this;
  30863. return J.map$1$1$ax(_this.get$keys(_this), new A.MapMixin_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>"));
  30864. },
  30865. containsKey$1(key) {
  30866. return J.contains$1$asx(this.get$keys(this), key);
  30867. },
  30868. get$length(_) {
  30869. return J.get$length$asx(this.get$keys(this));
  30870. },
  30871. get$isEmpty(_) {
  30872. return J.get$isEmpty$asx(this.get$keys(this));
  30873. },
  30874. get$isNotEmpty(_) {
  30875. return J.get$isNotEmpty$asx(this.get$keys(this));
  30876. },
  30877. get$values(_) {
  30878. var t1 = A._instanceType(this);
  30879. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  30880. },
  30881. toString$0(_) {
  30882. return A.MapBase_mapToString(this);
  30883. },
  30884. $isMap: 1
  30885. };
  30886. A.MapMixin_addAll_closure.prototype = {
  30887. call$2(key, value) {
  30888. this.$this.$indexSet(0, key, value);
  30889. },
  30890. $signature() {
  30891. return A._instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)");
  30892. }
  30893. };
  30894. A.MapMixin_entries_closure.prototype = {
  30895. call$1(key) {
  30896. var t1 = this.$this,
  30897. t2 = t1.$index(0, key);
  30898. if (t2 == null)
  30899. t2 = A._instanceType(t1)._eval$1("MapMixin.V")._as(t2);
  30900. t1 = A._instanceType(t1);
  30901. return new A.MapEntry(key, t2, t1._eval$1("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>"));
  30902. },
  30903. $signature() {
  30904. return A._instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)");
  30905. }
  30906. };
  30907. A.UnmodifiableMapBase.prototype = {};
  30908. A._MapBaseValueIterable.prototype = {
  30909. get$length(_) {
  30910. var t1 = this._map;
  30911. return t1.get$length(t1);
  30912. },
  30913. get$isEmpty(_) {
  30914. var t1 = this._map;
  30915. return t1.get$isEmpty(t1);
  30916. },
  30917. get$isNotEmpty(_) {
  30918. var t1 = this._map;
  30919. return t1.get$isNotEmpty(t1);
  30920. },
  30921. get$first(_) {
  30922. var t1 = this._map;
  30923. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  30924. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  30925. },
  30926. get$single(_) {
  30927. var t1 = this._map;
  30928. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  30929. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  30930. },
  30931. get$last(_) {
  30932. var t1 = this._map;
  30933. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  30934. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  30935. },
  30936. get$iterator(_) {
  30937. var t1 = this._map;
  30938. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
  30939. }
  30940. };
  30941. A._MapBaseValueIterator.prototype = {
  30942. moveNext$0() {
  30943. var _this = this,
  30944. t1 = _this._keys;
  30945. if (t1.moveNext$0()) {
  30946. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  30947. return true;
  30948. }
  30949. _this._collection$_current = null;
  30950. return false;
  30951. },
  30952. get$current(_) {
  30953. var t1 = this._collection$_current;
  30954. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  30955. }
  30956. };
  30957. A._UnmodifiableMapMixin.prototype = {
  30958. $indexSet(_, key, value) {
  30959. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  30960. },
  30961. addAll$1(_, other) {
  30962. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  30963. },
  30964. remove$1(_, key) {
  30965. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  30966. }
  30967. };
  30968. A.MapView.prototype = {
  30969. cast$2$0(_, RK, RV) {
  30970. return this._map.cast$2$0(0, RK, RV);
  30971. },
  30972. $index(_, key) {
  30973. return this._map.$index(0, key);
  30974. },
  30975. $indexSet(_, key, value) {
  30976. this._map.$indexSet(0, key, value);
  30977. },
  30978. addAll$1(_, other) {
  30979. this._map.addAll$1(0, other);
  30980. },
  30981. containsKey$1(key) {
  30982. return this._map.containsKey$1(key);
  30983. },
  30984. forEach$1(_, action) {
  30985. this._map.forEach$1(0, action);
  30986. },
  30987. get$isEmpty(_) {
  30988. var t1 = this._map;
  30989. return t1.get$isEmpty(t1);
  30990. },
  30991. get$isNotEmpty(_) {
  30992. var t1 = this._map;
  30993. return t1.get$isNotEmpty(t1);
  30994. },
  30995. get$length(_) {
  30996. var t1 = this._map;
  30997. return t1.get$length(t1);
  30998. },
  30999. get$keys(_) {
  31000. var t1 = this._map;
  31001. return t1.get$keys(t1);
  31002. },
  31003. remove$1(_, key) {
  31004. return this._map.remove$1(0, key);
  31005. },
  31006. toString$0(_) {
  31007. return this._map.toString$0(0);
  31008. },
  31009. get$values(_) {
  31010. var t1 = this._map;
  31011. return t1.get$values(t1);
  31012. },
  31013. get$entries(_) {
  31014. var t1 = this._map;
  31015. return t1.get$entries(t1);
  31016. },
  31017. $isMap: 1
  31018. };
  31019. A.UnmodifiableMapView.prototype = {
  31020. cast$2$0(_, RK, RV) {
  31021. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  31022. }
  31023. };
  31024. A.ListQueue.prototype = {
  31025. get$iterator(_) {
  31026. var _this = this;
  31027. return new A._ListQueueIterator(_this, _this._collection$_tail, _this._modificationCount, _this._collection$_head);
  31028. },
  31029. get$isEmpty(_) {
  31030. return this._collection$_head === this._collection$_tail;
  31031. },
  31032. get$length(_) {
  31033. return (this._collection$_tail - this._collection$_head & this._collection$_table.length - 1) >>> 0;
  31034. },
  31035. get$first(_) {
  31036. var _this = this,
  31037. t1 = _this._collection$_head;
  31038. if (t1 === _this._collection$_tail)
  31039. throw A.wrapException(A.IterableElementError_noElement());
  31040. t1 = _this._collection$_table[t1];
  31041. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31042. },
  31043. get$last(_) {
  31044. var _this = this,
  31045. t1 = _this._collection$_head,
  31046. t2 = _this._collection$_tail;
  31047. if (t1 === t2)
  31048. throw A.wrapException(A.IterableElementError_noElement());
  31049. t1 = _this._collection$_table;
  31050. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  31051. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31052. },
  31053. get$single(_) {
  31054. var t1, _this = this;
  31055. if (_this._collection$_head === _this._collection$_tail)
  31056. throw A.wrapException(A.IterableElementError_noElement());
  31057. if (_this.get$length(_this) > 1)
  31058. throw A.wrapException(A.IterableElementError_tooMany());
  31059. t1 = _this._collection$_table[_this._collection$_head];
  31060. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31061. },
  31062. elementAt$1(_, index) {
  31063. var t1, _this = this;
  31064. A.RangeError_checkValidIndex(index, _this, null);
  31065. t1 = _this._collection$_table;
  31066. t1 = t1[(_this._collection$_head + index & t1.length - 1) >>> 0];
  31067. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  31068. },
  31069. toList$1$growable(_, growable) {
  31070. var t1, list, t2, t3, i, t4, _this = this,
  31071. mask = _this._collection$_table.length - 1,
  31072. $length = (_this._collection$_tail - _this._collection$_head & mask) >>> 0;
  31073. if ($length === 0) {
  31074. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  31075. return t1;
  31076. }
  31077. t1 = _this.$ti._precomputed1;
  31078. list = A.List_List$filled($length, _this.get$first(_this), true, t1);
  31079. for (t2 = _this._collection$_table, t3 = _this._collection$_head, i = 0; i < $length; ++i) {
  31080. t4 = t2[(t3 + i & mask) >>> 0];
  31081. list[i] = t4 == null ? t1._as(t4) : t4;
  31082. }
  31083. return list;
  31084. },
  31085. toList$0($receiver) {
  31086. return this.toList$1$growable($receiver, true);
  31087. },
  31088. add$1(_, value) {
  31089. this._add$1(value);
  31090. },
  31091. addAll$1(_, elements) {
  31092. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this,
  31093. t1 = _this.$ti;
  31094. if (t1._eval$1("List<1>")._is(elements)) {
  31095. addCount = J.get$length$asx(elements);
  31096. $length = _this.get$length(_this);
  31097. t2 = $length + addCount;
  31098. t3 = _this._collection$_table;
  31099. t4 = t3.length;
  31100. if (t2 >= t4) {
  31101. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + B.JSInt_methods._shrOtherPositive$1(t2, 1)), null, false, t1._eval$1("1?"));
  31102. _this._collection$_tail = _this._collection$_writeToList$1(newTable);
  31103. _this._collection$_table = newTable;
  31104. _this._collection$_head = 0;
  31105. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  31106. _this._collection$_tail += addCount;
  31107. } else {
  31108. t1 = _this._collection$_tail;
  31109. endSpace = t4 - t1;
  31110. if (addCount < endSpace) {
  31111. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  31112. _this._collection$_tail += addCount;
  31113. } else {
  31114. preSpace = addCount - endSpace;
  31115. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  31116. B.JSArray_methods.setRange$4(_this._collection$_table, 0, preSpace, elements, endSpace);
  31117. _this._collection$_tail = preSpace;
  31118. }
  31119. }
  31120. ++_this._modificationCount;
  31121. } else
  31122. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31123. _this._add$1(t1.get$current(t1));
  31124. },
  31125. clear$0(_) {
  31126. var t2, t3, _this = this,
  31127. i = _this._collection$_head,
  31128. t1 = _this._collection$_tail;
  31129. if (i !== t1) {
  31130. for (t2 = _this._collection$_table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  31131. t2[i] = null;
  31132. _this._collection$_head = _this._collection$_tail = 0;
  31133. ++_this._modificationCount;
  31134. }
  31135. },
  31136. toString$0(_) {
  31137. return A.IterableBase_iterableToFullString(this, "{", "}");
  31138. },
  31139. addFirst$1(value) {
  31140. var _this = this,
  31141. t1 = _this._collection$_head,
  31142. t2 = _this._collection$_table;
  31143. t1 = _this._collection$_head = (t1 - 1 & t2.length - 1) >>> 0;
  31144. t2[t1] = value;
  31145. if (t1 === _this._collection$_tail)
  31146. _this._collection$_grow$0();
  31147. ++_this._modificationCount;
  31148. },
  31149. removeFirst$0() {
  31150. var t2, result, _this = this,
  31151. t1 = _this._collection$_head;
  31152. if (t1 === _this._collection$_tail)
  31153. throw A.wrapException(A.IterableElementError_noElement());
  31154. ++_this._modificationCount;
  31155. t2 = _this._collection$_table;
  31156. result = t2[t1];
  31157. if (result == null)
  31158. result = _this.$ti._precomputed1._as(result);
  31159. t2[t1] = null;
  31160. _this._collection$_head = (t1 + 1 & t2.length - 1) >>> 0;
  31161. return result;
  31162. },
  31163. removeLast$0(_) {
  31164. var result, _this = this,
  31165. t1 = _this._collection$_head,
  31166. t2 = _this._collection$_tail;
  31167. if (t1 === t2)
  31168. throw A.wrapException(A.IterableElementError_noElement());
  31169. ++_this._modificationCount;
  31170. t1 = _this._collection$_table;
  31171. t2 = _this._collection$_tail = (t2 - 1 & t1.length - 1) >>> 0;
  31172. result = t1[t2];
  31173. if (result == null)
  31174. result = _this.$ti._precomputed1._as(result);
  31175. t1[t2] = null;
  31176. return result;
  31177. },
  31178. _add$1(element) {
  31179. var _this = this,
  31180. t1 = _this._collection$_table,
  31181. t2 = _this._collection$_tail;
  31182. t1[t2] = element;
  31183. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  31184. _this._collection$_tail = t1;
  31185. if (_this._collection$_head === t1)
  31186. _this._collection$_grow$0();
  31187. ++_this._modificationCount;
  31188. },
  31189. _collection$_grow$0() {
  31190. var _this = this,
  31191. newTable = A.List_List$filled(_this._collection$_table.length * 2, null, false, _this.$ti._eval$1("1?")),
  31192. t1 = _this._collection$_table,
  31193. t2 = _this._collection$_head,
  31194. split = t1.length - t2;
  31195. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  31196. B.JSArray_methods.setRange$4(newTable, split, split + _this._collection$_head, _this._collection$_table, 0);
  31197. _this._collection$_head = 0;
  31198. _this._collection$_tail = _this._collection$_table.length;
  31199. _this._collection$_table = newTable;
  31200. },
  31201. _collection$_writeToList$1(target) {
  31202. var $length, firstPartSize, _this = this,
  31203. t1 = _this._collection$_head,
  31204. t2 = _this._collection$_tail,
  31205. t3 = _this._collection$_table;
  31206. if (t1 <= t2) {
  31207. $length = t2 - t1;
  31208. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  31209. return $length;
  31210. } else {
  31211. firstPartSize = t3.length - t1;
  31212. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  31213. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._collection$_tail, _this._collection$_table, 0);
  31214. return _this._collection$_tail + firstPartSize;
  31215. }
  31216. },
  31217. $isQueue: 1
  31218. };
  31219. A._ListQueueIterator.prototype = {
  31220. get$current(_) {
  31221. var t1 = this._collection$_current;
  31222. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31223. },
  31224. moveNext$0() {
  31225. var t2, _this = this,
  31226. t1 = _this._queue;
  31227. if (_this._modificationCount !== t1._modificationCount)
  31228. A.throwExpression(A.ConcurrentModificationError$(t1));
  31229. t2 = _this._collection$_position;
  31230. if (t2 === _this._collection$_end) {
  31231. _this._collection$_current = null;
  31232. return false;
  31233. }
  31234. t1 = t1._collection$_table;
  31235. _this._collection$_current = t1[t2];
  31236. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  31237. return true;
  31238. }
  31239. };
  31240. A.SetMixin.prototype = {
  31241. get$isEmpty(_) {
  31242. return this.get$length(this) === 0;
  31243. },
  31244. get$isNotEmpty(_) {
  31245. return this.get$length(this) !== 0;
  31246. },
  31247. addAll$1(_, elements) {
  31248. var t1;
  31249. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31250. this.add$1(0, t1.get$current(t1));
  31251. },
  31252. removeAll$1(elements) {
  31253. var t1;
  31254. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  31255. this.remove$1(0, t1.get$current(t1));
  31256. },
  31257. toList$1$growable(_, growable) {
  31258. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  31259. },
  31260. toList$0($receiver) {
  31261. return this.toList$1$growable($receiver, true);
  31262. },
  31263. map$1$1(_, f, $T) {
  31264. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  31265. },
  31266. get$single(_) {
  31267. var it, _this = this;
  31268. if (_this.get$length(_this) > 1)
  31269. throw A.wrapException(A.IterableElementError_tooMany());
  31270. it = _this.get$iterator(_this);
  31271. if (!it.moveNext$0())
  31272. throw A.wrapException(A.IterableElementError_noElement());
  31273. return it.get$current(it);
  31274. },
  31275. toString$0(_) {
  31276. return A.IterableBase_iterableToFullString(this, "{", "}");
  31277. },
  31278. where$1(_, f) {
  31279. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  31280. },
  31281. join$1(_, separator) {
  31282. var t1,
  31283. iterator = this.get$iterator(this);
  31284. if (!iterator.moveNext$0())
  31285. return "";
  31286. if (separator === "") {
  31287. t1 = "";
  31288. do
  31289. t1 += A.S(iterator.get$current(iterator));
  31290. while (iterator.moveNext$0());
  31291. } else {
  31292. t1 = "" + A.S(iterator.get$current(iterator));
  31293. for (; iterator.moveNext$0();)
  31294. t1 = t1 + separator + A.S(iterator.get$current(iterator));
  31295. }
  31296. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31297. },
  31298. join$0($receiver) {
  31299. return this.join$1($receiver, "");
  31300. },
  31301. any$1(_, test) {
  31302. var t1;
  31303. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  31304. if (test.call$1(t1.get$current(t1)))
  31305. return true;
  31306. return false;
  31307. },
  31308. take$1(_, n) {
  31309. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  31310. },
  31311. skip$1(_, n) {
  31312. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  31313. },
  31314. get$first(_) {
  31315. var it = this.get$iterator(this);
  31316. if (!it.moveNext$0())
  31317. throw A.wrapException(A.IterableElementError_noElement());
  31318. return it.get$current(it);
  31319. },
  31320. get$last(_) {
  31321. var result,
  31322. it = this.get$iterator(this);
  31323. if (!it.moveNext$0())
  31324. throw A.wrapException(A.IterableElementError_noElement());
  31325. do
  31326. result = it.get$current(it);
  31327. while (it.moveNext$0());
  31328. return result;
  31329. },
  31330. elementAt$1(_, index) {
  31331. var t1, elementIndex, element, _s5_ = "index";
  31332. A.checkNotNullable(index, _s5_, type$.int);
  31333. A.RangeError_checkNotNegative(index, _s5_);
  31334. for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
  31335. element = t1.get$current(t1);
  31336. if (index === elementIndex)
  31337. return element;
  31338. ++elementIndex;
  31339. }
  31340. throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex));
  31341. }
  31342. };
  31343. A._SetBase.prototype = {
  31344. difference$1(other) {
  31345. var t1, t2, element,
  31346. result = this._newSet$0();
  31347. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  31348. element = t1.get$current(t1);
  31349. if (!t2.contains$1(0, element))
  31350. result.add$1(0, element);
  31351. }
  31352. return result;
  31353. },
  31354. intersection$1(other) {
  31355. var t1, t2, element,
  31356. result = this._newSet$0();
  31357. for (t1 = this.get$iterator(this), t2 = other._baseMap; t1.moveNext$0();) {
  31358. element = t1.get$current(t1);
  31359. if (t2.containsKey$1(element))
  31360. result.add$1(0, element);
  31361. }
  31362. return result;
  31363. },
  31364. toSet$0(_) {
  31365. var t1 = this._newSet$0();
  31366. t1.addAll$1(0, this);
  31367. return t1;
  31368. },
  31369. $isEfficientLengthIterable: 1,
  31370. $isIterable: 1,
  31371. $isSet: 1
  31372. };
  31373. A._UnmodifiableSetMixin.prototype = {
  31374. add$1(_, value) {
  31375. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31376. },
  31377. addAll$1(_, elements) {
  31378. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31379. },
  31380. remove$1(_, value) {
  31381. return A._UnmodifiableSetMixin__throwUnmodifiable();
  31382. }
  31383. };
  31384. A._UnmodifiableSet.prototype = {
  31385. _newSet$0() {
  31386. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  31387. },
  31388. contains$1(_, element) {
  31389. return this._map.containsKey$1(element);
  31390. },
  31391. get$iterator(_) {
  31392. var t1 = this._map;
  31393. return J.get$iterator$ax(t1.get$keys(t1));
  31394. },
  31395. get$length(_) {
  31396. var t1 = this._map;
  31397. return t1.get$length(t1);
  31398. }
  31399. };
  31400. A._ListBase_Object_ListMixin.prototype = {};
  31401. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  31402. A.__SetBase_Object_SetMixin.prototype = {};
  31403. A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin.prototype = {};
  31404. A.Utf8Decoder__decoder_closure.prototype = {
  31405. call$0() {
  31406. var t1, exception;
  31407. try {
  31408. t1 = new TextDecoder("utf-8", {fatal: true});
  31409. return t1;
  31410. } catch (exception) {
  31411. }
  31412. return null;
  31413. },
  31414. $signature: 89
  31415. };
  31416. A.Utf8Decoder__decoderNonfatal_closure.prototype = {
  31417. call$0() {
  31418. var t1, exception;
  31419. try {
  31420. t1 = new TextDecoder("utf-8", {fatal: false});
  31421. return t1;
  31422. } catch (exception) {
  31423. }
  31424. return null;
  31425. },
  31426. $signature: 89
  31427. };
  31428. A.AsciiCodec.prototype = {
  31429. encode$1(source) {
  31430. return B.AsciiEncoder_127.convert$1(source);
  31431. },
  31432. get$encoder() {
  31433. return B.AsciiEncoder_127;
  31434. }
  31435. };
  31436. A._UnicodeSubsetEncoder.prototype = {
  31437. convert$1(string) {
  31438. var t1, i, codeUnit,
  31439. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  31440. result = new Uint8Array($length);
  31441. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  31442. codeUnit = B.JSString_methods._codeUnitAt$1(string, i);
  31443. if ((codeUnit & t1) !== 0)
  31444. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  31445. result[i] = codeUnit;
  31446. }
  31447. return result;
  31448. }
  31449. };
  31450. A.AsciiEncoder.prototype = {};
  31451. A.Base64Codec.prototype = {
  31452. get$encoder() {
  31453. return B.C_Base64Encoder;
  31454. },
  31455. normalize$3(source, start, end) {
  31456. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  31457. _s31_ = "Invalid base64 encoding length ";
  31458. end = A.RangeError_checkValidRange(start, end, source.length);
  31459. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  31460. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  31461. i0 = i + 1;
  31462. char = B.JSString_methods._codeUnitAt$1(source, i);
  31463. if (char === 37) {
  31464. i1 = i0 + 2;
  31465. if (i1 <= end) {
  31466. digit1 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0));
  31467. digit2 = A.hexDigitValue(B.JSString_methods._codeUnitAt$1(source, i0 + 1));
  31468. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  31469. if (char0 === 37)
  31470. char0 = -1;
  31471. i0 = i1;
  31472. } else
  31473. char0 = -1;
  31474. } else
  31475. char0 = char;
  31476. if (0 <= char0 && char0 <= 127) {
  31477. value = inverseAlphabet[char0];
  31478. if (value >= 0) {
  31479. char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value);
  31480. if (char0 === char)
  31481. continue;
  31482. char = char0;
  31483. } else {
  31484. if (value === -1) {
  31485. if (firstPadding < 0) {
  31486. t1 = buffer == null ? null : buffer._contents.length;
  31487. if (t1 == null)
  31488. t1 = 0;
  31489. firstPadding = t1 + (i - sliceStart);
  31490. firstPaddingSourceIndex = i;
  31491. }
  31492. ++paddingCount;
  31493. if (char === 61)
  31494. continue;
  31495. }
  31496. char = char0;
  31497. }
  31498. if (value !== -2) {
  31499. if (buffer == null) {
  31500. buffer = new A.StringBuffer("");
  31501. t1 = buffer;
  31502. } else
  31503. t1 = buffer;
  31504. t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  31505. t1._contents = t2 + A.Primitives_stringFromCharCode(char);
  31506. sliceStart = i0;
  31507. continue;
  31508. }
  31509. }
  31510. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  31511. }
  31512. if (buffer != null) {
  31513. t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
  31514. t2 = t1.length;
  31515. if (firstPadding >= 0)
  31516. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  31517. else {
  31518. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  31519. if (endLength === 1)
  31520. throw A.wrapException(A.FormatException$(_s31_, source, end));
  31521. for (; endLength < 4;) {
  31522. t1 += "=";
  31523. buffer._contents = t1;
  31524. ++endLength;
  31525. }
  31526. }
  31527. t1 = buffer._contents;
  31528. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  31529. }
  31530. $length = end - start;
  31531. if (firstPadding >= 0)
  31532. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  31533. else {
  31534. endLength = B.JSInt_methods.$mod($length, 4);
  31535. if (endLength === 1)
  31536. throw A.wrapException(A.FormatException$(_s31_, source, end));
  31537. if (endLength > 1)
  31538. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  31539. }
  31540. return source;
  31541. }
  31542. };
  31543. A.Base64Encoder.prototype = {
  31544. convert$1(input) {
  31545. var t1 = J.getInterceptor$asx(input);
  31546. if (t1.get$isEmpty(input))
  31547. return "";
  31548. t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true);
  31549. t1.toString;
  31550. return A.String_String$fromCharCodes(t1, 0, null);
  31551. },
  31552. startChunkedConversion$1(sink) {
  31553. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  31554. }
  31555. };
  31556. A._Base64Encoder.prototype = {
  31557. createBuffer$1(bufferLength) {
  31558. return new Uint8Array(bufferLength);
  31559. },
  31560. encode$4(bytes, start, end, isLast) {
  31561. var output, _this = this,
  31562. byteCount = (_this._convert$_state & 3) + (end - start),
  31563. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  31564. bufferLength = fullChunks * 4;
  31565. if (isLast && byteCount - fullChunks * 3 > 0)
  31566. bufferLength += 4;
  31567. output = _this.createBuffer$1(bufferLength);
  31568. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  31569. if (bufferLength > 0)
  31570. return output;
  31571. return null;
  31572. }
  31573. };
  31574. A._Base64EncoderSink.prototype = {
  31575. add$1(_, source) {
  31576. this._convert$_add$4(source, 0, source.get$length(source), false);
  31577. }
  31578. };
  31579. A._Utf8Base64EncoderSink.prototype = {
  31580. _convert$_add$4(source, start, end, isLast) {
  31581. var buffer = this._encoder.encode$4(source, start, end, isLast);
  31582. if (buffer != null)
  31583. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  31584. }
  31585. };
  31586. A.ByteConversionSink.prototype = {};
  31587. A.ByteConversionSinkBase.prototype = {};
  31588. A.ChunkedConversionSink.prototype = {};
  31589. A.Codec.prototype = {
  31590. encode$1(input) {
  31591. return this.get$encoder().convert$1(input);
  31592. }
  31593. };
  31594. A.Converter.prototype = {};
  31595. A.Encoding.prototype = {};
  31596. A.JsonUnsupportedObjectError.prototype = {
  31597. toString$0(_) {
  31598. var safeString = A.Error_safeToString(this.unsupportedObject);
  31599. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  31600. }
  31601. };
  31602. A.JsonCyclicError.prototype = {
  31603. toString$0(_) {
  31604. return "Cyclic error in JSON stringify";
  31605. }
  31606. };
  31607. A.JsonCodec.prototype = {
  31608. encode$2$toEncodable(value, toEncodable) {
  31609. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  31610. return t1;
  31611. },
  31612. get$encoder() {
  31613. return B.JsonEncoder_null;
  31614. }
  31615. };
  31616. A.JsonEncoder.prototype = {
  31617. convert$1(object) {
  31618. var t1,
  31619. output = new A.StringBuffer(""),
  31620. stringifier = A._JsonStringStringifier$(output, this._toEncodable);
  31621. stringifier.writeObject$1(object);
  31622. t1 = output._contents;
  31623. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31624. }
  31625. };
  31626. A._JsonStringifier.prototype = {
  31627. writeStringContent$1(s) {
  31628. var offset, i, charCode, t1, t2, _this = this,
  31629. $length = s.length;
  31630. for (offset = 0, i = 0; i < $length; ++i) {
  31631. charCode = B.JSString_methods._codeUnitAt$1(s, i);
  31632. if (charCode > 92) {
  31633. if (charCode >= 55296) {
  31634. t1 = charCode & 64512;
  31635. if (t1 === 55296) {
  31636. t2 = i + 1;
  31637. t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320);
  31638. } else
  31639. t2 = false;
  31640. if (!t2)
  31641. if (t1 === 56320) {
  31642. t1 = i - 1;
  31643. t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, t1) & 64512) === 55296);
  31644. } else
  31645. t1 = false;
  31646. else
  31647. t1 = true;
  31648. if (t1) {
  31649. if (i > offset)
  31650. _this.writeStringSlice$3(s, offset, i);
  31651. offset = i + 1;
  31652. _this.writeCharCode$1(92);
  31653. _this.writeCharCode$1(117);
  31654. _this.writeCharCode$1(100);
  31655. t1 = charCode >>> 8 & 15;
  31656. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31657. t1 = charCode >>> 4 & 15;
  31658. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31659. t1 = charCode & 15;
  31660. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31661. }
  31662. }
  31663. continue;
  31664. }
  31665. if (charCode < 32) {
  31666. if (i > offset)
  31667. _this.writeStringSlice$3(s, offset, i);
  31668. offset = i + 1;
  31669. _this.writeCharCode$1(92);
  31670. switch (charCode) {
  31671. case 8:
  31672. _this.writeCharCode$1(98);
  31673. break;
  31674. case 9:
  31675. _this.writeCharCode$1(116);
  31676. break;
  31677. case 10:
  31678. _this.writeCharCode$1(110);
  31679. break;
  31680. case 12:
  31681. _this.writeCharCode$1(102);
  31682. break;
  31683. case 13:
  31684. _this.writeCharCode$1(114);
  31685. break;
  31686. default:
  31687. _this.writeCharCode$1(117);
  31688. _this.writeCharCode$1(48);
  31689. _this.writeCharCode$1(48);
  31690. t1 = charCode >>> 4 & 15;
  31691. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31692. t1 = charCode & 15;
  31693. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  31694. break;
  31695. }
  31696. } else if (charCode === 34 || charCode === 92) {
  31697. if (i > offset)
  31698. _this.writeStringSlice$3(s, offset, i);
  31699. offset = i + 1;
  31700. _this.writeCharCode$1(92);
  31701. _this.writeCharCode$1(charCode);
  31702. }
  31703. }
  31704. if (offset === 0)
  31705. _this.writeString$1(s);
  31706. else if (offset < $length)
  31707. _this.writeStringSlice$3(s, offset, $length);
  31708. },
  31709. _checkCycle$1(object) {
  31710. var t1, t2, i, t3;
  31711. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  31712. t3 = t1[i];
  31713. if (object == null ? t3 == null : object === t3)
  31714. throw A.wrapException(new A.JsonCyclicError(object, null));
  31715. }
  31716. t1.push(object);
  31717. },
  31718. writeObject$1(object) {
  31719. var customJson, e, t1, exception, _this = this;
  31720. if (_this.writeJsonValue$1(object))
  31721. return;
  31722. _this._checkCycle$1(object);
  31723. try {
  31724. customJson = _this._toEncodable.call$1(object);
  31725. if (!_this.writeJsonValue$1(customJson)) {
  31726. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  31727. throw A.wrapException(t1);
  31728. }
  31729. _this._seen.pop();
  31730. } catch (exception) {
  31731. e = A.unwrapException(exception);
  31732. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  31733. throw A.wrapException(t1);
  31734. }
  31735. },
  31736. writeJsonValue$1(object) {
  31737. var success, _this = this;
  31738. if (typeof object == "number") {
  31739. if (!isFinite(object))
  31740. return false;
  31741. _this.writeNumber$1(object);
  31742. return true;
  31743. } else if (object === true) {
  31744. _this.writeString$1("true");
  31745. return true;
  31746. } else if (object === false) {
  31747. _this.writeString$1("false");
  31748. return true;
  31749. } else if (object == null) {
  31750. _this.writeString$1("null");
  31751. return true;
  31752. } else if (typeof object == "string") {
  31753. _this.writeString$1('"');
  31754. _this.writeStringContent$1(object);
  31755. _this.writeString$1('"');
  31756. return true;
  31757. } else if (type$.List_dynamic._is(object)) {
  31758. _this._checkCycle$1(object);
  31759. _this.writeList$1(object);
  31760. _this._seen.pop();
  31761. return true;
  31762. } else if (type$.Map_dynamic_dynamic._is(object)) {
  31763. _this._checkCycle$1(object);
  31764. success = _this.writeMap$1(object);
  31765. _this._seen.pop();
  31766. return success;
  31767. } else
  31768. return false;
  31769. },
  31770. writeList$1(list) {
  31771. var t1, i, _this = this;
  31772. _this.writeString$1("[");
  31773. t1 = J.getInterceptor$asx(list);
  31774. if (t1.get$isNotEmpty(list)) {
  31775. _this.writeObject$1(t1.$index(list, 0));
  31776. for (i = 1; i < t1.get$length(list); ++i) {
  31777. _this.writeString$1(",");
  31778. _this.writeObject$1(t1.$index(list, i));
  31779. }
  31780. }
  31781. _this.writeString$1("]");
  31782. },
  31783. writeMap$1(map) {
  31784. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  31785. if (map.get$isEmpty(map)) {
  31786. _this.writeString$1("{}");
  31787. return true;
  31788. }
  31789. t1 = map.get$length(map) * 2;
  31790. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  31791. i = _box_0.i = 0;
  31792. _box_0.allStringKeys = true;
  31793. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  31794. if (!_box_0.allStringKeys)
  31795. return false;
  31796. _this.writeString$1("{");
  31797. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  31798. _this.writeString$1(separator);
  31799. _this.writeStringContent$1(A._asString(keyValueList[i]));
  31800. _this.writeString$1('":');
  31801. _this.writeObject$1(keyValueList[i + 1]);
  31802. }
  31803. _this.writeString$1("}");
  31804. return true;
  31805. }
  31806. };
  31807. A._JsonStringifier_writeMap_closure.prototype = {
  31808. call$2(key, value) {
  31809. var t1, t2, t3, i;
  31810. if (typeof key != "string")
  31811. this._box_0.allStringKeys = false;
  31812. t1 = this.keyValueList;
  31813. t2 = this._box_0;
  31814. t3 = t2.i;
  31815. i = t2.i = t3 + 1;
  31816. t1[t3] = key;
  31817. t2.i = i + 1;
  31818. t1[i] = value;
  31819. },
  31820. $signature: 167
  31821. };
  31822. A._JsonStringStringifier.prototype = {
  31823. get$_partialResult() {
  31824. var t1 = this._sink._contents;
  31825. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31826. },
  31827. writeNumber$1(number) {
  31828. this._sink._contents += B.JSNumber_methods.toString$0(number);
  31829. },
  31830. writeString$1(string) {
  31831. this._sink._contents += string;
  31832. },
  31833. writeStringSlice$3(string, start, end) {
  31834. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  31835. },
  31836. writeCharCode$1(charCode) {
  31837. this._sink._contents += A.Primitives_stringFromCharCode(charCode);
  31838. }
  31839. };
  31840. A.StringConversionSinkBase.prototype = {};
  31841. A.StringConversionSinkMixin.prototype = {
  31842. add$1(_, str) {
  31843. this.addSlice$4(str, 0, str.length, false);
  31844. }
  31845. };
  31846. A._StringSinkConversionSink.prototype = {
  31847. close$0(_) {
  31848. },
  31849. addSlice$4(str, start, end, isLast) {
  31850. var t1, i;
  31851. if (start !== 0 || end !== str.length)
  31852. for (t1 = this._stringSink, i = start; i < end; ++i)
  31853. t1._contents += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(str, i));
  31854. else
  31855. this._stringSink._contents += str;
  31856. if (isLast)
  31857. this.close$0(0);
  31858. },
  31859. add$1(_, str) {
  31860. this._stringSink._contents += str;
  31861. }
  31862. };
  31863. A._StringCallbackSink.prototype = {
  31864. close$0(_) {
  31865. var t1 = this._stringSink,
  31866. t2 = t1._contents;
  31867. t1._contents = "";
  31868. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  31869. },
  31870. asUtf8Sink$1(allowMalformed) {
  31871. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  31872. }
  31873. };
  31874. A._Utf8StringSinkAdapter.prototype = {
  31875. close$0(_) {
  31876. this._decoder.flush$1(this._stringSink);
  31877. this._sink.close$0(0);
  31878. },
  31879. add$1(_, chunk) {
  31880. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  31881. },
  31882. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  31883. this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
  31884. if (isLast)
  31885. this.close$0(0);
  31886. }
  31887. };
  31888. A.Utf8Codec.prototype = {
  31889. get$encoder() {
  31890. return B.C_Utf8Encoder;
  31891. }
  31892. };
  31893. A.Utf8Encoder.prototype = {
  31894. convert$1(string) {
  31895. var t1, t2, encoder,
  31896. end = A.RangeError_checkValidRange(0, null, string.length),
  31897. $length = end - 0;
  31898. if ($length === 0)
  31899. return new Uint8Array(0);
  31900. t1 = $length * 3;
  31901. t2 = new Uint8Array(t1);
  31902. encoder = new A._Utf8Encoder(t2);
  31903. if (encoder._fillBuffer$3(string, 0, end) !== end) {
  31904. B.JSString_methods.codeUnitAt$1(string, end - 1);
  31905. encoder._writeReplacementCharacter$0();
  31906. }
  31907. return new Uint8Array(t2.subarray(0, A._checkValidRange(0, encoder._bufferIndex, t1)));
  31908. }
  31909. };
  31910. A._Utf8Encoder.prototype = {
  31911. _writeReplacementCharacter$0() {
  31912. var _this = this,
  31913. t1 = _this._convert$_buffer,
  31914. t2 = _this._bufferIndex,
  31915. t3 = _this._bufferIndex = t2 + 1;
  31916. t1[t2] = 239;
  31917. t2 = _this._bufferIndex = t3 + 1;
  31918. t1[t3] = 191;
  31919. _this._bufferIndex = t2 + 1;
  31920. t1[t2] = 189;
  31921. },
  31922. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  31923. var rune, t1, t2, t3, _this = this;
  31924. if ((nextCodeUnit & 64512) === 56320) {
  31925. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  31926. t1 = _this._convert$_buffer;
  31927. t2 = _this._bufferIndex;
  31928. t3 = _this._bufferIndex = t2 + 1;
  31929. t1[t2] = rune >>> 18 | 240;
  31930. t2 = _this._bufferIndex = t3 + 1;
  31931. t1[t3] = rune >>> 12 & 63 | 128;
  31932. t3 = _this._bufferIndex = t2 + 1;
  31933. t1[t2] = rune >>> 6 & 63 | 128;
  31934. _this._bufferIndex = t3 + 1;
  31935. t1[t3] = rune & 63 | 128;
  31936. return true;
  31937. } else {
  31938. _this._writeReplacementCharacter$0();
  31939. return false;
  31940. }
  31941. },
  31942. _fillBuffer$3(str, start, end) {
  31943. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  31944. if (start !== end && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296)
  31945. --end;
  31946. for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  31947. codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex);
  31948. if (codeUnit <= 127) {
  31949. t3 = _this._bufferIndex;
  31950. if (t3 >= t2)
  31951. break;
  31952. _this._bufferIndex = t3 + 1;
  31953. t1[t3] = codeUnit;
  31954. } else {
  31955. t3 = codeUnit & 64512;
  31956. if (t3 === 55296) {
  31957. if (_this._bufferIndex + 4 > t2)
  31958. break;
  31959. stringIndex0 = stringIndex + 1;
  31960. if (_this._writeSurrogate$2(codeUnit, B.JSString_methods._codeUnitAt$1(str, stringIndex0)))
  31961. stringIndex = stringIndex0;
  31962. } else if (t3 === 56320) {
  31963. if (_this._bufferIndex + 3 > t2)
  31964. break;
  31965. _this._writeReplacementCharacter$0();
  31966. } else if (codeUnit <= 2047) {
  31967. t3 = _this._bufferIndex;
  31968. t4 = t3 + 1;
  31969. if (t4 >= t2)
  31970. break;
  31971. _this._bufferIndex = t4;
  31972. t1[t3] = codeUnit >>> 6 | 192;
  31973. _this._bufferIndex = t4 + 1;
  31974. t1[t4] = codeUnit & 63 | 128;
  31975. } else {
  31976. t3 = _this._bufferIndex;
  31977. if (t3 + 2 >= t2)
  31978. break;
  31979. t4 = _this._bufferIndex = t3 + 1;
  31980. t1[t3] = codeUnit >>> 12 | 224;
  31981. t3 = _this._bufferIndex = t4 + 1;
  31982. t1[t4] = codeUnit >>> 6 & 63 | 128;
  31983. _this._bufferIndex = t3 + 1;
  31984. t1[t3] = codeUnit & 63 | 128;
  31985. }
  31986. }
  31987. }
  31988. return stringIndex;
  31989. }
  31990. };
  31991. A.Utf8Decoder.prototype = {
  31992. convert$1(codeUnits) {
  31993. var t1 = this._allowMalformed,
  31994. result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
  31995. if (result != null)
  31996. return result;
  31997. return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
  31998. }
  31999. };
  32000. A._Utf8Decoder.prototype = {
  32001. convertGeneral$4(codeUnits, start, maybeEnd, single) {
  32002. var bytes, errorOffset, result, t1, message, _this = this,
  32003. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  32004. if (start === end)
  32005. return "";
  32006. if (type$.Uint8List._is(codeUnits)) {
  32007. bytes = codeUnits;
  32008. errorOffset = 0;
  32009. } else {
  32010. bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
  32011. end -= start;
  32012. errorOffset = start;
  32013. start = 0;
  32014. }
  32015. result = _this._convertRecursive$4(bytes, start, end, single);
  32016. t1 = _this._convert$_state;
  32017. if ((t1 & 1) !== 0) {
  32018. message = A._Utf8Decoder_errorDescription(t1);
  32019. _this._convert$_state = 0;
  32020. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  32021. }
  32022. return result;
  32023. },
  32024. _convertRecursive$4(bytes, start, end, single) {
  32025. var mid, s1, _this = this;
  32026. if (end - start > 1000) {
  32027. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  32028. s1 = _this._convertRecursive$4(bytes, start, mid, false);
  32029. if ((_this._convert$_state & 1) !== 0)
  32030. return s1;
  32031. return s1 + _this._convertRecursive$4(bytes, mid, end, single);
  32032. }
  32033. return _this.decodeGeneral$4(bytes, start, end, single);
  32034. },
  32035. flush$1(sink) {
  32036. var state = this._convert$_state;
  32037. this._convert$_state = 0;
  32038. if (state <= 32)
  32039. return;
  32040. if (this.allowMalformed)
  32041. sink._contents += A.Primitives_stringFromCharCode(65533);
  32042. else
  32043. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  32044. },
  32045. decodeGeneral$4(bytes, start, end, single) {
  32046. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  32047. state = _this._convert$_state,
  32048. char = _this._charOrIndex,
  32049. buffer = new A.StringBuffer(""),
  32050. i = start + 1,
  32051. byte = bytes[start];
  32052. $label0$0:
  32053. for (t1 = _this.allowMalformed; true;) {
  32054. for (; true; i = i0) {
  32055. type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31;
  32056. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  32057. 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);
  32058. if (state === 0) {
  32059. buffer._contents += A.Primitives_stringFromCharCode(char);
  32060. if (i === end)
  32061. break $label0$0;
  32062. break;
  32063. } else if ((state & 1) !== 0) {
  32064. if (t1)
  32065. switch (state) {
  32066. case 69:
  32067. case 67:
  32068. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32069. break;
  32070. case 65:
  32071. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32072. --i;
  32073. break;
  32074. default:
  32075. t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32076. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  32077. break;
  32078. }
  32079. else {
  32080. _this._convert$_state = state;
  32081. _this._charOrIndex = i - 1;
  32082. return "";
  32083. }
  32084. state = 0;
  32085. }
  32086. if (i === end)
  32087. break $label0$0;
  32088. i0 = i + 1;
  32089. byte = bytes[i];
  32090. }
  32091. i0 = i + 1;
  32092. byte = bytes[i];
  32093. if (byte < 128) {
  32094. while (true) {
  32095. if (!(i0 < end)) {
  32096. markEnd = end;
  32097. break;
  32098. }
  32099. i1 = i0 + 1;
  32100. byte = bytes[i0];
  32101. if (byte >= 128) {
  32102. markEnd = i1 - 1;
  32103. i0 = i1;
  32104. break;
  32105. }
  32106. i0 = i1;
  32107. }
  32108. if (markEnd - i < 20)
  32109. for (m = i; m < markEnd; ++m)
  32110. buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
  32111. else
  32112. buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
  32113. if (markEnd === end)
  32114. break $label0$0;
  32115. i = i0;
  32116. } else
  32117. i = i0;
  32118. }
  32119. if (single && state > 32)
  32120. if (t1)
  32121. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  32122. else {
  32123. _this._convert$_state = 77;
  32124. _this._charOrIndex = end;
  32125. return "";
  32126. }
  32127. _this._convert$_state = state;
  32128. _this._charOrIndex = char;
  32129. t1 = buffer._contents;
  32130. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32131. }
  32132. };
  32133. A.NoSuchMethodError_toString_closure.prototype = {
  32134. call$2(key, value) {
  32135. var t1 = this.sb,
  32136. t2 = this._box_0,
  32137. t3 = t1._contents += t2.comma;
  32138. t3 += key.__internal$_name;
  32139. t1._contents = t3;
  32140. t1._contents = t3 + ": ";
  32141. t1._contents += A.Error_safeToString(value);
  32142. t2.comma = ", ";
  32143. },
  32144. $signature: 488
  32145. };
  32146. A.DateTime.prototype = {
  32147. add$1(_, duration) {
  32148. return A.DateTime$_withValue(B.JSInt_methods.$add(this._core$_value, duration.get$inMilliseconds()), false);
  32149. },
  32150. $eq(_, other) {
  32151. if (other == null)
  32152. return false;
  32153. return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
  32154. },
  32155. compareTo$1(_, other) {
  32156. return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
  32157. },
  32158. get$hashCode(_) {
  32159. var t1 = this._core$_value;
  32160. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  32161. },
  32162. toString$0(_) {
  32163. var _this = this,
  32164. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  32165. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  32166. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  32167. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  32168. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  32169. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  32170. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  32171. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  32172. },
  32173. $isComparable: 1
  32174. };
  32175. A.Duration.prototype = {
  32176. $eq(_, other) {
  32177. if (other == null)
  32178. return false;
  32179. return other instanceof A.Duration && this._duration === other._duration;
  32180. },
  32181. get$hashCode(_) {
  32182. return B.JSInt_methods.get$hashCode(this._duration);
  32183. },
  32184. compareTo$1(_, other) {
  32185. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  32186. },
  32187. toString$0(_) {
  32188. var minutes, minutesPadding, seconds, secondsPadding,
  32189. microseconds = this._duration,
  32190. sign = microseconds < 0 ? "-" : "",
  32191. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000);
  32192. microseconds %= 3600000000;
  32193. if (microseconds < 0)
  32194. microseconds = -microseconds;
  32195. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  32196. microseconds %= 60000000;
  32197. minutesPadding = minutes < 10 ? "0" : "";
  32198. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  32199. secondsPadding = seconds < 10 ? "0" : "";
  32200. return sign + Math.abs(hours) + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  32201. },
  32202. $isComparable: 1
  32203. };
  32204. A._Enum.prototype = {};
  32205. A.Error.prototype = {
  32206. get$stackTrace() {
  32207. return A.getTraceFromException(this.$thrownJsError);
  32208. }
  32209. };
  32210. A.AssertionError.prototype = {
  32211. toString$0(_) {
  32212. var t1 = this.message;
  32213. if (t1 != null)
  32214. return "Assertion failed: " + A.Error_safeToString(t1);
  32215. return "Assertion failed";
  32216. },
  32217. get$message(receiver) {
  32218. return this.message;
  32219. }
  32220. };
  32221. A.TypeError.prototype = {};
  32222. A.NullThrownError.prototype = {
  32223. toString$0(_) {
  32224. return "Throw of null.";
  32225. }
  32226. };
  32227. A.ArgumentError.prototype = {
  32228. get$_errorName() {
  32229. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  32230. },
  32231. get$_errorExplanation() {
  32232. return "";
  32233. },
  32234. toString$0(_) {
  32235. var _this = this,
  32236. $name = _this.name,
  32237. nameString = $name == null ? "" : " (" + $name + ")",
  32238. message = _this.message,
  32239. messageString = message == null ? "" : ": " + A.S(message),
  32240. prefix = _this.get$_errorName() + nameString + messageString;
  32241. if (!_this._hasValue)
  32242. return prefix;
  32243. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.invalidValue);
  32244. },
  32245. get$message(receiver) {
  32246. return this.message;
  32247. }
  32248. };
  32249. A.RangeError.prototype = {
  32250. get$_errorName() {
  32251. return "RangeError";
  32252. },
  32253. get$_errorExplanation() {
  32254. var explanation,
  32255. start = this.start,
  32256. end = this.end;
  32257. if (start == null)
  32258. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  32259. else if (end == null)
  32260. explanation = ": Not greater than or equal to " + A.S(start);
  32261. else if (end > start)
  32262. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  32263. else
  32264. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  32265. return explanation;
  32266. }
  32267. };
  32268. A.IndexError.prototype = {
  32269. get$_errorName() {
  32270. return "RangeError";
  32271. },
  32272. get$_errorExplanation() {
  32273. if (this.invalidValue < 0)
  32274. return ": index must not be negative";
  32275. var t1 = this.length;
  32276. if (t1 === 0)
  32277. return ": no indices are valid";
  32278. return ": index should be less than " + t1;
  32279. },
  32280. $isRangeError: 1,
  32281. get$length(receiver) {
  32282. return this.length;
  32283. }
  32284. };
  32285. A.NoSuchMethodError.prototype = {
  32286. toString$0(_) {
  32287. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  32288. sb = new A.StringBuffer("");
  32289. _box_0.comma = "";
  32290. $arguments = _this._core$_arguments;
  32291. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  32292. argument = $arguments[_i];
  32293. sb._contents = t2 + t3;
  32294. t2 = sb._contents += A.Error_safeToString(argument);
  32295. _box_0.comma = ", ";
  32296. }
  32297. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  32298. receiverText = A.Error_safeToString(_this._core$_receiver);
  32299. actualParameters = sb.toString$0(0);
  32300. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  32301. }
  32302. };
  32303. A.UnsupportedError.prototype = {
  32304. toString$0(_) {
  32305. return "Unsupported operation: " + this.message;
  32306. },
  32307. get$message(receiver) {
  32308. return this.message;
  32309. }
  32310. };
  32311. A.UnimplementedError.prototype = {
  32312. toString$0(_) {
  32313. return "UnimplementedError: " + this.message;
  32314. },
  32315. get$message(receiver) {
  32316. return this.message;
  32317. }
  32318. };
  32319. A.StateError.prototype = {
  32320. toString$0(_) {
  32321. return "Bad state: " + this.message;
  32322. },
  32323. get$message(receiver) {
  32324. return this.message;
  32325. }
  32326. };
  32327. A.ConcurrentModificationError.prototype = {
  32328. toString$0(_) {
  32329. var t1 = this.modifiedObject;
  32330. if (t1 == null)
  32331. return "Concurrent modification during iteration.";
  32332. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  32333. }
  32334. };
  32335. A.OutOfMemoryError.prototype = {
  32336. toString$0(_) {
  32337. return "Out of Memory";
  32338. },
  32339. get$stackTrace() {
  32340. return null;
  32341. },
  32342. $isError: 1
  32343. };
  32344. A.StackOverflowError.prototype = {
  32345. toString$0(_) {
  32346. return "Stack Overflow";
  32347. },
  32348. get$stackTrace() {
  32349. return null;
  32350. },
  32351. $isError: 1
  32352. };
  32353. A.CyclicInitializationError.prototype = {
  32354. toString$0(_) {
  32355. return "Reading static variable '" + this.variableName + "' during its initialization";
  32356. }
  32357. };
  32358. A._Exception.prototype = {
  32359. toString$0(_) {
  32360. return "Exception: " + this.message;
  32361. },
  32362. $isException: 1,
  32363. get$message(receiver) {
  32364. return this.message;
  32365. }
  32366. };
  32367. A.FormatException.prototype = {
  32368. toString$0(_) {
  32369. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  32370. message = this.message,
  32371. report = "" !== message ? "FormatException: " + message : "FormatException",
  32372. offset = this.offset,
  32373. source = this.source;
  32374. if (typeof source == "string") {
  32375. if (offset != null)
  32376. t1 = offset < 0 || offset > source.length;
  32377. else
  32378. t1 = false;
  32379. if (t1)
  32380. offset = null;
  32381. if (offset == null) {
  32382. if (source.length > 78)
  32383. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  32384. return report + "\n" + source;
  32385. }
  32386. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  32387. char = B.JSString_methods._codeUnitAt$1(source, i);
  32388. if (char === 10) {
  32389. if (lineStart !== i || !previousCharWasCR)
  32390. ++lineNum;
  32391. lineStart = i + 1;
  32392. previousCharWasCR = false;
  32393. } else if (char === 13) {
  32394. ++lineNum;
  32395. lineStart = i + 1;
  32396. previousCharWasCR = true;
  32397. }
  32398. }
  32399. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  32400. lineEnd = source.length;
  32401. for (i = offset; i < lineEnd; ++i) {
  32402. char = B.JSString_methods.codeUnitAt$1(source, i);
  32403. if (char === 10 || char === 13) {
  32404. lineEnd = i;
  32405. break;
  32406. }
  32407. }
  32408. if (lineEnd - lineStart > 78)
  32409. if (offset - lineStart < 75) {
  32410. end = lineStart + 75;
  32411. start = lineStart;
  32412. prefix = "";
  32413. postfix = "...";
  32414. } else {
  32415. if (lineEnd - offset < 75) {
  32416. start = lineEnd - 75;
  32417. end = lineEnd;
  32418. postfix = "";
  32419. } else {
  32420. start = offset - 36;
  32421. end = offset + 36;
  32422. postfix = "...";
  32423. }
  32424. prefix = "...";
  32425. }
  32426. else {
  32427. end = lineEnd;
  32428. start = lineStart;
  32429. prefix = "";
  32430. postfix = "";
  32431. }
  32432. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  32433. } else
  32434. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  32435. },
  32436. $isException: 1,
  32437. get$message(receiver) {
  32438. return this.message;
  32439. }
  32440. };
  32441. A.Iterable.prototype = {
  32442. cast$1$0(_, $R) {
  32443. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  32444. },
  32445. followedBy$1(_, other) {
  32446. var _this = this,
  32447. t1 = A._instanceType(_this);
  32448. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  32449. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  32450. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  32451. },
  32452. map$1$1(_, toElement, $T) {
  32453. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  32454. },
  32455. where$1(_, test) {
  32456. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  32457. },
  32458. expand$1$1(_, toElements, $T) {
  32459. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  32460. },
  32461. contains$1(_, element) {
  32462. var t1;
  32463. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32464. if (J.$eq$(t1.get$current(t1), element))
  32465. return true;
  32466. return false;
  32467. },
  32468. fold$1$2(_, initialValue, combine) {
  32469. var t1, value;
  32470. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  32471. value = combine.call$2(value, t1.get$current(t1));
  32472. return value;
  32473. },
  32474. fold$2($receiver, initialValue, combine) {
  32475. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  32476. },
  32477. join$1(_, separator) {
  32478. var t1,
  32479. iterator = this.get$iterator(this);
  32480. if (!iterator.moveNext$0())
  32481. return "";
  32482. if (separator === "") {
  32483. t1 = "";
  32484. do
  32485. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  32486. while (iterator.moveNext$0());
  32487. } else {
  32488. t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator)));
  32489. for (; iterator.moveNext$0();)
  32490. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  32491. }
  32492. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32493. },
  32494. join$0($receiver) {
  32495. return this.join$1($receiver, "");
  32496. },
  32497. any$1(_, test) {
  32498. var t1;
  32499. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  32500. if (test.call$1(t1.get$current(t1)))
  32501. return true;
  32502. return false;
  32503. },
  32504. toList$1$growable(_, growable) {
  32505. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  32506. },
  32507. toList$0($receiver) {
  32508. return this.toList$1$growable($receiver, true);
  32509. },
  32510. toSet$0(_) {
  32511. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  32512. },
  32513. get$length(_) {
  32514. var count,
  32515. it = this.get$iterator(this);
  32516. for (count = 0; it.moveNext$0();)
  32517. ++count;
  32518. return count;
  32519. },
  32520. get$isEmpty(_) {
  32521. return !this.get$iterator(this).moveNext$0();
  32522. },
  32523. get$isNotEmpty(_) {
  32524. return !this.get$isEmpty(this);
  32525. },
  32526. take$1(_, count) {
  32527. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  32528. },
  32529. skip$1(_, count) {
  32530. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  32531. },
  32532. skipWhile$1(_, test) {
  32533. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  32534. },
  32535. get$first(_) {
  32536. var it = this.get$iterator(this);
  32537. if (!it.moveNext$0())
  32538. throw A.wrapException(A.IterableElementError_noElement());
  32539. return it.get$current(it);
  32540. },
  32541. get$last(_) {
  32542. var result,
  32543. it = this.get$iterator(this);
  32544. if (!it.moveNext$0())
  32545. throw A.wrapException(A.IterableElementError_noElement());
  32546. do
  32547. result = it.get$current(it);
  32548. while (it.moveNext$0());
  32549. return result;
  32550. },
  32551. get$single(_) {
  32552. var result,
  32553. it = this.get$iterator(this);
  32554. if (!it.moveNext$0())
  32555. throw A.wrapException(A.IterableElementError_noElement());
  32556. result = it.get$current(it);
  32557. if (it.moveNext$0())
  32558. throw A.wrapException(A.IterableElementError_tooMany());
  32559. return result;
  32560. },
  32561. elementAt$1(_, index) {
  32562. var t1, elementIndex, element;
  32563. A.RangeError_checkNotNegative(index, "index");
  32564. for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) {
  32565. element = t1.get$current(t1);
  32566. if (index === elementIndex)
  32567. return element;
  32568. ++elementIndex;
  32569. }
  32570. throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex));
  32571. },
  32572. toString$0(_) {
  32573. return A.IterableBase_iterableToShortString(this, "(", ")");
  32574. }
  32575. };
  32576. A._GeneratorIterable.prototype = {
  32577. elementAt$1(_, index) {
  32578. A.RangeError_checkValidIndex(index, this, null);
  32579. return this._generator.call$1(index);
  32580. },
  32581. get$length(receiver) {
  32582. return this.length;
  32583. }
  32584. };
  32585. A.Iterator.prototype = {};
  32586. A.MapEntry.prototype = {
  32587. toString$0(_) {
  32588. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  32589. }
  32590. };
  32591. A.Null.prototype = {
  32592. get$hashCode(_) {
  32593. return A.Object.prototype.get$hashCode.call(this, this);
  32594. },
  32595. toString$0(_) {
  32596. return "null";
  32597. }
  32598. };
  32599. A.Object.prototype = {$isObject: 1,
  32600. $eq(_, other) {
  32601. return this === other;
  32602. },
  32603. get$hashCode(_) {
  32604. return A.Primitives_objectHashCode(this);
  32605. },
  32606. toString$0(_) {
  32607. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  32608. },
  32609. noSuchMethod$1(_, invocation) {
  32610. throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()));
  32611. },
  32612. get$runtimeType(_) {
  32613. var rti = this instanceof A.Closure ? A.closureFunctionType(this) : null;
  32614. return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);
  32615. },
  32616. toString() {
  32617. return this.toString$0(this);
  32618. }
  32619. };
  32620. A._StringStackTrace.prototype = {
  32621. toString$0(_) {
  32622. return this._stackTrace;
  32623. },
  32624. $isStackTrace: 1
  32625. };
  32626. A.Runes.prototype = {
  32627. get$iterator(_) {
  32628. return new A.RuneIterator(this.string);
  32629. },
  32630. get$last(_) {
  32631. var code, previousCode,
  32632. t1 = this.string,
  32633. t2 = t1.length;
  32634. if (t2 === 0)
  32635. throw A.wrapException(A.StateError$("No elements."));
  32636. code = B.JSString_methods.codeUnitAt$1(t1, t2 - 1);
  32637. if ((code & 64512) === 56320 && t2 > 1) {
  32638. previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2);
  32639. if ((previousCode & 64512) === 55296)
  32640. return A._combineSurrogatePair(previousCode, code);
  32641. }
  32642. return code;
  32643. }
  32644. };
  32645. A.RuneIterator.prototype = {
  32646. get$current(_) {
  32647. return this._currentCodePoint;
  32648. },
  32649. moveNext$0() {
  32650. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  32651. t1 = _this._position = _this._nextPosition,
  32652. t2 = _this.string,
  32653. t3 = t2.length;
  32654. if (t1 === t3) {
  32655. _this._currentCodePoint = -1;
  32656. return false;
  32657. }
  32658. codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1);
  32659. nextPosition = t1 + 1;
  32660. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  32661. nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition);
  32662. if ((nextCodeUnit & 64512) === 56320) {
  32663. _this._nextPosition = nextPosition + 1;
  32664. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  32665. return true;
  32666. }
  32667. }
  32668. _this._nextPosition = nextPosition;
  32669. _this._currentCodePoint = codeUnit;
  32670. return true;
  32671. }
  32672. };
  32673. A.StringBuffer.prototype = {
  32674. get$length(_) {
  32675. return this._contents.length;
  32676. },
  32677. write$1(_, obj) {
  32678. this._contents += A.S(obj);
  32679. },
  32680. writeCharCode$1(charCode) {
  32681. this._contents += A.Primitives_stringFromCharCode(charCode);
  32682. },
  32683. toString$0(_) {
  32684. var t1 = this._contents;
  32685. return t1.charCodeAt(0) == 0 ? t1 : t1;
  32686. }
  32687. };
  32688. A.Uri__parseIPv4Address_error.prototype = {
  32689. call$2(msg, position) {
  32690. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  32691. },
  32692. $signature: 572
  32693. };
  32694. A.Uri_parseIPv6Address_error.prototype = {
  32695. call$2(msg, position) {
  32696. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  32697. },
  32698. $signature: 270
  32699. };
  32700. A.Uri_parseIPv6Address_parseHex.prototype = {
  32701. call$2(start, end) {
  32702. var value;
  32703. if (end - start > 4)
  32704. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  32705. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  32706. if (value < 0 || value > 65535)
  32707. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  32708. return value;
  32709. },
  32710. $signature: 286
  32711. };
  32712. A._Uri.prototype = {
  32713. get$_text() {
  32714. var t1, t2, t3, t4, _this = this,
  32715. value = _this.___Uri__text_FI;
  32716. if (value === $) {
  32717. t1 = _this.scheme;
  32718. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  32719. t3 = _this._host;
  32720. t4 = t3 == null;
  32721. if (!t4 || t1 === "file") {
  32722. t1 = t2 + "//";
  32723. t2 = _this._userInfo;
  32724. if (t2.length !== 0)
  32725. t1 = t1 + t2 + "@";
  32726. if (!t4)
  32727. t1 += t3;
  32728. t2 = _this._port;
  32729. if (t2 != null)
  32730. t1 = t1 + ":" + A.S(t2);
  32731. } else
  32732. t1 = t2;
  32733. t1 += _this.path;
  32734. t2 = _this._query;
  32735. if (t2 != null)
  32736. t1 = t1 + "?" + t2;
  32737. t2 = _this._fragment;
  32738. if (t2 != null)
  32739. t1 = t1 + "#" + t2;
  32740. value !== $ && A.throwUnnamedLateFieldADI();
  32741. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  32742. }
  32743. return value;
  32744. },
  32745. get$pathSegments() {
  32746. var pathToSplit, result, _this = this,
  32747. value = _this.___Uri_pathSegments_FI;
  32748. if (value === $) {
  32749. pathToSplit = _this.path;
  32750. if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47)
  32751. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  32752. 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);
  32753. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  32754. value = _this.___Uri_pathSegments_FI = result;
  32755. }
  32756. return value;
  32757. },
  32758. get$hashCode(_) {
  32759. var result, _this = this,
  32760. value = _this.___Uri_hashCode_FI;
  32761. if (value === $) {
  32762. result = B.JSString_methods.get$hashCode(_this.get$_text());
  32763. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  32764. _this.___Uri_hashCode_FI = result;
  32765. value = result;
  32766. }
  32767. return value;
  32768. },
  32769. get$userInfo() {
  32770. return this._userInfo;
  32771. },
  32772. get$host() {
  32773. var host = this._host;
  32774. if (host == null)
  32775. return "";
  32776. if (B.JSString_methods.startsWith$1(host, "["))
  32777. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  32778. return host;
  32779. },
  32780. get$port(_) {
  32781. var t1 = this._port;
  32782. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  32783. },
  32784. get$query() {
  32785. var t1 = this._query;
  32786. return t1 == null ? "" : t1;
  32787. },
  32788. get$fragment() {
  32789. var t1 = this._fragment;
  32790. return t1 == null ? "" : t1;
  32791. },
  32792. isScheme$1(scheme) {
  32793. var thisScheme = this.scheme;
  32794. if (scheme.length !== thisScheme.length)
  32795. return false;
  32796. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  32797. },
  32798. _mergePaths$2(base, reference) {
  32799. var backCount, refStart, baseEnd, newEnd, delta, t1;
  32800. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  32801. refStart += 3;
  32802. ++backCount;
  32803. }
  32804. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  32805. while (true) {
  32806. if (!(baseEnd > 0 && backCount > 0))
  32807. break;
  32808. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  32809. if (newEnd < 0)
  32810. break;
  32811. delta = baseEnd - newEnd;
  32812. t1 = delta !== 2;
  32813. if (!t1 || delta === 3)
  32814. if (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46)
  32815. t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, newEnd + 2) === 46;
  32816. else
  32817. t1 = false;
  32818. else
  32819. t1 = false;
  32820. if (t1)
  32821. break;
  32822. --backCount;
  32823. baseEnd = newEnd;
  32824. }
  32825. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  32826. },
  32827. resolve$1(reference) {
  32828. return this.resolveUri$1(A.Uri_parse(reference));
  32829. },
  32830. resolveUri$1(reference) {
  32831. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
  32832. if (reference.get$scheme().length !== 0) {
  32833. targetScheme = reference.get$scheme();
  32834. if (reference.get$hasAuthority()) {
  32835. targetUserInfo = reference.get$userInfo();
  32836. targetHost = reference.get$host();
  32837. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  32838. } else {
  32839. targetPort = _null;
  32840. targetHost = targetPort;
  32841. targetUserInfo = "";
  32842. }
  32843. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  32844. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  32845. } else {
  32846. targetScheme = _this.scheme;
  32847. if (reference.get$hasAuthority()) {
  32848. targetUserInfo = reference.get$userInfo();
  32849. targetHost = reference.get$host();
  32850. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  32851. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  32852. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  32853. } else {
  32854. targetUserInfo = _this._userInfo;
  32855. targetHost = _this._host;
  32856. targetPort = _this._port;
  32857. targetPath = _this.path;
  32858. if (reference.get$path(reference) === "")
  32859. targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
  32860. else {
  32861. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  32862. if (packageNameEnd > 0) {
  32863. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  32864. 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)));
  32865. } else if (reference.get$hasAbsolutePath())
  32866. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  32867. else if (targetPath.length === 0)
  32868. if (targetHost == null)
  32869. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  32870. else
  32871. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  32872. else {
  32873. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  32874. t1 = targetScheme.length === 0;
  32875. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  32876. targetPath = A._Uri__removeDotSegments(mergedPath);
  32877. else
  32878. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  32879. }
  32880. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  32881. }
  32882. }
  32883. }
  32884. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
  32885. },
  32886. get$hasAuthority() {
  32887. return this._host != null;
  32888. },
  32889. get$hasPort() {
  32890. return this._port != null;
  32891. },
  32892. get$hasQuery() {
  32893. return this._query != null;
  32894. },
  32895. get$hasFragment() {
  32896. return this._fragment != null;
  32897. },
  32898. get$hasAbsolutePath() {
  32899. return B.JSString_methods.startsWith$1(this.path, "/");
  32900. },
  32901. toFilePath$0() {
  32902. var pathSegments, _this = this,
  32903. t1 = _this.scheme;
  32904. if (t1 !== "" && t1 !== "file")
  32905. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  32906. t1 = _this._query;
  32907. if ((t1 == null ? "" : t1) !== "")
  32908. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  32909. t1 = _this._fragment;
  32910. if ((t1 == null ? "" : t1) !== "")
  32911. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  32912. t1 = $.$get$_Uri__isWindowsCached();
  32913. if (t1)
  32914. t1 = A._Uri__toWindowsFilePath(_this);
  32915. else {
  32916. if (_this._host != null && _this.get$host() !== "")
  32917. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  32918. pathSegments = _this.get$pathSegments();
  32919. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  32920. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  32921. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  32922. }
  32923. return t1;
  32924. },
  32925. toString$0(_) {
  32926. return this.get$_text();
  32927. },
  32928. $eq(_, other) {
  32929. var t1, t2, _this = this;
  32930. if (other == null)
  32931. return false;
  32932. if (_this === other)
  32933. return true;
  32934. if (type$.Uri._is(other))
  32935. if (_this.scheme === other.get$scheme())
  32936. if (_this._host != null === other.get$hasAuthority())
  32937. if (_this._userInfo === other.get$userInfo())
  32938. if (_this.get$host() === other.get$host())
  32939. if (_this.get$port(_this) === other.get$port(other))
  32940. if (_this.path === other.get$path(other)) {
  32941. t1 = _this._query;
  32942. t2 = t1 == null;
  32943. if (!t2 === other.get$hasQuery()) {
  32944. if (t2)
  32945. t1 = "";
  32946. if (t1 === other.get$query()) {
  32947. t1 = _this._fragment;
  32948. t2 = t1 == null;
  32949. if (!t2 === other.get$hasFragment()) {
  32950. if (t2)
  32951. t1 = "";
  32952. t1 = t1 === other.get$fragment();
  32953. } else
  32954. t1 = false;
  32955. } else
  32956. t1 = false;
  32957. } else
  32958. t1 = false;
  32959. } else
  32960. t1 = false;
  32961. else
  32962. t1 = false;
  32963. else
  32964. t1 = false;
  32965. else
  32966. t1 = false;
  32967. else
  32968. t1 = false;
  32969. else
  32970. t1 = false;
  32971. else
  32972. t1 = false;
  32973. return t1;
  32974. },
  32975. $isUri: 1,
  32976. get$scheme() {
  32977. return this.scheme;
  32978. },
  32979. get$path(receiver) {
  32980. return this.path;
  32981. }
  32982. };
  32983. A._Uri__makePath_closure.prototype = {
  32984. call$1(s) {
  32985. return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false);
  32986. },
  32987. $signature: 5
  32988. };
  32989. A.UriData.prototype = {
  32990. get$uri() {
  32991. var t2, queryIndex, end, query, _this = this, _null = null,
  32992. t1 = _this._uriCache;
  32993. if (t1 == null) {
  32994. t1 = _this._text;
  32995. t2 = _this._separatorIndices[0] + 1;
  32996. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  32997. end = t1.length;
  32998. if (queryIndex >= 0) {
  32999. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_CVk, false, false);
  33000. end = queryIndex;
  33001. } else
  33002. query = _null;
  33003. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, false, false), query, _null);
  33004. }
  33005. return t1;
  33006. },
  33007. toString$0(_) {
  33008. var t1 = this._text;
  33009. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  33010. }
  33011. };
  33012. A._createTables_build.prototype = {
  33013. call$2(state, defaultTransition) {
  33014. var t1 = this.tables[state];
  33015. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  33016. return t1;
  33017. },
  33018. $signature: 314
  33019. };
  33020. A._createTables_setChars.prototype = {
  33021. call$3(target, chars, transition) {
  33022. var t1, i;
  33023. for (t1 = chars.length, i = 0; i < t1; ++i)
  33024. target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition;
  33025. },
  33026. $signature: 200
  33027. };
  33028. A._createTables_setRange.prototype = {
  33029. call$3(target, range, transition) {
  33030. var i, n;
  33031. for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i)
  33032. target[(i ^ 96) >>> 0] = transition;
  33033. },
  33034. $signature: 200
  33035. };
  33036. A._SimpleUri.prototype = {
  33037. get$hasAuthority() {
  33038. return this._hostStart > 0;
  33039. },
  33040. get$hasPort() {
  33041. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  33042. },
  33043. get$hasQuery() {
  33044. return this._queryStart < this._fragmentStart;
  33045. },
  33046. get$hasFragment() {
  33047. return this._fragmentStart < this._uri.length;
  33048. },
  33049. get$hasAbsolutePath() {
  33050. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  33051. },
  33052. get$scheme() {
  33053. var t1 = this._schemeCache;
  33054. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  33055. },
  33056. _computeScheme$0() {
  33057. var t2, _this = this,
  33058. t1 = _this._schemeEnd;
  33059. if (t1 <= 0)
  33060. return "";
  33061. t2 = t1 === 4;
  33062. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33063. return "http";
  33064. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33065. return "https";
  33066. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  33067. return "file";
  33068. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  33069. return "package";
  33070. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  33071. },
  33072. get$userInfo() {
  33073. var t1 = this._hostStart,
  33074. t2 = this._schemeEnd + 3;
  33075. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  33076. },
  33077. get$host() {
  33078. var t1 = this._hostStart;
  33079. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  33080. },
  33081. get$port(_) {
  33082. var t1, _this = this;
  33083. if (_this.get$hasPort())
  33084. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  33085. t1 = _this._schemeEnd;
  33086. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  33087. return 80;
  33088. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  33089. return 443;
  33090. return 0;
  33091. },
  33092. get$path(_) {
  33093. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  33094. },
  33095. get$query() {
  33096. var t1 = this._queryStart,
  33097. t2 = this._fragmentStart;
  33098. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  33099. },
  33100. get$fragment() {
  33101. var t1 = this._fragmentStart,
  33102. t2 = this._uri;
  33103. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  33104. },
  33105. get$pathSegments() {
  33106. var parts, i,
  33107. start = this._pathStart,
  33108. end = this._queryStart,
  33109. t1 = this._uri;
  33110. if (B.JSString_methods.startsWith$2(t1, "/", start))
  33111. ++start;
  33112. if (start === end)
  33113. return B.List_empty;
  33114. parts = A._setArrayType([], type$.JSArray_String);
  33115. for (i = start; i < end; ++i)
  33116. if (B.JSString_methods.codeUnitAt$1(t1, i) === 47) {
  33117. parts.push(B.JSString_methods.substring$2(t1, start, i));
  33118. start = i + 1;
  33119. }
  33120. parts.push(B.JSString_methods.substring$2(t1, start, end));
  33121. return A.List_List$unmodifiable(parts, type$.String);
  33122. },
  33123. _isPort$1(port) {
  33124. var portDigitStart = this._portStart + 1;
  33125. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  33126. },
  33127. removeFragment$0() {
  33128. var _this = this,
  33129. t1 = _this._fragmentStart,
  33130. t2 = _this._uri;
  33131. if (t1 >= t2.length)
  33132. return _this;
  33133. 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);
  33134. },
  33135. resolve$1(reference) {
  33136. return this.resolveUri$1(A.Uri_parse(reference));
  33137. },
  33138. resolveUri$1(reference) {
  33139. if (reference instanceof A._SimpleUri)
  33140. return this._simpleMerge$2(this, reference);
  33141. return this._toNonSimple$0().resolveUri$1(reference);
  33142. },
  33143. _simpleMerge$2(base, ref) {
  33144. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  33145. t1 = ref._schemeEnd;
  33146. if (t1 > 0)
  33147. return ref;
  33148. t2 = ref._hostStart;
  33149. if (t2 > 0) {
  33150. t3 = base._schemeEnd;
  33151. if (t3 <= 0)
  33152. return ref;
  33153. t4 = t3 === 4;
  33154. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  33155. isSimple = ref._pathStart !== ref._queryStart;
  33156. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  33157. isSimple = !ref._isPort$1("80");
  33158. else
  33159. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  33160. if (isSimple) {
  33161. delta = t3 + 1;
  33162. 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);
  33163. } else
  33164. return this._toNonSimple$0().resolveUri$1(ref);
  33165. }
  33166. refStart = ref._pathStart;
  33167. t1 = ref._queryStart;
  33168. if (refStart === t1) {
  33169. t2 = ref._fragmentStart;
  33170. if (t1 < t2) {
  33171. t3 = base._queryStart;
  33172. delta = t3 - t1;
  33173. 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);
  33174. }
  33175. t1 = ref._uri;
  33176. if (t2 < t1.length) {
  33177. t3 = base._fragmentStart;
  33178. 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);
  33179. }
  33180. return base.removeFragment$0();
  33181. }
  33182. t2 = ref._uri;
  33183. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  33184. basePathStart = base._pathStart;
  33185. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  33186. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  33187. delta = basePathStart0 - refStart;
  33188. 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);
  33189. }
  33190. baseStart = base._pathStart;
  33191. baseEnd = base._queryStart;
  33192. if (baseStart === baseEnd && base._hostStart > 0) {
  33193. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  33194. refStart += 3;
  33195. delta = baseStart - refStart + 1;
  33196. 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);
  33197. }
  33198. baseUri = base._uri;
  33199. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  33200. if (packageNameEnd >= 0)
  33201. baseStart0 = packageNameEnd;
  33202. else
  33203. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  33204. baseStart0 += 3;
  33205. backCount = 0;
  33206. while (true) {
  33207. refStart0 = refStart + 3;
  33208. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  33209. break;
  33210. ++backCount;
  33211. refStart = refStart0;
  33212. }
  33213. for (insert = ""; baseEnd > baseStart0;) {
  33214. --baseEnd;
  33215. if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) {
  33216. if (backCount === 0) {
  33217. insert = "/";
  33218. break;
  33219. }
  33220. --backCount;
  33221. insert = "/";
  33222. }
  33223. }
  33224. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  33225. refStart -= backCount * 3;
  33226. insert = "";
  33227. }
  33228. delta = baseEnd - refStart + insert.length;
  33229. 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);
  33230. },
  33231. toFilePath$0() {
  33232. var t2, t3, _this = this,
  33233. t1 = _this._schemeEnd;
  33234. if (t1 >= 0) {
  33235. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  33236. t1 = t2;
  33237. } else
  33238. t1 = false;
  33239. if (t1)
  33240. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  33241. t1 = _this._queryStart;
  33242. t2 = _this._uri;
  33243. if (t1 < t2.length) {
  33244. if (t1 < _this._fragmentStart)
  33245. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  33246. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  33247. }
  33248. t3 = $.$get$_Uri__isWindowsCached();
  33249. if (t3)
  33250. t1 = A._Uri__toWindowsFilePath(_this);
  33251. else {
  33252. if (_this._hostStart < _this._portStart)
  33253. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  33254. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  33255. }
  33256. return t1;
  33257. },
  33258. get$hashCode(_) {
  33259. var t1 = this._hashCodeCache;
  33260. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  33261. },
  33262. $eq(_, other) {
  33263. if (other == null)
  33264. return false;
  33265. if (this === other)
  33266. return true;
  33267. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  33268. },
  33269. _toNonSimple$0() {
  33270. var _this = this, _null = null,
  33271. t1 = _this.get$scheme(),
  33272. t2 = _this.get$userInfo(),
  33273. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  33274. t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
  33275. t5 = _this._uri,
  33276. t6 = _this._queryStart,
  33277. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  33278. t8 = _this._fragmentStart;
  33279. t6 = t6 < t8 ? _this.get$query() : _null;
  33280. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  33281. },
  33282. toString$0(_) {
  33283. return this._uri;
  33284. },
  33285. $isUri: 1
  33286. };
  33287. A._DataUri.prototype = {};
  33288. A.Expando.prototype = {
  33289. toString$0(_) {
  33290. return "Expando:null";
  33291. }
  33292. };
  33293. A._convertDataTree__convert.prototype = {
  33294. call$1(o) {
  33295. var convertedMap, key, convertedList,
  33296. t1 = this._convertedObjects;
  33297. if (t1.containsKey$1(o))
  33298. return t1.$index(0, o);
  33299. if (type$.Map_dynamic_dynamic._is(o)) {
  33300. convertedMap = {};
  33301. t1.$indexSet(0, o, convertedMap);
  33302. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  33303. key = t1.get$current(t1);
  33304. convertedMap[key] = this.call$1(o.$index(0, key));
  33305. }
  33306. return convertedMap;
  33307. } else if (type$.Iterable_dynamic._is(o)) {
  33308. convertedList = [];
  33309. t1.$indexSet(0, o, convertedList);
  33310. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  33311. return convertedList;
  33312. } else
  33313. return o;
  33314. },
  33315. $signature: 328
  33316. };
  33317. A._JSRandom.prototype = {
  33318. nextInt$1(max) {
  33319. if (max <= 0 || max > 4294967296)
  33320. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  33321. return Math.random() * max >>> 0;
  33322. },
  33323. nextDouble$0() {
  33324. return Math.random();
  33325. }
  33326. };
  33327. A.ArgParser.prototype = {
  33328. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  33329. var _null = null;
  33330. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
  33331. },
  33332. addFlag$2$hide($name, hide) {
  33333. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  33334. },
  33335. addFlag$2$help($name, help) {
  33336. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  33337. },
  33338. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  33339. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  33340. },
  33341. addFlag$3$help$negatable($name, help, negatable) {
  33342. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  33343. },
  33344. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  33345. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  33346. },
  33347. addFlag$3$abbr$help($name, abbr, help) {
  33348. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  33349. },
  33350. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  33351. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
  33352. },
  33353. addOption$2$hide($name, hide) {
  33354. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
  33355. },
  33356. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  33357. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  33358. },
  33359. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  33360. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  33361. },
  33362. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  33363. var t1 = A._setArrayType([], type$.JSArray_String);
  33364. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, null, t1, null, B.OptionType_qyr, B.List_empty, false, false);
  33365. },
  33366. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  33367. var existing, t2, option, _i, _this = this, _null = null,
  33368. t1 = A._setArrayType([$name], type$.JSArray_String);
  33369. B.JSArray_methods.addAll$1(t1, aliases);
  33370. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  33371. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  33372. t1 = abbr != null;
  33373. if (t1) {
  33374. existing = _this.findByAbbreviation$1(abbr);
  33375. if (existing != null)
  33376. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  33377. }
  33378. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  33379. option = new A.Option($name, abbr, help, valueHelp, t2, _null, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
  33380. if ($name.length === 0)
  33381. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  33382. else if (B.JSString_methods.startsWith$1($name, "-"))
  33383. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  33384. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  33385. if (t2.test($name))
  33386. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  33387. if (t1) {
  33388. if (abbr.length !== 1)
  33389. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  33390. else if (abbr === "-")
  33391. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  33392. if (t2.test(abbr))
  33393. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  33394. }
  33395. _this._arg_parser$_options.$indexSet(0, $name, option);
  33396. _this._optionsAndSeparators.push(option);
  33397. for (t1 = _this._aliases, _i = 0; false; ++_i)
  33398. t1.$indexSet(0, aliases[_i], $name);
  33399. },
  33400. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  33401. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  33402. },
  33403. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  33404. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  33405. },
  33406. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  33407. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  33408. },
  33409. findByAbbreviation$1(abbr) {
  33410. var t1, t2;
  33411. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  33412. t2 = t1.get$current(t1);
  33413. if (t2.abbr === abbr)
  33414. return t2;
  33415. }
  33416. return null;
  33417. },
  33418. findByNameOrAlias$1($name) {
  33419. var t1 = this._aliases.$index(0, $name);
  33420. if (t1 == null)
  33421. t1 = $name;
  33422. return this.options._map.$index(0, t1);
  33423. }
  33424. };
  33425. A.ArgParser__addOption_closure.prototype = {
  33426. call$1($name) {
  33427. return this.$this.findByNameOrAlias$1($name) != null;
  33428. },
  33429. $signature: 8
  33430. };
  33431. A.ArgParserException.prototype = {};
  33432. A.ArgResults.prototype = {
  33433. $index(_, $name) {
  33434. var t1 = this._parser.options._map;
  33435. if (!t1.containsKey$1($name))
  33436. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  33437. t1 = t1.$index(0, $name);
  33438. t1.toString;
  33439. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  33440. },
  33441. wasParsed$1($name) {
  33442. if (!this._parser.options._map.containsKey$1($name))
  33443. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  33444. return this._parsed.containsKey$1($name);
  33445. }
  33446. };
  33447. A.Option.prototype = {
  33448. valueOrDefault$1(value) {
  33449. var t1;
  33450. if (value != null)
  33451. return value;
  33452. if (this.type === B.OptionType_qyr) {
  33453. t1 = this.defaultsTo;
  33454. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  33455. }
  33456. return this.defaultsTo;
  33457. }
  33458. };
  33459. A.OptionType.prototype = {};
  33460. A.Parser0.prototype = {
  33461. parse$0() {
  33462. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  33463. t2 = _this._args;
  33464. t2.toList$0(0);
  33465. commandResults = null;
  33466. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
  33467. t7 = t2._collection$_head;
  33468. if (t7 === t2._collection$_tail)
  33469. A.throwExpression(A.IterableElementError_noElement());
  33470. t7 = t2._collection$_table[t7];
  33471. t8 = t7 == null;
  33472. if ((t8 ? t6._as(t7) : t7) === "--") {
  33473. t2.removeFirst$0();
  33474. break;
  33475. }
  33476. if (t8)
  33477. t7 = t6._as(t7);
  33478. command = t5._map.$index(0, t7);
  33479. if (command != null) {
  33480. if (t3.length !== 0)
  33481. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  33482. commandName = t2.removeFirst$0();
  33483. t5 = type$.JSArray_String;
  33484. t6 = A._setArrayType([], t5);
  33485. B.JSArray_methods.addAll$1(t6, t3);
  33486. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  33487. try {
  33488. commandResults = commandParser.parse$0();
  33489. } catch (exception) {
  33490. t2 = A.unwrapException(exception);
  33491. if (t2 instanceof A.ArgParserException) {
  33492. error = t2;
  33493. t2 = error.message;
  33494. t1 = A._setArrayType([commandName], t5);
  33495. J.addAll$1$ax(t1, error.commands);
  33496. throw A.wrapException(A.ArgParserException$(t2, t1));
  33497. } else
  33498. throw exception;
  33499. }
  33500. B.JSArray_methods.clear$0(t3);
  33501. break;
  33502. }
  33503. if (_this._parseSoloOption$0())
  33504. continue;
  33505. if (_this._parseAbbreviation$1(_this))
  33506. continue;
  33507. if (_this._parseLongOption$0())
  33508. continue;
  33509. t3.push(t2.removeFirst$0());
  33510. }
  33511. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  33512. B.JSArray_methods.addAll$1(t3, t2);
  33513. t2.clear$0(0);
  33514. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  33515. },
  33516. _readNextArgAsValue$1(option) {
  33517. var t1 = this._args;
  33518. if (t1.get$isEmpty(t1))
  33519. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  33520. this._setOption$3(this._results, option, t1.get$first(t1));
  33521. t1.removeFirst$0();
  33522. },
  33523. _parseSoloOption$0() {
  33524. var opt,
  33525. t1 = this._args;
  33526. if (t1.get$first(t1).length !== 2)
  33527. return false;
  33528. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  33529. return false;
  33530. opt = t1.get$first(t1)[1];
  33531. if (!A._isLetterOrDigit(B.JSString_methods._codeUnitAt$1(opt, 0)))
  33532. return false;
  33533. this._handleSoloOption$1(opt);
  33534. return true;
  33535. },
  33536. _handleSoloOption$1(opt) {
  33537. var t1, _this = this,
  33538. option = _this._grammar.findByAbbreviation$1(opt);
  33539. if (option == null) {
  33540. t1 = _this._parser$_parent;
  33541. if (t1 == null)
  33542. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  33543. t1._handleSoloOption$1(opt);
  33544. return true;
  33545. }
  33546. _this._args.removeFirst$0();
  33547. if (option.type === B.OptionType_nMZ)
  33548. _this._results.$indexSet(0, option.name, true);
  33549. else
  33550. _this._readNextArgAsValue$1(option);
  33551. return true;
  33552. },
  33553. _parseAbbreviation$1(innermostCommand) {
  33554. var t2, index, t3, t4, lettersAndDigits, rest,
  33555. t1 = this._args;
  33556. if (t1.get$first(t1).length < 2)
  33557. return false;
  33558. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  33559. return false;
  33560. t2 = t1.$ti._precomputed1;
  33561. index = 1;
  33562. while (true) {
  33563. t3 = t1._collection$_head;
  33564. if (t3 === t1._collection$_tail)
  33565. A.throwExpression(A.IterableElementError_noElement());
  33566. t3 = t1._collection$_table[t3];
  33567. t4 = t3 == null;
  33568. if (index < (t4 ? t2._as(t3) : t3).length) {
  33569. t3 = B.JSString_methods._codeUnitAt$1(t4 ? t2._as(t3) : t3, index);
  33570. if (!(t3 >= 65 && t3 <= 90))
  33571. if (!(t3 >= 97 && t3 <= 122))
  33572. t3 = t3 >= 48 && t3 <= 57;
  33573. else
  33574. t3 = true;
  33575. else
  33576. t3 = true;
  33577. } else
  33578. t3 = false;
  33579. if (!t3)
  33580. break;
  33581. ++index;
  33582. }
  33583. if (index === 1)
  33584. return false;
  33585. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
  33586. rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
  33587. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  33588. return false;
  33589. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  33590. return true;
  33591. },
  33592. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  33593. var t1, i, i0, _this = this,
  33594. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  33595. first = _this._grammar.findByAbbreviation$1(c);
  33596. if (first == null) {
  33597. t1 = _this._parser$_parent;
  33598. if (t1 == null)
  33599. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  33600. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  33601. return true;
  33602. } else if (first.type !== B.OptionType_nMZ)
  33603. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  33604. else {
  33605. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  33606. if (rest !== "")
  33607. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  33608. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  33609. i0 = i + 1;
  33610. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  33611. }
  33612. }
  33613. _this._args.removeFirst$0();
  33614. return true;
  33615. },
  33616. _parseShortFlag$1(c) {
  33617. var t1,
  33618. option = this._grammar.findByAbbreviation$1(c);
  33619. if (option == null) {
  33620. t1 = this._parser$_parent;
  33621. if (t1 == null)
  33622. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  33623. t1._parseShortFlag$1(c);
  33624. return;
  33625. }
  33626. if (option.type !== B.OptionType_nMZ)
  33627. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  33628. this._results.$indexSet(0, option.name, true);
  33629. },
  33630. _parseLongOption$0() {
  33631. var index, t2, $name, t3, i, t4, t5, value,
  33632. t1 = this._args;
  33633. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
  33634. return false;
  33635. index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
  33636. t2 = index === -1;
  33637. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
  33638. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  33639. t4 = B.JSString_methods._codeUnitAt$1($name, i);
  33640. if (!(t4 >= 65 && t4 <= 90))
  33641. if (!(t4 >= 97 && t4 <= 122))
  33642. t5 = t4 >= 48 && t4 <= 57;
  33643. else
  33644. t5 = true;
  33645. else
  33646. t5 = true;
  33647. if (!(t5 || t4 === 45 || t4 === 95))
  33648. return false;
  33649. }
  33650. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
  33651. if (value != null)
  33652. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  33653. else
  33654. t1 = false;
  33655. if (t1)
  33656. return false;
  33657. this._handleLongOption$2($name, value);
  33658. return true;
  33659. },
  33660. _handleLongOption$2($name, value) {
  33661. var _this = this, _null = null,
  33662. _s32_ = 'Could not find an option named "',
  33663. t1 = _this._grammar,
  33664. option = t1.findByNameOrAlias$1($name);
  33665. if (option != null) {
  33666. _this._args.removeFirst$0();
  33667. if (option.type === B.OptionType_nMZ) {
  33668. if (value != null)
  33669. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  33670. _this._results.$indexSet(0, option.name, true);
  33671. } else if (value != null)
  33672. _this._setOption$3(_this._results, option, value);
  33673. else
  33674. _this._readNextArgAsValue$1(option);
  33675. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  33676. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  33677. if (option == null) {
  33678. t1 = _this._parser$_parent;
  33679. if (t1 == null)
  33680. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  33681. t1._handleLongOption$2($name, value);
  33682. return true;
  33683. }
  33684. _this._args.removeFirst$0();
  33685. if (option.type !== B.OptionType_nMZ)
  33686. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  33687. if (!option.negatable)
  33688. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  33689. _this._results.$indexSet(0, option.name, false);
  33690. } else {
  33691. t1 = _this._parser$_parent;
  33692. if (t1 == null)
  33693. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  33694. t1._handleLongOption$2($name, value);
  33695. return true;
  33696. }
  33697. return true;
  33698. },
  33699. _setOption$3(results, option, value) {
  33700. var list, t1, t2, t3, _i, element;
  33701. if (option.type !== B.OptionType_qyr) {
  33702. this._validateAllowed$2(option, value);
  33703. results.$indexSet(0, option.name, value);
  33704. return;
  33705. }
  33706. list = results.putIfAbsent$2(option.name, new A.Parser__setOption_closure());
  33707. if (option.splitCommas)
  33708. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  33709. element = t1[_i];
  33710. this._validateAllowed$2(option, element);
  33711. t3.add$1(list, element);
  33712. }
  33713. else {
  33714. this._validateAllowed$2(option, value);
  33715. J.add$1$ax(list, value);
  33716. }
  33717. },
  33718. _validateAllowed$2(option, value) {
  33719. var t1 = option.allowed;
  33720. if (t1 == null)
  33721. return;
  33722. if (!B.JSArray_methods.contains$1(t1, value))
  33723. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  33724. }
  33725. };
  33726. A.Parser_parse_closure.prototype = {
  33727. call$2($name, option) {
  33728. var parsedOption = this.$this._results.$index(0, $name),
  33729. callback = option.callback;
  33730. if (callback == null)
  33731. return;
  33732. callback.call$1(option.valueOrDefault$1(parsedOption));
  33733. },
  33734. $signature: 380
  33735. };
  33736. A.Parser__setOption_closure.prototype = {
  33737. call$0() {
  33738. return A._setArrayType([], type$.JSArray_String);
  33739. },
  33740. $signature: 48
  33741. };
  33742. A._Usage.prototype = {
  33743. get$_columnWidths() {
  33744. var result, _this = this,
  33745. value = _this.___Usage__columnWidths_FI;
  33746. if (value === $) {
  33747. result = _this._calculateColumnWidths$0();
  33748. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  33749. _this.___Usage__columnWidths_FI = result;
  33750. value = result;
  33751. }
  33752. return value;
  33753. },
  33754. generate$0() {
  33755. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  33756. 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) {
  33757. optionOrSeparator = t1[_i];
  33758. if (typeof optionOrSeparator == "string") {
  33759. t5 = t4._contents;
  33760. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  33761. _this._newlinesNeeded = 1;
  33762. continue;
  33763. }
  33764. t3._as(optionOrSeparator);
  33765. if (optionOrSeparator.hide)
  33766. continue;
  33767. _this._writeOption$1(optionOrSeparator);
  33768. }
  33769. t1 = t4._contents;
  33770. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33771. },
  33772. _writeOption$1(option) {
  33773. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  33774. t1 = option.abbr;
  33775. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  33776. t1 = _this._longOption$1(option);
  33777. _this._write$2(1, t1);
  33778. t1 = option.help;
  33779. if (t1 != null)
  33780. _this._write$2(2, t1);
  33781. t1 = option.allowedHelp;
  33782. if (t1 != null) {
  33783. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  33784. B.JSArray_methods.sort$0(allowedNames);
  33785. _this._newline$0();
  33786. 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) {
  33787. $name = allowedNames[_i];
  33788. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  33789. _this._write$2(1, " [" + $name + "]" + t5);
  33790. t5 = t1.$index(0, $name);
  33791. t5.toString;
  33792. _this._write$2(2, t5);
  33793. }
  33794. _this._newline$0();
  33795. } else if (option.allowed != null)
  33796. _this._write$2(2, _this._buildAllowedList$1(option));
  33797. else {
  33798. t1 = option.type;
  33799. if (t1 === B.OptionType_nMZ) {
  33800. if (option.defaultsTo === true)
  33801. _this._write$2(2, "(defaults to on)");
  33802. } else if (t1 === B.OptionType_qyr) {
  33803. t1 = option.defaultsTo;
  33804. if (t1 != null && J.get$isNotEmpty$asx(t1)) {
  33805. type$.List_dynamic._as(t1);
  33806. _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, ", ") + ")");
  33807. }
  33808. } else {
  33809. t1 = option.defaultsTo;
  33810. if (t1 != null)
  33811. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  33812. }
  33813. }
  33814. },
  33815. _longOption$1(option) {
  33816. var t1 = option.name,
  33817. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  33818. t1 = option.valueHelp;
  33819. return t1 != null ? result + ("=<" + t1 + ">") : result;
  33820. },
  33821. _calculateColumnWidths$0() {
  33822. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  33823. 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) {
  33824. option = t1[_i];
  33825. if (!(option instanceof A.Option))
  33826. continue;
  33827. if (option.hide)
  33828. continue;
  33829. t4 = option.abbr;
  33830. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  33831. t4 = this._longOption$1(option);
  33832. title = Math.max(title, t4.length);
  33833. t4 = option.allowedHelp;
  33834. if (t4 != null)
  33835. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  33836. t7 = t4.get$current(t4);
  33837. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  33838. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  33839. }
  33840. }
  33841. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  33842. },
  33843. _newline$0() {
  33844. ++this._newlinesNeeded;
  33845. this._currentColumn = 0;
  33846. },
  33847. _write$2(column, text) {
  33848. var t1, _i,
  33849. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  33850. this.get$_columnWidths();
  33851. while (true) {
  33852. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  33853. break;
  33854. B.JSArray_methods.removeAt$1(lines, 0);
  33855. }
  33856. while (true) {
  33857. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  33858. break;
  33859. lines.pop();
  33860. }
  33861. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  33862. this._writeLine$2(column, lines[_i]);
  33863. },
  33864. _writeLine$2(column, text) {
  33865. var t1, t2, _this = this;
  33866. for (t1 = _this._buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  33867. t1._contents += "\n";
  33868. _this._newlinesNeeded = t2 - 1;
  33869. }
  33870. for (; t2 = _this._currentColumn, t2 !== column;) {
  33871. if (t2 < 2)
  33872. t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  33873. else
  33874. t1._contents += "\n";
  33875. _this._currentColumn = (_this._currentColumn + 1) % 3;
  33876. }
  33877. _this.get$_columnWidths();
  33878. if (column < 2)
  33879. t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  33880. else
  33881. t1._contents += text;
  33882. _this._currentColumn = (_this._currentColumn + 1) % 3;
  33883. if (column === 2)
  33884. ++_this._newlinesNeeded;
  33885. },
  33886. _buildAllowedList$1(option) {
  33887. var t2, t3, first, _i, allowed,
  33888. t1 = option.defaultsTo,
  33889. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  33890. t1 = "" + "[";
  33891. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  33892. allowed = t2[_i];
  33893. if (!first)
  33894. t1 += ", ";
  33895. t1 += A.S(allowed);
  33896. if (isDefault.call$1(allowed))
  33897. t1 += " (default)";
  33898. }
  33899. t1 += "]";
  33900. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33901. }
  33902. };
  33903. A._Usage__writeOption_closure.prototype = {
  33904. call$1(value) {
  33905. return '"' + A.S(value) + '"';
  33906. },
  33907. $signature: 88
  33908. };
  33909. A._Usage__buildAllowedList_closure.prototype = {
  33910. call$1(value) {
  33911. return value === this.option.defaultsTo;
  33912. },
  33913. $signature: 135
  33914. };
  33915. A.ErrorResult.prototype = {
  33916. complete$1(completer) {
  33917. completer.completeError$2(this.error, this.stackTrace);
  33918. },
  33919. get$hashCode(_) {
  33920. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  33921. },
  33922. $eq(_, other) {
  33923. if (other == null)
  33924. return false;
  33925. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  33926. },
  33927. $isResult: 1
  33928. };
  33929. A.ValueResult.prototype = {
  33930. complete$1(completer) {
  33931. completer.complete$1(this.value);
  33932. },
  33933. get$hashCode(_) {
  33934. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  33935. },
  33936. $eq(_, other) {
  33937. if (other == null)
  33938. return false;
  33939. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  33940. },
  33941. $isResult: 1
  33942. };
  33943. A.StreamCompleter.prototype = {
  33944. setSourceStream$1(sourceStream) {
  33945. var t1 = this._stream_completer$_stream;
  33946. if (t1._sourceStream != null)
  33947. throw A.wrapException(A.StateError$("Source stream already set"));
  33948. t1._sourceStream = sourceStream;
  33949. if (t1._stream_completer$_controller != null)
  33950. t1._linkStreamToController$0();
  33951. },
  33952. setError$2(error, stackTrace) {
  33953. var t1 = this.$ti._precomputed1;
  33954. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  33955. },
  33956. setError$1(error) {
  33957. return this.setError$2(error, null);
  33958. }
  33959. };
  33960. A._CompleterStream.prototype = {
  33961. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  33962. var sourceStream, t1, _this = this, _null = null;
  33963. if (_this._stream_completer$_controller == null) {
  33964. sourceStream = _this._sourceStream;
  33965. if (sourceStream != null && !sourceStream.get$isBroadcast())
  33966. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  33967. if (_this._stream_completer$_controller == null)
  33968. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  33969. if (_this._sourceStream != null)
  33970. _this._linkStreamToController$0();
  33971. }
  33972. t1 = _this._stream_completer$_controller;
  33973. t1.toString;
  33974. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  33975. },
  33976. listen$1($receiver, onData) {
  33977. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  33978. },
  33979. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  33980. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  33981. },
  33982. _linkStreamToController$0() {
  33983. var t2,
  33984. t1 = this._stream_completer$_controller;
  33985. t1.toString;
  33986. t2 = this._sourceStream;
  33987. t2.toString;
  33988. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  33989. }
  33990. };
  33991. A.StreamGroup.prototype = {
  33992. add$1(_, stream) {
  33993. var t1, _this = this;
  33994. if (_this._closed)
  33995. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  33996. t1 = _this._stream_group$_state;
  33997. if (t1 === B._StreamGroupState_dormant)
  33998. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  33999. else if (t1 === B._StreamGroupState_canceled)
  34000. return stream.listen$1(0, null).cancel$0();
  34001. else
  34002. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  34003. return null;
  34004. },
  34005. remove$1(_, stream) {
  34006. var t1 = this._subscriptions,
  34007. subscription = t1.remove$1(0, stream),
  34008. future = subscription == null ? null : subscription.cancel$0();
  34009. if (t1.__js_helper$_length === 0)
  34010. if (this._closed) {
  34011. t1 = this.__StreamGroup__controller_A;
  34012. t1 === $ && A.throwUnnamedLateFieldNI();
  34013. A.scheduleMicrotask(t1.get$close(t1));
  34014. }
  34015. return future;
  34016. },
  34017. _onListen$0() {
  34018. var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
  34019. _this._stream_group$_state = B._StreamGroupState_listening;
  34020. 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) {
  34021. entry = t2[_i];
  34022. if (entry.value != null)
  34023. continue;
  34024. stream = entry.key;
  34025. try {
  34026. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  34027. } catch (exception) {
  34028. t1 = _this._onCancel$0();
  34029. if (t1 != null) {
  34030. onError = new A.StreamGroup__onListen_closure();
  34031. t2 = t1.$ti;
  34032. t3 = $.Zone__current;
  34033. if (t3 !== B.C__RootZone)
  34034. onError = A._registerErrorHandler(onError, t3);
  34035. 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>")));
  34036. }
  34037. throw exception;
  34038. }
  34039. }
  34040. },
  34041. _onPause$0() {
  34042. var t1, t2, t3;
  34043. this._stream_group$_state = B._StreamGroupState_paused;
  34044. 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();) {
  34045. t3 = t1.__internal$_current;
  34046. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  34047. }
  34048. },
  34049. _onResume$0() {
  34050. var t1, t2, t3;
  34051. this._stream_group$_state = B._StreamGroupState_listening;
  34052. 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();) {
  34053. t3 = t1.__internal$_current;
  34054. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  34055. }
  34056. },
  34057. _onCancel$0() {
  34058. var t1, t2, futures;
  34059. this._stream_group$_state = B._StreamGroupState_canceled;
  34060. t1 = this._subscriptions;
  34061. 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);
  34062. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  34063. t1.clear$0(0);
  34064. return futures.length === 0 ? null : A.Future_wait(futures, type$.void);
  34065. },
  34066. _listenToStream$1(stream) {
  34067. var subscription,
  34068. t1 = this.__StreamGroup__controller_A;
  34069. t1 === $ && A.throwUnnamedLateFieldNI();
  34070. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  34071. if (this._stream_group$_state === B._StreamGroupState_paused)
  34072. subscription.pause$0(0);
  34073. return subscription;
  34074. }
  34075. };
  34076. A.StreamGroup_add_closure.prototype = {
  34077. call$0() {
  34078. return null;
  34079. },
  34080. $signature: 1
  34081. };
  34082. A.StreamGroup_add_closure0.prototype = {
  34083. call$0() {
  34084. return this.$this._listenToStream$1(this.stream);
  34085. },
  34086. $signature() {
  34087. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  34088. }
  34089. };
  34090. A.StreamGroup__onListen_closure.prototype = {
  34091. call$1(_) {
  34092. },
  34093. $signature: 64
  34094. };
  34095. A.StreamGroup__onCancel_closure.prototype = {
  34096. call$1(entry) {
  34097. var t1, exception,
  34098. subscription = entry.value;
  34099. try {
  34100. if (subscription != null) {
  34101. t1 = subscription.cancel$0();
  34102. return t1;
  34103. }
  34104. t1 = J.listen$1$z(entry.key, null).cancel$0();
  34105. return t1;
  34106. } catch (exception) {
  34107. return null;
  34108. }
  34109. },
  34110. $signature() {
  34111. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  34112. }
  34113. };
  34114. A.StreamGroup__listenToStream_closure.prototype = {
  34115. call$0() {
  34116. return this.$this.remove$1(0, this.stream);
  34117. },
  34118. $signature: 0
  34119. };
  34120. A._StreamGroupState.prototype = {
  34121. toString$0(_) {
  34122. return this.name;
  34123. }
  34124. };
  34125. A.StreamQueue.prototype = {
  34126. _updateRequests$0() {
  34127. var t1, t2, t3, t4, _this = this;
  34128. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
  34129. t4 = t1._collection$_head;
  34130. if (t4 === t1._collection$_tail)
  34131. A.throwExpression(A.IterableElementError_noElement());
  34132. t4 = t1._collection$_table[t4];
  34133. if (t4 == null)
  34134. t4 = t3._as(t4);
  34135. if (t4.update$2(t2, _this._isDone))
  34136. t1.removeFirst$0();
  34137. else
  34138. return;
  34139. }
  34140. if (!_this._isDone)
  34141. _this._stream_queue$_subscription.pause$0(0);
  34142. },
  34143. _ensureListening$0() {
  34144. var t1, _this = this;
  34145. if (_this._isDone)
  34146. return;
  34147. t1 = _this._stream_queue$_subscription;
  34148. if (t1 == null)
  34149. _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));
  34150. else
  34151. t1.resume$0(0);
  34152. },
  34153. _addResult$1(result) {
  34154. ++this._eventsReceived;
  34155. this._eventQueue._queue_list$_add$1(result);
  34156. this._updateRequests$0();
  34157. },
  34158. _addRequest$1(request) {
  34159. var _this = this,
  34160. t1 = _this._requestQueue;
  34161. if (t1._collection$_head === t1._collection$_tail) {
  34162. if (request.update$2(_this._eventQueue, _this._isDone))
  34163. return;
  34164. _this._ensureListening$0();
  34165. }
  34166. t1._add$1(request);
  34167. }
  34168. };
  34169. A.StreamQueue__ensureListening_closure.prototype = {
  34170. call$1(data) {
  34171. var t1 = this.$this;
  34172. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  34173. },
  34174. $signature() {
  34175. return this.$this.$ti._eval$1("~(1)");
  34176. }
  34177. };
  34178. A.StreamQueue__ensureListening_closure1.prototype = {
  34179. call$2(error, stackTrace) {
  34180. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  34181. },
  34182. $signature: 66
  34183. };
  34184. A.StreamQueue__ensureListening_closure0.prototype = {
  34185. call$0() {
  34186. var t1 = this.$this;
  34187. t1._stream_queue$_subscription = null;
  34188. t1._isDone = true;
  34189. t1._updateRequests$0();
  34190. },
  34191. $signature: 0
  34192. };
  34193. A._NextRequest.prototype = {
  34194. update$2(events, isDone) {
  34195. if (!events.get$isEmpty(events)) {
  34196. events.removeFirst$0().complete$1(this._completer);
  34197. return true;
  34198. }
  34199. if (isDone) {
  34200. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  34201. return true;
  34202. }
  34203. return false;
  34204. },
  34205. $is_EventRequest: 1
  34206. };
  34207. A.Repl.prototype = {};
  34208. A.alwaysValid_closure.prototype = {
  34209. call$1(text) {
  34210. return true;
  34211. },
  34212. $signature: 8
  34213. };
  34214. A.ReplAdapter.prototype = {
  34215. runAsync$0() {
  34216. var rl, runController, _this = this, t1 = {},
  34217. t2 = J.get$isTTY$x(self.process.stdin),
  34218. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  34219. t2 = _this.repl.prompt;
  34220. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  34221. _this.rl = rl;
  34222. t1.statement = "";
  34223. t1.prompt = t2;
  34224. runController = A._Cell$();
  34225. runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  34226. return runController._readLocal$0().get$stream();
  34227. },
  34228. exit$0(_) {
  34229. var t1 = this.rl;
  34230. if (t1 != null)
  34231. J.close$0$x(t1);
  34232. this.rl = null;
  34233. }
  34234. };
  34235. A.ReplAdapter_runAsync_closure.prototype = {
  34236. call$0() {
  34237. var $async$goto = 0,
  34238. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  34239. $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;
  34240. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  34241. if ($async$errorCode === 1) {
  34242. $async$currentError = $async$result;
  34243. $async$goto = $async$handler;
  34244. }
  34245. while (true)
  34246. switch ($async$goto) {
  34247. case 0:
  34248. // Function start
  34249. $async$handler = 3;
  34250. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  34251. t1 = lineController;
  34252. t2 = A.QueueList$(null, type$.Result_String);
  34253. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  34254. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  34255. t1 = $async$self.rl;
  34256. t2 = J.getInterceptor$x(t1);
  34257. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  34258. 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;
  34259. case 6:
  34260. // for condition
  34261. // trivial condition
  34262. t7 = J.get$isTTY$x(self.process.stdin);
  34263. if (t7 == null ? false : t7)
  34264. J.write$1$x(self.process.stdout, t3.prompt);
  34265. t7 = lineQueue;
  34266. t8 = A.instanceType(t7);
  34267. t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
  34268. t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
  34269. $async$goto = 8;
  34270. return A._asyncAwait(t9, $async$call$0);
  34271. case 8:
  34272. // returning from await.
  34273. line = $async$result;
  34274. t7 = J.get$isTTY$x(self.process.stdin);
  34275. if (!(t7 == null ? false : t7)) {
  34276. line0 = t3.prompt + A.S(line);
  34277. toZone = $.printToZone;
  34278. if (toZone == null)
  34279. A.printString(line0);
  34280. else
  34281. toZone.call$1(line0);
  34282. }
  34283. statement = B.JSString_methods.$add(t3.statement, line);
  34284. t3.statement = statement;
  34285. if (t4.validator.call$1(statement)) {
  34286. t7 = t5._value;
  34287. if (t7 === t5)
  34288. A.throwExpression(A.LateError$localNI(t6));
  34289. J.add$1$ax(t7, t3.statement);
  34290. t3.statement = "";
  34291. t3.prompt = prompt0;
  34292. t2.setPrompt$1(t1, prompt0);
  34293. } else {
  34294. t3.statement += "\n";
  34295. t3.prompt = $prompt;
  34296. t2.setPrompt$1(t1, $prompt);
  34297. }
  34298. // goto for condition
  34299. $async$goto = 6;
  34300. break;
  34301. case 7:
  34302. // after for
  34303. $async$handler = 1;
  34304. // goto after finally
  34305. $async$goto = 5;
  34306. break;
  34307. case 3:
  34308. // catch
  34309. $async$handler = 2;
  34310. $async$exception = $async$currentError;
  34311. error = A.unwrapException($async$exception);
  34312. stackTrace = A.getTraceFromException($async$exception);
  34313. t1 = $async$self.runController;
  34314. t1._readLocal$0().addError$2(error, stackTrace);
  34315. $async$goto = 9;
  34316. return A._asyncAwait($async$self.$this.exit$0(0), $async$call$0);
  34317. case 9:
  34318. // returning from await.
  34319. J.close$0$x(t1._readLocal$0());
  34320. // goto after finally
  34321. $async$goto = 5;
  34322. break;
  34323. case 2:
  34324. // uncaught
  34325. // goto rethrow
  34326. $async$goto = 1;
  34327. break;
  34328. case 5:
  34329. // after finally
  34330. // implicit return
  34331. return A._asyncReturn(null, $async$completer);
  34332. case 1:
  34333. // rethrow
  34334. return A._asyncRethrow($async$currentError, $async$completer);
  34335. }
  34336. });
  34337. return A._asyncStartSync($async$call$0, $async$completer);
  34338. },
  34339. $signature: 38
  34340. };
  34341. A.ReplAdapter_runAsync__closure.prototype = {
  34342. call$1(value) {
  34343. return this.lineController.add$1(0, A._asString(value));
  34344. },
  34345. $signature: 137
  34346. };
  34347. A.Stdin.prototype = {};
  34348. A.Stdout.prototype = {};
  34349. A.ReadlineModule.prototype = {};
  34350. A.ReadlineOptions.prototype = {};
  34351. A.ReadlineInterface.prototype = {};
  34352. A.EmptyUnmodifiableSet.prototype = {
  34353. get$iterator(_) {
  34354. return B.C_EmptyIterator;
  34355. },
  34356. get$length(_) {
  34357. return 0;
  34358. },
  34359. contains$1(_, element) {
  34360. return false;
  34361. },
  34362. toSet$0(_) {
  34363. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  34364. },
  34365. $isEfficientLengthIterable: 1,
  34366. $isSet: 1
  34367. };
  34368. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  34369. A.DefaultEquality.prototype = {};
  34370. A.IterableEquality.prototype = {
  34371. equals$2(_, elements1, elements2) {
  34372. var it1, it2, hasNext;
  34373. if (elements1 === elements2)
  34374. return true;
  34375. it1 = J.get$iterator$ax(elements1);
  34376. it2 = J.get$iterator$ax(elements2);
  34377. for (; true;) {
  34378. hasNext = it1.moveNext$0();
  34379. if (hasNext !== it2.moveNext$0())
  34380. return false;
  34381. if (!hasNext)
  34382. return true;
  34383. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  34384. return false;
  34385. }
  34386. }
  34387. };
  34388. A.ListEquality.prototype = {
  34389. equals$2(_, list1, list2) {
  34390. var t1, $length, t2, i;
  34391. if (list1 == null ? list2 == null : list1 === list2)
  34392. return true;
  34393. if (list1 == null || list2 == null)
  34394. return false;
  34395. t1 = J.getInterceptor$asx(list1);
  34396. $length = t1.get$length(list1);
  34397. t2 = J.getInterceptor$asx(list2);
  34398. if ($length !== t2.get$length(list2))
  34399. return false;
  34400. for (i = 0; i < $length; ++i)
  34401. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  34402. return false;
  34403. return true;
  34404. },
  34405. hash$1(list) {
  34406. var hash, i;
  34407. for (hash = 0, i = 0; i < list.length; ++i) {
  34408. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  34409. hash = hash + (hash << 10 >>> 0) & 2147483647;
  34410. hash ^= hash >>> 6;
  34411. }
  34412. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34413. hash ^= hash >>> 11;
  34414. return hash + (hash << 15 >>> 0) & 2147483647;
  34415. }
  34416. };
  34417. A._MapEntry.prototype = {
  34418. get$hashCode(_) {
  34419. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  34420. },
  34421. $eq(_, other) {
  34422. if (other == null)
  34423. return false;
  34424. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  34425. }
  34426. };
  34427. A.MapEquality.prototype = {
  34428. equals$2(_, map1, map2) {
  34429. var equalElementCounts, t1, key, entry, count;
  34430. if (map1 === map2)
  34431. return true;
  34432. if (map1.get$length(map1) !== map2.get$length(map2))
  34433. return false;
  34434. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  34435. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  34436. key = t1.get$current(t1);
  34437. entry = new A._MapEntry(this, key, map1.$index(0, key));
  34438. count = equalElementCounts.$index(0, entry);
  34439. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  34440. }
  34441. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  34442. key = t1.get$current(t1);
  34443. entry = new A._MapEntry(this, key, map2.$index(0, key));
  34444. count = equalElementCounts.$index(0, entry);
  34445. if (count == null || count === 0)
  34446. return false;
  34447. equalElementCounts.$indexSet(0, entry, count - 1);
  34448. }
  34449. return true;
  34450. },
  34451. hash$1(map) {
  34452. var t1, t2, hash, key, keyHash, t3;
  34453. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
  34454. key = t1.get$current(t1);
  34455. keyHash = J.get$hashCode$(key);
  34456. t3 = map.$index(0, key);
  34457. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  34458. }
  34459. hash = hash + (hash << 3 >>> 0) & 2147483647;
  34460. hash ^= hash >>> 11;
  34461. return hash + (hash << 15 >>> 0) & 2147483647;
  34462. }
  34463. };
  34464. A.QueueList.prototype = {
  34465. add$1(_, element) {
  34466. this._queue_list$_add$1(element);
  34467. },
  34468. addAll$1(_, iterable) {
  34469. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  34470. if (type$.List_dynamic._is(iterable)) {
  34471. addCount = J.get$length$asx(iterable);
  34472. $length = _this.get$length(_this);
  34473. t1 = $length + addCount;
  34474. if (t1 >= J.get$length$asx(_this._table)) {
  34475. _this._preGrow$1(t1);
  34476. J.setRange$4$ax(_this._table, $length, t1, iterable, 0);
  34477. _this.set$_tail(_this.get$_tail() + addCount);
  34478. } else {
  34479. endSpace = J.get$length$asx(_this._table) - _this.get$_tail();
  34480. t1 = _this._table;
  34481. t2 = J.getInterceptor$ax(t1);
  34482. if (addCount < endSpace) {
  34483. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + addCount, iterable, 0);
  34484. _this.set$_tail(_this.get$_tail() + addCount);
  34485. } else {
  34486. preSpace = addCount - endSpace;
  34487. t2.setRange$4(t1, _this.get$_tail(), _this.get$_tail() + endSpace, iterable, 0);
  34488. J.setRange$4$ax(_this._table, 0, preSpace, iterable, endSpace);
  34489. _this.set$_tail(preSpace);
  34490. }
  34491. }
  34492. } else
  34493. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  34494. _this._queue_list$_add$1(t1.get$current(t1));
  34495. },
  34496. cast$1$0(_, $T) {
  34497. 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>"));
  34498. },
  34499. toString$0(_) {
  34500. return A.IterableBase_iterableToFullString(this, "{", "}");
  34501. },
  34502. addFirst$1(element) {
  34503. var _this = this;
  34504. _this.set$_head((_this.get$_head() - 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  34505. J.$indexSet$ax(_this._table, _this.get$_head(), element);
  34506. if (_this.get$_head() === _this.get$_tail())
  34507. _this._grow$0();
  34508. },
  34509. removeFirst$0() {
  34510. var result, _this = this;
  34511. if (_this.get$_head() === _this.get$_tail())
  34512. throw A.wrapException(A.StateError$("No element"));
  34513. result = J.$index$asx(_this._table, _this.get$_head());
  34514. if (result == null)
  34515. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  34516. J.$indexSet$ax(_this._table, _this.get$_head(), null);
  34517. _this.set$_head((_this.get$_head() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  34518. return result;
  34519. },
  34520. get$length(_) {
  34521. return (this.get$_tail() - this.get$_head() & J.get$length$asx(this._table) - 1) >>> 0;
  34522. },
  34523. set$length(_, value) {
  34524. var delta, newTail, t1, t2, _this = this;
  34525. if (value < 0)
  34526. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  34527. if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  34528. 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) + "`."));
  34529. delta = value - _this.get$length(_this);
  34530. if (delta >= 0) {
  34531. if (J.get$length$asx(_this._table) <= value)
  34532. _this._preGrow$1(value);
  34533. _this.set$_tail((_this.get$_tail() + delta & J.get$length$asx(_this._table) - 1) >>> 0);
  34534. return;
  34535. }
  34536. newTail = _this.get$_tail() + delta;
  34537. t1 = _this._table;
  34538. if (newTail >= 0)
  34539. J.fillRange$3$ax(t1, newTail, _this.get$_tail(), null);
  34540. else {
  34541. newTail += J.get$length$asx(t1);
  34542. J.fillRange$3$ax(_this._table, 0, _this.get$_tail(), null);
  34543. t1 = _this._table;
  34544. t2 = J.getInterceptor$asx(t1);
  34545. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  34546. }
  34547. _this.set$_tail(newTail);
  34548. },
  34549. $index(_, index) {
  34550. var t1, _this = this;
  34551. if (index < 0 || index >= _this.get$length(_this))
  34552. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  34553. t1 = J.$index$asx(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0);
  34554. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  34555. },
  34556. $indexSet(_, index, value) {
  34557. var _this = this;
  34558. if (index < 0 || index >= _this.get$length(_this))
  34559. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  34560. J.$indexSet$ax(_this._table, (_this.get$_head() + index & J.get$length$asx(_this._table) - 1) >>> 0, value);
  34561. },
  34562. _queue_list$_add$1(element) {
  34563. var _this = this;
  34564. J.$indexSet$ax(_this._table, _this.get$_tail(), element);
  34565. _this.set$_tail((_this.get$_tail() + 1 & J.get$length$asx(_this._table) - 1) >>> 0);
  34566. if (_this.get$_head() === _this.get$_tail())
  34567. _this._grow$0();
  34568. },
  34569. _grow$0() {
  34570. var _this = this,
  34571. newTable = A.List_List$filled(J.get$length$asx(_this._table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  34572. split = J.get$length$asx(_this._table) - _this.get$_head();
  34573. B.JSArray_methods.setRange$4(newTable, 0, split, _this._table, _this.get$_head());
  34574. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_head(), _this._table, 0);
  34575. _this.set$_head(0);
  34576. _this.set$_tail(J.get$length$asx(_this._table));
  34577. _this._table = newTable;
  34578. },
  34579. _writeToList$1(target) {
  34580. var $length, firstPartSize, _this = this;
  34581. if (_this.get$_head() <= _this.get$_tail()) {
  34582. $length = _this.get$_tail() - _this.get$_head();
  34583. B.JSArray_methods.setRange$4(target, 0, $length, _this._table, _this.get$_head());
  34584. return $length;
  34585. } else {
  34586. firstPartSize = J.get$length$asx(_this._table) - _this.get$_head();
  34587. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._table, _this.get$_head());
  34588. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_tail(), _this._table, 0);
  34589. return _this.get$_tail() + firstPartSize;
  34590. }
  34591. },
  34592. _preGrow$1(newElementCount) {
  34593. var _this = this,
  34594. 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?"));
  34595. _this.set$_tail(_this._writeToList$1(newTable));
  34596. _this._table = newTable;
  34597. _this.set$_head(0);
  34598. },
  34599. $isEfficientLengthIterable: 1,
  34600. $isQueue: 1,
  34601. $isIterable: 1,
  34602. $isList: 1,
  34603. get$_head() {
  34604. return this._head;
  34605. },
  34606. get$_tail() {
  34607. return this._tail;
  34608. },
  34609. set$_head(val) {
  34610. return this._head = val;
  34611. },
  34612. set$_tail(val) {
  34613. return this._tail = val;
  34614. }
  34615. };
  34616. A._CastQueueList.prototype = {
  34617. get$_head() {
  34618. return this._queue_list$_delegate.get$_head();
  34619. },
  34620. set$_head(value) {
  34621. this._queue_list$_delegate.set$_head(value);
  34622. },
  34623. get$_tail() {
  34624. return this._queue_list$_delegate.get$_tail();
  34625. },
  34626. set$_tail(value) {
  34627. this._queue_list$_delegate.set$_tail(value);
  34628. }
  34629. };
  34630. A._QueueList_Object_ListMixin.prototype = {};
  34631. A.UnmodifiableSetView.prototype = {};
  34632. A.UnmodifiableSetMixin.prototype = {
  34633. add$1(_, value) {
  34634. return A.UnmodifiableSetMixin__throw();
  34635. },
  34636. addAll$1(_, elements) {
  34637. return A.UnmodifiableSetMixin__throw();
  34638. }
  34639. };
  34640. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  34641. A._DelegatingIterableBase.prototype = {
  34642. contains$1(_, element) {
  34643. return J.contains$1$asx(this.get$_base(), element);
  34644. },
  34645. elementAt$1(_, index) {
  34646. return J.elementAt$1$ax(this.get$_base(), index);
  34647. },
  34648. get$first(_) {
  34649. return J.get$first$ax(this.get$_base());
  34650. },
  34651. get$isEmpty(_) {
  34652. return J.get$isEmpty$asx(this.get$_base());
  34653. },
  34654. get$isNotEmpty(_) {
  34655. return J.get$isNotEmpty$asx(this.get$_base());
  34656. },
  34657. get$iterator(_) {
  34658. return J.get$iterator$ax(this.get$_base());
  34659. },
  34660. join$1(_, separator) {
  34661. return J.join$1$ax(this.get$_base(), separator);
  34662. },
  34663. join$0($receiver) {
  34664. return this.join$1($receiver, "");
  34665. },
  34666. get$last(_) {
  34667. return J.get$last$ax(this.get$_base());
  34668. },
  34669. get$length(_) {
  34670. return J.get$length$asx(this.get$_base());
  34671. },
  34672. map$1$1(_, f, $T) {
  34673. return J.map$1$1$ax(this.get$_base(), f, $T);
  34674. },
  34675. get$single(_) {
  34676. return J.get$single$ax(this.get$_base());
  34677. },
  34678. skip$1(_, n) {
  34679. return J.skip$1$ax(this.get$_base(), n);
  34680. },
  34681. take$1(_, n) {
  34682. return J.take$1$ax(this.get$_base(), n);
  34683. },
  34684. toList$1$growable(_, growable) {
  34685. return J.toList$1$growable$ax(this.get$_base(), true);
  34686. },
  34687. toList$0($receiver) {
  34688. return this.toList$1$growable($receiver, true);
  34689. },
  34690. toSet$0(_) {
  34691. return J.toSet$0$ax(this.get$_base());
  34692. },
  34693. where$1(_, test) {
  34694. return J.where$1$ax(this.get$_base(), test);
  34695. },
  34696. toString$0(_) {
  34697. return J.toString$0$(this.get$_base());
  34698. },
  34699. $isIterable: 1
  34700. };
  34701. A.DelegatingSet.prototype = {
  34702. add$1(_, value) {
  34703. return this._base.add$1(0, value);
  34704. },
  34705. addAll$1(_, elements) {
  34706. this._base.addAll$1(0, elements);
  34707. },
  34708. toSet$0(_) {
  34709. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  34710. },
  34711. $isEfficientLengthIterable: 1,
  34712. $isSet: 1,
  34713. get$_base() {
  34714. return this._base;
  34715. }
  34716. };
  34717. A.MapKeySet.prototype = {
  34718. get$_base() {
  34719. var t1 = this._baseMap;
  34720. return t1.get$keys(t1);
  34721. },
  34722. contains$1(_, element) {
  34723. return this._baseMap.containsKey$1(element);
  34724. },
  34725. get$isEmpty(_) {
  34726. var t1 = this._baseMap;
  34727. return t1.get$isEmpty(t1);
  34728. },
  34729. get$isNotEmpty(_) {
  34730. var t1 = this._baseMap;
  34731. return t1.get$isNotEmpty(t1);
  34732. },
  34733. get$length(_) {
  34734. var t1 = this._baseMap;
  34735. return t1.get$length(t1);
  34736. },
  34737. toString$0(_) {
  34738. return A.IterableBase_iterableToFullString(this, "{", "}");
  34739. },
  34740. difference$1(other) {
  34741. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  34742. },
  34743. $isEfficientLengthIterable: 1,
  34744. $isSet: 1
  34745. };
  34746. A.MapKeySet_difference_closure.prototype = {
  34747. call$1(element) {
  34748. return !this.other._source.contains$1(0, element);
  34749. },
  34750. $signature() {
  34751. return this.$this.$ti._eval$1("bool(1)");
  34752. }
  34753. };
  34754. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  34755. A.BufferModule.prototype = {};
  34756. A.BufferConstants.prototype = {};
  34757. A.Buffer.prototype = {};
  34758. A.ConsoleModule.prototype = {};
  34759. A.Console.prototype = {};
  34760. A.EventEmitter.prototype = {};
  34761. A.FS.prototype = {};
  34762. A.FSConstants.prototype = {};
  34763. A.FSWatcher.prototype = {};
  34764. A.ReadStream.prototype = {};
  34765. A.ReadStreamOptions.prototype = {};
  34766. A.WriteStream.prototype = {};
  34767. A.WriteStreamOptions.prototype = {};
  34768. A.FileOptions.prototype = {};
  34769. A.StatOptions.prototype = {};
  34770. A.MkdirOptions.prototype = {};
  34771. A.RmdirOptions.prototype = {};
  34772. A.WatchOptions.prototype = {};
  34773. A.WatchFileOptions.prototype = {};
  34774. A.Stats.prototype = {};
  34775. A.Promise.prototype = {};
  34776. A.Date.prototype = {};
  34777. A.JsError.prototype = {};
  34778. A.Atomics.prototype = {};
  34779. A.Modules.prototype = {};
  34780. A.Module1.prototype = {};
  34781. A.Net.prototype = {};
  34782. A.Socket.prototype = {};
  34783. A.NetAddress.prototype = {};
  34784. A.NetServer.prototype = {};
  34785. A.NodeJsError.prototype = {};
  34786. A.JsAssertionError.prototype = {};
  34787. A.JsRangeError.prototype = {};
  34788. A.JsReferenceError.prototype = {};
  34789. A.JsSyntaxError.prototype = {};
  34790. A.JsTypeError.prototype = {};
  34791. A.JsSystemError.prototype = {};
  34792. A.Process.prototype = {};
  34793. A.CPUUsage.prototype = {};
  34794. A.Release.prototype = {};
  34795. A.StreamModule.prototype = {};
  34796. A.Readable.prototype = {};
  34797. A.Writable.prototype = {};
  34798. A.Duplex.prototype = {};
  34799. A.Transform.prototype = {};
  34800. A.WritableOptions.prototype = {};
  34801. A.ReadableOptions.prototype = {};
  34802. A.Immediate.prototype = {};
  34803. A.Timeout.prototype = {};
  34804. A.TTY.prototype = {};
  34805. A.TTYReadStream.prototype = {};
  34806. A.TTYWriteStream.prototype = {};
  34807. A.Util.prototype = {};
  34808. A.promiseToFuture_closure.prototype = {
  34809. call$1(value) {
  34810. this.completer.complete$1(value);
  34811. },
  34812. $signature: 64
  34813. };
  34814. A.promiseToFuture_closure0.prototype = {
  34815. call$1(error) {
  34816. this.completer.completeError$1(error);
  34817. },
  34818. $signature: 64
  34819. };
  34820. A.futureToPromise_closure.prototype = {
  34821. call$2(resolve, reject) {
  34822. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  34823. },
  34824. $signature: 571
  34825. };
  34826. A.futureToPromise__closure.prototype = {
  34827. call$1(result) {
  34828. return this.resolve.call$1(result);
  34829. },
  34830. $signature() {
  34831. return this.T._eval$1("@(0)");
  34832. }
  34833. };
  34834. A.Context.prototype = {
  34835. absolute$7(part1, part2, part3, part4, part5, part6, part7) {
  34836. var t1;
  34837. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String));
  34838. if (part2 == null) {
  34839. t1 = this.style;
  34840. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  34841. } else
  34842. t1 = false;
  34843. if (t1)
  34844. return part1;
  34845. t1 = this._context$_current;
  34846. return this.join$8(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7);
  34847. },
  34848. absolute$1(part1) {
  34849. return this.absolute$7(part1, null, null, null, null, null, null);
  34850. },
  34851. dirname$1(path) {
  34852. var t1, t2,
  34853. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  34854. parsed.removeTrailingSeparators$0();
  34855. t1 = parsed.parts;
  34856. t2 = t1.length;
  34857. if (t2 === 0) {
  34858. t1 = parsed.root;
  34859. return t1 == null ? "." : t1;
  34860. }
  34861. if (t2 === 1) {
  34862. t1 = parsed.root;
  34863. return t1 == null ? "." : t1;
  34864. }
  34865. B.JSArray_methods.removeLast$0(t1);
  34866. parsed.separators.pop();
  34867. parsed.removeTrailingSeparators$0();
  34868. return parsed.toString$0(0);
  34869. },
  34870. join$8(_, part1, part2, part3, part4, part5, part6, part7, part8) {
  34871. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8], type$.JSArray_nullable_String);
  34872. A._validateArgList("join", parts);
  34873. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  34874. },
  34875. join$2($receiver, part1, part2) {
  34876. return this.join$8($receiver, part1, part2, null, null, null, null, null, null);
  34877. },
  34878. joinAll$1(parts) {
  34879. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  34880. 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();) {
  34881. t5 = t1.get$current(t1);
  34882. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  34883. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  34884. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  34885. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  34886. parsed.root = t4;
  34887. if (t3.needsSeparator$1(t4))
  34888. parsed.separators[0] = t3.get$separator(t3);
  34889. t4 = "" + parsed.toString$0(0);
  34890. } else if (t3.rootLength$1(t5) > 0) {
  34891. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  34892. t4 = "" + t5;
  34893. } else {
  34894. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  34895. if (needsSeparator)
  34896. t4 += t3.get$separator(t3);
  34897. t4 += t5;
  34898. }
  34899. needsSeparator = t3.needsSeparator$1(t5);
  34900. }
  34901. return t4.charCodeAt(0) == 0 ? t4 : t4;
  34902. },
  34903. split$1(_, path) {
  34904. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  34905. t1 = parsed.parts,
  34906. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  34907. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  34908. parsed.parts = t2;
  34909. t1 = parsed.root;
  34910. if (t1 != null)
  34911. B.JSArray_methods.insert$2(t2, 0, t1);
  34912. return parsed.parts;
  34913. },
  34914. canonicalize$1(_, path) {
  34915. var t1, parsed;
  34916. path = this.absolute$1(path);
  34917. t1 = this.style;
  34918. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  34919. return path;
  34920. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  34921. parsed.normalize$1$canonicalize(true);
  34922. return parsed.toString$0(0);
  34923. },
  34924. normalize$1(path) {
  34925. var parsed;
  34926. if (!this._needsNormalization$1(path))
  34927. return path;
  34928. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  34929. parsed.normalize$0();
  34930. return parsed.toString$0(0);
  34931. },
  34932. _needsNormalization$1(path) {
  34933. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  34934. t1 = this.style,
  34935. root = t1.rootLength$1(path);
  34936. if (root !== 0) {
  34937. if (t1 === $.$get$Style_windows())
  34938. for (i = 0; i < root; ++i)
  34939. if (B.JSString_methods._codeUnitAt$1(path, i) === 47)
  34940. return true;
  34941. start = root;
  34942. previous = 47;
  34943. } else {
  34944. start = 0;
  34945. previous = null;
  34946. }
  34947. for (t2 = new A.CodeUnits(path).__internal$_string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  34948. codeUnit = B.JSString_methods.codeUnitAt$1(t2, i);
  34949. if (t1.isSeparator$1(codeUnit)) {
  34950. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  34951. return true;
  34952. if (previous != null && t1.isSeparator$1(previous))
  34953. return true;
  34954. if (previous === 46)
  34955. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  34956. else
  34957. t4 = false;
  34958. if (t4)
  34959. return true;
  34960. }
  34961. }
  34962. if (previous == null)
  34963. return true;
  34964. if (t1.isSeparator$1(previous))
  34965. return true;
  34966. if (previous === 46)
  34967. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  34968. else
  34969. t1 = false;
  34970. if (t1)
  34971. return true;
  34972. return false;
  34973. },
  34974. relative$2$from(path, from) {
  34975. var fromParsed, pathParsed, t2, t3, _this = this,
  34976. _s26_ = 'Unable to find a path to "',
  34977. t1 = from == null;
  34978. if (t1 && _this.style.rootLength$1(path) <= 0)
  34979. return _this.normalize$1(path);
  34980. if (t1) {
  34981. t1 = _this._context$_current;
  34982. from = t1 == null ? A.current() : t1;
  34983. } else
  34984. from = _this.absolute$1(from);
  34985. t1 = _this.style;
  34986. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  34987. return _this.normalize$1(path);
  34988. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  34989. path = _this.absolute$1(path);
  34990. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  34991. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  34992. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  34993. fromParsed.normalize$0();
  34994. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  34995. pathParsed.normalize$0();
  34996. t2 = fromParsed.parts;
  34997. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  34998. return pathParsed.toString$0(0);
  34999. t2 = fromParsed.root;
  35000. t3 = pathParsed.root;
  35001. if (t2 != t3)
  35002. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  35003. else
  35004. t2 = false;
  35005. if (t2)
  35006. return pathParsed.toString$0(0);
  35007. while (true) {
  35008. t2 = fromParsed.parts;
  35009. if (t2.length !== 0) {
  35010. t3 = pathParsed.parts;
  35011. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  35012. } else
  35013. t2 = false;
  35014. if (!t2)
  35015. break;
  35016. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  35017. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  35018. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  35019. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  35020. }
  35021. t2 = fromParsed.parts;
  35022. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  35023. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  35024. t2 = type$.String;
  35025. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  35026. t3 = pathParsed.separators;
  35027. t3[0] = "";
  35028. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  35029. t1 = pathParsed.parts;
  35030. t2 = t1.length;
  35031. if (t2 === 0)
  35032. return ".";
  35033. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  35034. B.JSArray_methods.removeLast$0(pathParsed.parts);
  35035. t1 = pathParsed.separators;
  35036. t1.pop();
  35037. t1.pop();
  35038. t1.push("");
  35039. }
  35040. pathParsed.root = "";
  35041. pathParsed.removeTrailingSeparators$0();
  35042. return pathParsed.toString$0(0);
  35043. },
  35044. relative$1(path) {
  35045. return this.relative$2$from(path, null);
  35046. },
  35047. _isWithinOrEquals$2($parent, child) {
  35048. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  35049. $parent = $parent;
  35050. child = child;
  35051. t1 = _this.style;
  35052. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  35053. childIsAbsolute = t1.rootLength$1(child) > 0;
  35054. if (parentIsAbsolute && !childIsAbsolute) {
  35055. child = _this.absolute$1(child);
  35056. if (t1.isRootRelative$1($parent))
  35057. $parent = _this.absolute$1($parent);
  35058. } else if (childIsAbsolute && !parentIsAbsolute) {
  35059. $parent = _this.absolute$1($parent);
  35060. if (t1.isRootRelative$1(child))
  35061. child = _this.absolute$1(child);
  35062. } else if (childIsAbsolute && parentIsAbsolute) {
  35063. childIsRootRelative = t1.isRootRelative$1(child);
  35064. parentIsRootRelative = t1.isRootRelative$1($parent);
  35065. if (childIsRootRelative && !parentIsRootRelative)
  35066. child = _this.absolute$1(child);
  35067. else if (parentIsRootRelative && !childIsRootRelative)
  35068. $parent = _this.absolute$1($parent);
  35069. }
  35070. result = _this._isWithinOrEqualsFast$2($parent, child);
  35071. if (result !== B._PathRelation_inconclusive)
  35072. return result;
  35073. relative = null;
  35074. try {
  35075. relative = _this.relative$2$from(child, $parent);
  35076. } catch (exception) {
  35077. if (A.unwrapException(exception) instanceof A.PathException)
  35078. return B._PathRelation_different;
  35079. else
  35080. throw exception;
  35081. }
  35082. if (t1.rootLength$1(relative) > 0)
  35083. return B._PathRelation_different;
  35084. if (J.$eq$(relative, "."))
  35085. return B._PathRelation_equal;
  35086. if (J.$eq$(relative, ".."))
  35087. return B._PathRelation_different;
  35088. 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;
  35089. },
  35090. _isWithinOrEqualsFast$2($parent, child) {
  35091. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  35092. if ($parent === ".")
  35093. $parent = "";
  35094. t1 = _this.style;
  35095. parentRootLength = t1.rootLength$1($parent);
  35096. childRootLength = t1.rootLength$1(child);
  35097. if (parentRootLength !== childRootLength)
  35098. return B._PathRelation_different;
  35099. for (i = 0; i < parentRootLength; ++i)
  35100. if (!t1.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1($parent, i), B.JSString_methods._codeUnitAt$1(child, i)))
  35101. return B._PathRelation_different;
  35102. t2 = child.length;
  35103. t3 = $parent.length;
  35104. childIndex = childRootLength;
  35105. parentIndex = parentRootLength;
  35106. lastCodeUnit = 47;
  35107. lastParentSeparator = null;
  35108. while (true) {
  35109. if (!(parentIndex < t3 && childIndex < t2))
  35110. break;
  35111. c$0: {
  35112. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  35113. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  35114. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  35115. if (t1.isSeparator$1(parentCodeUnit))
  35116. lastParentSeparator = parentIndex;
  35117. ++parentIndex;
  35118. ++childIndex;
  35119. lastCodeUnit = parentCodeUnit;
  35120. break c$0;
  35121. }
  35122. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  35123. parentIndex0 = parentIndex + 1;
  35124. lastParentSeparator = parentIndex;
  35125. parentIndex = parentIndex0;
  35126. break c$0;
  35127. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  35128. ++childIndex;
  35129. break c$0;
  35130. }
  35131. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  35132. ++parentIndex;
  35133. if (parentIndex === t3)
  35134. break;
  35135. parentCodeUnit = B.JSString_methods.codeUnitAt$1($parent, parentIndex);
  35136. if (t1.isSeparator$1(parentCodeUnit)) {
  35137. parentIndex0 = parentIndex + 1;
  35138. lastParentSeparator = parentIndex;
  35139. parentIndex = parentIndex0;
  35140. break c$0;
  35141. }
  35142. if (parentCodeUnit === 46) {
  35143. ++parentIndex;
  35144. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  35145. return B._PathRelation_inconclusive;
  35146. }
  35147. }
  35148. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  35149. ++childIndex;
  35150. if (childIndex === t2)
  35151. break;
  35152. childCodeUnit = B.JSString_methods.codeUnitAt$1(child, childIndex);
  35153. if (t1.isSeparator$1(childCodeUnit)) {
  35154. ++childIndex;
  35155. break c$0;
  35156. }
  35157. if (childCodeUnit === 46) {
  35158. ++childIndex;
  35159. if (childIndex === t2 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)))
  35160. return B._PathRelation_inconclusive;
  35161. }
  35162. }
  35163. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
  35164. return B._PathRelation_inconclusive;
  35165. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
  35166. return B._PathRelation_inconclusive;
  35167. return B._PathRelation_different;
  35168. }
  35169. }
  35170. if (childIndex === t2) {
  35171. if (parentIndex === t3 || t1.isSeparator$1(B.JSString_methods.codeUnitAt$1($parent, parentIndex)))
  35172. lastParentSeparator = parentIndex;
  35173. else if (lastParentSeparator == null)
  35174. lastParentSeparator = Math.max(0, parentRootLength - 1);
  35175. direction = _this._pathDirection$2($parent, lastParentSeparator);
  35176. if (direction === B._PathDirection_8Gl)
  35177. return B._PathRelation_equal;
  35178. return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
  35179. }
  35180. direction = _this._pathDirection$2(child, childIndex);
  35181. if (direction === B._PathDirection_8Gl)
  35182. return B._PathRelation_equal;
  35183. if (direction === B._PathDirection_ZGD)
  35184. return B._PathRelation_inconclusive;
  35185. return t1.isSeparator$1(B.JSString_methods.codeUnitAt$1(child, childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  35186. },
  35187. _pathDirection$2(path, index) {
  35188. var t1, t2, i, depth, reachedRoot, i0, t3;
  35189. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  35190. while (true) {
  35191. if (!(i < t1 && t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i))))
  35192. break;
  35193. ++i;
  35194. }
  35195. if (i === t1)
  35196. break;
  35197. i0 = i;
  35198. while (true) {
  35199. if (!(i0 < t1 && !t2.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, i0))))
  35200. break;
  35201. ++i0;
  35202. }
  35203. t3 = i0 - i;
  35204. if (!(t3 === 1 && B.JSString_methods.codeUnitAt$1(path, i) === 46))
  35205. if (t3 === 2 && B.JSString_methods.codeUnitAt$1(path, i) === 46 && B.JSString_methods.codeUnitAt$1(path, i + 1) === 46) {
  35206. --depth;
  35207. if (depth < 0)
  35208. break;
  35209. if (depth === 0)
  35210. reachedRoot = true;
  35211. } else
  35212. ++depth;
  35213. if (i0 === t1)
  35214. break;
  35215. i = i0 + 1;
  35216. }
  35217. if (depth < 0)
  35218. return B._PathDirection_ZGD;
  35219. if (depth === 0)
  35220. return B._PathDirection_8Gl;
  35221. if (reachedRoot)
  35222. return B._PathDirection_FIw;
  35223. return B._PathDirection_988;
  35224. },
  35225. hash$1(path) {
  35226. var result, parsed, t1, _this = this;
  35227. path = _this.absolute$1(path);
  35228. result = _this._hashFast$1(path);
  35229. if (result != null)
  35230. return result;
  35231. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  35232. parsed.normalize$0();
  35233. t1 = _this._hashFast$1(parsed.toString$0(0));
  35234. t1.toString;
  35235. return t1;
  35236. },
  35237. _hashFast$1(path) {
  35238. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  35239. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  35240. codeUnit = t2.canonicalizeCodeUnit$1(B.JSString_methods._codeUnitAt$1(path, i));
  35241. if (t2.isSeparator$1(codeUnit)) {
  35242. wasSeparator = true;
  35243. continue;
  35244. }
  35245. if (codeUnit === 46 && wasSeparator) {
  35246. t3 = i + 1;
  35247. if (t3 === t1)
  35248. break;
  35249. next = B.JSString_methods._codeUnitAt$1(path, t3);
  35250. if (t2.isSeparator$1(next))
  35251. continue;
  35252. if (!beginning)
  35253. if (next === 46) {
  35254. t3 = i + 2;
  35255. t3 = t3 === t1 || t2.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, t3));
  35256. } else
  35257. t3 = false;
  35258. else
  35259. t3 = false;
  35260. if (t3)
  35261. return null;
  35262. }
  35263. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  35264. beginning = false;
  35265. wasSeparator = false;
  35266. }
  35267. return hash;
  35268. },
  35269. withoutExtension$1(path) {
  35270. var i,
  35271. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  35272. for (i = parsed.parts.length - 1; i >= 0; --i)
  35273. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  35274. parsed.parts[i] = parsed._splitExtension$0()[0];
  35275. break;
  35276. }
  35277. return parsed.toString$0(0);
  35278. },
  35279. toUri$1(path) {
  35280. var t2,
  35281. t1 = this.style;
  35282. if (t1.rootLength$1(path) <= 0)
  35283. return t1.relativePathToUri$1(path);
  35284. else {
  35285. t2 = this._context$_current;
  35286. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  35287. }
  35288. },
  35289. prettyUri$1(uri) {
  35290. var path, rel, _this = this,
  35291. typedUri = A._parseUri(uri);
  35292. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  35293. return typedUri.toString$0(0);
  35294. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  35295. return typedUri.toString$0(0);
  35296. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  35297. rel = _this.relative$1(path);
  35298. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  35299. }
  35300. };
  35301. A.Context_joinAll_closure.prototype = {
  35302. call$1(part) {
  35303. return part !== "";
  35304. },
  35305. $signature: 8
  35306. };
  35307. A.Context_split_closure.prototype = {
  35308. call$1(part) {
  35309. return part.length !== 0;
  35310. },
  35311. $signature: 8
  35312. };
  35313. A._validateArgList_closure.prototype = {
  35314. call$1(arg) {
  35315. return arg == null ? "null" : '"' + arg + '"';
  35316. },
  35317. $signature: 587
  35318. };
  35319. A._PathDirection.prototype = {
  35320. toString$0(_) {
  35321. return this.name;
  35322. }
  35323. };
  35324. A._PathRelation.prototype = {
  35325. toString$0(_) {
  35326. return this.name;
  35327. }
  35328. };
  35329. A.InternalStyle.prototype = {
  35330. getRoot$1(path) {
  35331. var $length = this.rootLength$1(path);
  35332. if ($length > 0)
  35333. return B.JSString_methods.substring$2(path, 0, $length);
  35334. return this.isRootRelative$1(path) ? path[0] : null;
  35335. },
  35336. relativePathToUri$1(path) {
  35337. var segments, _null = null,
  35338. t1 = path.length;
  35339. if (t1 === 0)
  35340. return A._Uri__Uri(_null, _null, _null, _null);
  35341. segments = A.Context_Context(this).split$1(0, path);
  35342. if (this.isSeparator$1(B.JSString_methods.codeUnitAt$1(path, t1 - 1)))
  35343. B.JSArray_methods.add$1(segments, "");
  35344. return A._Uri__Uri(_null, _null, segments, _null);
  35345. },
  35346. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  35347. return codeUnit1 === codeUnit2;
  35348. },
  35349. pathsEqual$2(path1, path2) {
  35350. return path1 === path2;
  35351. },
  35352. canonicalizeCodeUnit$1(codeUnit) {
  35353. return codeUnit;
  35354. },
  35355. canonicalizePart$1(part) {
  35356. return part;
  35357. }
  35358. };
  35359. A.ParsedPath.prototype = {
  35360. get$basename() {
  35361. var _this = this,
  35362. t1 = type$.String,
  35363. 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));
  35364. copy.removeTrailingSeparators$0();
  35365. t1 = copy.parts;
  35366. if (t1.length === 0) {
  35367. t1 = _this.root;
  35368. return t1 == null ? "" : t1;
  35369. }
  35370. return B.JSArray_methods.get$last(t1);
  35371. },
  35372. get$hasTrailingSeparator() {
  35373. var t1 = this.parts;
  35374. if (t1.length !== 0)
  35375. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  35376. else
  35377. t1 = false;
  35378. return t1;
  35379. },
  35380. removeTrailingSeparators$0() {
  35381. var t1, t2, _this = this;
  35382. while (true) {
  35383. t1 = _this.parts;
  35384. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  35385. break;
  35386. B.JSArray_methods.removeLast$0(_this.parts);
  35387. _this.separators.pop();
  35388. }
  35389. t1 = _this.separators;
  35390. t2 = t1.length;
  35391. if (t2 !== 0)
  35392. t1[t2 - 1] = "";
  35393. },
  35394. normalize$1$canonicalize(canonicalize) {
  35395. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  35396. newParts = A._setArrayType([], type$.JSArray_String);
  35397. 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) {
  35398. part = t1[_i];
  35399. t4 = J.getInterceptor$(part);
  35400. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  35401. if (t4.$eq(part, ".."))
  35402. if (newParts.length !== 0)
  35403. newParts.pop();
  35404. else
  35405. ++leadingDoubles;
  35406. else
  35407. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  35408. }
  35409. if (_this.root == null)
  35410. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  35411. if (newParts.length === 0 && _this.root == null)
  35412. newParts.push(".");
  35413. _this.parts = newParts;
  35414. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  35415. t1 = _this.root;
  35416. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  35417. _this.separators[0] = "";
  35418. t1 = _this.root;
  35419. if (t1 != null && t3 === $.$get$Style_windows()) {
  35420. if (canonicalize)
  35421. t1 = _this.root = t1.toLowerCase();
  35422. t1.toString;
  35423. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  35424. }
  35425. _this.removeTrailingSeparators$0();
  35426. },
  35427. normalize$0() {
  35428. return this.normalize$1$canonicalize(false);
  35429. },
  35430. toString$0(_) {
  35431. var i, _this = this,
  35432. t1 = _this.root;
  35433. t1 = t1 != null ? "" + t1 : "";
  35434. for (i = 0; i < _this.parts.length; ++i)
  35435. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  35436. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  35437. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35438. },
  35439. _kthLastIndexOf$3(path, character, k) {
  35440. var index, count, leftMostIndexedCharacter;
  35441. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  35442. if (path[index] === character) {
  35443. ++count;
  35444. if (count === k)
  35445. return index;
  35446. leftMostIndexedCharacter = index;
  35447. }
  35448. return leftMostIndexedCharacter;
  35449. },
  35450. _splitExtension$1(level) {
  35451. var t1, file, lastDot;
  35452. if (level <= 0)
  35453. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  35454. t1 = this.parts;
  35455. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  35456. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  35457. if (file == null)
  35458. return A._setArrayType(["", ""], type$.JSArray_String);
  35459. if (file === "..")
  35460. return A._setArrayType(["..", ""], type$.JSArray_String);
  35461. lastDot = this._kthLastIndexOf$3(file, ".", level);
  35462. if (lastDot <= 0)
  35463. return A._setArrayType([file, ""], type$.JSArray_String);
  35464. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  35465. },
  35466. _splitExtension$0() {
  35467. return this._splitExtension$1(1);
  35468. }
  35469. };
  35470. A.ParsedPath__splitExtension_closure.prototype = {
  35471. call$1(p) {
  35472. return p !== "";
  35473. },
  35474. $signature: 190
  35475. };
  35476. A.ParsedPath__splitExtension_closure0.prototype = {
  35477. call$0() {
  35478. return null;
  35479. },
  35480. $signature: 1
  35481. };
  35482. A.PathException.prototype = {
  35483. toString$0(_) {
  35484. return "PathException: " + this.message;
  35485. },
  35486. $isException: 1,
  35487. get$message(receiver) {
  35488. return this.message;
  35489. }
  35490. };
  35491. A.PathMap.prototype = {};
  35492. A.PathMap__create_closure.prototype = {
  35493. call$2(path1, path2) {
  35494. if (path1 == null)
  35495. return path2 == null;
  35496. if (path2 == null)
  35497. return false;
  35498. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  35499. },
  35500. $signature: 388
  35501. };
  35502. A.PathMap__create_closure0.prototype = {
  35503. call$1(path) {
  35504. return path == null ? 0 : this._box_0.context.hash$1(path);
  35505. },
  35506. $signature: 283
  35507. };
  35508. A.PathMap__create_closure1.prototype = {
  35509. call$1(path) {
  35510. return typeof path == "string" || path == null;
  35511. },
  35512. $signature: 135
  35513. };
  35514. A.Style.prototype = {
  35515. toString$0(_) {
  35516. return this.get$name(this);
  35517. }
  35518. };
  35519. A.PosixStyle.prototype = {
  35520. containsSeparator$1(path) {
  35521. return B.JSString_methods.contains$1(path, "/");
  35522. },
  35523. isSeparator$1(codeUnit) {
  35524. return codeUnit === 47;
  35525. },
  35526. needsSeparator$1(path) {
  35527. var t1 = path.length;
  35528. return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47;
  35529. },
  35530. rootLength$2$withDrive(path, withDrive) {
  35531. if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  35532. return 1;
  35533. return 0;
  35534. },
  35535. rootLength$1(path) {
  35536. return this.rootLength$2$withDrive(path, false);
  35537. },
  35538. isRootRelative$1(path) {
  35539. return false;
  35540. },
  35541. pathFromUri$1(uri) {
  35542. var t1;
  35543. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  35544. t1 = uri.get$path(uri);
  35545. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  35546. }
  35547. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  35548. },
  35549. absolutePathToUri$1(path) {
  35550. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  35551. t1 = parsed.parts;
  35552. if (t1.length === 0)
  35553. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  35554. else if (parsed.get$hasTrailingSeparator())
  35555. B.JSArray_methods.add$1(parsed.parts, "");
  35556. return A._Uri__Uri(null, null, parsed.parts, "file");
  35557. },
  35558. get$name() {
  35559. return "posix";
  35560. },
  35561. get$separator() {
  35562. return "/";
  35563. }
  35564. };
  35565. A.UrlStyle.prototype = {
  35566. containsSeparator$1(path) {
  35567. return B.JSString_methods.contains$1(path, "/");
  35568. },
  35569. isSeparator$1(codeUnit) {
  35570. return codeUnit === 47;
  35571. },
  35572. needsSeparator$1(path) {
  35573. var t1 = path.length;
  35574. if (t1 === 0)
  35575. return false;
  35576. if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47)
  35577. return true;
  35578. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  35579. },
  35580. rootLength$2$withDrive(path, withDrive) {
  35581. var i, codeUnit, index, t2,
  35582. t1 = path.length;
  35583. if (t1 === 0)
  35584. return 0;
  35585. if (B.JSString_methods._codeUnitAt$1(path, 0) === 47)
  35586. return 1;
  35587. for (i = 0; i < t1; ++i) {
  35588. codeUnit = B.JSString_methods._codeUnitAt$1(path, i);
  35589. if (codeUnit === 47)
  35590. return 0;
  35591. if (codeUnit === 58) {
  35592. if (i === 0)
  35593. return 0;
  35594. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  35595. if (index <= 0)
  35596. return t1;
  35597. if (!withDrive || t1 < index + 3)
  35598. return index;
  35599. if (!B.JSString_methods.startsWith$1(path, "file://"))
  35600. return index;
  35601. if (!A.isDriveLetter(path, index + 1))
  35602. return index;
  35603. t2 = index + 3;
  35604. return t1 === t2 ? t2 : index + 4;
  35605. }
  35606. }
  35607. return 0;
  35608. },
  35609. rootLength$1(path) {
  35610. return this.rootLength$2$withDrive(path, false);
  35611. },
  35612. isRootRelative$1(path) {
  35613. return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47;
  35614. },
  35615. pathFromUri$1(uri) {
  35616. return uri.toString$0(0);
  35617. },
  35618. relativePathToUri$1(path) {
  35619. return A.Uri_parse(path);
  35620. },
  35621. absolutePathToUri$1(path) {
  35622. return A.Uri_parse(path);
  35623. },
  35624. get$name() {
  35625. return "url";
  35626. },
  35627. get$separator() {
  35628. return "/";
  35629. }
  35630. };
  35631. A.WindowsStyle.prototype = {
  35632. containsSeparator$1(path) {
  35633. return B.JSString_methods.contains$1(path, "/");
  35634. },
  35635. isSeparator$1(codeUnit) {
  35636. return codeUnit === 47 || codeUnit === 92;
  35637. },
  35638. needsSeparator$1(path) {
  35639. var t1 = path.length;
  35640. if (t1 === 0)
  35641. return false;
  35642. t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1);
  35643. return !(t1 === 47 || t1 === 92);
  35644. },
  35645. rootLength$2$withDrive(path, withDrive) {
  35646. var t2, index,
  35647. t1 = path.length;
  35648. if (t1 === 0)
  35649. return 0;
  35650. t2 = B.JSString_methods._codeUnitAt$1(path, 0);
  35651. if (t2 === 47)
  35652. return 1;
  35653. if (t2 === 92) {
  35654. if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92)
  35655. return 1;
  35656. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  35657. if (index > 0) {
  35658. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  35659. if (index > 0)
  35660. return index;
  35661. }
  35662. return t1;
  35663. }
  35664. if (t1 < 3)
  35665. return 0;
  35666. if (!A.isAlphabetic(t2))
  35667. return 0;
  35668. if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58)
  35669. return 0;
  35670. t1 = B.JSString_methods._codeUnitAt$1(path, 2);
  35671. if (!(t1 === 47 || t1 === 92))
  35672. return 0;
  35673. return 3;
  35674. },
  35675. rootLength$1(path) {
  35676. return this.rootLength$2$withDrive(path, false);
  35677. },
  35678. isRootRelative$1(path) {
  35679. return this.rootLength$1(path) === 1;
  35680. },
  35681. pathFromUri$1(uri) {
  35682. var path, t1;
  35683. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  35684. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  35685. path = uri.get$path(uri);
  35686. if (uri.get$host() === "") {
  35687. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.isDriveLetter(path, 1))
  35688. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  35689. } else
  35690. path = "\\\\" + uri.get$host() + path;
  35691. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  35692. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  35693. },
  35694. absolutePathToUri$1(path) {
  35695. var rootParts, t2,
  35696. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  35697. t1 = parsed.root;
  35698. t1.toString;
  35699. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  35700. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  35701. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
  35702. if (parsed.get$hasTrailingSeparator())
  35703. B.JSArray_methods.add$1(parsed.parts, "");
  35704. return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
  35705. } else {
  35706. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  35707. B.JSArray_methods.add$1(parsed.parts, "");
  35708. t1 = parsed.parts;
  35709. t2 = parsed.root;
  35710. t2.toString;
  35711. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  35712. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  35713. return A._Uri__Uri(null, null, parsed.parts, "file");
  35714. }
  35715. },
  35716. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  35717. var upperCase1;
  35718. if (codeUnit1 === codeUnit2)
  35719. return true;
  35720. if (codeUnit1 === 47)
  35721. return codeUnit2 === 92;
  35722. if (codeUnit1 === 92)
  35723. return codeUnit2 === 47;
  35724. if ((codeUnit1 ^ codeUnit2) !== 32)
  35725. return false;
  35726. upperCase1 = codeUnit1 | 32;
  35727. return upperCase1 >= 97 && upperCase1 <= 122;
  35728. },
  35729. pathsEqual$2(path1, path2) {
  35730. var t1, i;
  35731. if (path1 === path2)
  35732. return true;
  35733. t1 = path1.length;
  35734. if (t1 !== path2.length)
  35735. return false;
  35736. for (i = 0; i < t1; ++i)
  35737. if (!this.codeUnitsEqual$2(B.JSString_methods._codeUnitAt$1(path1, i), B.JSString_methods._codeUnitAt$1(path2, i)))
  35738. return false;
  35739. return true;
  35740. },
  35741. canonicalizeCodeUnit$1(codeUnit) {
  35742. if (codeUnit === 47)
  35743. return 92;
  35744. if (codeUnit < 65)
  35745. return codeUnit;
  35746. if (codeUnit > 90)
  35747. return codeUnit;
  35748. return codeUnit | 32;
  35749. },
  35750. canonicalizePart$1(part) {
  35751. return part.toLowerCase();
  35752. },
  35753. get$name() {
  35754. return "windows";
  35755. },
  35756. get$separator() {
  35757. return "\\";
  35758. }
  35759. };
  35760. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  35761. call$1(part) {
  35762. return part !== "";
  35763. },
  35764. $signature: 8
  35765. };
  35766. A.CssMediaQuery.prototype = {
  35767. merge$1(other) {
  35768. 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";
  35769. if (!_this.conjunction || !other.conjunction)
  35770. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35771. t1 = _this.modifier;
  35772. ourModifier = t1 == null ? _null : t1.toLowerCase();
  35773. t2 = _this.type;
  35774. t3 = t2 == null;
  35775. ourType = t3 ? _null : t2.toLowerCase();
  35776. t4 = other.modifier;
  35777. theirModifier = t4 == null ? _null : t4.toLowerCase();
  35778. t5 = other.type;
  35779. t6 = t5 == null;
  35780. theirType = t6 ? _null : t5.toLowerCase();
  35781. t7 = ourType == null;
  35782. if (t7 && theirType == null) {
  35783. t1 = A.List_List$of(_this.conditions, true, type$.String);
  35784. B.JSArray_methods.addAll$1(t1, other.conditions);
  35785. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  35786. }
  35787. t8 = ourModifier === "not";
  35788. if (t8 !== (theirModifier === "not")) {
  35789. if (ourType == theirType) {
  35790. negativeConditions = t8 ? _this.conditions : other.conditions;
  35791. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  35792. return B._SingletonCssMediaQueryMergeResult_empty;
  35793. else
  35794. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35795. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  35796. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35797. if (t8) {
  35798. conditions = other.conditions;
  35799. type = theirType;
  35800. modifier = theirModifier;
  35801. } else {
  35802. conditions = _this.conditions;
  35803. type = ourType;
  35804. modifier = ourModifier;
  35805. }
  35806. } else if (t8) {
  35807. if (ourType != theirType)
  35808. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35809. fewerConditions = _this.conditions;
  35810. fewerConditions0 = other.conditions;
  35811. t3 = fewerConditions.length > fewerConditions0.length;
  35812. moreConditions = t3 ? fewerConditions : fewerConditions0;
  35813. if (t3)
  35814. fewerConditions = fewerConditions0;
  35815. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  35816. return B._SingletonCssMediaQueryMergeResult_unrepresentable;
  35817. conditions = moreConditions;
  35818. type = ourType;
  35819. modifier = ourModifier;
  35820. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  35821. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  35822. t3 = A.List_List$of(_this.conditions, true, type$.String);
  35823. B.JSArray_methods.addAll$1(t3, other.conditions);
  35824. conditions = t3;
  35825. modifier = theirModifier;
  35826. } else {
  35827. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  35828. t3 = A.List_List$of(_this.conditions, true, type$.String);
  35829. B.JSArray_methods.addAll$1(t3, other.conditions);
  35830. conditions = t3;
  35831. modifier = ourModifier;
  35832. } else {
  35833. if (ourType != theirType)
  35834. return B._SingletonCssMediaQueryMergeResult_empty;
  35835. else {
  35836. modifier = ourModifier == null ? theirModifier : ourModifier;
  35837. t3 = A.List_List$of(_this.conditions, true, type$.String);
  35838. B.JSArray_methods.addAll$1(t3, other.conditions);
  35839. }
  35840. conditions = t3;
  35841. }
  35842. type = ourType;
  35843. }
  35844. t2 = type == ourType ? t2 : t5;
  35845. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  35846. },
  35847. $eq(_, other) {
  35848. if (other == null)
  35849. return false;
  35850. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  35851. },
  35852. get$hashCode(_) {
  35853. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  35854. },
  35855. toString$0(_) {
  35856. var t2, _this = this,
  35857. t1 = _this.modifier;
  35858. t1 = t1 != null ? "" + (t1 + " ") : "";
  35859. t2 = _this.type;
  35860. if (t2 != null) {
  35861. t1 += t2;
  35862. if (_this.conditions.length !== 0)
  35863. t1 += " and ";
  35864. }
  35865. t2 = _this.conjunction ? " and " : " or ";
  35866. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  35867. return t2.charCodeAt(0) == 0 ? t2 : t2;
  35868. }
  35869. };
  35870. A._SingletonCssMediaQueryMergeResult.prototype = {
  35871. toString$0(_) {
  35872. return this._media_query$_name;
  35873. }
  35874. };
  35875. A.MediaQuerySuccessfulMergeResult.prototype = {
  35876. toString$0(_) {
  35877. return this.query.toString$0(0);
  35878. }
  35879. };
  35880. A.ModifiableCssAtRule.prototype = {
  35881. accept$1$1(visitor) {
  35882. return visitor.visitCssAtRule$1(this);
  35883. },
  35884. accept$1(visitor) {
  35885. return this.accept$1$1(visitor, type$.dynamic);
  35886. },
  35887. copyWithoutChildren$0() {
  35888. var _this = this;
  35889. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  35890. },
  35891. addChild$1(child) {
  35892. this.super$ModifiableCssParentNode$addChild(child);
  35893. },
  35894. $isCssAtRule: 1,
  35895. get$isChildless() {
  35896. return this.isChildless;
  35897. },
  35898. get$span(receiver) {
  35899. return this.span;
  35900. }
  35901. };
  35902. A.ModifiableCssComment.prototype = {
  35903. accept$1$1(visitor) {
  35904. return visitor.visitCssComment$1(this);
  35905. },
  35906. accept$1(visitor) {
  35907. return this.accept$1$1(visitor, type$.dynamic);
  35908. },
  35909. $isCssComment: 1,
  35910. get$span(receiver) {
  35911. return this.span;
  35912. }
  35913. };
  35914. A.ModifiableCssDeclaration.prototype = {
  35915. accept$1$1(visitor) {
  35916. return visitor.visitCssDeclaration$1(this);
  35917. },
  35918. accept$1(visitor) {
  35919. return this.accept$1$1(visitor, type$.dynamic);
  35920. },
  35921. toString$0(_) {
  35922. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  35923. },
  35924. get$span(receiver) {
  35925. return this.span;
  35926. }
  35927. };
  35928. A.ModifiableCssImport.prototype = {
  35929. accept$1$1(visitor) {
  35930. return visitor.visitCssImport$1(this);
  35931. },
  35932. accept$1(visitor) {
  35933. return this.accept$1$1(visitor, type$.dynamic);
  35934. },
  35935. $isCssImport: 1,
  35936. get$span(receiver) {
  35937. return this.span;
  35938. }
  35939. };
  35940. A.ModifiableCssKeyframeBlock.prototype = {
  35941. accept$1$1(visitor) {
  35942. return visitor.visitCssKeyframeBlock$1(this);
  35943. },
  35944. accept$1(visitor) {
  35945. return this.accept$1$1(visitor, type$.dynamic);
  35946. },
  35947. copyWithoutChildren$0() {
  35948. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  35949. },
  35950. get$span(receiver) {
  35951. return this.span;
  35952. }
  35953. };
  35954. A.ModifiableCssMediaRule.prototype = {
  35955. accept$1$1(visitor) {
  35956. return visitor.visitCssMediaRule$1(this);
  35957. },
  35958. accept$1(visitor) {
  35959. return this.accept$1$1(visitor, type$.dynamic);
  35960. },
  35961. copyWithoutChildren$0() {
  35962. return A.ModifiableCssMediaRule$(this.queries, this.span);
  35963. },
  35964. $isCssMediaRule: 1,
  35965. get$span(receiver) {
  35966. return this.span;
  35967. }
  35968. };
  35969. A.ModifiableCssNode.prototype = {
  35970. get$hasFollowingSibling() {
  35971. var t2,
  35972. t1 = this._parent;
  35973. if (t1 == null)
  35974. t1 = null;
  35975. else {
  35976. t1 = t1.children;
  35977. t2 = this._indexInParent;
  35978. t2.toString;
  35979. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListMixin.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  35980. }
  35981. return t1 === true;
  35982. },
  35983. get$isGroupEnd() {
  35984. return this.isGroupEnd;
  35985. }
  35986. };
  35987. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  35988. call$1(sibling) {
  35989. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  35990. },
  35991. $signature: 134
  35992. };
  35993. A.ModifiableCssParentNode.prototype = {
  35994. get$isChildless() {
  35995. return false;
  35996. },
  35997. addChild$1(child) {
  35998. var t1;
  35999. child._parent = this;
  36000. t1 = this._children;
  36001. child._indexInParent = t1.length;
  36002. t1.push(child);
  36003. },
  36004. $isCssParentNode: 1,
  36005. get$children(receiver) {
  36006. return this.children;
  36007. }
  36008. };
  36009. A.ModifiableCssStyleRule.prototype = {
  36010. accept$1$1(visitor) {
  36011. return visitor.visitCssStyleRule$1(this);
  36012. },
  36013. accept$1(visitor) {
  36014. return this.accept$1$1(visitor, type$.dynamic);
  36015. },
  36016. copyWithoutChildren$0() {
  36017. return A.ModifiableCssStyleRule$(this.selector, this.span, this.originalSelector);
  36018. },
  36019. $isCssStyleRule: 1,
  36020. get$span(receiver) {
  36021. return this.span;
  36022. }
  36023. };
  36024. A.ModifiableCssStylesheet.prototype = {
  36025. accept$1$1(visitor) {
  36026. return visitor.visitCssStylesheet$1(this);
  36027. },
  36028. accept$1(visitor) {
  36029. return this.accept$1$1(visitor, type$.dynamic);
  36030. },
  36031. copyWithoutChildren$0() {
  36032. return A.ModifiableCssStylesheet$(this.span);
  36033. },
  36034. $isCssStylesheet: 1,
  36035. get$span(receiver) {
  36036. return this.span;
  36037. }
  36038. };
  36039. A.ModifiableCssSupportsRule.prototype = {
  36040. accept$1$1(visitor) {
  36041. return visitor.visitCssSupportsRule$1(this);
  36042. },
  36043. accept$1(visitor) {
  36044. return this.accept$1$1(visitor, type$.dynamic);
  36045. },
  36046. copyWithoutChildren$0() {
  36047. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  36048. },
  36049. $isCssSupportsRule: 1,
  36050. get$span(receiver) {
  36051. return this.span;
  36052. }
  36053. };
  36054. A.ModifiableCssValue.prototype = {
  36055. toString$0(_) {
  36056. return A.serializeSelector(this.value, true);
  36057. },
  36058. $isCssValue: 1,
  36059. $isAstNode: 1,
  36060. get$value(receiver) {
  36061. return this.value;
  36062. },
  36063. get$span(receiver) {
  36064. return this.span;
  36065. }
  36066. };
  36067. A.CssNode.prototype = {
  36068. toString$0(_) {
  36069. return A.serialize(this, true, null, true, null, false, null, true).css;
  36070. }
  36071. };
  36072. A.CssParentNode.prototype = {};
  36073. A._IsInvisibleVisitor.prototype = {
  36074. visitCssAtRule$1(rule) {
  36075. return false;
  36076. },
  36077. visitCssComment$1(comment) {
  36078. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  36079. },
  36080. visitCssStyleRule$1(rule) {
  36081. var t1 = rule.selector.value;
  36082. return (this.includeBogus ? t1.accept$1(B._IsInvisibleVisitor_true) : t1.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  36083. }
  36084. };
  36085. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  36086. A.CssStylesheet.prototype = {
  36087. get$isGroupEnd() {
  36088. return false;
  36089. },
  36090. get$isChildless() {
  36091. return false;
  36092. },
  36093. accept$1$1(visitor) {
  36094. return visitor.visitCssStylesheet$1(this);
  36095. },
  36096. accept$1(visitor) {
  36097. return this.accept$1$1(visitor, type$.dynamic);
  36098. },
  36099. get$children(receiver) {
  36100. return this.children;
  36101. },
  36102. get$span(receiver) {
  36103. return this.span;
  36104. }
  36105. };
  36106. A.CssValue.prototype = {
  36107. toString$0(_) {
  36108. return J.toString$0$(this.value);
  36109. },
  36110. $isAstNode: 1,
  36111. get$value(receiver) {
  36112. return this.value;
  36113. },
  36114. get$span(receiver) {
  36115. return this.span;
  36116. }
  36117. };
  36118. A.AstNode.prototype = {};
  36119. A._FakeAstNode.prototype = {
  36120. get$span(_) {
  36121. return this._callback.call$0();
  36122. },
  36123. $isAstNode: 1
  36124. };
  36125. A.Argument.prototype = {
  36126. toString$0(_) {
  36127. var t1 = this.defaultValue,
  36128. t2 = this.name;
  36129. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  36130. },
  36131. $isAstNode: 1,
  36132. get$span(receiver) {
  36133. return this.span;
  36134. }
  36135. };
  36136. A.ArgumentDeclaration.prototype = {
  36137. get$spanWithName() {
  36138. var t3, t4,
  36139. t1 = this.span,
  36140. t2 = t1.file,
  36141. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  36142. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  36143. while (true) {
  36144. if (i > 0) {
  36145. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36146. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  36147. } else
  36148. t3 = false;
  36149. if (!t3)
  36150. break;
  36151. --i;
  36152. }
  36153. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36154. if (!(t3 === 95 || A.isAlphabetic0(t3) || t3 >= 128 || A.isDigit(t3) || t3 === 45))
  36155. return t1;
  36156. --i;
  36157. while (true) {
  36158. if (i >= 0) {
  36159. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  36160. if (t3 !== 95) {
  36161. if (!(t3 >= 97 && t3 <= 122))
  36162. t4 = t3 >= 65 && t3 <= 90;
  36163. else
  36164. t4 = true;
  36165. t4 = t4 || t3 >= 128;
  36166. } else
  36167. t4 = true;
  36168. if (!t4)
  36169. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  36170. else
  36171. t3 = true;
  36172. } else
  36173. t3 = false;
  36174. if (!t3)
  36175. break;
  36176. --i;
  36177. }
  36178. t3 = i + 1;
  36179. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  36180. if (!(t4 === 95 || A.isAlphabetic0(t4) || t4 >= 128))
  36181. return t1;
  36182. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  36183. },
  36184. verify$2(positional, names) {
  36185. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  36186. _s10_ = "invocation",
  36187. _s8_ = "argument";
  36188. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  36189. argument = t1[i];
  36190. if (i < positional) {
  36191. t4 = argument.name;
  36192. if (t3.containsKey$1(t4))
  36193. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  36194. } else {
  36195. t4 = argument.name;
  36196. if (t3.containsKey$1(t4))
  36197. ++namedUsed;
  36198. else if (argument.defaultValue == null)
  36199. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  36200. }
  36201. }
  36202. if (_this.restArgument != null)
  36203. return;
  36204. if (positional > t2) {
  36205. t1 = names.get$isEmpty(names) ? "" : "positional ";
  36206. 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)));
  36207. }
  36208. if (namedUsed < t3.get$length(t3)) {
  36209. t2 = type$.String;
  36210. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  36211. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  36212. 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)));
  36213. }
  36214. },
  36215. _originalArgumentName$1($name) {
  36216. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  36217. if ($name === this.restArgument) {
  36218. t1 = this.span;
  36219. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  36220. 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, "."));
  36221. }
  36222. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  36223. argument = t1[_i];
  36224. if (argument.name === $name) {
  36225. t1 = argument.defaultValue;
  36226. t2 = argument.span;
  36227. t3 = t2.file;
  36228. t4 = t2._file$_start;
  36229. t2 = t2._end;
  36230. if (t1 == null) {
  36231. t1 = t3._decodedChars;
  36232. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  36233. } else {
  36234. t1 = t3._decodedChars;
  36235. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  36236. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  36237. end = A._lastNonWhitespace(t1, false);
  36238. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  36239. }
  36240. return t1;
  36241. }
  36242. }
  36243. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  36244. },
  36245. matches$2(positional, names) {
  36246. var t1, t2, t3, namedUsed, i, argument;
  36247. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  36248. argument = t1[i];
  36249. if (i < positional) {
  36250. if (t3.containsKey$1(argument.name))
  36251. return false;
  36252. } else if (t3.containsKey$1(argument.name))
  36253. ++namedUsed;
  36254. else if (argument.defaultValue == null)
  36255. return false;
  36256. }
  36257. if (this.restArgument != null)
  36258. return true;
  36259. if (positional > t2)
  36260. return false;
  36261. if (namedUsed < t3.get$length(t3))
  36262. return false;
  36263. return true;
  36264. },
  36265. toString$0(_) {
  36266. var t2, t3, _i,
  36267. t1 = A._setArrayType([], type$.JSArray_String);
  36268. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  36269. t1.push("$" + A.S(t2[_i]));
  36270. t2 = this.restArgument;
  36271. if (t2 != null)
  36272. t1.push("$" + t2 + "...");
  36273. return B.JSArray_methods.join$1(t1, ", ");
  36274. },
  36275. $isAstNode: 1,
  36276. get$span(receiver) {
  36277. return this.span;
  36278. }
  36279. };
  36280. A.ArgumentDeclaration_verify_closure.prototype = {
  36281. call$1(argument) {
  36282. return argument.name;
  36283. },
  36284. $signature: 389
  36285. };
  36286. A.ArgumentDeclaration_verify_closure0.prototype = {
  36287. call$1($name) {
  36288. return "$" + $name;
  36289. },
  36290. $signature: 5
  36291. };
  36292. A.ArgumentInvocation.prototype = {
  36293. get$isEmpty(_) {
  36294. var t1;
  36295. if (this.positional.length === 0) {
  36296. t1 = this.named;
  36297. t1 = t1.get$isEmpty(t1) && this.rest == null;
  36298. } else
  36299. t1 = false;
  36300. return t1;
  36301. },
  36302. toString$0(_) {
  36303. var t2, t3, t4, _this = this,
  36304. t1 = A.List_List$of(_this.positional, true, type$.Object);
  36305. for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
  36306. t4 = t3.get$current(t3);
  36307. t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
  36308. }
  36309. t2 = _this.rest;
  36310. if (t2 != null)
  36311. t1.push(t2.toString$0(0) + "...");
  36312. t2 = _this.keywordRest;
  36313. if (t2 != null)
  36314. t1.push(t2.toString$0(0) + "...");
  36315. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  36316. },
  36317. $isAstNode: 1,
  36318. get$span(receiver) {
  36319. return this.span;
  36320. }
  36321. };
  36322. A.AtRootQuery.prototype = {
  36323. excludes$1(node) {
  36324. var t1, _this = this;
  36325. if (_this._all)
  36326. return !_this.include;
  36327. if (type$.CssStyleRule._is(node))
  36328. return _this._at_root_query$_rule !== _this.include;
  36329. if (type$.CssMediaRule._is(node))
  36330. return _this.excludesName$1("media");
  36331. if (type$.CssSupportsRule._is(node))
  36332. return _this.excludesName$1("supports");
  36333. if (type$.CssAtRule._is(node)) {
  36334. t1 = node.name;
  36335. return _this.excludesName$1(t1.get$value(t1).toLowerCase());
  36336. }
  36337. return false;
  36338. },
  36339. excludesName$1($name) {
  36340. var t1 = this._all || this.names.contains$1(0, $name);
  36341. return t1 !== this.include;
  36342. }
  36343. };
  36344. A.ConfiguredVariable.prototype = {
  36345. toString$0(_) {
  36346. var t1 = this.expression.toString$0(0),
  36347. t2 = this.isGuarded ? " !default" : "";
  36348. return "$" + this.name + ": " + t1 + t2;
  36349. },
  36350. $isAstNode: 1,
  36351. get$span(receiver) {
  36352. return this.span;
  36353. }
  36354. };
  36355. A.BinaryOperationExpression.prototype = {
  36356. get$span(_) {
  36357. var right,
  36358. left = this.left;
  36359. for (; left instanceof A.BinaryOperationExpression;)
  36360. left = left.left;
  36361. right = this.right;
  36362. for (; right instanceof A.BinaryOperationExpression;)
  36363. right = right.right;
  36364. return left.get$span(left).expand$1(0, right.get$span(right));
  36365. },
  36366. accept$1$1(visitor) {
  36367. return visitor.visitBinaryOperationExpression$1(this);
  36368. },
  36369. accept$1(visitor) {
  36370. return this.accept$1$1(visitor, type$.dynamic);
  36371. },
  36372. toString$0(_) {
  36373. var t2, right, rightNeedsParens, _this = this,
  36374. left = _this.left,
  36375. leftNeedsParens = left instanceof A.BinaryOperationExpression && left.operator.precedence < _this.operator.precedence,
  36376. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  36377. t1 += left.toString$0(0);
  36378. if (leftNeedsParens)
  36379. t1 += A.Primitives_stringFromCharCode(41);
  36380. t2 = _this.operator;
  36381. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  36382. right = _this.right;
  36383. rightNeedsParens = right instanceof A.BinaryOperationExpression && right.operator.precedence <= t2.precedence;
  36384. if (rightNeedsParens)
  36385. t1 += A.Primitives_stringFromCharCode(40);
  36386. t1 += right.toString$0(0);
  36387. if (rightNeedsParens)
  36388. t1 += A.Primitives_stringFromCharCode(41);
  36389. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36390. },
  36391. $isAstNode: 1,
  36392. $isExpression: 1
  36393. };
  36394. A.BinaryOperator.prototype = {
  36395. toString$0(_) {
  36396. return this.name;
  36397. }
  36398. };
  36399. A.BooleanExpression.prototype = {
  36400. accept$1$1(visitor) {
  36401. return visitor.visitBooleanExpression$1(this);
  36402. },
  36403. accept$1(visitor) {
  36404. return this.accept$1$1(visitor, type$.dynamic);
  36405. },
  36406. toString$0(_) {
  36407. return String(this.value);
  36408. },
  36409. $isAstNode: 1,
  36410. $isExpression: 1,
  36411. get$span(receiver) {
  36412. return this.span;
  36413. }
  36414. };
  36415. A.CalculationExpression.prototype = {
  36416. accept$1$1(visitor) {
  36417. return visitor.visitCalculationExpression$1(this);
  36418. },
  36419. accept$1(visitor) {
  36420. return this.accept$1$1(visitor, type$.dynamic);
  36421. },
  36422. toString$0(_) {
  36423. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  36424. },
  36425. $isAstNode: 1,
  36426. $isExpression: 1,
  36427. get$span(receiver) {
  36428. return this.span;
  36429. }
  36430. };
  36431. A.CalculationExpression__verifyArguments_closure.prototype = {
  36432. call$1(arg) {
  36433. A.CalculationExpression__verify(arg);
  36434. return arg;
  36435. },
  36436. $signature: 302
  36437. };
  36438. A.ColorExpression.prototype = {
  36439. accept$1$1(visitor) {
  36440. return visitor.visitColorExpression$1(this);
  36441. },
  36442. accept$1(visitor) {
  36443. return this.accept$1$1(visitor, type$.dynamic);
  36444. },
  36445. toString$0(_) {
  36446. return A.serializeValue(this.value, true, true);
  36447. },
  36448. $isAstNode: 1,
  36449. $isExpression: 1,
  36450. get$span(receiver) {
  36451. return this.span;
  36452. }
  36453. };
  36454. A.FunctionExpression.prototype = {
  36455. accept$1$1(visitor) {
  36456. return visitor.visitFunctionExpression$1(this);
  36457. },
  36458. accept$1(visitor) {
  36459. return this.accept$1$1(visitor, type$.dynamic);
  36460. },
  36461. toString$0(_) {
  36462. var t1 = this.namespace;
  36463. t1 = t1 != null ? "" + (t1 + ".") : "";
  36464. t1 += this.originalName + this.$arguments.toString$0(0);
  36465. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36466. },
  36467. $isAstNode: 1,
  36468. $isExpression: 1,
  36469. get$span(receiver) {
  36470. return this.span;
  36471. }
  36472. };
  36473. A.IfExpression.prototype = {
  36474. accept$1$1(visitor) {
  36475. return visitor.visitIfExpression$1(this);
  36476. },
  36477. accept$1(visitor) {
  36478. return this.accept$1$1(visitor, type$.dynamic);
  36479. },
  36480. toString$0(_) {
  36481. return "if" + this.$arguments.toString$0(0);
  36482. },
  36483. $isAstNode: 1,
  36484. $isExpression: 1,
  36485. get$span(receiver) {
  36486. return this.span;
  36487. }
  36488. };
  36489. A.InterpolatedFunctionExpression.prototype = {
  36490. accept$1$1(visitor) {
  36491. return visitor.visitInterpolatedFunctionExpression$1(this);
  36492. },
  36493. accept$1(visitor) {
  36494. return this.accept$1$1(visitor, type$.dynamic);
  36495. },
  36496. toString$0(_) {
  36497. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  36498. },
  36499. $isAstNode: 1,
  36500. $isExpression: 1,
  36501. get$span(receiver) {
  36502. return this.span;
  36503. }
  36504. };
  36505. A.ListExpression.prototype = {
  36506. accept$1$1(visitor) {
  36507. return visitor.visitListExpression$1(this);
  36508. },
  36509. accept$1(visitor) {
  36510. return this.accept$1$1(visitor, type$.dynamic);
  36511. },
  36512. toString$0(_) {
  36513. var _this = this,
  36514. t1 = _this.hasBrackets,
  36515. t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
  36516. t3 = _this.contents,
  36517. t4 = _this.separator === B.ListSeparator_rXA ? ", " : " ";
  36518. t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
  36519. t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
  36520. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36521. },
  36522. _list0$_elementNeedsParens$1(expression) {
  36523. var t1;
  36524. if (expression instanceof A.ListExpression) {
  36525. if (expression.contents.length < 2)
  36526. return false;
  36527. if (expression.hasBrackets)
  36528. return false;
  36529. t1 = expression.separator;
  36530. return this.separator === B.ListSeparator_rXA ? t1 === B.ListSeparator_rXA : t1 !== B.ListSeparator_undecided_null_undecided;
  36531. }
  36532. if (this.separator !== B.ListSeparator_EVt)
  36533. return false;
  36534. if (expression instanceof A.UnaryOperationExpression) {
  36535. t1 = expression.operator;
  36536. return t1 === B.UnaryOperator_gg4 || t1 === B.UnaryOperator_TLI;
  36537. }
  36538. return false;
  36539. },
  36540. $isAstNode: 1,
  36541. $isExpression: 1,
  36542. get$span(receiver) {
  36543. return this.span;
  36544. }
  36545. };
  36546. A.ListExpression_toString_closure.prototype = {
  36547. call$1(element) {
  36548. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  36549. },
  36550. $signature: 133
  36551. };
  36552. A.MapExpression.prototype = {
  36553. accept$1$1(visitor) {
  36554. return visitor.visitMapExpression$1(this);
  36555. },
  36556. accept$1(visitor) {
  36557. return this.accept$1$1(visitor, type$.dynamic);
  36558. },
  36559. toString$0(_) {
  36560. var t1 = this.pairs;
  36561. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  36562. },
  36563. $isAstNode: 1,
  36564. $isExpression: 1,
  36565. get$span(receiver) {
  36566. return this.span;
  36567. }
  36568. };
  36569. A.MapExpression_toString_closure.prototype = {
  36570. call$1(pair) {
  36571. return A.S(pair.item1) + ": " + A.S(pair.item2);
  36572. },
  36573. $signature: 329
  36574. };
  36575. A.NullExpression.prototype = {
  36576. accept$1$1(visitor) {
  36577. return visitor.visitNullExpression$1(this);
  36578. },
  36579. accept$1(visitor) {
  36580. return this.accept$1$1(visitor, type$.dynamic);
  36581. },
  36582. toString$0(_) {
  36583. return "null";
  36584. },
  36585. $isAstNode: 1,
  36586. $isExpression: 1,
  36587. get$span(receiver) {
  36588. return this.span;
  36589. }
  36590. };
  36591. A.NumberExpression.prototype = {
  36592. accept$1$1(visitor) {
  36593. return visitor.visitNumberExpression$1(this);
  36594. },
  36595. accept$1(visitor) {
  36596. return this.accept$1$1(visitor, type$.dynamic);
  36597. },
  36598. toString$0(_) {
  36599. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  36600. },
  36601. $isAstNode: 1,
  36602. $isExpression: 1,
  36603. get$span(receiver) {
  36604. return this.span;
  36605. }
  36606. };
  36607. A.ParenthesizedExpression.prototype = {
  36608. accept$1$1(visitor) {
  36609. return visitor.visitParenthesizedExpression$1(this);
  36610. },
  36611. accept$1(visitor) {
  36612. return this.accept$1$1(visitor, type$.dynamic);
  36613. },
  36614. toString$0(_) {
  36615. return "(" + this.expression.toString$0(0) + ")";
  36616. },
  36617. $isAstNode: 1,
  36618. $isExpression: 1,
  36619. get$span(receiver) {
  36620. return this.span;
  36621. }
  36622. };
  36623. A.SelectorExpression.prototype = {
  36624. accept$1$1(visitor) {
  36625. return visitor.visitSelectorExpression$1(this);
  36626. },
  36627. accept$1(visitor) {
  36628. return this.accept$1$1(visitor, type$.dynamic);
  36629. },
  36630. toString$0(_) {
  36631. return "&";
  36632. },
  36633. $isAstNode: 1,
  36634. $isExpression: 1,
  36635. get$span(receiver) {
  36636. return this.span;
  36637. }
  36638. };
  36639. A.StringExpression.prototype = {
  36640. get$span(_) {
  36641. return this.text.span;
  36642. },
  36643. accept$1$1(visitor) {
  36644. return visitor.visitStringExpression$1(this);
  36645. },
  36646. accept$1(visitor) {
  36647. return this.accept$1$1(visitor, type$.dynamic);
  36648. },
  36649. asInterpolation$1$static($static) {
  36650. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  36651. if (!this.hasQuotes)
  36652. return this.text;
  36653. t1 = this.text;
  36654. t2 = t1.contents;
  36655. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  36656. t3 = new A.StringBuffer("");
  36657. t4 = A._setArrayType([], type$.JSArray_Object);
  36658. buffer = new A.InterpolationBuffer(t3, t4);
  36659. t3._contents = "" + A.Primitives_stringFromCharCode(quote);
  36660. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  36661. value = t2[_i];
  36662. if (t6._is(value)) {
  36663. buffer._flushText$0();
  36664. t4.push(value);
  36665. } else if (typeof value == "string")
  36666. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  36667. }
  36668. t3._contents += A.Primitives_stringFromCharCode(quote);
  36669. return buffer.interpolation$1(t1.span);
  36670. },
  36671. asInterpolation$0() {
  36672. return this.asInterpolation$1$static(false);
  36673. },
  36674. toString$0(_) {
  36675. return this.asInterpolation$0().toString$0(0);
  36676. },
  36677. $isAstNode: 1,
  36678. $isExpression: 1
  36679. };
  36680. A.SupportsExpression.prototype = {
  36681. get$span(_) {
  36682. var t1 = this.condition;
  36683. return t1.get$span(t1);
  36684. },
  36685. accept$1$1(visitor) {
  36686. return visitor.visitSupportsExpression$1(this);
  36687. },
  36688. accept$1(visitor) {
  36689. return this.accept$1$1(visitor, type$.dynamic);
  36690. },
  36691. toString$0(_) {
  36692. return this.condition.toString$0(0);
  36693. },
  36694. $isAstNode: 1,
  36695. $isExpression: 1
  36696. };
  36697. A.UnaryOperationExpression.prototype = {
  36698. accept$1$1(visitor) {
  36699. return visitor.visitUnaryOperationExpression$1(this);
  36700. },
  36701. accept$1(visitor) {
  36702. return this.accept$1$1(visitor, type$.dynamic);
  36703. },
  36704. toString$0(_) {
  36705. var t1 = this.operator,
  36706. t2 = t1.operator;
  36707. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  36708. t1 += this.operand.toString$0(0);
  36709. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36710. },
  36711. $isAstNode: 1,
  36712. $isExpression: 1,
  36713. get$span(receiver) {
  36714. return this.span;
  36715. }
  36716. };
  36717. A.UnaryOperator.prototype = {
  36718. toString$0(_) {
  36719. return this.name;
  36720. }
  36721. };
  36722. A.ValueExpression.prototype = {
  36723. accept$1$1(visitor) {
  36724. return visitor.visitValueExpression$1(this);
  36725. },
  36726. accept$1(visitor) {
  36727. return this.accept$1$1(visitor, type$.dynamic);
  36728. },
  36729. toString$0(_) {
  36730. return A.serializeValue(this.value, true, true);
  36731. },
  36732. $isAstNode: 1,
  36733. $isExpression: 1,
  36734. get$span(receiver) {
  36735. return this.span;
  36736. }
  36737. };
  36738. A.VariableExpression.prototype = {
  36739. accept$1$1(visitor) {
  36740. return visitor.visitVariableExpression$1(this);
  36741. },
  36742. accept$1(visitor) {
  36743. return this.accept$1$1(visitor, type$.dynamic);
  36744. },
  36745. toString$0(_) {
  36746. var t1 = this.namespace,
  36747. t2 = this.name;
  36748. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  36749. },
  36750. $isAstNode: 1,
  36751. $isExpression: 1,
  36752. get$span(receiver) {
  36753. return this.span;
  36754. }
  36755. };
  36756. A.DynamicImport.prototype = {
  36757. toString$0(_) {
  36758. return A.StringExpression_quoteText(this.urlString);
  36759. },
  36760. $isAstNode: 1,
  36761. $isImport: 1,
  36762. get$span(receiver) {
  36763. return this.span;
  36764. }
  36765. };
  36766. A.StaticImport.prototype = {
  36767. toString$0(_) {
  36768. var t1 = this.url.toString$0(0),
  36769. t2 = this.modifiers;
  36770. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  36771. },
  36772. $isAstNode: 1,
  36773. $isImport: 1,
  36774. get$span(receiver) {
  36775. return this.span;
  36776. }
  36777. };
  36778. A.Interpolation.prototype = {
  36779. get$asPlain() {
  36780. var first,
  36781. t1 = this.contents,
  36782. t2 = t1.length;
  36783. if (t2 === 0)
  36784. return "";
  36785. if (t2 > 1)
  36786. return null;
  36787. first = B.JSArray_methods.get$first(t1);
  36788. return typeof first == "string" ? first : null;
  36789. },
  36790. get$initialPlain() {
  36791. var first = B.JSArray_methods.get$first(this.contents);
  36792. return typeof first == "string" ? first : "";
  36793. },
  36794. Interpolation$2(contents, span) {
  36795. var t1, t2, t3, i, t4, t5,
  36796. _s8_ = "contents";
  36797. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  36798. t4 = t1[i];
  36799. t5 = typeof t4 == "string";
  36800. if (!t5 && !t3._is(t4))
  36801. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  36802. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  36803. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  36804. }
  36805. },
  36806. toString$0(_) {
  36807. var t1 = this.contents;
  36808. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  36809. },
  36810. $isAstNode: 1,
  36811. get$span(receiver) {
  36812. return this.span;
  36813. }
  36814. };
  36815. A.Interpolation_toString_closure.prototype = {
  36816. call$1(value) {
  36817. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  36818. },
  36819. $signature: 44
  36820. };
  36821. A.AtRootRule.prototype = {
  36822. accept$1$1(visitor) {
  36823. return visitor.visitAtRootRule$1(this);
  36824. },
  36825. accept$1(visitor) {
  36826. return this.accept$1$1(visitor, type$.dynamic);
  36827. },
  36828. toString$0(_) {
  36829. var buffer = new A.StringBuffer("@at-root "),
  36830. t1 = this.query;
  36831. if (t1 != null)
  36832. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  36833. t1 = this.children;
  36834. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  36835. },
  36836. get$span(receiver) {
  36837. return this.span;
  36838. }
  36839. };
  36840. A.AtRule.prototype = {
  36841. accept$1$1(visitor) {
  36842. return visitor.visitAtRule$1(this);
  36843. },
  36844. accept$1(visitor) {
  36845. return this.accept$1$1(visitor, type$.dynamic);
  36846. },
  36847. toString$0(_) {
  36848. var children,
  36849. t1 = "@" + this.name.toString$0(0),
  36850. buffer = new A.StringBuffer(t1),
  36851. t2 = this.value;
  36852. if (t2 != null)
  36853. buffer._contents = t1 + (" " + t2.toString$0(0));
  36854. children = this.children;
  36855. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  36856. },
  36857. get$span(receiver) {
  36858. return this.span;
  36859. }
  36860. };
  36861. A.CallableDeclaration.prototype = {
  36862. get$span(receiver) {
  36863. return this.span;
  36864. }
  36865. };
  36866. A.ContentBlock.prototype = {
  36867. accept$1$1(visitor) {
  36868. return visitor.visitContentBlock$1(this);
  36869. },
  36870. accept$1(visitor) {
  36871. return this.accept$1$1(visitor, type$.dynamic);
  36872. },
  36873. toString$0(_) {
  36874. var t2,
  36875. t1 = this.$arguments;
  36876. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  36877. t2 = this.children;
  36878. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  36879. }
  36880. };
  36881. A.ContentRule.prototype = {
  36882. accept$1$1(visitor) {
  36883. return visitor.visitContentRule$1(this);
  36884. },
  36885. accept$1(visitor) {
  36886. return this.accept$1$1(visitor, type$.dynamic);
  36887. },
  36888. toString$0(_) {
  36889. var t1 = this.$arguments;
  36890. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  36891. },
  36892. $isAstNode: 1,
  36893. $isStatement: 1,
  36894. get$span(receiver) {
  36895. return this.span;
  36896. }
  36897. };
  36898. A.DebugRule.prototype = {
  36899. accept$1$1(visitor) {
  36900. return visitor.visitDebugRule$1(this);
  36901. },
  36902. accept$1(visitor) {
  36903. return this.accept$1$1(visitor, type$.dynamic);
  36904. },
  36905. toString$0(_) {
  36906. return "@debug " + this.expression.toString$0(0) + ";";
  36907. },
  36908. $isAstNode: 1,
  36909. $isStatement: 1,
  36910. get$span(receiver) {
  36911. return this.span;
  36912. }
  36913. };
  36914. A.Declaration.prototype = {
  36915. accept$1$1(visitor) {
  36916. return visitor.visitDeclaration$1(this);
  36917. },
  36918. accept$1(visitor) {
  36919. return this.accept$1$1(visitor, type$.dynamic);
  36920. },
  36921. toString$0(_) {
  36922. var t3, children,
  36923. buffer = new A.StringBuffer(""),
  36924. t1 = this.name,
  36925. t2 = "" + t1.toString$0(0);
  36926. buffer._contents = t2;
  36927. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  36928. t3 = this.value;
  36929. if (t3 != null) {
  36930. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  36931. buffer._contents = t1 + t3.toString$0(0);
  36932. }
  36933. children = this.children;
  36934. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  36935. },
  36936. get$span(receiver) {
  36937. return this.span;
  36938. }
  36939. };
  36940. A.EachRule.prototype = {
  36941. accept$1$1(visitor) {
  36942. return visitor.visitEachRule$1(this);
  36943. },
  36944. accept$1(visitor) {
  36945. return this.accept$1$1(visitor, type$.dynamic);
  36946. },
  36947. toString$0(_) {
  36948. var t1 = this.variables,
  36949. t2 = this.children;
  36950. 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, " ") + "}";
  36951. },
  36952. get$span(receiver) {
  36953. return this.span;
  36954. }
  36955. };
  36956. A.EachRule_toString_closure.prototype = {
  36957. call$1(variable) {
  36958. return "$" + variable;
  36959. },
  36960. $signature: 5
  36961. };
  36962. A.ErrorRule.prototype = {
  36963. accept$1$1(visitor) {
  36964. return visitor.visitErrorRule$1(this);
  36965. },
  36966. accept$1(visitor) {
  36967. return this.accept$1$1(visitor, type$.dynamic);
  36968. },
  36969. toString$0(_) {
  36970. return "@error " + this.expression.toString$0(0) + ";";
  36971. },
  36972. $isAstNode: 1,
  36973. $isStatement: 1,
  36974. get$span(receiver) {
  36975. return this.span;
  36976. }
  36977. };
  36978. A.ExtendRule.prototype = {
  36979. accept$1$1(visitor) {
  36980. return visitor.visitExtendRule$1(this);
  36981. },
  36982. accept$1(visitor) {
  36983. return this.accept$1$1(visitor, type$.dynamic);
  36984. },
  36985. toString$0(_) {
  36986. var t1 = this.selector.toString$0(0),
  36987. t2 = this.isOptional ? " !optional" : "";
  36988. return "@extend " + t1 + t2 + ";";
  36989. },
  36990. $isAstNode: 1,
  36991. $isStatement: 1,
  36992. get$span(receiver) {
  36993. return this.span;
  36994. }
  36995. };
  36996. A.ForRule.prototype = {
  36997. accept$1$1(visitor) {
  36998. return visitor.visitForRule$1(this);
  36999. },
  37000. accept$1(visitor) {
  37001. return this.accept$1$1(visitor, type$.dynamic);
  37002. },
  37003. toString$0(_) {
  37004. var _this = this,
  37005. t1 = _this.from.toString$0(0),
  37006. t2 = _this.isExclusive ? "to" : "through",
  37007. t3 = _this.children;
  37008. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  37009. },
  37010. get$span(receiver) {
  37011. return this.span;
  37012. }
  37013. };
  37014. A.ForwardRule.prototype = {
  37015. accept$1$1(visitor) {
  37016. return visitor.visitForwardRule$1(this);
  37017. },
  37018. accept$1(visitor) {
  37019. return this.accept$1$1(visitor, type$.dynamic);
  37020. },
  37021. toString$0(_) {
  37022. var t2, prefix, _this = this,
  37023. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  37024. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  37025. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  37026. if (shownMixinsAndFunctions != null) {
  37027. t2 = _this.shownVariables;
  37028. t2.toString;
  37029. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  37030. t1 = t2;
  37031. } else {
  37032. if (hiddenMixinsAndFunctions != null) {
  37033. t2 = hiddenMixinsAndFunctions._base;
  37034. t2 = t2.get$isNotEmpty(t2);
  37035. } else
  37036. t2 = false;
  37037. if (t2) {
  37038. t2 = _this.hiddenVariables;
  37039. t2.toString;
  37040. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  37041. t1 = t2;
  37042. }
  37043. }
  37044. prefix = _this.prefix;
  37045. if (prefix != null)
  37046. t1 += " as " + prefix + "*";
  37047. t2 = _this.configuration;
  37048. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  37049. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37050. },
  37051. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  37052. var t2,
  37053. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  37054. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  37055. t1.push("$" + t2.get$current(t2));
  37056. return B.JSArray_methods.join$1(t1, ", ");
  37057. },
  37058. $isAstNode: 1,
  37059. $isStatement: 1,
  37060. get$span(receiver) {
  37061. return this.span;
  37062. }
  37063. };
  37064. A.FunctionRule.prototype = {
  37065. accept$1$1(visitor) {
  37066. return visitor.visitFunctionRule$1(this);
  37067. },
  37068. accept$1(visitor) {
  37069. return this.accept$1$1(visitor, type$.dynamic);
  37070. },
  37071. toString$0(_) {
  37072. var t1 = this.children;
  37073. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37074. }
  37075. };
  37076. A.IfRule.prototype = {
  37077. accept$1$1(visitor) {
  37078. return visitor.visitIfRule$1(this);
  37079. },
  37080. accept$1(visitor) {
  37081. return this.accept$1$1(visitor, type$.dynamic);
  37082. },
  37083. toString$0(_) {
  37084. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  37085. lastClause = this.lastClause;
  37086. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  37087. },
  37088. $isAstNode: 1,
  37089. $isStatement: 1,
  37090. get$span(receiver) {
  37091. return this.span;
  37092. }
  37093. };
  37094. A.IfRule_toString_closure.prototype = {
  37095. call$2(index, clause) {
  37096. var t1 = index === 0 ? "if" : "else if";
  37097. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  37098. },
  37099. $signature: 383
  37100. };
  37101. A.IfRuleClause.prototype = {};
  37102. A.IfRuleClause$__closure.prototype = {
  37103. call$1(child) {
  37104. var t1;
  37105. if (!(child instanceof A.VariableDeclaration))
  37106. if (!(child instanceof A.FunctionRule))
  37107. if (!(child instanceof A.MixinRule))
  37108. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  37109. else
  37110. t1 = true;
  37111. else
  37112. t1 = true;
  37113. else
  37114. t1 = true;
  37115. return t1;
  37116. },
  37117. $signature: 153
  37118. };
  37119. A.IfRuleClause$___closure.prototype = {
  37120. call$1($import) {
  37121. return $import instanceof A.DynamicImport;
  37122. },
  37123. $signature: 155
  37124. };
  37125. A.IfClause.prototype = {
  37126. toString$0(_) {
  37127. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  37128. }
  37129. };
  37130. A.ElseClause.prototype = {
  37131. toString$0(_) {
  37132. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  37133. }
  37134. };
  37135. A.ImportRule.prototype = {
  37136. accept$1$1(visitor) {
  37137. return visitor.visitImportRule$1(this);
  37138. },
  37139. accept$1(visitor) {
  37140. return this.accept$1$1(visitor, type$.dynamic);
  37141. },
  37142. toString$0(_) {
  37143. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  37144. },
  37145. $isAstNode: 1,
  37146. $isStatement: 1,
  37147. get$span(receiver) {
  37148. return this.span;
  37149. }
  37150. };
  37151. A.IncludeRule.prototype = {
  37152. get$spanWithoutContent() {
  37153. var t2, t3,
  37154. t1 = this.span;
  37155. if (!(this.content == null)) {
  37156. t2 = t1.file;
  37157. t3 = this.$arguments.span;
  37158. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  37159. t1 = t3;
  37160. }
  37161. return t1;
  37162. },
  37163. accept$1$1(visitor) {
  37164. return visitor.visitIncludeRule$1(this);
  37165. },
  37166. accept$1(visitor) {
  37167. return this.accept$1$1(visitor, type$.dynamic);
  37168. },
  37169. toString$0(_) {
  37170. var t2, _this = this,
  37171. t1 = _this.namespace;
  37172. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  37173. t1 += _this.name;
  37174. t2 = _this.$arguments;
  37175. if (!t2.get$isEmpty(t2))
  37176. t1 += "(" + t2.toString$0(0) + ")";
  37177. t2 = _this.content;
  37178. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  37179. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37180. },
  37181. $isAstNode: 1,
  37182. $isStatement: 1,
  37183. get$span(receiver) {
  37184. return this.span;
  37185. }
  37186. };
  37187. A.LoudComment.prototype = {
  37188. get$span(_) {
  37189. return this.text.span;
  37190. },
  37191. accept$1$1(visitor) {
  37192. return visitor.visitLoudComment$1(this);
  37193. },
  37194. accept$1(visitor) {
  37195. return this.accept$1$1(visitor, type$.dynamic);
  37196. },
  37197. toString$0(_) {
  37198. return this.text.toString$0(0);
  37199. },
  37200. $isAstNode: 1,
  37201. $isStatement: 1
  37202. };
  37203. A.MediaRule.prototype = {
  37204. accept$1$1(visitor) {
  37205. return visitor.visitMediaRule$1(this);
  37206. },
  37207. accept$1(visitor) {
  37208. return this.accept$1$1(visitor, type$.dynamic);
  37209. },
  37210. toString$0(_) {
  37211. var t1 = this.children;
  37212. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37213. },
  37214. get$span(receiver) {
  37215. return this.span;
  37216. }
  37217. };
  37218. A.MixinRule.prototype = {
  37219. get$hasContent() {
  37220. var result, _this = this,
  37221. value = _this.__MixinRule_hasContent_FI;
  37222. if (value === $) {
  37223. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  37224. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  37225. _this.__MixinRule_hasContent_FI = result;
  37226. value = result;
  37227. }
  37228. return value;
  37229. },
  37230. accept$1$1(visitor) {
  37231. return visitor.visitMixinRule$1(this);
  37232. },
  37233. accept$1(visitor) {
  37234. return this.accept$1$1(visitor, type$.dynamic);
  37235. },
  37236. toString$0(_) {
  37237. var t1 = "@mixin " + this.name,
  37238. t2 = this.$arguments;
  37239. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  37240. t1 += "(" + t2.toString$0(0) + ")";
  37241. t2 = this.children;
  37242. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  37243. return t2.charCodeAt(0) == 0 ? t2 : t2;
  37244. }
  37245. };
  37246. A._HasContentVisitor.prototype = {
  37247. visitContentRule$1(_) {
  37248. return true;
  37249. }
  37250. };
  37251. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  37252. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  37253. A.ParentStatement_closure.prototype = {
  37254. call$1(child) {
  37255. var t1;
  37256. if (!(child instanceof A.VariableDeclaration))
  37257. if (!(child instanceof A.FunctionRule))
  37258. if (!(child instanceof A.MixinRule))
  37259. t1 = child instanceof A.ImportRule && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  37260. else
  37261. t1 = true;
  37262. else
  37263. t1 = true;
  37264. else
  37265. t1 = true;
  37266. return t1;
  37267. },
  37268. $signature: 153
  37269. };
  37270. A.ParentStatement__closure.prototype = {
  37271. call$1($import) {
  37272. return $import instanceof A.DynamicImport;
  37273. },
  37274. $signature: 155
  37275. };
  37276. A.ReturnRule.prototype = {
  37277. accept$1$1(visitor) {
  37278. return visitor.visitReturnRule$1(this);
  37279. },
  37280. accept$1(visitor) {
  37281. return this.accept$1$1(visitor, type$.dynamic);
  37282. },
  37283. toString$0(_) {
  37284. return "@return " + this.expression.toString$0(0) + ";";
  37285. },
  37286. $isAstNode: 1,
  37287. $isStatement: 1,
  37288. get$span(receiver) {
  37289. return this.span;
  37290. }
  37291. };
  37292. A.SilentComment.prototype = {
  37293. accept$1$1(visitor) {
  37294. return visitor.visitSilentComment$1(this);
  37295. },
  37296. accept$1(visitor) {
  37297. return this.accept$1$1(visitor, type$.dynamic);
  37298. },
  37299. toString$0(_) {
  37300. return this.text;
  37301. },
  37302. $isAstNode: 1,
  37303. $isStatement: 1,
  37304. get$span(receiver) {
  37305. return this.span;
  37306. }
  37307. };
  37308. A.StyleRule.prototype = {
  37309. accept$1$1(visitor) {
  37310. return visitor.visitStyleRule$1(this);
  37311. },
  37312. accept$1(visitor) {
  37313. return this.accept$1$1(visitor, type$.dynamic);
  37314. },
  37315. toString$0(_) {
  37316. var t1 = this.children;
  37317. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37318. },
  37319. get$span(receiver) {
  37320. return this.span;
  37321. }
  37322. };
  37323. A.Stylesheet.prototype = {
  37324. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  37325. var t1, t2, t3, t4, _i, child;
  37326. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  37327. child = t1[_i];
  37328. if (child instanceof A.UseRule)
  37329. t4.push(child);
  37330. else if (child instanceof A.ForwardRule)
  37331. t3.push(child);
  37332. else if (!(child instanceof A.SilentComment) && !(child instanceof A.LoudComment) && !(child instanceof A.VariableDeclaration))
  37333. break;
  37334. }
  37335. },
  37336. accept$1$1(visitor) {
  37337. return visitor.visitStylesheet$1(this);
  37338. },
  37339. accept$1(visitor) {
  37340. return this.accept$1$1(visitor, type$.dynamic);
  37341. },
  37342. toString$0(_) {
  37343. var t1 = this.children;
  37344. return (t1 && B.JSArray_methods).join$1(t1, " ");
  37345. },
  37346. get$span(receiver) {
  37347. return this.span;
  37348. }
  37349. };
  37350. A.SupportsRule.prototype = {
  37351. accept$1$1(visitor) {
  37352. return visitor.visitSupportsRule$1(this);
  37353. },
  37354. accept$1(visitor) {
  37355. return this.accept$1$1(visitor, type$.dynamic);
  37356. },
  37357. toString$0(_) {
  37358. var t1 = this.children;
  37359. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37360. },
  37361. get$span(receiver) {
  37362. return this.span;
  37363. }
  37364. };
  37365. A.UseRule.prototype = {
  37366. UseRule$4$configuration(url, namespace, span, configuration) {
  37367. var t1, t2, _i, variable;
  37368. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  37369. variable = t1[_i];
  37370. if (variable.isGuarded)
  37371. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  37372. }
  37373. },
  37374. accept$1$1(visitor) {
  37375. return visitor.visitUseRule$1(this);
  37376. },
  37377. accept$1(visitor) {
  37378. return this.accept$1$1(visitor, type$.dynamic);
  37379. },
  37380. toString$0(_) {
  37381. var t1 = this.url,
  37382. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  37383. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  37384. dot = B.JSString_methods.indexOf$1(basename, ".");
  37385. t1 = this.namespace;
  37386. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  37387. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  37388. else
  37389. t1 = t2;
  37390. t2 = this.configuration;
  37391. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  37392. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37393. },
  37394. $isAstNode: 1,
  37395. $isStatement: 1,
  37396. get$span(receiver) {
  37397. return this.span;
  37398. }
  37399. };
  37400. A.VariableDeclaration.prototype = {
  37401. accept$1$1(visitor) {
  37402. return visitor.visitVariableDeclaration$1(this);
  37403. },
  37404. accept$1(visitor) {
  37405. return this.accept$1$1(visitor, type$.dynamic);
  37406. },
  37407. toString$0(_) {
  37408. var t1 = this.namespace;
  37409. t1 = t1 != null ? "" + (t1 + ".") : "";
  37410. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  37411. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37412. },
  37413. $isAstNode: 1,
  37414. $isStatement: 1,
  37415. get$span(receiver) {
  37416. return this.span;
  37417. }
  37418. };
  37419. A.WarnRule.prototype = {
  37420. accept$1$1(visitor) {
  37421. return visitor.visitWarnRule$1(this);
  37422. },
  37423. accept$1(visitor) {
  37424. return this.accept$1$1(visitor, type$.dynamic);
  37425. },
  37426. toString$0(_) {
  37427. return "@warn " + this.expression.toString$0(0) + ";";
  37428. },
  37429. $isAstNode: 1,
  37430. $isStatement: 1,
  37431. get$span(receiver) {
  37432. return this.span;
  37433. }
  37434. };
  37435. A.WhileRule.prototype = {
  37436. accept$1$1(visitor) {
  37437. return visitor.visitWhileRule$1(this);
  37438. },
  37439. accept$1(visitor) {
  37440. return this.accept$1$1(visitor, type$.dynamic);
  37441. },
  37442. toString$0(_) {
  37443. var t1 = this.children;
  37444. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  37445. },
  37446. get$span(receiver) {
  37447. return this.span;
  37448. }
  37449. };
  37450. A.SupportsAnything.prototype = {
  37451. toString$0(_) {
  37452. return "(" + this.contents.toString$0(0) + ")";
  37453. },
  37454. $isAstNode: 1,
  37455. get$span(receiver) {
  37456. return this.span;
  37457. }
  37458. };
  37459. A.SupportsDeclaration.prototype = {
  37460. get$isCustomProperty() {
  37461. var $name = this.name;
  37462. return $name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  37463. },
  37464. toString$0(_) {
  37465. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  37466. },
  37467. $isAstNode: 1,
  37468. get$span(receiver) {
  37469. return this.span;
  37470. }
  37471. };
  37472. A.SupportsFunction.prototype = {
  37473. toString$0(_) {
  37474. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  37475. },
  37476. $isAstNode: 1,
  37477. get$span(receiver) {
  37478. return this.span;
  37479. }
  37480. };
  37481. A.SupportsInterpolation.prototype = {
  37482. toString$0(_) {
  37483. return "#{" + this.expression.toString$0(0) + "}";
  37484. },
  37485. $isAstNode: 1,
  37486. get$span(receiver) {
  37487. return this.span;
  37488. }
  37489. };
  37490. A.SupportsNegation.prototype = {
  37491. toString$0(_) {
  37492. var t1 = this.condition;
  37493. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  37494. return "not (" + t1.toString$0(0) + ")";
  37495. else
  37496. return "not " + t1.toString$0(0);
  37497. },
  37498. $isAstNode: 1,
  37499. get$span(receiver) {
  37500. return this.span;
  37501. }
  37502. };
  37503. A.SupportsOperation.prototype = {
  37504. toString$0(_) {
  37505. var _this = this;
  37506. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  37507. },
  37508. _operation$_parenthesize$1(condition) {
  37509. var t1;
  37510. if (!(condition instanceof A.SupportsNegation))
  37511. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  37512. else
  37513. t1 = true;
  37514. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  37515. },
  37516. $isAstNode: 1,
  37517. get$span(receiver) {
  37518. return this.span;
  37519. }
  37520. };
  37521. A.Selector.prototype = {
  37522. assertNotBogus$1$name($name) {
  37523. var t1;
  37524. if (!this.accept$1(B._IsBogusVisitor_true))
  37525. return;
  37526. t1 = this.toString$0(0);
  37527. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": " + (t1 + string$.x20is_nov), true);
  37528. },
  37529. toString$0(_) {
  37530. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  37531. this.accept$1(visitor);
  37532. return visitor._serialize$_buffer.toString$0(0);
  37533. }
  37534. };
  37535. A._IsInvisibleVisitor0.prototype = {
  37536. visitSelectorList$1(list) {
  37537. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  37538. },
  37539. visitComplexSelector$1(complex) {
  37540. var t1;
  37541. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  37542. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  37543. else
  37544. t1 = true;
  37545. return t1;
  37546. },
  37547. visitPlaceholderSelector$1(placeholder) {
  37548. return true;
  37549. },
  37550. visitPseudoSelector$1(pseudo) {
  37551. var t1,
  37552. selector = pseudo.selector;
  37553. if (selector == null)
  37554. return false;
  37555. if (pseudo.name === "not")
  37556. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true);
  37557. else
  37558. t1 = this.visitSelectorList$1(selector);
  37559. return t1;
  37560. }
  37561. };
  37562. A._IsBogusVisitor.prototype = {
  37563. visitComplexSelector$1(complex) {
  37564. var t2, t3,
  37565. t1 = complex.components;
  37566. if (t1.length === 0)
  37567. return complex.leadingCombinators.length !== 0;
  37568. else {
  37569. t2 = complex.leadingCombinators;
  37570. t3 = this.includeLeadingCombinator ? 0 : 1;
  37571. 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));
  37572. }
  37573. },
  37574. visitPseudoSelector$1(pseudo) {
  37575. var selector = pseudo.selector;
  37576. if (selector == null)
  37577. return false;
  37578. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  37579. }
  37580. };
  37581. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  37582. call$1(component) {
  37583. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  37584. },
  37585. $signature: 50
  37586. };
  37587. A._IsUselessVisitor.prototype = {
  37588. visitComplexSelector$1(complex) {
  37589. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  37590. },
  37591. visitPseudoSelector$1(pseudo) {
  37592. return pseudo.accept$1(B._IsBogusVisitor_true);
  37593. }
  37594. };
  37595. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  37596. call$1(component) {
  37597. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  37598. },
  37599. $signature: 50
  37600. };
  37601. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  37602. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  37603. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  37604. A.AttributeSelector.prototype = {
  37605. accept$1$1(visitor) {
  37606. return visitor.visitAttributeSelector$1(this);
  37607. },
  37608. accept$1(visitor) {
  37609. return this.accept$1$1(visitor, type$.dynamic);
  37610. },
  37611. $eq(_, other) {
  37612. var _this = this;
  37613. if (other == null)
  37614. return false;
  37615. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  37616. },
  37617. get$hashCode(_) {
  37618. var _this = this,
  37619. t1 = _this.name;
  37620. 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;
  37621. }
  37622. };
  37623. A.AttributeOperator.prototype = {
  37624. toString$0(_) {
  37625. return this._attribute$_text;
  37626. }
  37627. };
  37628. A.ClassSelector.prototype = {
  37629. $eq(_, other) {
  37630. if (other == null)
  37631. return false;
  37632. return other instanceof A.ClassSelector && other.name === this.name;
  37633. },
  37634. accept$1$1(visitor) {
  37635. return visitor.visitClassSelector$1(this);
  37636. },
  37637. accept$1(visitor) {
  37638. return this.accept$1$1(visitor, type$.dynamic);
  37639. },
  37640. addSuffix$1(suffix) {
  37641. return new A.ClassSelector(this.name + suffix);
  37642. },
  37643. get$hashCode(_) {
  37644. return B.JSString_methods.get$hashCode(this.name);
  37645. }
  37646. };
  37647. A.Combinator.prototype = {
  37648. toString$0(_) {
  37649. return this._combinator$_text;
  37650. }
  37651. };
  37652. A.ComplexSelector.prototype = {
  37653. get$specificity() {
  37654. var result, _this = this,
  37655. value = _this.__ComplexSelector_specificity_FI;
  37656. if (value === $) {
  37657. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  37658. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  37659. _this.__ComplexSelector_specificity_FI = result;
  37660. value = result;
  37661. }
  37662. return value;
  37663. },
  37664. get$singleCompound() {
  37665. if (this.leadingCombinators.length === 0) {
  37666. var t1 = this.components;
  37667. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  37668. } else
  37669. t1 = false;
  37670. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  37671. },
  37672. accept$1$1(visitor) {
  37673. return visitor.visitComplexSelector$1(this);
  37674. },
  37675. accept$1(visitor) {
  37676. return this.accept$1$1(visitor, type$.dynamic);
  37677. },
  37678. isSuperselector$1(other) {
  37679. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  37680. },
  37681. withAdditionalCombinators$1(combinators) {
  37682. var t1, t2, t3, _this = this;
  37683. if (combinators.length === 0)
  37684. return _this;
  37685. else {
  37686. t1 = _this.components;
  37687. t2 = _this.leadingCombinators;
  37688. if (t1.length === 0) {
  37689. t1 = A.List_List$of(t2, true, type$.Combinator);
  37690. B.JSArray_methods.addAll$1(t1, combinators);
  37691. return A.ComplexSelector$(t1, B.List_empty2, _this.lineBreak || false);
  37692. } else {
  37693. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t1), true, type$.ComplexSelectorComponent);
  37694. t3.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  37695. return A.ComplexSelector$(t2, t3, _this.lineBreak || false);
  37696. }
  37697. }
  37698. },
  37699. concatenate$2$forceLineBreak(child, forceLineBreak) {
  37700. var t2, t3, t4, t5, _this = this,
  37701. t1 = child.leadingCombinators;
  37702. if (t1.length === 0) {
  37703. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent);
  37704. B.JSArray_methods.addAll$1(t1, child.components);
  37705. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  37706. return A.ComplexSelector$(_this.leadingCombinators, t1, t2);
  37707. } else {
  37708. t2 = _this.components;
  37709. t3 = _this.leadingCombinators;
  37710. t4 = child.components;
  37711. if (t2.length === 0) {
  37712. t2 = A.List_List$of(t3, true, type$.Combinator);
  37713. B.JSArray_methods.addAll$1(t2, t1);
  37714. return A.ComplexSelector$(t2, t4, _this.lineBreak || child.lineBreak || forceLineBreak);
  37715. } else {
  37716. t5 = A.List_List$of(A.IterableExtension_get_exceptLast(t2), true, type$.ComplexSelectorComponent);
  37717. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  37718. B.JSArray_methods.addAll$1(t5, t4);
  37719. return A.ComplexSelector$(t3, t5, _this.lineBreak || child.lineBreak || forceLineBreak);
  37720. }
  37721. }
  37722. },
  37723. concatenate$1(child) {
  37724. return this.concatenate$2$forceLineBreak(child, false);
  37725. },
  37726. get$hashCode(_) {
  37727. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  37728. },
  37729. $eq(_, other) {
  37730. if (other == null)
  37731. return false;
  37732. 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);
  37733. }
  37734. };
  37735. A.ComplexSelector_specificity_closure.prototype = {
  37736. call$2(sum, component) {
  37737. return sum + component.selector.get$specificity();
  37738. },
  37739. $signature: 480
  37740. };
  37741. A.ComplexSelectorComponent.prototype = {
  37742. withAdditionalCombinators$1(combinators) {
  37743. var t1, t2;
  37744. if (combinators.length === 0)
  37745. t1 = this;
  37746. else {
  37747. t1 = type$.Combinator;
  37748. t2 = A.List_List$of(this.combinators, true, t1);
  37749. B.JSArray_methods.addAll$1(t2, combinators);
  37750. t1 = new A.ComplexSelectorComponent(this.selector, A.List_List$unmodifiable(t2, t1));
  37751. }
  37752. return t1;
  37753. },
  37754. get$hashCode(_) {
  37755. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  37756. },
  37757. $eq(_, other) {
  37758. var t1;
  37759. if (other == null)
  37760. return false;
  37761. if (other instanceof A.ComplexSelectorComponent) {
  37762. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  37763. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  37764. } else
  37765. t1 = false;
  37766. return t1;
  37767. },
  37768. toString$0(_) {
  37769. var t1 = this.combinators;
  37770. 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, "");
  37771. }
  37772. };
  37773. A.ComplexSelectorComponent_toString_closure.prototype = {
  37774. call$1(combinator) {
  37775. return " " + combinator.toString$0(0);
  37776. },
  37777. $signature: 260
  37778. };
  37779. A.CompoundSelector.prototype = {
  37780. get$specificity() {
  37781. var result, _this = this,
  37782. value = _this.__CompoundSelector_specificity_FI;
  37783. if (value === $) {
  37784. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  37785. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  37786. _this.__CompoundSelector_specificity_FI = result;
  37787. value = result;
  37788. }
  37789. return value;
  37790. },
  37791. accept$1$1(visitor) {
  37792. return visitor.visitCompoundSelector$1(this);
  37793. },
  37794. accept$1(visitor) {
  37795. return this.accept$1$1(visitor, type$.dynamic);
  37796. },
  37797. get$hashCode(_) {
  37798. return B.C_ListEquality0.hash$1(this.components);
  37799. },
  37800. $eq(_, other) {
  37801. if (other == null)
  37802. return false;
  37803. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  37804. }
  37805. };
  37806. A.CompoundSelector_specificity_closure.prototype = {
  37807. call$2(sum, component) {
  37808. return sum + component.get$specificity();
  37809. },
  37810. $signature: 278
  37811. };
  37812. A.IDSelector.prototype = {
  37813. get$specificity() {
  37814. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  37815. },
  37816. accept$1$1(visitor) {
  37817. return visitor.visitIDSelector$1(this);
  37818. },
  37819. accept$1(visitor) {
  37820. return this.accept$1$1(visitor, type$.dynamic);
  37821. },
  37822. addSuffix$1(suffix) {
  37823. return new A.IDSelector(this.name + suffix);
  37824. },
  37825. unify$1(compound) {
  37826. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  37827. return null;
  37828. return this.super$SimpleSelector$unify(compound);
  37829. },
  37830. $eq(_, other) {
  37831. if (other == null)
  37832. return false;
  37833. return other instanceof A.IDSelector && other.name === this.name;
  37834. },
  37835. get$hashCode(_) {
  37836. return B.JSString_methods.get$hashCode(this.name);
  37837. }
  37838. };
  37839. A.IDSelector_unify_closure.prototype = {
  37840. call$1(simple) {
  37841. var t1;
  37842. if (simple instanceof A.IDSelector) {
  37843. t1 = simple.name;
  37844. t1 = this.$this.name !== t1;
  37845. } else
  37846. t1 = false;
  37847. return t1;
  37848. },
  37849. $signature: 14
  37850. };
  37851. A.SelectorList.prototype = {
  37852. get$asSassList() {
  37853. var t1 = this.components;
  37854. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  37855. },
  37856. accept$1$1(visitor) {
  37857. return visitor.visitSelectorList$1(this);
  37858. },
  37859. accept$1(visitor) {
  37860. return this.accept$1$1(visitor, type$.dynamic);
  37861. },
  37862. unify$1(other) {
  37863. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  37864. t1 = type$.JSArray_ComplexSelector,
  37865. t2 = A._setArrayType([], t1);
  37866. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  37867. complex1 = t3[_i];
  37868. for (_i0 = 0; _i0 < t6; ++_i0) {
  37869. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1));
  37870. if (t7 != null)
  37871. B.JSArray_methods.addAll$1(t2, t7);
  37872. }
  37873. }
  37874. return t2.length === 0 ? null : A.SelectorList$(t2);
  37875. },
  37876. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  37877. var t1, _this = this;
  37878. if ($parent == null) {
  37879. if (!B.JSArray_methods.any$1(_this.components, _this.get$_complexContainsParentSelector()))
  37880. return _this;
  37881. throw A.wrapException(A.SassScriptException$(string$.Top_le, null));
  37882. }
  37883. t1 = _this.components;
  37884. 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));
  37885. },
  37886. resolveParentSelectors$1($parent) {
  37887. return this.resolveParentSelectors$2$implicitParent($parent, true);
  37888. },
  37889. _complexContainsParentSelector$1(complex) {
  37890. return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure());
  37891. },
  37892. _resolveParentSelectorsCompound$2(component, $parent) {
  37893. var resolvedSimples, parentSelector, t1,
  37894. simples = component.selector.components,
  37895. containsSelectorPseudo = B.JSArray_methods.any$1(simples, new A.SelectorList__resolveParentSelectorsCompound_closure());
  37896. if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(simples) instanceof A.ParentSelector))
  37897. return null;
  37898. resolvedSimples = containsSelectorPseudo ? new A.MappedListIterable(simples, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A._arrayInstanceType(simples)._eval$1("MappedListIterable<1,SimpleSelector>")) : simples;
  37899. parentSelector = B.JSArray_methods.get$first(simples);
  37900. if (!(parentSelector instanceof A.ParentSelector))
  37901. return A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(resolvedSimples), A.List_List$unmodifiable(component.combinators, type$.Combinator))], type$.JSArray_ComplexSelectorComponent), false)], type$.JSArray_ComplexSelector);
  37902. else if (simples.length === 1 && parentSelector.suffix == null)
  37903. return $parent.withAdditionalCombinators$1(component.combinators).components;
  37904. t1 = $parent.components;
  37905. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  37906. },
  37907. isSuperselector$1(other) {
  37908. return A.listIsSuperselector(this.components, other.components);
  37909. },
  37910. withAdditionalCombinators$1(combinators) {
  37911. var t1;
  37912. if (combinators.length === 0)
  37913. t1 = this;
  37914. else {
  37915. t1 = this.components;
  37916. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")));
  37917. }
  37918. return t1;
  37919. },
  37920. get$hashCode(_) {
  37921. return B.C_ListEquality0.hash$1(this.components);
  37922. },
  37923. $eq(_, other) {
  37924. if (other == null)
  37925. return false;
  37926. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  37927. }
  37928. };
  37929. A.SelectorList_asSassList_closure.prototype = {
  37930. call$1(complex) {
  37931. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  37932. t1 = type$.JSArray_Value,
  37933. t2 = A._setArrayType([], t1);
  37934. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  37935. t2.push(new A.SassString(t3[_i]._combinator$_text, false));
  37936. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  37937. component = t3[_i];
  37938. t5 = component.selector;
  37939. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  37940. t5.accept$1(visitor);
  37941. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  37942. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  37943. t5.push(new A.SassString(t6[_i0]._combinator$_text, false));
  37944. B.JSArray_methods.addAll$1(t2, t5);
  37945. }
  37946. return A.SassList$(t2, B.ListSeparator_EVt, false);
  37947. },
  37948. $signature: 327
  37949. };
  37950. A.SelectorList_resolveParentSelectors_closure.prototype = {
  37951. call$1(complex) {
  37952. var t2, newComplexes, t3, t4, t5, t6, t7, t8, t9, _i, component, resolved, t10, result, t11, i, t12, _i0, newComplex, t13, _this = this,
  37953. _s56_ = string$.leadin,
  37954. t1 = _this.$this;
  37955. if (!t1._complexContainsParentSelector$1(complex)) {
  37956. if (!_this.implicitParent)
  37957. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  37958. t1 = _this.parent.components;
  37959. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  37960. }
  37961. t2 = type$.JSArray_ComplexSelector;
  37962. newComplexes = A._setArrayType([], t2);
  37963. for (t3 = complex.components, t4 = t3.length, t5 = _this.parent, t6 = type$.Combinator, t7 = type$.ComplexSelectorComponent, t8 = complex.leadingCombinators, t9 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < t4; ++_i) {
  37964. component = t3[_i];
  37965. resolved = t1._resolveParentSelectorsCompound$2(component, t5);
  37966. if (resolved == null)
  37967. if (newComplexes.length === 0) {
  37968. t10 = A._setArrayType([component], t9);
  37969. result = A.List_List$from(t8, false, t6);
  37970. result.fixed$length = Array;
  37971. result.immutable$list = Array;
  37972. t11 = result;
  37973. result = A.List_List$from(t10, false, t7);
  37974. result.fixed$length = Array;
  37975. result.immutable$list = Array;
  37976. t10 = result;
  37977. if (t11.length === 0 && t10.length === 0)
  37978. A.throwExpression(A.ArgumentError$(_s56_, null));
  37979. newComplexes.push(new A.ComplexSelector(t11, t10, false));
  37980. } else
  37981. for (i = 0; i < newComplexes.length; ++i) {
  37982. t10 = newComplexes[i];
  37983. t11 = t10.leadingCombinators;
  37984. t12 = A.List_List$of(t10.components, true, t7);
  37985. t12.push(component);
  37986. t10 = t10.lineBreak || false;
  37987. result = A.List_List$from(t11, false, t6);
  37988. result.fixed$length = Array;
  37989. result.immutable$list = Array;
  37990. t11 = result;
  37991. result = A.List_List$from(t12, false, t7);
  37992. result.fixed$length = Array;
  37993. result.immutable$list = Array;
  37994. t12 = result;
  37995. if (t11.length === 0 && t12.length === 0)
  37996. A.throwExpression(A.ArgumentError$(_s56_, null));
  37997. newComplexes[i] = new A.ComplexSelector(t11, t12, t10);
  37998. }
  37999. else if (newComplexes.length === 0)
  38000. B.JSArray_methods.addAll$1(newComplexes, resolved);
  38001. else {
  38002. t10 = A._setArrayType([], t2);
  38003. for (t11 = newComplexes.length, t12 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t11 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  38004. newComplex = newComplexes[_i0];
  38005. for (t13 = t12.get$iterator(resolved); t13.moveNext$0();)
  38006. t10.push(newComplex.concatenate$1(t13.get$current(t13)));
  38007. }
  38008. newComplexes = t10;
  38009. }
  38010. }
  38011. return newComplexes;
  38012. },
  38013. $signature: 330
  38014. };
  38015. A.SelectorList_resolveParentSelectors__closure.prototype = {
  38016. call$1(parentComplex) {
  38017. return parentComplex.concatenate$1(this.complex);
  38018. },
  38019. $signature: 67
  38020. };
  38021. A.SelectorList__complexContainsParentSelector_closure.prototype = {
  38022. call$1(component) {
  38023. return B.JSArray_methods.any$1(component.selector.components, new A.SelectorList__complexContainsParentSelector__closure());
  38024. },
  38025. $signature: 50
  38026. };
  38027. A.SelectorList__complexContainsParentSelector__closure.prototype = {
  38028. call$1(simple) {
  38029. var selector;
  38030. if (simple instanceof A.ParentSelector)
  38031. return true;
  38032. if (!(simple instanceof A.PseudoSelector))
  38033. return false;
  38034. selector = simple.selector;
  38035. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
  38036. },
  38037. $signature: 14
  38038. };
  38039. A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
  38040. call$1(simple) {
  38041. var selector;
  38042. if (!(simple instanceof A.PseudoSelector))
  38043. return false;
  38044. selector = simple.selector;
  38045. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector());
  38046. },
  38047. $signature: 14
  38048. };
  38049. A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
  38050. call$1(simple) {
  38051. var selector, t1, t2, t3;
  38052. if (!(simple instanceof A.PseudoSelector))
  38053. return simple;
  38054. selector = simple.selector;
  38055. if (selector == null)
  38056. return simple;
  38057. if (!B.JSArray_methods.any$1(selector.components, selector.get$_complexContainsParentSelector()))
  38058. return simple;
  38059. t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
  38060. t2 = simple.name;
  38061. t3 = simple.isClass;
  38062. return A.PseudoSelector$(t2, simple.argument, !t3, t1);
  38063. },
  38064. $signature: 369
  38065. };
  38066. A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
  38067. call$1(complex) {
  38068. var suffix, lastSimples, t2, t3, t4, last,
  38069. t1 = complex.components,
  38070. lastComponent = B.JSArray_methods.get$last(t1);
  38071. if (lastComponent.combinators.length !== 0)
  38072. throw A.wrapException(A.SassScriptException$('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.', null));
  38073. suffix = this.parentSelector.suffix;
  38074. lastSimples = lastComponent.selector.components;
  38075. t2 = type$.SimpleSelector;
  38076. t3 = this.resolvedSimples;
  38077. t4 = J.getInterceptor$ax(t3);
  38078. if (suffix == null) {
  38079. t2 = A.List_List$of(lastSimples, true, t2);
  38080. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  38081. } else {
  38082. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t2);
  38083. t2.push(B.JSArray_methods.get$last(lastSimples).addSuffix$1(suffix));
  38084. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  38085. }
  38086. last = A.CompoundSelector$(t2);
  38087. t2 = complex.leadingCombinators;
  38088. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t1), true, type$.ComplexSelectorComponent);
  38089. t1.push(new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(this.component.combinators, type$.Combinator)));
  38090. return A.ComplexSelector$(t2, t1, complex.lineBreak);
  38091. },
  38092. $signature: 67
  38093. };
  38094. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  38095. call$1(complex) {
  38096. return complex.withAdditionalCombinators$1(this.combinators);
  38097. },
  38098. $signature: 67
  38099. };
  38100. A.ParentSelector.prototype = {
  38101. accept$1$1(visitor) {
  38102. return visitor.visitParentSelector$1(this);
  38103. },
  38104. accept$1(visitor) {
  38105. return this.accept$1$1(visitor, type$.dynamic);
  38106. },
  38107. unify$1(compound) {
  38108. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  38109. }
  38110. };
  38111. A.PlaceholderSelector.prototype = {
  38112. accept$1$1(visitor) {
  38113. return visitor.visitPlaceholderSelector$1(this);
  38114. },
  38115. accept$1(visitor) {
  38116. return this.accept$1$1(visitor, type$.dynamic);
  38117. },
  38118. addSuffix$1(suffix) {
  38119. return new A.PlaceholderSelector(this.name + suffix);
  38120. },
  38121. $eq(_, other) {
  38122. if (other == null)
  38123. return false;
  38124. return other instanceof A.PlaceholderSelector && other.name === this.name;
  38125. },
  38126. get$hashCode(_) {
  38127. return B.JSString_methods.get$hashCode(this.name);
  38128. }
  38129. };
  38130. A.PseudoSelector.prototype = {
  38131. get$isHostContext() {
  38132. return this.isClass && this.name === "host-context" && this.selector != null;
  38133. },
  38134. get$specificity() {
  38135. var result, _this = this,
  38136. value = _this.__PseudoSelector_specificity_FI;
  38137. if (value === $) {
  38138. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  38139. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  38140. _this.__PseudoSelector_specificity_FI = result;
  38141. value = result;
  38142. }
  38143. return value;
  38144. },
  38145. addSuffix$1(suffix) {
  38146. var _this = this;
  38147. if (_this.argument != null || _this.selector != null)
  38148. _this.super$SimpleSelector$addSuffix(suffix);
  38149. return A.PseudoSelector$(_this.name + suffix, null, !_this.isClass, null);
  38150. },
  38151. unify$1(compound) {
  38152. var other, result, t2, addedThis, _i, simple, _this = this,
  38153. t1 = _this.name;
  38154. if (t1 === "host" || t1 === "host-context") {
  38155. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  38156. return null;
  38157. } else if (compound.length === 1) {
  38158. other = B.JSArray_methods.get$first(compound);
  38159. if (!(other instanceof A.UniversalSelector))
  38160. if (other instanceof A.PseudoSelector)
  38161. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  38162. else
  38163. t1 = false;
  38164. else
  38165. t1 = true;
  38166. if (t1)
  38167. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  38168. }
  38169. if (B.JSArray_methods.contains$1(compound, _this))
  38170. return compound;
  38171. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  38172. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  38173. simple = compound[_i];
  38174. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  38175. if (t2)
  38176. return null;
  38177. result.push(_this);
  38178. addedThis = true;
  38179. }
  38180. result.push(simple);
  38181. }
  38182. if (!addedThis)
  38183. result.push(_this);
  38184. return result;
  38185. },
  38186. isSuperselector$1(other) {
  38187. var selector, t1, _this = this;
  38188. if (_this.super$SimpleSelector$isSuperselector(other))
  38189. return true;
  38190. selector = _this.selector;
  38191. if (selector == null)
  38192. return _this.$eq(0, other);
  38193. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  38194. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  38195. return t1 == null ? false : t1;
  38196. }
  38197. t1 = type$.JSArray_SimpleSelector;
  38198. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1)), A.CompoundSelector$(A._setArrayType([other], t1)), null);
  38199. },
  38200. accept$1$1(visitor) {
  38201. return visitor.visitPseudoSelector$1(this);
  38202. },
  38203. accept$1(visitor) {
  38204. return this.accept$1$1(visitor, type$.dynamic);
  38205. },
  38206. $eq(_, other) {
  38207. var _this = this;
  38208. if (other == null)
  38209. return false;
  38210. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  38211. },
  38212. get$hashCode(_) {
  38213. var _this = this,
  38214. t1 = B.JSString_methods.get$hashCode(_this.name),
  38215. t2 = !_this.isClass ? 519018 : 218159;
  38216. return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
  38217. }
  38218. };
  38219. A.PseudoSelector_specificity_closure.prototype = {
  38220. call$0() {
  38221. var selector, t2,
  38222. t1 = this.$this;
  38223. if (!t1.isClass)
  38224. return 1;
  38225. selector = t1.selector;
  38226. if (selector == null)
  38227. return A.SimpleSelector.prototype.get$specificity.call(t1);
  38228. switch (t1.normalizedName) {
  38229. case "where":
  38230. return 0;
  38231. case "is":
  38232. case "not":
  38233. case "has":
  38234. case "matches":
  38235. t1 = selector.components;
  38236. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  38237. case "nth-child":
  38238. case "nth-last-child":
  38239. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  38240. t2 = selector.components;
  38241. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  38242. default:
  38243. return A.SimpleSelector.prototype.get$specificity.call(t1);
  38244. }
  38245. },
  38246. $signature: 12
  38247. };
  38248. A.PseudoSelector_specificity__closure.prototype = {
  38249. call$1(component) {
  38250. return component.get$specificity();
  38251. },
  38252. $signature: 169
  38253. };
  38254. A.PseudoSelector_specificity__closure0.prototype = {
  38255. call$1(component) {
  38256. return component.get$specificity();
  38257. },
  38258. $signature: 169
  38259. };
  38260. A.PseudoSelector_unify_closure.prototype = {
  38261. call$1(simple) {
  38262. var t1;
  38263. if (simple instanceof A.PseudoSelector)
  38264. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  38265. else
  38266. t1 = false;
  38267. return t1;
  38268. },
  38269. $signature: 14
  38270. };
  38271. A.QualifiedName.prototype = {
  38272. $eq(_, other) {
  38273. if (other == null)
  38274. return false;
  38275. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  38276. },
  38277. get$hashCode(_) {
  38278. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  38279. },
  38280. toString$0(_) {
  38281. var t1 = this.namespace,
  38282. t2 = this.name;
  38283. return t1 == null ? t2 : t1 + "|" + t2;
  38284. }
  38285. };
  38286. A.SimpleSelector.prototype = {
  38287. get$specificity() {
  38288. return 1000;
  38289. },
  38290. addSuffix$1(suffix) {
  38291. return A.throwExpression(A.SassScriptException$('Invalid parent selector "' + this.toString$0(0) + '"', null));
  38292. },
  38293. unify$1(compound) {
  38294. var other, t1, result, addedThis, _i, simple, _this = this;
  38295. if (compound.length === 1) {
  38296. other = B.JSArray_methods.get$first(compound);
  38297. if (!(other instanceof A.UniversalSelector))
  38298. if (other instanceof A.PseudoSelector)
  38299. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  38300. else
  38301. t1 = false;
  38302. else
  38303. t1 = true;
  38304. if (t1)
  38305. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  38306. }
  38307. if (B.JSArray_methods.contains$1(compound, _this))
  38308. return compound;
  38309. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  38310. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  38311. simple = compound[_i];
  38312. if (!addedThis && simple instanceof A.PseudoSelector) {
  38313. result.push(_this);
  38314. addedThis = true;
  38315. }
  38316. result.push(simple);
  38317. }
  38318. if (!addedThis)
  38319. result.push(_this);
  38320. return result;
  38321. },
  38322. isSuperselector$1(other) {
  38323. var list;
  38324. if (this.$eq(0, other))
  38325. return true;
  38326. if (other instanceof A.PseudoSelector && other.isClass) {
  38327. list = other.selector;
  38328. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  38329. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  38330. }
  38331. return false;
  38332. }
  38333. };
  38334. A.SimpleSelector_isSuperselector_closure.prototype = {
  38335. call$1(complex) {
  38336. var t1 = complex.components;
  38337. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  38338. },
  38339. $signature: 15
  38340. };
  38341. A.SimpleSelector_isSuperselector__closure.prototype = {
  38342. call$1(simple) {
  38343. return this.$this.isSuperselector$1(simple);
  38344. },
  38345. $signature: 14
  38346. };
  38347. A.TypeSelector.prototype = {
  38348. get$specificity() {
  38349. return 1;
  38350. },
  38351. accept$1$1(visitor) {
  38352. return visitor.visitTypeSelector$1(this);
  38353. },
  38354. accept$1(visitor) {
  38355. return this.accept$1$1(visitor, type$.dynamic);
  38356. },
  38357. addSuffix$1(suffix) {
  38358. var t1 = this.name;
  38359. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace));
  38360. },
  38361. unify$1(compound) {
  38362. var unified, t1;
  38363. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector) {
  38364. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  38365. if (unified == null)
  38366. return null;
  38367. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  38368. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  38369. return t1;
  38370. } else {
  38371. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  38372. B.JSArray_methods.addAll$1(t1, compound);
  38373. return t1;
  38374. }
  38375. },
  38376. isSuperselector$1(other) {
  38377. var t1, t2;
  38378. if (!this.super$SimpleSelector$isSuperselector(other))
  38379. if (other instanceof A.TypeSelector) {
  38380. t1 = this.name;
  38381. t2 = other.name;
  38382. if (t1.name === t2.name) {
  38383. t1 = t1.namespace;
  38384. t1 = t1 === "*" || t1 == t2.namespace;
  38385. } else
  38386. t1 = false;
  38387. } else
  38388. t1 = false;
  38389. else
  38390. t1 = true;
  38391. return t1;
  38392. },
  38393. $eq(_, other) {
  38394. if (other == null)
  38395. return false;
  38396. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  38397. },
  38398. get$hashCode(_) {
  38399. var t1 = this.name;
  38400. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  38401. }
  38402. };
  38403. A.UniversalSelector.prototype = {
  38404. get$specificity() {
  38405. return 0;
  38406. },
  38407. accept$1$1(visitor) {
  38408. return visitor.visitUniversalSelector$1(this);
  38409. },
  38410. accept$1(visitor) {
  38411. return this.accept$1$1(visitor, type$.dynamic);
  38412. },
  38413. unify$1(compound) {
  38414. var unified, t1, _this = this,
  38415. first = B.JSArray_methods.get$first(compound);
  38416. if (first instanceof A.UniversalSelector || first instanceof A.TypeSelector) {
  38417. unified = A.unifyUniversalAndElement(_this, first);
  38418. if (unified == null)
  38419. return null;
  38420. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  38421. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  38422. return t1;
  38423. } else {
  38424. if (compound.length === 1)
  38425. if (first instanceof A.PseudoSelector)
  38426. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  38427. else
  38428. t1 = false;
  38429. else
  38430. t1 = false;
  38431. if (t1)
  38432. return null;
  38433. }
  38434. t1 = _this.namespace;
  38435. if (t1 != null && t1 !== "*") {
  38436. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  38437. B.JSArray_methods.addAll$1(t1, compound);
  38438. return t1;
  38439. }
  38440. if (compound.length !== 0)
  38441. return compound;
  38442. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  38443. },
  38444. isSuperselector$1(other) {
  38445. var t1 = this.namespace;
  38446. if (t1 === "*")
  38447. return true;
  38448. if (other instanceof A.TypeSelector)
  38449. return t1 == other.name.namespace;
  38450. if (other instanceof A.UniversalSelector)
  38451. return t1 == other.namespace;
  38452. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  38453. },
  38454. $eq(_, other) {
  38455. if (other == null)
  38456. return false;
  38457. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  38458. },
  38459. get$hashCode(_) {
  38460. return J.get$hashCode$(this.namespace);
  38461. }
  38462. };
  38463. A._compileStylesheet_closure0.prototype = {
  38464. call$1(url) {
  38465. var t1;
  38466. if (url === "") {
  38467. t1 = this.stylesheet.span;
  38468. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  38469. } else
  38470. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  38471. return t1;
  38472. },
  38473. $signature: 5
  38474. };
  38475. A.AsyncEnvironment.prototype = {
  38476. closure$0() {
  38477. var t4, t5, t6, _this = this,
  38478. t1 = _this._async_environment$_forwardedModules,
  38479. t2 = _this._async_environment$_nestedForwardedModules,
  38480. t3 = _this._async_environment$_variables;
  38481. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  38482. t4 = _this._async_environment$_variableNodes;
  38483. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  38484. t5 = _this._async_environment$_functions;
  38485. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  38486. t6 = _this._async_environment$_mixins;
  38487. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  38488. 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);
  38489. },
  38490. addModule$3$namespace(module, nodeWithSpan, namespace) {
  38491. var t1, t2, span, _this = this;
  38492. if (namespace == null) {
  38493. _this._async_environment$_globalModules.$indexSet(0, module, nodeWithSpan);
  38494. _this._async_environment$_allModules.push(module);
  38495. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment$_variables))); t1.moveNext$0();) {
  38496. t2 = t1.get$current(t1);
  38497. if (module.get$variables().containsKey$1(t2))
  38498. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  38499. }
  38500. } else {
  38501. t1 = _this._async_environment$_modules;
  38502. if (t1.containsKey$1(namespace)) {
  38503. t1 = _this._async_environment$_namespaceNodes.$index(0, namespace);
  38504. span = t1 == null ? null : t1.span;
  38505. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  38506. if (span != null)
  38507. t1.$indexSet(0, span, "original @use");
  38508. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  38509. }
  38510. t1.$indexSet(0, namespace, module);
  38511. _this._async_environment$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  38512. _this._async_environment$_allModules.push(module);
  38513. }
  38514. },
  38515. forwardModule$2(module, rule) {
  38516. var view, t1, t2, _this = this,
  38517. forwardedModules = _this._async_environment$_forwardedModules;
  38518. if (forwardedModules == null)
  38519. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  38520. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  38521. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  38522. t2 = t1.__js_helper$_current;
  38523. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  38524. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  38525. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  38526. }
  38527. _this._async_environment$_allModules.push(module);
  38528. forwardedModules.$indexSet(0, view, rule);
  38529. },
  38530. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  38531. var larger, smaller, t1, t2, $name, span;
  38532. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  38533. larger = oldMembers;
  38534. smaller = newMembers;
  38535. } else {
  38536. larger = newMembers;
  38537. smaller = oldMembers;
  38538. }
  38539. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  38540. $name = t1.get$current(t1);
  38541. if (!larger.containsKey$1($name))
  38542. continue;
  38543. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  38544. continue;
  38545. if (t2)
  38546. $name = "$" + $name;
  38547. t1 = this._async_environment$_forwardedModules;
  38548. if (t1 == null)
  38549. span = null;
  38550. else {
  38551. t1 = t1.$index(0, oldModule);
  38552. span = t1 == null ? null : J.get$span$z(t1);
  38553. }
  38554. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  38555. if (span != null)
  38556. t1.$indexSet(0, span, "original @forward");
  38557. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  38558. }
  38559. },
  38560. importForwards$1(module) {
  38561. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  38562. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  38563. if (forwarded == null)
  38564. return;
  38565. forwardedModules = _this._async_environment$_forwardedModules;
  38566. if (forwardedModules != null) {
  38567. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  38568. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment$_globalModules; t2.moveNext$0();) {
  38569. t4 = t2.get$current(t2);
  38570. t5 = t4.key;
  38571. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  38572. t1.$indexSet(0, t5, t4.value);
  38573. }
  38574. forwarded = t1;
  38575. } else
  38576. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  38577. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  38578. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  38579. t3 = t2._eval$1("Iterable.E");
  38580. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure(), t2), t3);
  38581. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure0(), t2), t3);
  38582. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure1(), t2), t3);
  38583. t2 = _this._async_environment$_variables;
  38584. t3 = t2.length;
  38585. if (t3 === 1) {
  38586. 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) {
  38587. entry = t3[_i];
  38588. module = entry.key;
  38589. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  38590. if (shadowed != null) {
  38591. t1.remove$1(0, module);
  38592. t6 = shadowed.variables;
  38593. if (t6.get$isEmpty(t6)) {
  38594. t6 = shadowed.functions;
  38595. if (t6.get$isEmpty(t6)) {
  38596. t6 = shadowed.mixins;
  38597. if (t6.get$isEmpty(t6)) {
  38598. t6 = shadowed._shadowed_view$_inner;
  38599. t6 = t6.get$css(t6);
  38600. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  38601. } else
  38602. t6 = false;
  38603. } else
  38604. t6 = false;
  38605. } else
  38606. t6 = false;
  38607. if (!t6)
  38608. t1.$indexSet(0, shadowed, entry.value);
  38609. }
  38610. }
  38611. 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) {
  38612. entry = t3[_i];
  38613. module = entry.key;
  38614. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  38615. if (shadowed != null) {
  38616. forwardedModules.remove$1(0, module);
  38617. t6 = shadowed.variables;
  38618. if (t6.get$isEmpty(t6)) {
  38619. t6 = shadowed.functions;
  38620. if (t6.get$isEmpty(t6)) {
  38621. t6 = shadowed.mixins;
  38622. if (t6.get$isEmpty(t6)) {
  38623. t6 = shadowed._shadowed_view$_inner;
  38624. t6 = t6.get$css(t6);
  38625. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  38626. } else
  38627. t6 = false;
  38628. } else
  38629. t6 = false;
  38630. } else
  38631. t6 = false;
  38632. if (!t6)
  38633. forwardedModules.$indexSet(0, shadowed, entry.value);
  38634. }
  38635. }
  38636. t1.addAll$1(0, forwarded);
  38637. forwardedModules.addAll$1(0, forwarded);
  38638. } else {
  38639. t4 = _this._async_environment$_nestedForwardedModules;
  38640. if (t4 == null) {
  38641. _length = t3 - 1;
  38642. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  38643. for (t3 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  38644. _list[_i] = A._setArrayType([], t3);
  38645. _this._async_environment$_nestedForwardedModules = _list;
  38646. t3 = _list;
  38647. } else
  38648. t3 = t4;
  38649. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  38650. }
  38651. 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();) {
  38652. t6 = t1._collection$_current;
  38653. if (t6 == null)
  38654. t6 = t5._as(t6);
  38655. t3.remove$1(0, t6);
  38656. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  38657. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  38658. }
  38659. 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();) {
  38660. t5 = t1._collection$_current;
  38661. if (t5 == null)
  38662. t5 = t4._as(t5);
  38663. t2.remove$1(0, t5);
  38664. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  38665. }
  38666. 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();) {
  38667. t5 = t1._collection$_current;
  38668. if (t5 == null)
  38669. t5 = t4._as(t5);
  38670. t2.remove$1(0, t5);
  38671. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  38672. }
  38673. },
  38674. getVariable$2$namespace($name, namespace) {
  38675. var t1, index, _this = this;
  38676. if (namespace != null)
  38677. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  38678. if (_this._async_environment$_lastVariableName === $name) {
  38679. t1 = _this._async_environment$_lastVariableIndex;
  38680. t1.toString;
  38681. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  38682. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  38683. }
  38684. t1 = _this._async_environment$_variableIndices;
  38685. index = t1.$index(0, $name);
  38686. if (index != null) {
  38687. _this._async_environment$_lastVariableName = $name;
  38688. _this._async_environment$_lastVariableIndex = index;
  38689. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  38690. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  38691. }
  38692. index = _this._async_environment$_variableIndex$1($name);
  38693. if (index == null)
  38694. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  38695. _this._async_environment$_lastVariableName = $name;
  38696. _this._async_environment$_lastVariableIndex = index;
  38697. t1.$indexSet(0, $name, index);
  38698. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  38699. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  38700. },
  38701. getVariable$1($name) {
  38702. return this.getVariable$2$namespace($name, null);
  38703. },
  38704. _async_environment$_getVariableFromGlobalModule$1($name) {
  38705. return this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name), type$.Value);
  38706. },
  38707. getVariableNode$2$namespace($name, namespace) {
  38708. var t1, index, _this = this;
  38709. if (namespace != null)
  38710. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  38711. if (_this._async_environment$_lastVariableName === $name) {
  38712. t1 = _this._async_environment$_lastVariableIndex;
  38713. t1.toString;
  38714. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  38715. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  38716. }
  38717. t1 = _this._async_environment$_variableIndices;
  38718. index = t1.$index(0, $name);
  38719. if (index != null) {
  38720. _this._async_environment$_lastVariableName = $name;
  38721. _this._async_environment$_lastVariableIndex = index;
  38722. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  38723. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  38724. }
  38725. index = _this._async_environment$_variableIndex$1($name);
  38726. if (index == null)
  38727. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  38728. _this._async_environment$_lastVariableName = $name;
  38729. _this._async_environment$_lastVariableIndex = index;
  38730. t1.$indexSet(0, $name, index);
  38731. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  38732. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  38733. },
  38734. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  38735. var t1, t2, value;
  38736. 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();) {
  38737. t1 = t2._currentIterator;
  38738. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  38739. if (value != null)
  38740. return value;
  38741. }
  38742. return null;
  38743. },
  38744. globalVariableExists$2$namespace($name, namespace) {
  38745. if (namespace != null)
  38746. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  38747. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  38748. return true;
  38749. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  38750. },
  38751. globalVariableExists$1($name) {
  38752. return this.globalVariableExists$2$namespace($name, null);
  38753. },
  38754. _async_environment$_variableIndex$1($name) {
  38755. var t1, i;
  38756. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  38757. if (t1[i].containsKey$1($name))
  38758. return i;
  38759. return null;
  38760. },
  38761. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  38762. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  38763. if (namespace != null) {
  38764. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  38765. return;
  38766. }
  38767. if (global || _this._async_environment$_variables.length === 1) {
  38768. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  38769. t1 = _this._async_environment$_variables;
  38770. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  38771. moduleWithName = _this._async_environment$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name), type$.Module_AsyncCallable);
  38772. if (moduleWithName != null) {
  38773. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  38774. return;
  38775. }
  38776. }
  38777. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  38778. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  38779. return;
  38780. }
  38781. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  38782. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  38783. 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();) {
  38784. t3 = t1.__internal$_current;
  38785. 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();) {
  38786. t5 = t3.__internal$_current;
  38787. if (t5 == null)
  38788. t5 = t4._as(t5);
  38789. if (t5.get$variables().containsKey$1($name)) {
  38790. t5.setVariable$3($name, value, nodeWithSpan);
  38791. return;
  38792. }
  38793. }
  38794. }
  38795. if (_this._async_environment$_lastVariableName === $name) {
  38796. t1 = _this._async_environment$_lastVariableIndex;
  38797. t1.toString;
  38798. index = t1;
  38799. } else
  38800. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  38801. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  38802. index = _this._async_environment$_variables.length - 1;
  38803. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  38804. }
  38805. _this._async_environment$_lastVariableName = $name;
  38806. _this._async_environment$_lastVariableIndex = index;
  38807. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  38808. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  38809. },
  38810. setVariable$4$global($name, value, nodeWithSpan, global) {
  38811. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  38812. },
  38813. setLocalVariable$3($name, value, nodeWithSpan) {
  38814. var index, _this = this,
  38815. t1 = _this._async_environment$_variables,
  38816. t2 = t1.length;
  38817. _this._async_environment$_lastVariableName = $name;
  38818. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  38819. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  38820. J.$indexSet$ax(t1[index], $name, value);
  38821. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  38822. },
  38823. getFunction$2$namespace($name, namespace) {
  38824. var t1, index, _this = this;
  38825. if (namespace != null) {
  38826. t1 = _this._async_environment$_getModule$1(namespace);
  38827. return t1.get$functions(t1).$index(0, $name);
  38828. }
  38829. t1 = _this._async_environment$_functionIndices;
  38830. index = t1.$index(0, $name);
  38831. if (index != null) {
  38832. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  38833. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  38834. }
  38835. index = _this._async_environment$_functionIndex$1($name);
  38836. if (index == null)
  38837. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  38838. t1.$indexSet(0, $name, index);
  38839. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  38840. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  38841. },
  38842. _async_environment$_getFunctionFromGlobalModule$1($name) {
  38843. return this._async_environment$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name), type$.AsyncCallable);
  38844. },
  38845. _async_environment$_functionIndex$1($name) {
  38846. var t1, i;
  38847. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  38848. if (t1[i].containsKey$1($name))
  38849. return i;
  38850. return null;
  38851. },
  38852. getMixin$2$namespace($name, namespace) {
  38853. var t1, index, _this = this;
  38854. if (namespace != null)
  38855. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  38856. t1 = _this._async_environment$_mixinIndices;
  38857. index = t1.$index(0, $name);
  38858. if (index != null) {
  38859. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  38860. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  38861. }
  38862. index = _this._async_environment$_mixinIndex$1($name);
  38863. if (index == null)
  38864. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  38865. t1.$indexSet(0, $name, index);
  38866. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  38867. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  38868. },
  38869. _async_environment$_getMixinFromGlobalModule$1($name) {
  38870. return this._async_environment$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name), type$.AsyncCallable);
  38871. },
  38872. _async_environment$_mixinIndex$1($name) {
  38873. var t1, i;
  38874. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  38875. if (t1[i].containsKey$1($name))
  38876. return i;
  38877. return null;
  38878. },
  38879. withContent$2($content, callback) {
  38880. return this.withContent$body$AsyncEnvironment($content, callback);
  38881. },
  38882. withContent$body$AsyncEnvironment($content, callback) {
  38883. var $async$goto = 0,
  38884. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  38885. $async$self = this, oldContent;
  38886. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  38887. if ($async$errorCode === 1)
  38888. return A._asyncRethrow($async$result, $async$completer);
  38889. while (true)
  38890. switch ($async$goto) {
  38891. case 0:
  38892. // Function start
  38893. oldContent = $async$self._async_environment$_content;
  38894. $async$self._async_environment$_content = $content;
  38895. $async$goto = 2;
  38896. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  38897. case 2:
  38898. // returning from await.
  38899. $async$self._async_environment$_content = oldContent;
  38900. // implicit return
  38901. return A._asyncReturn(null, $async$completer);
  38902. }
  38903. });
  38904. return A._asyncStartSync($async$withContent$2, $async$completer);
  38905. },
  38906. asMixin$1(callback) {
  38907. var $async$goto = 0,
  38908. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  38909. $async$self = this, oldInMixin;
  38910. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  38911. if ($async$errorCode === 1)
  38912. return A._asyncRethrow($async$result, $async$completer);
  38913. while (true)
  38914. switch ($async$goto) {
  38915. case 0:
  38916. // Function start
  38917. oldInMixin = $async$self._async_environment$_inMixin;
  38918. $async$self._async_environment$_inMixin = true;
  38919. $async$goto = 2;
  38920. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  38921. case 2:
  38922. // returning from await.
  38923. $async$self._async_environment$_inMixin = oldInMixin;
  38924. // implicit return
  38925. return A._asyncReturn(null, $async$completer);
  38926. }
  38927. });
  38928. return A._asyncStartSync($async$asMixin$1, $async$completer);
  38929. },
  38930. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  38931. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  38932. },
  38933. scope$1$1(callback, $T) {
  38934. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  38935. },
  38936. scope$1$2$when(callback, when, $T) {
  38937. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  38938. },
  38939. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  38940. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  38941. },
  38942. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  38943. var $async$goto = 0,
  38944. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  38945. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  38946. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  38947. if ($async$errorCode === 1) {
  38948. $async$currentError = $async$result;
  38949. $async$goto = $async$handler;
  38950. }
  38951. while (true)
  38952. switch ($async$goto) {
  38953. case 0:
  38954. // Function start
  38955. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  38956. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  38957. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  38958. $async$goto = !when ? 3 : 4;
  38959. break;
  38960. case 3:
  38961. // then
  38962. $async$handler = 5;
  38963. $async$goto = 8;
  38964. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  38965. case 8:
  38966. // returning from await.
  38967. t1 = $async$result;
  38968. $async$returnValue = t1;
  38969. $async$next = [1];
  38970. // goto finally
  38971. $async$goto = 6;
  38972. break;
  38973. $async$next.push(7);
  38974. // goto finally
  38975. $async$goto = 6;
  38976. break;
  38977. case 5:
  38978. // uncaught
  38979. $async$next = [2];
  38980. case 6:
  38981. // finally
  38982. $async$handler = 2;
  38983. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  38984. // goto the next finally handler
  38985. $async$goto = $async$next.pop();
  38986. break;
  38987. case 7:
  38988. // after finally
  38989. case 4:
  38990. // join
  38991. t1 = $async$self._async_environment$_variables;
  38992. t2 = type$.String;
  38993. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  38994. t3 = $async$self._async_environment$_variableNodes;
  38995. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  38996. t4 = $async$self._async_environment$_functions;
  38997. t5 = type$.AsyncCallable;
  38998. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  38999. t6 = $async$self._async_environment$_mixins;
  39000. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  39001. t5 = $async$self._async_environment$_nestedForwardedModules;
  39002. if (t5 != null)
  39003. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  39004. $async$handler = 9;
  39005. $async$goto = 12;
  39006. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  39007. case 12:
  39008. // returning from await.
  39009. t2 = $async$result;
  39010. $async$returnValue = t2;
  39011. $async$next = [1];
  39012. // goto finally
  39013. $async$goto = 10;
  39014. break;
  39015. $async$next.push(11);
  39016. // goto finally
  39017. $async$goto = 10;
  39018. break;
  39019. case 9:
  39020. // uncaught
  39021. $async$next = [2];
  39022. case 10:
  39023. // finally
  39024. $async$handler = 2;
  39025. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  39026. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  39027. 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();) {
  39028. $name = t1.get$current(t1);
  39029. t2.remove$1(0, $name);
  39030. }
  39031. B.JSArray_methods.removeLast$0(t3);
  39032. 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();) {
  39033. name0 = t1.get$current(t1);
  39034. t2.remove$1(0, name0);
  39035. }
  39036. 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();) {
  39037. name1 = t1.get$current(t1);
  39038. t2.remove$1(0, name1);
  39039. }
  39040. t1 = $async$self._async_environment$_nestedForwardedModules;
  39041. if (t1 != null)
  39042. t1.pop();
  39043. // goto the next finally handler
  39044. $async$goto = $async$next.pop();
  39045. break;
  39046. case 11:
  39047. // after finally
  39048. case 1:
  39049. // return
  39050. return A._asyncReturn($async$returnValue, $async$completer);
  39051. case 2:
  39052. // rethrow
  39053. return A._asyncRethrow($async$currentError, $async$completer);
  39054. }
  39055. });
  39056. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  39057. },
  39058. toImplicitConfiguration$0() {
  39059. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  39060. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  39061. for (t1 = this._async_environment$_variables, t2 = this._async_environment$_variableNodes, i = 0; i < t1.length; ++i) {
  39062. values = t1[i];
  39063. nodes = t2[i];
  39064. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  39065. t4 = t3.get$current(t3);
  39066. t5 = t4.key;
  39067. t4 = t4.value;
  39068. t6 = nodes.$index(0, t5);
  39069. t6.toString;
  39070. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  39071. }
  39072. }
  39073. return new A.Configuration(configuration, null);
  39074. },
  39075. toModule$2(css, extensionStore) {
  39076. return A._EnvironmentModule__EnvironmentModule0(this, css, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  39077. },
  39078. toDummyModule$0() {
  39079. 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()));
  39080. },
  39081. _async_environment$_getModule$1(namespace) {
  39082. var module = this._async_environment$_modules.$index(0, namespace);
  39083. if (module != null)
  39084. return module;
  39085. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  39086. },
  39087. _async_environment$_fromOneModule$1$3($name, type, callback, $T) {
  39088. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  39089. nestedForwardedModules = this._async_environment$_nestedForwardedModules;
  39090. if (nestedForwardedModules != null)
  39091. 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();) {
  39092. t3 = t1.__internal$_current;
  39093. 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();) {
  39094. t5 = t3.__internal$_current;
  39095. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  39096. if (value != null)
  39097. return value;
  39098. }
  39099. }
  39100. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  39101. value = callback.call$1(t1.__js_helper$_current);
  39102. if (value != null)
  39103. return value;
  39104. }
  39105. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  39106. t4 = t2.__js_helper$_current;
  39107. valueInModule = callback.call$1(t4);
  39108. if (valueInModule == null)
  39109. continue;
  39110. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  39111. if (identityFromModule.$eq(0, identity))
  39112. continue;
  39113. if (value != null) {
  39114. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  39115. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39116. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  39117. t4 = t1.get$current(t1);
  39118. if (t4 != null)
  39119. t2.$indexSet(0, t4, t3);
  39120. }
  39121. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  39122. }
  39123. identity = identityFromModule;
  39124. value = valueInModule;
  39125. }
  39126. return value;
  39127. }
  39128. };
  39129. A.AsyncEnvironment_importForwards_closure.prototype = {
  39130. call$1(module) {
  39131. var t1 = module.get$variables();
  39132. return t1.get$keys(t1);
  39133. },
  39134. $signature: 131
  39135. };
  39136. A.AsyncEnvironment_importForwards_closure0.prototype = {
  39137. call$1(module) {
  39138. var t1 = module.get$functions(module);
  39139. return t1.get$keys(t1);
  39140. },
  39141. $signature: 131
  39142. };
  39143. A.AsyncEnvironment_importForwards_closure1.prototype = {
  39144. call$1(module) {
  39145. var t1 = module.get$mixins();
  39146. return t1.get$keys(t1);
  39147. },
  39148. $signature: 131
  39149. };
  39150. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  39151. call$1(module) {
  39152. return module.get$variables().$index(0, this.name);
  39153. },
  39154. $signature: 400
  39155. };
  39156. A.AsyncEnvironment_setVariable_closure.prototype = {
  39157. call$0() {
  39158. var t1 = this.$this;
  39159. t1._async_environment$_lastVariableName = this.name;
  39160. return t1._async_environment$_lastVariableIndex = 0;
  39161. },
  39162. $signature: 12
  39163. };
  39164. A.AsyncEnvironment_setVariable_closure0.prototype = {
  39165. call$1(module) {
  39166. return module.get$variables().containsKey$1(this.name) ? module : null;
  39167. },
  39168. $signature: 407
  39169. };
  39170. A.AsyncEnvironment_setVariable_closure1.prototype = {
  39171. call$0() {
  39172. var t1 = this.$this,
  39173. t2 = t1._async_environment$_variableIndex$1(this.name);
  39174. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  39175. },
  39176. $signature: 12
  39177. };
  39178. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  39179. call$1(module) {
  39180. return module.get$functions(module).$index(0, this.name);
  39181. },
  39182. $signature: 171
  39183. };
  39184. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  39185. call$1(module) {
  39186. return module.get$mixins().$index(0, this.name);
  39187. },
  39188. $signature: 171
  39189. };
  39190. A.AsyncEnvironment_toModule_closure.prototype = {
  39191. call$1(modules) {
  39192. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  39193. },
  39194. $signature: 173
  39195. };
  39196. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  39197. call$1(modules) {
  39198. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  39199. },
  39200. $signature: 173
  39201. };
  39202. A.AsyncEnvironment__fromOneModule_closure.prototype = {
  39203. call$1(entry) {
  39204. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure(entry, this.T));
  39205. },
  39206. $signature: 457
  39207. };
  39208. A.AsyncEnvironment__fromOneModule__closure.prototype = {
  39209. call$1(_) {
  39210. return J.get$span$z(this.entry.value);
  39211. },
  39212. $signature() {
  39213. return this.T._eval$1("FileSpan(0)");
  39214. }
  39215. };
  39216. A._EnvironmentModule0.prototype = {
  39217. get$url(_) {
  39218. var t1 = this.css;
  39219. t1 = t1.get$span(t1);
  39220. return t1.get$sourceUrl(t1);
  39221. },
  39222. setVariable$3($name, value, nodeWithSpan) {
  39223. var t1, t2,
  39224. module = this._async_environment$_modulesByVariable.$index(0, $name);
  39225. if (module != null) {
  39226. module.setVariable$3($name, value, nodeWithSpan);
  39227. return;
  39228. }
  39229. t1 = this._async_environment$_environment;
  39230. t2 = t1._async_environment$_variables;
  39231. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  39232. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  39233. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  39234. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  39235. return;
  39236. },
  39237. variableIdentity$1($name) {
  39238. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  39239. return module == null ? this : module.variableIdentity$1($name);
  39240. },
  39241. cloneCss$0() {
  39242. var newCssAndExtensionStore, _this = this;
  39243. if (!_this.transitivelyContainsCss)
  39244. return _this;
  39245. newCssAndExtensionStore = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  39246. 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);
  39247. },
  39248. toString$0(_) {
  39249. var t1 = this.css,
  39250. t2 = t1.get$span(t1);
  39251. if (t2.get$sourceUrl(t2) == null)
  39252. t1 = "<unknown url>";
  39253. else {
  39254. t1 = t1.get$span(t1);
  39255. t1 = t1.get$sourceUrl(t1);
  39256. t1 = $.$get$context().prettyUri$1(t1);
  39257. }
  39258. return t1;
  39259. },
  39260. $isModule: 1,
  39261. get$upstream() {
  39262. return this.upstream;
  39263. },
  39264. get$variables() {
  39265. return this.variables;
  39266. },
  39267. get$variableNodes() {
  39268. return this.variableNodes;
  39269. },
  39270. get$functions(receiver) {
  39271. return this.functions;
  39272. },
  39273. get$mixins() {
  39274. return this.mixins;
  39275. },
  39276. get$extensionStore() {
  39277. return this.extensionStore;
  39278. },
  39279. get$css(receiver) {
  39280. return this.css;
  39281. },
  39282. get$transitivelyContainsCss() {
  39283. return this.transitivelyContainsCss;
  39284. },
  39285. get$transitivelyContainsExtensions() {
  39286. return this.transitivelyContainsExtensions;
  39287. }
  39288. };
  39289. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  39290. call$1(module) {
  39291. return module.get$variables();
  39292. },
  39293. $signature: 463
  39294. };
  39295. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  39296. call$1(module) {
  39297. return module.get$variableNodes();
  39298. },
  39299. $signature: 465
  39300. };
  39301. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  39302. call$1(module) {
  39303. return module.get$functions(module);
  39304. },
  39305. $signature: 176
  39306. };
  39307. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  39308. call$1(module) {
  39309. return module.get$mixins();
  39310. },
  39311. $signature: 176
  39312. };
  39313. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  39314. call$1(module) {
  39315. return module.get$transitivelyContainsCss();
  39316. },
  39317. $signature: 130
  39318. };
  39319. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  39320. call$1(module) {
  39321. return module.get$transitivelyContainsExtensions();
  39322. },
  39323. $signature: 130
  39324. };
  39325. A.AsyncImportCache.prototype = {
  39326. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  39327. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  39328. },
  39329. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  39330. var $async$goto = 0,
  39331. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  39332. $async$returnValue, $async$self = this, t1, relativeResult;
  39333. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39334. if ($async$errorCode === 1)
  39335. return A._asyncRethrow($async$result, $async$completer);
  39336. while (true)
  39337. switch ($async$goto) {
  39338. case 0:
  39339. // Function start
  39340. $async$goto = baseImporter != null ? 3 : 4;
  39341. break;
  39342. case 3:
  39343. // then
  39344. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri;
  39345. $async$goto = 5;
  39346. 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);
  39347. case 5:
  39348. // returning from await.
  39349. relativeResult = $async$result;
  39350. if (relativeResult != null) {
  39351. $async$returnValue = relativeResult;
  39352. // goto return
  39353. $async$goto = 1;
  39354. break;
  39355. }
  39356. case 4:
  39357. // join
  39358. t1 = type$.Tuple2_Uri_bool;
  39359. $async$goto = 6;
  39360. 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);
  39361. case 6:
  39362. // returning from await.
  39363. $async$returnValue = $async$result;
  39364. // goto return
  39365. $async$goto = 1;
  39366. break;
  39367. case 1:
  39368. // return
  39369. return A._asyncReturn($async$returnValue, $async$completer);
  39370. }
  39371. });
  39372. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  39373. },
  39374. _async_import_cache$_canonicalize$3(importer, url, forImport) {
  39375. return this._canonicalize$body$AsyncImportCache(importer, url, forImport);
  39376. },
  39377. _canonicalize$body$AsyncImportCache(importer, url, forImport) {
  39378. var $async$goto = 0,
  39379. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  39380. $async$returnValue, $async$self = this, t1, result;
  39381. var $async$_async_import_cache$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39382. if ($async$errorCode === 1)
  39383. return A._asyncRethrow($async$result, $async$completer);
  39384. while (true)
  39385. switch ($async$goto) {
  39386. case 0:
  39387. // Function start
  39388. if (forImport) {
  39389. t1 = type$.nullable_Object;
  39390. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  39391. } else
  39392. t1 = importer.canonicalize$1(0, url);
  39393. $async$goto = 3;
  39394. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$3);
  39395. case 3:
  39396. // returning from await.
  39397. result = $async$result;
  39398. if ((result == null ? null : result.get$scheme()) === "")
  39399. $async$self._async_import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  39400. $async$returnValue = result;
  39401. // goto return
  39402. $async$goto = 1;
  39403. break;
  39404. case 1:
  39405. // return
  39406. return A._asyncReturn($async$returnValue, $async$completer);
  39407. }
  39408. });
  39409. return A._asyncStartSync($async$_async_import_cache$_canonicalize$3, $async$completer);
  39410. },
  39411. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  39412. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  39413. },
  39414. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  39415. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  39416. },
  39417. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  39418. var $async$goto = 0,
  39419. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  39420. $async$returnValue, $async$self = this;
  39421. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39422. if ($async$errorCode === 1)
  39423. return A._asyncRethrow($async$result, $async$completer);
  39424. while (true)
  39425. switch ($async$goto) {
  39426. case 0:
  39427. // Function start
  39428. $async$goto = 3;
  39429. 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);
  39430. case 3:
  39431. // returning from await.
  39432. $async$returnValue = $async$result;
  39433. // goto return
  39434. $async$goto = 1;
  39435. break;
  39436. case 1:
  39437. // return
  39438. return A._asyncReturn($async$returnValue, $async$completer);
  39439. }
  39440. });
  39441. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  39442. },
  39443. humanize$1(canonicalUrl) {
  39444. var t2, url,
  39445. t1 = this._async_import_cache$_canonicalizeCache;
  39446. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri);
  39447. t2 = t1.$ti;
  39448. 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());
  39449. if (url == null)
  39450. return canonicalUrl;
  39451. t1 = $.$get$url();
  39452. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  39453. },
  39454. sourceMapUrl$1(_, canonicalUrl) {
  39455. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  39456. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  39457. return t1 == null ? canonicalUrl : t1;
  39458. }
  39459. };
  39460. A.AsyncImportCache_canonicalize_closure.prototype = {
  39461. call$0() {
  39462. var $async$goto = 0,
  39463. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  39464. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  39465. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39466. if ($async$errorCode === 1)
  39467. return A._asyncRethrow($async$result, $async$completer);
  39468. while (true)
  39469. switch ($async$goto) {
  39470. case 0:
  39471. // Function start
  39472. t1 = $async$self.baseUrl;
  39473. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  39474. if (resolvedUrl == null)
  39475. resolvedUrl = $async$self.url;
  39476. t1 = $async$self.baseImporter;
  39477. $async$goto = 3;
  39478. return A._asyncAwait($async$self.$this._async_import_cache$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  39479. case 3:
  39480. // returning from await.
  39481. canonicalUrl = $async$result;
  39482. if (canonicalUrl == null) {
  39483. $async$returnValue = null;
  39484. // goto return
  39485. $async$goto = 1;
  39486. break;
  39487. }
  39488. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri);
  39489. // goto return
  39490. $async$goto = 1;
  39491. break;
  39492. case 1:
  39493. // return
  39494. return A._asyncReturn($async$returnValue, $async$completer);
  39495. }
  39496. });
  39497. return A._asyncStartSync($async$call$0, $async$completer);
  39498. },
  39499. $signature: 178
  39500. };
  39501. A.AsyncImportCache_canonicalize_closure0.prototype = {
  39502. call$0() {
  39503. var $async$goto = 0,
  39504. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri),
  39505. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  39506. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39507. if ($async$errorCode === 1)
  39508. return A._asyncRethrow($async$result, $async$completer);
  39509. while (true)
  39510. switch ($async$goto) {
  39511. case 0:
  39512. // Function start
  39513. t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  39514. case 3:
  39515. // for condition
  39516. if (!(_i < t2.length)) {
  39517. // goto after for
  39518. $async$goto = 5;
  39519. break;
  39520. }
  39521. importer = t2[_i];
  39522. $async$goto = 6;
  39523. return A._asyncAwait(t1._async_import_cache$_canonicalize$3(importer, t4, t5), $async$call$0);
  39524. case 6:
  39525. // returning from await.
  39526. canonicalUrl = $async$result;
  39527. if (canonicalUrl != null) {
  39528. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri);
  39529. // goto return
  39530. $async$goto = 1;
  39531. break;
  39532. }
  39533. case 4:
  39534. // for update
  39535. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  39536. // goto for condition
  39537. $async$goto = 3;
  39538. break;
  39539. case 5:
  39540. // after for
  39541. $async$returnValue = null;
  39542. // goto return
  39543. $async$goto = 1;
  39544. break;
  39545. case 1:
  39546. // return
  39547. return A._asyncReturn($async$returnValue, $async$completer);
  39548. }
  39549. });
  39550. return A._asyncStartSync($async$call$0, $async$completer);
  39551. },
  39552. $signature: 178
  39553. };
  39554. A.AsyncImportCache__canonicalize_closure.prototype = {
  39555. call$0() {
  39556. return this.importer.canonicalize$1(0, this.url);
  39557. },
  39558. $signature: 142
  39559. };
  39560. A.AsyncImportCache_importCanonical_closure.prototype = {
  39561. call$0() {
  39562. var $async$goto = 0,
  39563. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  39564. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  39565. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39566. if ($async$errorCode === 1)
  39567. return A._asyncRethrow($async$result, $async$completer);
  39568. while (true)
  39569. switch ($async$goto) {
  39570. case 0:
  39571. // Function start
  39572. t1 = $async$self.canonicalUrl;
  39573. $async$goto = 3;
  39574. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  39575. case 3:
  39576. // returning from await.
  39577. result = $async$result;
  39578. if (result == null) {
  39579. $async$returnValue = null;
  39580. // goto return
  39581. $async$goto = 1;
  39582. break;
  39583. }
  39584. t2 = $async$self.$this;
  39585. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  39586. t3 = result.contents;
  39587. t4 = result.syntax;
  39588. t1 = $async$self.originalUrl.resolveUri$1(t1);
  39589. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  39590. // goto return
  39591. $async$goto = 1;
  39592. break;
  39593. case 1:
  39594. // return
  39595. return A._asyncReturn($async$returnValue, $async$completer);
  39596. }
  39597. });
  39598. return A._asyncStartSync($async$call$0, $async$completer);
  39599. },
  39600. $signature: 497
  39601. };
  39602. A.AsyncImportCache_humanize_closure.prototype = {
  39603. call$1(tuple) {
  39604. return tuple.item2.$eq(0, this.canonicalUrl);
  39605. },
  39606. $signature: 506
  39607. };
  39608. A.AsyncImportCache_humanize_closure0.prototype = {
  39609. call$1(tuple) {
  39610. return tuple.item3;
  39611. },
  39612. $signature: 526
  39613. };
  39614. A.AsyncImportCache_humanize_closure1.prototype = {
  39615. call$1(url) {
  39616. return url.get$path(url).length;
  39617. },
  39618. $signature: 96
  39619. };
  39620. A.AsyncBuiltInCallable.prototype = {
  39621. callbackFor$2(positional, names) {
  39622. return new A.Tuple2(this._async_built_in$_arguments, this._async_built_in$_callback, type$.Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value);
  39623. },
  39624. $isAsyncCallable: 1,
  39625. get$name(receiver) {
  39626. return this.name;
  39627. }
  39628. };
  39629. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  39630. call$1($arguments) {
  39631. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  39632. },
  39633. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  39634. var $async$goto = 0,
  39635. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  39636. $async$returnValue, $async$self = this;
  39637. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39638. if ($async$errorCode === 1)
  39639. return A._asyncRethrow($async$result, $async$completer);
  39640. while (true)
  39641. switch ($async$goto) {
  39642. case 0:
  39643. // Function start
  39644. $async$goto = 3;
  39645. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  39646. case 3:
  39647. // returning from await.
  39648. $async$returnValue = B.C__SassNull;
  39649. // goto return
  39650. $async$goto = 1;
  39651. break;
  39652. case 1:
  39653. // return
  39654. return A._asyncReturn($async$returnValue, $async$completer);
  39655. }
  39656. });
  39657. return A._asyncStartSync($async$call$1, $async$completer);
  39658. },
  39659. $signature: 184
  39660. };
  39661. A.BuiltInCallable.prototype = {
  39662. callbackFor$2(positional, names) {
  39663. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  39664. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  39665. overload = t1[_i];
  39666. t3 = overload.item1;
  39667. if (t3.matches$2(positional, names))
  39668. return overload;
  39669. mismatchDistance = t3.$arguments.length - positional;
  39670. if (minMismatchDistance != null) {
  39671. t3 = Math.abs(mismatchDistance);
  39672. t4 = Math.abs(minMismatchDistance);
  39673. if (t3 > t4)
  39674. continue;
  39675. if (t3 === t4 && mismatchDistance < 0)
  39676. continue;
  39677. }
  39678. minMismatchDistance = mismatchDistance;
  39679. fuzzyMatch = overload;
  39680. }
  39681. if (fuzzyMatch != null)
  39682. return fuzzyMatch;
  39683. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  39684. },
  39685. withName$1($name) {
  39686. return new A.BuiltInCallable($name, this._overloads);
  39687. },
  39688. $isCallable: 1,
  39689. $isAsyncCallable: 1,
  39690. $isAsyncBuiltInCallable: 1,
  39691. get$name(receiver) {
  39692. return this.name;
  39693. }
  39694. };
  39695. A.BuiltInCallable$mixin_closure.prototype = {
  39696. call$1($arguments) {
  39697. this.callback.call$1($arguments);
  39698. return B.C__SassNull;
  39699. },
  39700. $signature: 4
  39701. };
  39702. A.PlainCssCallable.prototype = {
  39703. $eq(_, other) {
  39704. if (other == null)
  39705. return false;
  39706. return other instanceof A.PlainCssCallable && this.name === other.name;
  39707. },
  39708. get$hashCode(_) {
  39709. return B.JSString_methods.get$hashCode(this.name);
  39710. },
  39711. $isCallable: 1,
  39712. $isAsyncCallable: 1,
  39713. get$name(receiver) {
  39714. return this.name;
  39715. }
  39716. };
  39717. A.UserDefinedCallable.prototype = {
  39718. get$name(_) {
  39719. return this.declaration.name;
  39720. },
  39721. $isCallable: 1,
  39722. $isAsyncCallable: 1
  39723. };
  39724. A._compileStylesheet_closure.prototype = {
  39725. call$1(url) {
  39726. var t1;
  39727. if (url === "") {
  39728. t1 = this.stylesheet.span;
  39729. t1 = A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text();
  39730. } else
  39731. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  39732. return t1;
  39733. },
  39734. $signature: 5
  39735. };
  39736. A.CompileResult.prototype = {};
  39737. A.Configuration.prototype = {
  39738. throughForward$1($forward) {
  39739. var prefix, shownVariables, hiddenVariables, t1,
  39740. newValues = this._values;
  39741. if (newValues.get$isEmpty(newValues))
  39742. return B.Configuration_Map_empty_null;
  39743. prefix = $forward.prefix;
  39744. if (prefix != null)
  39745. newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
  39746. shownVariables = $forward.shownVariables;
  39747. hiddenVariables = $forward.hiddenVariables;
  39748. if (shownVariables != null)
  39749. newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  39750. else {
  39751. if (hiddenVariables != null) {
  39752. t1 = hiddenVariables._base;
  39753. t1 = t1.get$isNotEmpty(t1);
  39754. } else
  39755. t1 = false;
  39756. if (t1)
  39757. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  39758. }
  39759. return this._withValues$1(newValues);
  39760. },
  39761. _withValues$1(values) {
  39762. var t1 = this.__originalConfiguration;
  39763. return new A.Configuration(values, t1 == null ? this : t1);
  39764. },
  39765. toString$0(_) {
  39766. var t1 = this._values;
  39767. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure(), type$.String).join$1(0, ", ") + ")";
  39768. }
  39769. };
  39770. A.Configuration_toString_closure.prototype = {
  39771. call$1(entry) {
  39772. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  39773. },
  39774. $signature: 281
  39775. };
  39776. A.ExplicitConfiguration.prototype = {
  39777. _withValues$1(values) {
  39778. var t1 = this.__originalConfiguration;
  39779. if (t1 == null)
  39780. t1 = this;
  39781. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  39782. }
  39783. };
  39784. A.ConfiguredValue.prototype = {
  39785. toString$0(_) {
  39786. return A.serializeValue(this.value, true, true);
  39787. }
  39788. };
  39789. A.Environment.prototype = {
  39790. closure$0() {
  39791. var t4, t5, t6, _this = this,
  39792. t1 = _this._forwardedModules,
  39793. t2 = _this._nestedForwardedModules,
  39794. t3 = _this._variables;
  39795. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  39796. t4 = _this._variableNodes;
  39797. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  39798. t5 = _this._functions;
  39799. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  39800. t6 = _this._mixins;
  39801. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  39802. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  39803. },
  39804. addModule$3$namespace(module, nodeWithSpan, namespace) {
  39805. var t1, t2, span, _this = this;
  39806. if (namespace == null) {
  39807. _this._globalModules.$indexSet(0, module, nodeWithSpan);
  39808. _this._allModules.push(module);
  39809. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._variables))); t1.moveNext$0();) {
  39810. t2 = t1.get$current(t1);
  39811. if (module.get$variables().containsKey$1(t2))
  39812. throw A.wrapException(A.SassScriptException$(string$.This_ma + t2 + '".', null));
  39813. }
  39814. } else {
  39815. t1 = _this._environment$_modules;
  39816. if (t1.containsKey$1(namespace)) {
  39817. t1 = _this._namespaceNodes.$index(0, namespace);
  39818. span = t1 == null ? null : t1.span;
  39819. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39820. if (span != null)
  39821. t1.$indexSet(0, span, "original @use");
  39822. throw A.wrapException(A.MultiSpanSassScriptException$(string$.There_ + namespace + '".', "new @use", t1));
  39823. }
  39824. t1.$indexSet(0, namespace, module);
  39825. _this._namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  39826. _this._allModules.push(module);
  39827. }
  39828. },
  39829. forwardModule$2(module, rule) {
  39830. var view, t1, t2, _this = this,
  39831. forwardedModules = _this._forwardedModules;
  39832. if (forwardedModules == null)
  39833. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  39834. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  39835. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  39836. t2 = t1.__js_helper$_current;
  39837. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  39838. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  39839. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  39840. }
  39841. _this._allModules.push(module);
  39842. forwardedModules.$indexSet(0, view, rule);
  39843. },
  39844. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  39845. var larger, smaller, t1, t2, $name, span;
  39846. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  39847. larger = oldMembers;
  39848. smaller = newMembers;
  39849. } else {
  39850. larger = newMembers;
  39851. smaller = oldMembers;
  39852. }
  39853. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  39854. $name = t1.get$current(t1);
  39855. if (!larger.containsKey$1($name))
  39856. continue;
  39857. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  39858. continue;
  39859. if (t2)
  39860. $name = "$" + $name;
  39861. t1 = this._forwardedModules;
  39862. if (t1 == null)
  39863. span = null;
  39864. else {
  39865. t1 = t1.$index(0, oldModule);
  39866. span = t1 == null ? null : J.get$span$z(t1);
  39867. }
  39868. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  39869. if (span != null)
  39870. t1.$indexSet(0, span, "original @forward");
  39871. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  39872. }
  39873. },
  39874. importForwards$1(module) {
  39875. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  39876. forwarded = module._environment$_environment._forwardedModules;
  39877. if (forwarded == null)
  39878. return;
  39879. forwardedModules = _this._forwardedModules;
  39880. if (forwardedModules != null) {
  39881. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  39882. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._globalModules; t2.moveNext$0();) {
  39883. t4 = t2.get$current(t2);
  39884. t5 = t4.key;
  39885. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  39886. t1.$indexSet(0, t5, t4.value);
  39887. }
  39888. forwarded = t1;
  39889. } else
  39890. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  39891. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  39892. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  39893. t3 = t2._eval$1("Iterable.E");
  39894. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure(), t2), t3);
  39895. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure0(), t2), t3);
  39896. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure1(), t2), t3);
  39897. t2 = _this._variables;
  39898. t3 = t2.length;
  39899. if (t3 === 1) {
  39900. 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) {
  39901. entry = t3[_i];
  39902. module = entry.key;
  39903. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39904. if (shadowed != null) {
  39905. t1.remove$1(0, module);
  39906. t6 = shadowed.variables;
  39907. if (t6.get$isEmpty(t6)) {
  39908. t6 = shadowed.functions;
  39909. if (t6.get$isEmpty(t6)) {
  39910. t6 = shadowed.mixins;
  39911. if (t6.get$isEmpty(t6)) {
  39912. t6 = shadowed._shadowed_view$_inner;
  39913. t6 = t6.get$css(t6);
  39914. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39915. } else
  39916. t6 = false;
  39917. } else
  39918. t6 = false;
  39919. } else
  39920. t6 = false;
  39921. if (!t6)
  39922. t1.$indexSet(0, shadowed, entry.value);
  39923. }
  39924. }
  39925. 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) {
  39926. entry = t3[_i];
  39927. module = entry.key;
  39928. shadowed = A.ShadowedModuleView_ifNecessary(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  39929. if (shadowed != null) {
  39930. forwardedModules.remove$1(0, module);
  39931. t6 = shadowed.variables;
  39932. if (t6.get$isEmpty(t6)) {
  39933. t6 = shadowed.functions;
  39934. if (t6.get$isEmpty(t6)) {
  39935. t6 = shadowed.mixins;
  39936. if (t6.get$isEmpty(t6)) {
  39937. t6 = shadowed._shadowed_view$_inner;
  39938. t6 = t6.get$css(t6);
  39939. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  39940. } else
  39941. t6 = false;
  39942. } else
  39943. t6 = false;
  39944. } else
  39945. t6 = false;
  39946. if (!t6)
  39947. forwardedModules.$indexSet(0, shadowed, entry.value);
  39948. }
  39949. }
  39950. t1.addAll$1(0, forwarded);
  39951. forwardedModules.addAll$1(0, forwarded);
  39952. } else {
  39953. t4 = _this._nestedForwardedModules;
  39954. if (t4 == null) {
  39955. _length = t3 - 1;
  39956. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  39957. for (t3 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  39958. _list[_i] = A._setArrayType([], t3);
  39959. _this._nestedForwardedModules = _list;
  39960. t3 = _list;
  39961. } else
  39962. t3 = t4;
  39963. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  39964. }
  39965. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._variableIndices, t4 = _this._variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39966. t6 = t1._collection$_current;
  39967. if (t6 == null)
  39968. t6 = t5._as(t6);
  39969. t3.remove$1(0, t6);
  39970. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  39971. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  39972. }
  39973. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._functionIndices, t3 = _this._functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39974. t5 = t1._collection$_current;
  39975. if (t5 == null)
  39976. t5 = t4._as(t5);
  39977. t2.remove$1(0, t5);
  39978. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39979. }
  39980. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  39981. t5 = t1._collection$_current;
  39982. if (t5 == null)
  39983. t5 = t4._as(t5);
  39984. t2.remove$1(0, t5);
  39985. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  39986. }
  39987. },
  39988. getVariable$2$namespace($name, namespace) {
  39989. var t1, index, _this = this;
  39990. if (namespace != null)
  39991. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  39992. if (_this._lastVariableName === $name) {
  39993. t1 = _this._lastVariableIndex;
  39994. t1.toString;
  39995. t1 = J.$index$asx(_this._variables[t1], $name);
  39996. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  39997. }
  39998. t1 = _this._variableIndices;
  39999. index = t1.$index(0, $name);
  40000. if (index != null) {
  40001. _this._lastVariableName = $name;
  40002. _this._lastVariableIndex = index;
  40003. t1 = J.$index$asx(_this._variables[index], $name);
  40004. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40005. }
  40006. index = _this._variableIndex$1($name);
  40007. if (index == null)
  40008. return _this._getVariableFromGlobalModule$1($name);
  40009. _this._lastVariableName = $name;
  40010. _this._lastVariableIndex = index;
  40011. t1.$indexSet(0, $name, index);
  40012. t1 = J.$index$asx(_this._variables[index], $name);
  40013. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  40014. },
  40015. getVariable$1($name) {
  40016. return this.getVariable$2$namespace($name, null);
  40017. },
  40018. _getVariableFromGlobalModule$1($name) {
  40019. return this._fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name), type$.Value);
  40020. },
  40021. getVariableNode$2$namespace($name, namespace) {
  40022. var t1, index, _this = this;
  40023. if (namespace != null)
  40024. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  40025. if (_this._lastVariableName === $name) {
  40026. t1 = _this._lastVariableIndex;
  40027. t1.toString;
  40028. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  40029. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40030. }
  40031. t1 = _this._variableIndices;
  40032. index = t1.$index(0, $name);
  40033. if (index != null) {
  40034. _this._lastVariableName = $name;
  40035. _this._lastVariableIndex = index;
  40036. t1 = J.$index$asx(_this._variableNodes[index], $name);
  40037. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40038. }
  40039. index = _this._variableIndex$1($name);
  40040. if (index == null)
  40041. return _this._getVariableNodeFromGlobalModule$1($name);
  40042. _this._lastVariableName = $name;
  40043. _this._lastVariableIndex = index;
  40044. t1.$indexSet(0, $name, index);
  40045. t1 = J.$index$asx(_this._variableNodes[index], $name);
  40046. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  40047. },
  40048. _getVariableNodeFromGlobalModule$1($name) {
  40049. var t1, t2, value;
  40050. 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();) {
  40051. t1 = t2._currentIterator;
  40052. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  40053. if (value != null)
  40054. return value;
  40055. }
  40056. return null;
  40057. },
  40058. globalVariableExists$2$namespace($name, namespace) {
  40059. if (namespace != null)
  40060. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  40061. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  40062. return true;
  40063. return this._getVariableFromGlobalModule$1($name) != null;
  40064. },
  40065. globalVariableExists$1($name) {
  40066. return this.globalVariableExists$2$namespace($name, null);
  40067. },
  40068. _variableIndex$1($name) {
  40069. var t1, i;
  40070. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  40071. if (t1[i].containsKey$1($name))
  40072. return i;
  40073. return null;
  40074. },
  40075. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  40076. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  40077. if (namespace != null) {
  40078. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  40079. return;
  40080. }
  40081. if (global || _this._variables.length === 1) {
  40082. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  40083. t1 = _this._variables;
  40084. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  40085. moduleWithName = _this._fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure0($name), type$.Module_Callable);
  40086. if (moduleWithName != null) {
  40087. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  40088. return;
  40089. }
  40090. }
  40091. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  40092. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  40093. return;
  40094. }
  40095. nestedForwardedModules = _this._nestedForwardedModules;
  40096. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  40097. 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();) {
  40098. t3 = t1.__internal$_current;
  40099. 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();) {
  40100. t5 = t3.__internal$_current;
  40101. if (t5 == null)
  40102. t5 = t4._as(t5);
  40103. if (t5.get$variables().containsKey$1($name)) {
  40104. t5.setVariable$3($name, value, nodeWithSpan);
  40105. return;
  40106. }
  40107. }
  40108. }
  40109. if (_this._lastVariableName === $name) {
  40110. t1 = _this._lastVariableIndex;
  40111. t1.toString;
  40112. index = t1;
  40113. } else
  40114. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  40115. if (!_this._inSemiGlobalScope && index === 0) {
  40116. index = _this._variables.length - 1;
  40117. _this._variableIndices.$indexSet(0, $name, index);
  40118. }
  40119. _this._lastVariableName = $name;
  40120. _this._lastVariableIndex = index;
  40121. J.$indexSet$ax(_this._variables[index], $name, value);
  40122. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  40123. },
  40124. setVariable$4$global($name, value, nodeWithSpan, global) {
  40125. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  40126. },
  40127. setLocalVariable$3($name, value, nodeWithSpan) {
  40128. var index, _this = this,
  40129. t1 = _this._variables,
  40130. t2 = t1.length;
  40131. _this._lastVariableName = $name;
  40132. index = _this._lastVariableIndex = t2 - 1;
  40133. _this._variableIndices.$indexSet(0, $name, index);
  40134. J.$indexSet$ax(t1[index], $name, value);
  40135. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  40136. },
  40137. getFunction$2$namespace($name, namespace) {
  40138. var t1, index, _this = this;
  40139. if (namespace != null) {
  40140. t1 = _this._getModule$1(namespace);
  40141. return t1.get$functions(t1).$index(0, $name);
  40142. }
  40143. t1 = _this._functionIndices;
  40144. index = t1.$index(0, $name);
  40145. if (index != null) {
  40146. t1 = J.$index$asx(_this._functions[index], $name);
  40147. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  40148. }
  40149. index = _this._functionIndex$1($name);
  40150. if (index == null)
  40151. return _this._getFunctionFromGlobalModule$1($name);
  40152. t1.$indexSet(0, $name, index);
  40153. t1 = J.$index$asx(_this._functions[index], $name);
  40154. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  40155. },
  40156. _getFunctionFromGlobalModule$1($name) {
  40157. return this._fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name), type$.Callable);
  40158. },
  40159. _functionIndex$1($name) {
  40160. var t1, i;
  40161. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  40162. if (t1[i].containsKey$1($name))
  40163. return i;
  40164. return null;
  40165. },
  40166. getMixin$2$namespace($name, namespace) {
  40167. var t1, index, _this = this;
  40168. if (namespace != null)
  40169. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  40170. t1 = _this._mixinIndices;
  40171. index = t1.$index(0, $name);
  40172. if (index != null) {
  40173. t1 = J.$index$asx(_this._mixins[index], $name);
  40174. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  40175. }
  40176. index = _this._mixinIndex$1($name);
  40177. if (index == null)
  40178. return _this._getMixinFromGlobalModule$1($name);
  40179. t1.$indexSet(0, $name, index);
  40180. t1 = J.$index$asx(_this._mixins[index], $name);
  40181. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  40182. },
  40183. _getMixinFromGlobalModule$1($name) {
  40184. return this._fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name), type$.Callable);
  40185. },
  40186. _mixinIndex$1($name) {
  40187. var t1, i;
  40188. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  40189. if (t1[i].containsKey$1($name))
  40190. return i;
  40191. return null;
  40192. },
  40193. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  40194. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  40195. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  40196. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  40197. _this._inSemiGlobalScope = semiGlobal;
  40198. if (!when)
  40199. try {
  40200. t1 = callback.call$0();
  40201. return t1;
  40202. } finally {
  40203. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  40204. }
  40205. t1 = _this._variables;
  40206. t2 = type$.String;
  40207. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  40208. t3 = _this._variableNodes;
  40209. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  40210. t4 = _this._functions;
  40211. t5 = type$.Callable;
  40212. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  40213. t6 = _this._mixins;
  40214. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  40215. t5 = _this._nestedForwardedModules;
  40216. if (t5 != null)
  40217. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  40218. try {
  40219. t2 = callback.call$0();
  40220. return t2;
  40221. } finally {
  40222. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  40223. _this._lastVariableIndex = _this._lastVariableName = null;
  40224. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  40225. $name = t1.get$current(t1);
  40226. t2.remove$1(0, $name);
  40227. }
  40228. B.JSArray_methods.removeLast$0(t3);
  40229. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  40230. name0 = t1.get$current(t1);
  40231. t2.remove$1(0, name0);
  40232. }
  40233. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  40234. name1 = t1.get$current(t1);
  40235. t2.remove$1(0, name1);
  40236. }
  40237. t1 = _this._nestedForwardedModules;
  40238. if (t1 != null)
  40239. t1.pop();
  40240. }
  40241. },
  40242. scope$1$1(callback, $T) {
  40243. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  40244. },
  40245. scope$1$2$when(callback, when, $T) {
  40246. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  40247. },
  40248. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  40249. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  40250. },
  40251. toImplicitConfiguration$0() {
  40252. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  40253. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  40254. for (t1 = this._variables, t2 = this._variableNodes, i = 0; i < t1.length; ++i) {
  40255. values = t1[i];
  40256. nodes = t2[i];
  40257. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  40258. t4 = t3.get$current(t3);
  40259. t5 = t4.key;
  40260. t4 = t4.value;
  40261. t6 = nodes.$index(0, t5);
  40262. t6.toString;
  40263. configuration.$indexSet(0, t5, new A.ConfiguredValue(t4, null, t6));
  40264. }
  40265. }
  40266. return new A.Configuration(configuration, null);
  40267. },
  40268. toModule$2(css, extensionStore) {
  40269. return A._EnvironmentModule__EnvironmentModule(this, css, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  40270. },
  40271. toDummyModule$0() {
  40272. 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()));
  40273. },
  40274. _getModule$1(namespace) {
  40275. var module = this._environment$_modules.$index(0, namespace);
  40276. if (module != null)
  40277. return module;
  40278. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  40279. },
  40280. _fromOneModule$1$3($name, type, callback, $T) {
  40281. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  40282. nestedForwardedModules = this._nestedForwardedModules;
  40283. if (nestedForwardedModules != null)
  40284. 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();) {
  40285. t3 = t1.__internal$_current;
  40286. 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();) {
  40287. t5 = t3.__internal$_current;
  40288. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  40289. if (value != null)
  40290. return value;
  40291. }
  40292. }
  40293. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  40294. value = callback.call$1(t1.__js_helper$_current);
  40295. if (value != null)
  40296. return value;
  40297. }
  40298. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  40299. t4 = t2.__js_helper$_current;
  40300. valueInModule = callback.call$1(t4);
  40301. if (valueInModule == null)
  40302. continue;
  40303. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  40304. if (identityFromModule.$eq(0, identity))
  40305. continue;
  40306. if (value != null) {
  40307. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure(callback, $T), type$.nullable_FileSpan);
  40308. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  40309. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  40310. t4 = t1.get$current(t1);
  40311. if (t4 != null)
  40312. t2.$indexSet(0, t4, t3);
  40313. }
  40314. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  40315. }
  40316. identity = identityFromModule;
  40317. value = valueInModule;
  40318. }
  40319. return value;
  40320. }
  40321. };
  40322. A.Environment_importForwards_closure.prototype = {
  40323. call$1(module) {
  40324. var t1 = module.get$variables();
  40325. return t1.get$keys(t1);
  40326. },
  40327. $signature: 125
  40328. };
  40329. A.Environment_importForwards_closure0.prototype = {
  40330. call$1(module) {
  40331. var t1 = module.get$functions(module);
  40332. return t1.get$keys(t1);
  40333. },
  40334. $signature: 125
  40335. };
  40336. A.Environment_importForwards_closure1.prototype = {
  40337. call$1(module) {
  40338. var t1 = module.get$mixins();
  40339. return t1.get$keys(t1);
  40340. },
  40341. $signature: 125
  40342. };
  40343. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  40344. call$1(module) {
  40345. return module.get$variables().$index(0, this.name);
  40346. },
  40347. $signature: 287
  40348. };
  40349. A.Environment_setVariable_closure.prototype = {
  40350. call$0() {
  40351. var t1 = this.$this;
  40352. t1._lastVariableName = this.name;
  40353. return t1._lastVariableIndex = 0;
  40354. },
  40355. $signature: 12
  40356. };
  40357. A.Environment_setVariable_closure0.prototype = {
  40358. call$1(module) {
  40359. return module.get$variables().containsKey$1(this.name) ? module : null;
  40360. },
  40361. $signature: 288
  40362. };
  40363. A.Environment_setVariable_closure1.prototype = {
  40364. call$0() {
  40365. var t1 = this.$this,
  40366. t2 = t1._variableIndex$1(this.name);
  40367. return t2 == null ? t1._variables.length - 1 : t2;
  40368. },
  40369. $signature: 12
  40370. };
  40371. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  40372. call$1(module) {
  40373. return module.get$functions(module).$index(0, this.name);
  40374. },
  40375. $signature: 189
  40376. };
  40377. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  40378. call$1(module) {
  40379. return module.get$mixins().$index(0, this.name);
  40380. },
  40381. $signature: 189
  40382. };
  40383. A.Environment_toModule_closure.prototype = {
  40384. call$1(modules) {
  40385. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  40386. },
  40387. $signature: 191
  40388. };
  40389. A.Environment_toDummyModule_closure.prototype = {
  40390. call$1(modules) {
  40391. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  40392. },
  40393. $signature: 191
  40394. };
  40395. A.Environment__fromOneModule_closure.prototype = {
  40396. call$1(entry) {
  40397. return A.NullableExtension_andThen(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure(entry, this.T));
  40398. },
  40399. $signature: 303
  40400. };
  40401. A.Environment__fromOneModule__closure.prototype = {
  40402. call$1(_) {
  40403. return J.get$span$z(this.entry.value);
  40404. },
  40405. $signature() {
  40406. return this.T._eval$1("FileSpan(0)");
  40407. }
  40408. };
  40409. A._EnvironmentModule.prototype = {
  40410. get$url(_) {
  40411. var t1 = this.css;
  40412. t1 = t1.get$span(t1);
  40413. return t1.get$sourceUrl(t1);
  40414. },
  40415. setVariable$3($name, value, nodeWithSpan) {
  40416. var t1, t2,
  40417. module = this._modulesByVariable.$index(0, $name);
  40418. if (module != null) {
  40419. module.setVariable$3($name, value, nodeWithSpan);
  40420. return;
  40421. }
  40422. t1 = this._environment$_environment;
  40423. t2 = t1._variables;
  40424. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  40425. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  40426. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  40427. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  40428. return;
  40429. },
  40430. variableIdentity$1($name) {
  40431. var module = this._modulesByVariable.$index(0, $name);
  40432. return module == null ? this : module.variableIdentity$1($name);
  40433. },
  40434. cloneCss$0() {
  40435. var newCssAndExtensionStore, _this = this;
  40436. if (!_this.transitivelyContainsCss)
  40437. return _this;
  40438. newCssAndExtensionStore = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  40439. return A._EnvironmentModule$_(_this._environment$_environment, newCssAndExtensionStore.item1, newCssAndExtensionStore.item2, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  40440. },
  40441. toString$0(_) {
  40442. var t1 = this.css,
  40443. t2 = t1.get$span(t1);
  40444. if (t2.get$sourceUrl(t2) == null)
  40445. t1 = "<unknown url>";
  40446. else {
  40447. t1 = t1.get$span(t1);
  40448. t1 = t1.get$sourceUrl(t1);
  40449. t1 = $.$get$context().prettyUri$1(t1);
  40450. }
  40451. return t1;
  40452. },
  40453. $isModule: 1,
  40454. get$upstream() {
  40455. return this.upstream;
  40456. },
  40457. get$variables() {
  40458. return this.variables;
  40459. },
  40460. get$variableNodes() {
  40461. return this.variableNodes;
  40462. },
  40463. get$functions(receiver) {
  40464. return this.functions;
  40465. },
  40466. get$mixins() {
  40467. return this.mixins;
  40468. },
  40469. get$extensionStore() {
  40470. return this.extensionStore;
  40471. },
  40472. get$css(receiver) {
  40473. return this.css;
  40474. },
  40475. get$transitivelyContainsCss() {
  40476. return this.transitivelyContainsCss;
  40477. },
  40478. get$transitivelyContainsExtensions() {
  40479. return this.transitivelyContainsExtensions;
  40480. }
  40481. };
  40482. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  40483. call$1(module) {
  40484. return module.get$variables();
  40485. },
  40486. $signature: 306
  40487. };
  40488. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  40489. call$1(module) {
  40490. return module.get$variableNodes();
  40491. },
  40492. $signature: 307
  40493. };
  40494. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  40495. call$1(module) {
  40496. return module.get$functions(module);
  40497. },
  40498. $signature: 197
  40499. };
  40500. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  40501. call$1(module) {
  40502. return module.get$mixins();
  40503. },
  40504. $signature: 197
  40505. };
  40506. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  40507. call$1(module) {
  40508. return module.get$transitivelyContainsCss();
  40509. },
  40510. $signature: 123
  40511. };
  40512. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  40513. call$1(module) {
  40514. return module.get$transitivelyContainsExtensions();
  40515. },
  40516. $signature: 123
  40517. };
  40518. A.SassException.prototype = {
  40519. get$trace(_) {
  40520. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  40521. },
  40522. get$span(_) {
  40523. return A.SourceSpanException.prototype.get$span.call(this, this);
  40524. },
  40525. toString$1$color(_, color) {
  40526. var t2, _i, frame, t3, _this = this,
  40527. buffer = new A.StringBuffer(""),
  40528. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  40529. buffer._contents = t1;
  40530. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  40531. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  40532. frame = t1[_i];
  40533. if (J.get$length$asx(frame) === 0)
  40534. continue;
  40535. t3 = buffer._contents += "\n";
  40536. buffer._contents = t3 + (" " + A.S(frame));
  40537. }
  40538. t1 = buffer._contents;
  40539. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40540. },
  40541. toString$0($receiver) {
  40542. return this.toString$1$color($receiver, null);
  40543. },
  40544. toCssString$0() {
  40545. var commentMessage, stringMessage, rune,
  40546. t1 = $._glyphs,
  40547. t2 = $._glyphs = B.C_AsciiGlyphSet,
  40548. t3 = this.toString$1$color(0, false);
  40549. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  40550. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  40551. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  40552. stringMessage = new A.StringBuffer("");
  40553. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  40554. rune = t1._currentCodePoint;
  40555. t2 = stringMessage._contents;
  40556. if (rune > 255) {
  40557. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(92);
  40558. t2 = stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
  40559. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(32);
  40560. } else
  40561. stringMessage._contents = t2 + A.Primitives_stringFromCharCode(rune);
  40562. }
  40563. 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}";
  40564. }
  40565. };
  40566. A.MultiSpanSassException.prototype = {
  40567. toString$1$color(_, color) {
  40568. var t1, t2, _i, frame, _this = this,
  40569. useColor = color === true && true,
  40570. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  40571. 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));
  40572. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  40573. frame = t1[_i];
  40574. if (J.get$length$asx(frame) === 0)
  40575. continue;
  40576. buffer._contents += "\n";
  40577. buffer._contents += " " + A.S(frame);
  40578. }
  40579. t1 = buffer._contents;
  40580. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40581. },
  40582. toString$0($receiver) {
  40583. return this.toString$1$color($receiver, null);
  40584. }
  40585. };
  40586. A.SassRuntimeException.prototype = {
  40587. get$trace(receiver) {
  40588. return this.trace;
  40589. }
  40590. };
  40591. A.MultiSpanSassRuntimeException.prototype = {$isSassRuntimeException: 1,
  40592. get$trace(receiver) {
  40593. return this.trace;
  40594. }
  40595. };
  40596. A.SassFormatException.prototype = {
  40597. get$source() {
  40598. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  40599. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  40600. },
  40601. $isFormatException: 1,
  40602. $isSourceSpanFormatException: 1
  40603. };
  40604. A.SassScriptException.prototype = {
  40605. toString$0(_) {
  40606. return this.message + string$.x0a_BUG_;
  40607. },
  40608. get$message(receiver) {
  40609. return this.message;
  40610. }
  40611. };
  40612. A.MultiSpanSassScriptException.prototype = {};
  40613. A._writeSourceMap_closure.prototype = {
  40614. call$1(url) {
  40615. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  40616. },
  40617. $signature: 5
  40618. };
  40619. A.ExecutableOptions.prototype = {
  40620. get$interactive() {
  40621. var result, _this = this,
  40622. value = _this.__ExecutableOptions_interactive_FI;
  40623. if (value === $) {
  40624. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  40625. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  40626. _this.__ExecutableOptions_interactive_FI = result;
  40627. value = result;
  40628. }
  40629. return value;
  40630. },
  40631. get$color() {
  40632. var t1 = this._options;
  40633. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : J.$eq$(self.process.stdout.isTTY, true);
  40634. },
  40635. get$emitErrorCss() {
  40636. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  40637. if (t1 == null) {
  40638. this._ensureSources$0();
  40639. t1 = this._sourcesToDestinations;
  40640. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  40641. }
  40642. return t1;
  40643. },
  40644. _ensureSources$0() {
  40645. var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, sourceAndDestination, _this = this, _null = null,
  40646. _s18_ = 'Duplicate source "';
  40647. if (_this._sourcesToDestinations != null)
  40648. return;
  40649. t1 = _this._options;
  40650. stdin = A._asBool(t1.$index(0, "stdin"));
  40651. t2 = t1.rest;
  40652. if (t2.get$length(t2) === 0 && !stdin)
  40653. A.ExecutableOptions__fail("Compile Sass to CSS.");
  40654. t3 = type$.String;
  40655. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  40656. for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
  40657. t6 = t4.__internal$_current;
  40658. if (t6 == null)
  40659. t6 = t5._as(t6);
  40660. t7 = t6.length;
  40661. if (t7 === 0)
  40662. A.ExecutableOptions__fail('Invalid argument "".');
  40663. if (A.stringContainsUnchecked(t6, ":", 0)) {
  40664. if (t7 > 2) {
  40665. t8 = B.JSString_methods._codeUnitAt$1(t6, 0);
  40666. if (!(t8 >= 97 && t8 <= 122))
  40667. t8 = t8 >= 65 && t8 <= 90;
  40668. else
  40669. t8 = true;
  40670. t8 = t8 && B.JSString_methods._codeUnitAt$1(t6, 1) === 58;
  40671. } else
  40672. t8 = false;
  40673. if (t8) {
  40674. if (2 > t7)
  40675. A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
  40676. t7 = A.stringContainsUnchecked(t6, ":", 2);
  40677. } else
  40678. t7 = true;
  40679. } else
  40680. t7 = false;
  40681. if (t7)
  40682. colonArgs = true;
  40683. else if (A.dirExists(t6))
  40684. $directories.add$1(0, t6);
  40685. else
  40686. positionalArgs = true;
  40687. }
  40688. if (positionalArgs || t2.get$length(t2) === 0) {
  40689. if (colonArgs)
  40690. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  40691. else if (stdin) {
  40692. if (J.get$length$asx(t2._collection$_source) > 1)
  40693. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  40694. else if (A._asBool(t1.$index(0, "update")))
  40695. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  40696. else if (A._asBool(t1.$index(0, "watch")))
  40697. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  40698. t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
  40699. t2 = type$.dynamic;
  40700. t3 = type$.nullable_String;
  40701. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  40702. } else {
  40703. t3 = t2._collection$_source;
  40704. t4 = J.getInterceptor$asx(t3);
  40705. if (t4.get$length(t3) > 2)
  40706. A.ExecutableOptions__fail("Only two positional args may be passed.");
  40707. else if ($directories._collection$_length !== 0) {
  40708. message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
  40709. target = t2.get$last(t2);
  40710. 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);
  40711. } else {
  40712. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  40713. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  40714. if (destination == null)
  40715. if (A._asBool(t1.$index(0, "update")))
  40716. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  40717. else if (A._asBool(t1.$index(0, "watch")))
  40718. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  40719. t1 = A.PathMap__create(_null, type$.nullable_String);
  40720. t1.$indexSet(0, source, destination);
  40721. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  40722. }
  40723. }
  40724. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  40725. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty5;
  40726. return;
  40727. }
  40728. if (stdin)
  40729. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  40730. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  40731. t1 = A.PathMap__create(_null, t3);
  40732. t4 = type$.PathMap_String;
  40733. t3 = A.PathMap__create(_null, t3);
  40734. for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  40735. t6 = t2.__internal$_current;
  40736. if (t6 == null)
  40737. t6 = t5._as(t6);
  40738. if ($directories.contains$1(0, t6)) {
  40739. if (!seen.add$1(0, t6))
  40740. A.ExecutableOptions__fail(_s18_ + t6 + '".');
  40741. t3.$indexSet(0, t6, t6);
  40742. t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
  40743. continue;
  40744. }
  40745. sourceAndDestination = _this._splitSourceAndDestination$1(t6);
  40746. source = sourceAndDestination.item1;
  40747. destination = sourceAndDestination.item2;
  40748. if (!seen.add$1(0, source))
  40749. A.ExecutableOptions__fail(_s18_ + source + '".');
  40750. if (source === "-")
  40751. t1.$indexSet(0, _null, destination);
  40752. else if (A.dirExists(source)) {
  40753. t3.$indexSet(0, source, destination);
  40754. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  40755. } else
  40756. t1.$indexSet(0, source, destination);
  40757. }
  40758. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  40759. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  40760. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
  40761. },
  40762. _splitSourceAndDestination$1(argument) {
  40763. var t1, i, t2, t3, nextColon;
  40764. for (t1 = argument.length, i = 0; i < t1; ++i) {
  40765. if (i === 1) {
  40766. t2 = i - 1;
  40767. if (t1 > t2 + 2) {
  40768. t3 = B.JSString_methods.codeUnitAt$1(argument, t2);
  40769. if (!(t3 >= 97 && t3 <= 122))
  40770. t3 = t3 >= 65 && t3 <= 90;
  40771. else
  40772. t3 = true;
  40773. t2 = t3 && B.JSString_methods.codeUnitAt$1(argument, t2 + 1) === 58;
  40774. } else
  40775. t2 = false;
  40776. } else
  40777. t2 = false;
  40778. if (t2)
  40779. continue;
  40780. if (B.JSString_methods._codeUnitAt$1(argument, i) === 58) {
  40781. t2 = i + 1;
  40782. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  40783. if (nextColon === i + 2)
  40784. if (t1 > t2 + 2) {
  40785. t1 = B.JSString_methods._codeUnitAt$1(argument, t2);
  40786. if (!(t1 >= 97 && t1 <= 122))
  40787. t1 = t1 >= 65 && t1 <= 90;
  40788. else
  40789. t1 = true;
  40790. t1 = t1 && B.JSString_methods._codeUnitAt$1(argument, t2 + 1) === 58;
  40791. } else
  40792. t1 = false;
  40793. else
  40794. t1 = false;
  40795. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  40796. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  40797. return new A.Tuple2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2), type$.Tuple2_String_String);
  40798. }
  40799. }
  40800. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  40801. },
  40802. _listSourceDirectory$2(source, destination) {
  40803. var t2, t3, t4, t5, t6, t7, parts,
  40804. t1 = type$.String;
  40805. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  40806. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String; t2.moveNext$0();) {
  40807. t6 = t2.get$current(t2);
  40808. if (this._isEntrypoint$1(t6))
  40809. t7 = !(t3 && A.ParsedPath_ParsedPath$parse(t6, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  40810. else
  40811. t7 = false;
  40812. if (t7) {
  40813. t7 = $.$get$context();
  40814. parts = A._setArrayType([destination, t7.withoutExtension$1(t7.relative$2$from(t6, source)) + ".css", null, null, null, null, null, null], t4);
  40815. A._validateArgList("join", parts);
  40816. t1.$indexSet(0, t6, t7.joinAll$1(new A.WhereTypeIterable(parts, t5)));
  40817. }
  40818. }
  40819. return t1;
  40820. },
  40821. _isEntrypoint$1(path) {
  40822. var extension,
  40823. t1 = $.$get$context().style;
  40824. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  40825. return false;
  40826. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  40827. return extension === ".scss" || extension === ".sass" || extension === ".css";
  40828. },
  40829. get$_writeToStdout() {
  40830. var t1, _this = this;
  40831. _this._ensureSources$0();
  40832. t1 = _this._sourcesToDestinations;
  40833. if (t1.get$length(t1) === 1) {
  40834. _this._ensureSources$0();
  40835. t1 = _this._sourcesToDestinations;
  40836. t1 = t1.get$values(t1);
  40837. t1 = t1.get$single(t1) == null;
  40838. } else
  40839. t1 = false;
  40840. return t1;
  40841. },
  40842. get$emitSourceMap() {
  40843. var _this = this,
  40844. _s10_ = "source-map",
  40845. _s15_ = "source-map-urls",
  40846. _s13_ = "embed-sources",
  40847. _s16_ = "embed-source-map",
  40848. t1 = _this._options;
  40849. if (!A._asBool(t1.$index(0, _s10_)))
  40850. if (t1.wasParsed$1(_s15_))
  40851. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  40852. else if (t1.wasParsed$1(_s13_))
  40853. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  40854. else if (t1.wasParsed$1(_s16_))
  40855. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  40856. if (!_this.get$_writeToStdout())
  40857. return A._asBool(t1.$index(0, _s10_));
  40858. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  40859. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  40860. if (A._asBool(t1.$index(0, _s16_)))
  40861. return A._asBool(t1.$index(0, _s10_));
  40862. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  40863. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  40864. else if (t1.wasParsed$1(_s15_))
  40865. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  40866. else if (A._asBool(t1.$index(0, _s13_)))
  40867. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  40868. else
  40869. return false;
  40870. },
  40871. sourceMapUrl$2(_, url, destination) {
  40872. var t1, path, t2, _null = null;
  40873. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  40874. return url;
  40875. t1 = $.$get$context();
  40876. path = t1.style.pathFromUri$1(A._parseUri(url));
  40877. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  40878. destination.toString;
  40879. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  40880. } else
  40881. t2 = t1.absolute$7(path, _null, _null, _null, _null, _null, _null);
  40882. return t1.toUri$1(t2);
  40883. },
  40884. _ifParsed$1($name) {
  40885. var t1 = this._options;
  40886. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  40887. }
  40888. };
  40889. A.ExecutableOptions__parser_closure.prototype = {
  40890. call$0() {
  40891. var t1 = type$.String,
  40892. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  40893. t3 = [],
  40894. 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);
  40895. parser.addOption$2$hide("precision", true);
  40896. parser.addFlag$2$hide("async", true);
  40897. t3.push(A.ExecutableOptions__separator("Input and Output"));
  40898. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  40899. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  40900. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  40901. t1 = type$.JSArray_String;
  40902. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t1), "expanded", "Output style.", "NAME");
  40903. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  40904. 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.");
  40905. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  40906. t3.push(A.ExecutableOptions__separator("Source Maps"));
  40907. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  40908. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t1), "relative", "How to link from source maps to source files.");
  40909. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  40910. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  40911. t3.push(A.ExecutableOptions__separator("Other"));
  40912. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  40913. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  40914. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  40915. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  40916. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  40917. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  40918. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  40919. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  40920. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  40921. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  40922. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  40923. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  40924. return parser;
  40925. },
  40926. $signature: 589
  40927. };
  40928. A.ExecutableOptions_interactive_closure.prototype = {
  40929. call$0() {
  40930. var invalidOptions, _i, option,
  40931. t1 = this.$this._options;
  40932. if (!A._asBool(t1.$index(0, "interactive")))
  40933. return false;
  40934. invalidOptions = ["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"];
  40935. for (_i = 0; _i < 9; ++_i) {
  40936. option = invalidOptions[_i];
  40937. if (!t1._parser.options._map.containsKey$1(option))
  40938. A.throwExpression(A.ArgumentError$('Could not find an option named "' + option + '".', null));
  40939. if (t1._parsed.containsKey$1(option))
  40940. throw A.wrapException(A.UsageException$("--" + option + " isn't allowed with --interactive."));
  40941. }
  40942. return true;
  40943. },
  40944. $signature: 26
  40945. };
  40946. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  40947. call$1(destination) {
  40948. return destination != null;
  40949. },
  40950. $signature: 190
  40951. };
  40952. A.UsageException.prototype = {$isException: 1,
  40953. get$message(receiver) {
  40954. return this.message;
  40955. }
  40956. };
  40957. A.watch_closure.prototype = {
  40958. call$1(dir) {
  40959. for (; !A.dirExists(dir);)
  40960. dir = $.$get$context().dirname$1(dir);
  40961. return this.dirWatcher.watch$1(0, dir);
  40962. },
  40963. $signature: 320
  40964. };
  40965. A._Watcher.prototype = {
  40966. compile$3$ifModified(_, source, destination, ifModified) {
  40967. return this.compile$body$_Watcher(0, source, destination, ifModified);
  40968. },
  40969. compile$2($receiver, source, destination) {
  40970. return this.compile$3$ifModified($receiver, source, destination, false);
  40971. },
  40972. compile$body$_Watcher(_, source, destination, ifModified) {
  40973. var $async$goto = 0,
  40974. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  40975. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, path, exception, t1, t2, $async$exception;
  40976. var $async$compile$3$ifModified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  40977. if ($async$errorCode === 1) {
  40978. $async$currentError = $async$result;
  40979. $async$goto = $async$handler;
  40980. }
  40981. while (true)
  40982. switch ($async$goto) {
  40983. case 0:
  40984. // Function start
  40985. $async$handler = 4;
  40986. $async$goto = 7;
  40987. return A._asyncAwait(A.compileStylesheet($async$self._watch$_options, $async$self._graph, source, destination, ifModified), $async$compile$3$ifModified);
  40988. case 7:
  40989. // returning from await.
  40990. $async$returnValue = true;
  40991. // goto return
  40992. $async$goto = 1;
  40993. break;
  40994. $async$handler = 2;
  40995. // goto after finally
  40996. $async$goto = 6;
  40997. break;
  40998. case 4:
  40999. // catch
  41000. $async$handler = 3;
  41001. $async$exception = $async$currentError;
  41002. t1 = A.unwrapException($async$exception);
  41003. if (t1 instanceof A.SassException) {
  41004. error = t1;
  41005. stackTrace = A.getTraceFromException($async$exception);
  41006. t1 = $async$self._watch$_options;
  41007. if (!t1.get$emitErrorCss())
  41008. $async$self._delete$1(destination);
  41009. t1 = J.toString$1$color$(error, t1.get$color());
  41010. t2 = A.getTrace(error);
  41011. $async$self._printError$2(t1, t2 == null ? stackTrace : t2);
  41012. J.set$exitCode$x(self.process, 65);
  41013. $async$returnValue = false;
  41014. // goto return
  41015. $async$goto = 1;
  41016. break;
  41017. } else if (t1 instanceof A.FileSystemException) {
  41018. error0 = t1;
  41019. stackTrace0 = A.getTraceFromException($async$exception);
  41020. path = error0.path;
  41021. t1 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  41022. t2 = A.getTrace(error0);
  41023. $async$self._printError$2(t1, t2 == null ? stackTrace0 : t2);
  41024. J.set$exitCode$x(self.process, 66);
  41025. $async$returnValue = false;
  41026. // goto return
  41027. $async$goto = 1;
  41028. break;
  41029. } else
  41030. throw $async$exception;
  41031. // goto after finally
  41032. $async$goto = 6;
  41033. break;
  41034. case 3:
  41035. // uncaught
  41036. // goto rethrow
  41037. $async$goto = 2;
  41038. break;
  41039. case 6:
  41040. // after finally
  41041. case 1:
  41042. // return
  41043. return A._asyncReturn($async$returnValue, $async$completer);
  41044. case 2:
  41045. // rethrow
  41046. return A._asyncRethrow($async$currentError, $async$completer);
  41047. }
  41048. });
  41049. return A._asyncStartSync($async$compile$3$ifModified, $async$completer);
  41050. },
  41051. _delete$1(path) {
  41052. var buffer, t1, exception;
  41053. try {
  41054. A.deleteFile(path);
  41055. buffer = new A.StringBuffer("");
  41056. t1 = this._watch$_options;
  41057. if (t1.get$color())
  41058. buffer._contents += "\x1b[33m";
  41059. buffer._contents += "Deleted " + path + ".";
  41060. if (t1.get$color())
  41061. buffer._contents += "\x1b[0m";
  41062. A.print(buffer);
  41063. } catch (exception) {
  41064. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  41065. throw exception;
  41066. }
  41067. },
  41068. _printError$2(message, stackTrace) {
  41069. var t2,
  41070. t1 = $.$get$stderr();
  41071. t1.writeln$1(message);
  41072. t2 = this._watch$_options._options;
  41073. if (A._asBool(t2.$index(0, "trace"))) {
  41074. t1.writeln$0();
  41075. t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
  41076. }
  41077. if (!A._asBool(t2.$index(0, "stop-on-error")))
  41078. t1.writeln$0();
  41079. },
  41080. watch$1(_, watcher) {
  41081. return this.watch$body$_Watcher(0, watcher);
  41082. },
  41083. watch$body$_Watcher(_, watcher) {
  41084. var $async$goto = 0,
  41085. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  41086. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  41087. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41088. if ($async$errorCode === 1) {
  41089. $async$currentError = $async$result;
  41090. $async$goto = $async$handler;
  41091. }
  41092. while (true)
  41093. switch ($async$goto) {
  41094. case 0:
  41095. // Function start
  41096. t1 = watcher._group.__StreamGroup__controller_A;
  41097. t1 === $ && A.throwUnnamedLateFieldNI();
  41098. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  41099. $async$handler = 3;
  41100. t2 = $async$self._watch$_options._options;
  41101. case 6:
  41102. // for condition
  41103. $async$goto = 8;
  41104. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  41105. case 8:
  41106. // returning from await.
  41107. if (!$async$result) {
  41108. // goto after for
  41109. $async$goto = 7;
  41110. break;
  41111. }
  41112. $event = t1.get$current(t1);
  41113. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  41114. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  41115. // goto for condition
  41116. $async$goto = 6;
  41117. break;
  41118. }
  41119. case 9:
  41120. // switch
  41121. switch ($event.type) {
  41122. case B.ChangeType_modify:
  41123. // goto case
  41124. $async$goto = 11;
  41125. break;
  41126. case B.ChangeType_add:
  41127. // goto case
  41128. $async$goto = 12;
  41129. break;
  41130. case B.ChangeType_remove:
  41131. // goto case
  41132. $async$goto = 13;
  41133. break;
  41134. default:
  41135. // goto after switch
  41136. $async$goto = 10;
  41137. break;
  41138. }
  41139. break;
  41140. case 11:
  41141. // case
  41142. $async$goto = 14;
  41143. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  41144. case 14:
  41145. // returning from await.
  41146. success = $async$result;
  41147. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  41148. $async$next = [1];
  41149. // goto finally
  41150. $async$goto = 4;
  41151. break;
  41152. }
  41153. // goto after switch
  41154. $async$goto = 10;
  41155. break;
  41156. case 12:
  41157. // case
  41158. $async$goto = 15;
  41159. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  41160. case 15:
  41161. // returning from await.
  41162. success0 = $async$result;
  41163. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  41164. $async$next = [1];
  41165. // goto finally
  41166. $async$goto = 4;
  41167. break;
  41168. }
  41169. // goto after switch
  41170. $async$goto = 10;
  41171. break;
  41172. case 13:
  41173. // case
  41174. $async$goto = 16;
  41175. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  41176. case 16:
  41177. // returning from await.
  41178. success1 = $async$result;
  41179. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  41180. $async$next = [1];
  41181. // goto finally
  41182. $async$goto = 4;
  41183. break;
  41184. }
  41185. // goto after switch
  41186. $async$goto = 10;
  41187. break;
  41188. case 10:
  41189. // after switch
  41190. // goto for condition
  41191. $async$goto = 6;
  41192. break;
  41193. case 7:
  41194. // after for
  41195. $async$next.push(5);
  41196. // goto finally
  41197. $async$goto = 4;
  41198. break;
  41199. case 3:
  41200. // uncaught
  41201. $async$next = [2];
  41202. case 4:
  41203. // finally
  41204. $async$handler = 2;
  41205. $async$goto = 17;
  41206. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  41207. case 17:
  41208. // returning from await.
  41209. // goto the next finally handler
  41210. $async$goto = $async$next.pop();
  41211. break;
  41212. case 5:
  41213. // after finally
  41214. case 1:
  41215. // return
  41216. return A._asyncReturn($async$returnValue, $async$completer);
  41217. case 2:
  41218. // rethrow
  41219. return A._asyncRethrow($async$currentError, $async$completer);
  41220. }
  41221. });
  41222. return A._asyncStartSync($async$watch$1, $async$completer);
  41223. },
  41224. _handleModify$1(path) {
  41225. return this._handleModify$body$_Watcher(path);
  41226. },
  41227. _handleModify$body$_Watcher(path) {
  41228. var $async$goto = 0,
  41229. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41230. $async$returnValue, $async$self = this, t1, t2, t0, url, node;
  41231. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41232. if ($async$errorCode === 1)
  41233. return A._asyncRethrow($async$result, $async$completer);
  41234. while (true)
  41235. switch ($async$goto) {
  41236. case 0:
  41237. // Function start
  41238. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  41239. t1 = $.$get$context();
  41240. t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
  41241. t0 = t2;
  41242. t2 = t1;
  41243. t1 = t0;
  41244. } else {
  41245. t1 = $.$get$context();
  41246. t2 = t1.canonicalize$1(0, path);
  41247. t0 = t2;
  41248. t2 = t1;
  41249. t1 = t0;
  41250. }
  41251. url = t2.toUri$1(t1);
  41252. t1 = $async$self._graph;
  41253. node = t1._nodes.$index(0, url);
  41254. if (node == null) {
  41255. $async$returnValue = $async$self._handleAdd$1(path);
  41256. // goto return
  41257. $async$goto = 1;
  41258. break;
  41259. }
  41260. t1.reload$1(url);
  41261. $async$goto = 3;
  41262. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  41263. case 3:
  41264. // returning from await.
  41265. $async$returnValue = $async$result;
  41266. // goto return
  41267. $async$goto = 1;
  41268. break;
  41269. case 1:
  41270. // return
  41271. return A._asyncReturn($async$returnValue, $async$completer);
  41272. }
  41273. });
  41274. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  41275. },
  41276. _handleAdd$1(path) {
  41277. return this._handleAdd$body$_Watcher(path);
  41278. },
  41279. _handleAdd$body$_Watcher(path) {
  41280. var $async$goto = 0,
  41281. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41282. $async$returnValue, $async$self = this, destination, success, t1, t2, $async$temp1;
  41283. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41284. if ($async$errorCode === 1)
  41285. return A._asyncRethrow($async$result, $async$completer);
  41286. while (true)
  41287. switch ($async$goto) {
  41288. case 0:
  41289. // Function start
  41290. destination = $async$self._destinationFor$1(path);
  41291. $async$temp1 = destination == null;
  41292. if ($async$temp1)
  41293. $async$result = $async$temp1;
  41294. else {
  41295. // goto then
  41296. $async$goto = 3;
  41297. break;
  41298. }
  41299. // goto join
  41300. $async$goto = 4;
  41301. break;
  41302. case 3:
  41303. // then
  41304. $async$goto = 5;
  41305. return A._asyncAwait($async$self.compile$2(0, path, destination), $async$_handleAdd$1);
  41306. case 5:
  41307. // returning from await.
  41308. case 4:
  41309. // join
  41310. success = $async$result;
  41311. t1 = $.$get$context();
  41312. t2 = t1.absolute$7(".", null, null, null, null, null, null);
  41313. $async$goto = 6;
  41314. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(new A.FilesystemImporter(t2), t1.toUri$1(J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin") ? A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null)) : t1.canonicalize$1(0, path)), t1.toUri$1(path))), $async$_handleAdd$1);
  41315. case 6:
  41316. // returning from await.
  41317. $async$returnValue = $async$result && success;
  41318. // goto return
  41319. $async$goto = 1;
  41320. break;
  41321. case 1:
  41322. // return
  41323. return A._asyncReturn($async$returnValue, $async$completer);
  41324. }
  41325. });
  41326. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  41327. },
  41328. _handleRemove$1(path) {
  41329. return this._handleRemove$body$_Watcher(path);
  41330. },
  41331. _handleRemove$body$_Watcher(path) {
  41332. var $async$goto = 0,
  41333. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41334. $async$returnValue, $async$self = this, t1, t2, t0, url, t3, destination, node, toRecompile;
  41335. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41336. if ($async$errorCode === 1)
  41337. return A._asyncRethrow($async$result, $async$completer);
  41338. while (true)
  41339. switch ($async$goto) {
  41340. case 0:
  41341. // Function start
  41342. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  41343. t1 = $.$get$context();
  41344. t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(path), null, null, null, null, null, null));
  41345. t0 = t2;
  41346. t2 = t1;
  41347. t1 = t0;
  41348. } else {
  41349. t1 = $.$get$context();
  41350. t2 = t1.canonicalize$1(0, path);
  41351. t0 = t2;
  41352. t2 = t1;
  41353. t1 = t0;
  41354. }
  41355. url = t2.toUri$1(t1);
  41356. t1 = $async$self._graph;
  41357. t3 = t1._nodes;
  41358. if (t3.containsKey$1(url)) {
  41359. destination = $async$self._destinationFor$1(path);
  41360. if (destination != null)
  41361. $async$self._delete$1(destination);
  41362. }
  41363. t2 = t2.absolute$7(".", null, null, null, null, null, null);
  41364. node = t3.remove$1(0, url);
  41365. t3 = node != null;
  41366. if (t3) {
  41367. t1._transitiveModificationTimes.clear$0(0);
  41368. t1.importCache.clearImport$1(url);
  41369. node._stylesheet_graph$_remove$0();
  41370. }
  41371. toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t2), url);
  41372. if (t3)
  41373. toRecompile.addAll$1(0, node._downstream);
  41374. $async$goto = 3;
  41375. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  41376. case 3:
  41377. // returning from await.
  41378. $async$returnValue = $async$result;
  41379. // goto return
  41380. $async$goto = 1;
  41381. break;
  41382. case 1:
  41383. // return
  41384. return A._asyncReturn($async$returnValue, $async$completer);
  41385. }
  41386. });
  41387. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  41388. },
  41389. _debounceEvents$1(events) {
  41390. var t1 = type$.WatchEvent;
  41391. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  41392. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  41393. },
  41394. _recompileDownstream$1(nodes) {
  41395. return this._recompileDownstream$body$_Watcher(nodes);
  41396. },
  41397. _recompileDownstream$body$_Watcher(nodes) {
  41398. var $async$goto = 0,
  41399. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41400. $async$returnValue, $async$self = this, t2, allSucceeded, node, success, t1, seen, toRecompile;
  41401. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41402. if ($async$errorCode === 1)
  41403. return A._asyncRethrow($async$result, $async$completer);
  41404. while (true)
  41405. switch ($async$goto) {
  41406. case 0:
  41407. // Function start
  41408. t1 = type$.StylesheetNode;
  41409. seen = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  41410. toRecompile = A.ListQueue_ListQueue$of(nodes, t1);
  41411. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = $async$self._watch$_options._options, allSucceeded = true;
  41412. case 3:
  41413. // for condition
  41414. if (!!toRecompile.get$isEmpty(toRecompile)) {
  41415. // goto after for
  41416. $async$goto = 4;
  41417. break;
  41418. }
  41419. node = toRecompile.removeFirst$0();
  41420. if (!seen.add$1(0, node)) {
  41421. // goto for condition
  41422. $async$goto = 3;
  41423. break;
  41424. }
  41425. $async$goto = 5;
  41426. return A._asyncAwait($async$self._compileIfEntrypoint$1(node.canonicalUrl), $async$_recompileDownstream$1);
  41427. case 5:
  41428. // returning from await.
  41429. success = $async$result;
  41430. allSucceeded = allSucceeded && success;
  41431. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  41432. $async$returnValue = false;
  41433. // goto return
  41434. $async$goto = 1;
  41435. break;
  41436. }
  41437. toRecompile.addAll$1(0, new A.UnmodifiableSetView(node._downstream, t1));
  41438. // goto for condition
  41439. $async$goto = 3;
  41440. break;
  41441. case 4:
  41442. // after for
  41443. $async$returnValue = allSucceeded;
  41444. // goto return
  41445. $async$goto = 1;
  41446. break;
  41447. case 1:
  41448. // return
  41449. return A._asyncReturn($async$returnValue, $async$completer);
  41450. }
  41451. });
  41452. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  41453. },
  41454. _compileIfEntrypoint$1(url) {
  41455. return this._compileIfEntrypoint$body$_Watcher(url);
  41456. },
  41457. _compileIfEntrypoint$body$_Watcher(url) {
  41458. var $async$goto = 0,
  41459. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  41460. $async$returnValue, $async$self = this, source, destination;
  41461. var $async$_compileIfEntrypoint$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41462. if ($async$errorCode === 1)
  41463. return A._asyncRethrow($async$result, $async$completer);
  41464. while (true)
  41465. switch ($async$goto) {
  41466. case 0:
  41467. // Function start
  41468. if (url.get$scheme() !== "file") {
  41469. $async$returnValue = true;
  41470. // goto return
  41471. $async$goto = 1;
  41472. break;
  41473. }
  41474. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  41475. destination = $async$self._destinationFor$1(source);
  41476. if (destination == null) {
  41477. $async$returnValue = true;
  41478. // goto return
  41479. $async$goto = 1;
  41480. break;
  41481. }
  41482. $async$goto = 3;
  41483. return A._asyncAwait($async$self.compile$2(0, source, destination), $async$_compileIfEntrypoint$1);
  41484. case 3:
  41485. // returning from await.
  41486. $async$returnValue = $async$result;
  41487. // goto return
  41488. $async$goto = 1;
  41489. break;
  41490. case 1:
  41491. // return
  41492. return A._asyncReturn($async$returnValue, $async$completer);
  41493. }
  41494. });
  41495. return A._asyncStartSync($async$_compileIfEntrypoint$1, $async$completer);
  41496. },
  41497. _destinationFor$1(source) {
  41498. var t2, destination, t3, t4, t5, t6, parts,
  41499. t1 = this._watch$_options;
  41500. t1._ensureSources$0();
  41501. t2 = type$.String;
  41502. destination = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  41503. if (destination != null)
  41504. return destination;
  41505. t3 = $.$get$context();
  41506. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  41507. return null;
  41508. t1._ensureSources$0();
  41509. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  41510. t1 === $ && A.throwUnnamedLateFieldNI();
  41511. t2 = t1.cast$2$0(0, t2, t2);
  41512. t2 = t2.get$entries(t2);
  41513. t2 = t2.get$iterator(t2);
  41514. t1 = type$.JSArray_nullable_String;
  41515. t4 = type$.WhereTypeIterable_String;
  41516. for (; t2.moveNext$0();) {
  41517. t5 = t2.get$current(t2);
  41518. t6 = t5.key;
  41519. if (t3._isWithinOrEquals$2(t6, source) !== B._PathRelation_within)
  41520. continue;
  41521. parts = A._setArrayType([t5.value, t3.withoutExtension$1(t3.relative$2$from(source, t6)) + ".css", null, null, null, null, null, null], t1);
  41522. A._validateArgList("join", parts);
  41523. destination = t3.joinAll$1(new A.WhereTypeIterable(parts, t4));
  41524. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  41525. return destination;
  41526. }
  41527. return null;
  41528. }
  41529. };
  41530. A._Watcher__debounceEvents_closure.prototype = {
  41531. call$1(buffer) {
  41532. var t2, t3, t4, oldType,
  41533. t1 = A.PathMap__create(null, type$.ChangeType);
  41534. for (t2 = J.get$iterator$ax(buffer); t2.moveNext$0();) {
  41535. t3 = t2.get$current(t2);
  41536. t4 = t3.path;
  41537. oldType = t1.$index(0, t4);
  41538. if (oldType == null)
  41539. t1.$indexSet(0, t4, t3.type);
  41540. else if (t3.type === B.ChangeType_remove)
  41541. t1.$indexSet(0, t4, B.ChangeType_remove);
  41542. else if (oldType !== B.ChangeType_add)
  41543. t1.$indexSet(0, t4, B.ChangeType_modify);
  41544. }
  41545. t2 = A._setArrayType([], type$.JSArray_WatchEvent);
  41546. for (t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  41547. t3 = t1.get$current(t1);
  41548. t4 = t3.value;
  41549. t3 = t3.key;
  41550. t3.toString;
  41551. t2.push(new A.WatchEvent(t4, t3));
  41552. }
  41553. return t2;
  41554. },
  41555. $signature: 321
  41556. };
  41557. A.EmptyExtensionStore.prototype = {
  41558. get$isEmpty(_) {
  41559. return true;
  41560. },
  41561. get$simpleSelectors() {
  41562. return B.C_EmptyUnmodifiableSet;
  41563. },
  41564. extensionsWhereTarget$1(callback) {
  41565. return B.List_empty5;
  41566. },
  41567. addSelector$3(selector, span, mediaContext) {
  41568. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  41569. },
  41570. addExtension$4(extender, target, extend, mediaContext) {
  41571. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  41572. },
  41573. addExtensions$1(extenders) {
  41574. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  41575. },
  41576. clone$0() {
  41577. return B.Tuple2_EmptyExtensionStore_Map_empty;
  41578. },
  41579. $isExtensionStore: 1
  41580. };
  41581. A.Extension.prototype = {
  41582. toString$0(_) {
  41583. var t1 = this.extender.toString$0(0),
  41584. t2 = this.target.toString$0(0),
  41585. t3 = this.isOptional ? " !optional" : "";
  41586. return t1 + " {@extend " + t2 + t3 + "}";
  41587. }
  41588. };
  41589. A.Extender.prototype = {
  41590. assertCompatibleMediaContext$1(mediaContext) {
  41591. var expectedMediaContext,
  41592. extension = this._extension;
  41593. if (extension == null)
  41594. return;
  41595. expectedMediaContext = extension.mediaContext;
  41596. if (expectedMediaContext == null)
  41597. return;
  41598. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  41599. return;
  41600. throw A.wrapException(A.SassException$(string$.You_ma, extension.span));
  41601. },
  41602. toString$0(_) {
  41603. return A.serializeSelector(this.selector, true);
  41604. }
  41605. };
  41606. A.ExtensionStore.prototype = {
  41607. get$isEmpty(_) {
  41608. return this._extensions.__js_helper$_length === 0;
  41609. },
  41610. get$simpleSelectors() {
  41611. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  41612. },
  41613. extensionsWhereTarget$1($async$callback) {
  41614. var $async$self = this;
  41615. return A._makeSyncStarIterable(function() {
  41616. var callback = $async$callback;
  41617. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  41618. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  41619. if ($async$errorCode === 1) {
  41620. $async$currentError = $async$result;
  41621. $async$goto = $async$handler;
  41622. }
  41623. while (true)
  41624. switch ($async$goto) {
  41625. case 0:
  41626. // Function start
  41627. t1 = $async$self._extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  41628. case 2:
  41629. // for condition
  41630. if (!t1.moveNext$0()) {
  41631. // goto after for
  41632. $async$goto = 3;
  41633. break;
  41634. }
  41635. t2 = t1.get$current(t1);
  41636. if (!callback.call$1(t2.key)) {
  41637. // goto for condition
  41638. $async$goto = 2;
  41639. break;
  41640. }
  41641. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  41642. case 4:
  41643. // for condition
  41644. if (!t2.moveNext$0()) {
  41645. // goto after for
  41646. $async$goto = 5;
  41647. break;
  41648. }
  41649. t3 = t2.get$current(t2);
  41650. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  41651. break;
  41652. case 6:
  41653. // then
  41654. t3 = t3.unmerge$0();
  41655. $async$goto = 9;
  41656. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  41657. case 9:
  41658. // after yield
  41659. // goto join
  41660. $async$goto = 7;
  41661. break;
  41662. case 8:
  41663. // else
  41664. $async$goto = !t3.isOptional ? 10 : 11;
  41665. break;
  41666. case 10:
  41667. // then
  41668. $async$goto = 12;
  41669. return t3;
  41670. case 12:
  41671. // after yield
  41672. case 11:
  41673. // join
  41674. case 7:
  41675. // join
  41676. // goto for condition
  41677. $async$goto = 4;
  41678. break;
  41679. case 5:
  41680. // after for
  41681. // goto for condition
  41682. $async$goto = 2;
  41683. break;
  41684. case 3:
  41685. // after for
  41686. // implicit return
  41687. return A._IterationMarker_endOfIteration();
  41688. case 1:
  41689. // rethrow
  41690. return A._IterationMarker_uncaughtError($async$currentError);
  41691. }
  41692. };
  41693. }, type$.Extension);
  41694. },
  41695. addSelector$3(selector, selectorSpan, mediaContext) {
  41696. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  41697. selector = selector;
  41698. originalSelector = selector;
  41699. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  41700. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._originals, _i = 0; _i < t2; ++_i)
  41701. t3.add$1(0, t1[_i]);
  41702. t1 = _this._extensions;
  41703. if (t1.__js_helper$_length !== 0)
  41704. try {
  41705. selector = _this._extendList$4(originalSelector, selectorSpan, t1, mediaContext);
  41706. } catch (exception) {
  41707. t1 = A.unwrapException(exception);
  41708. if (t1 instanceof A.SassException) {
  41709. error = t1;
  41710. stackTrace = A.getTraceFromException(exception);
  41711. t1 = error;
  41712. t2 = J.getInterceptor$z(t1);
  41713. t3 = error;
  41714. t4 = J.getInterceptor$z(t3);
  41715. A.throwWithTrace(new A.SassException("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  41716. } else
  41717. throw exception;
  41718. }
  41719. modifiableSelector = new A.ModifiableCssValue(selector, selectorSpan, type$.ModifiableCssValue_SelectorList);
  41720. if (mediaContext != null)
  41721. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  41722. _this._registerSelector$2(selector, modifiableSelector);
  41723. return modifiableSelector;
  41724. },
  41725. _registerSelector$2(list, selector) {
  41726. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  41727. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
  41728. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  41729. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  41730. simple = t6[_i1];
  41731. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  41732. if (!(simple instanceof A.PseudoSelector))
  41733. continue;
  41734. selectorInPseudo = simple.selector;
  41735. if (selectorInPseudo != null)
  41736. this._registerSelector$2(selectorInPseudo, selector);
  41737. }
  41738. },
  41739. addExtension$4(extender, target, extend, mediaContext) {
  41740. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
  41741. selectors = _this._selectors.$index(0, target),
  41742. t1 = _this._extensionsByExtender,
  41743. existingExtensions = t1.$index(0, target),
  41744. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  41745. for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector, t11 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
  41746. complex = t2[_i];
  41747. if (complex.accept$1(B.C__IsUselessVisitor))
  41748. continue;
  41749. complex.get$specificity();
  41750. t12 = new A.Extender(complex, false, t6);
  41751. extension = t12._extension = new A.Extension(t12, target, mediaContext, t8, t7);
  41752. existingExtension = sources.$index(0, complex);
  41753. if (existingExtension != null) {
  41754. sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
  41755. continue;
  41756. }
  41757. sources.$indexSet(0, complex, extension);
  41758. for (t12 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
  41759. t13 = t12.get$current(t12);
  41760. J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure0()), extension);
  41761. t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure1(complex));
  41762. }
  41763. if (!t4 || t9) {
  41764. if (newExtensions == null)
  41765. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
  41766. newExtensions.$indexSet(0, complex, extension);
  41767. }
  41768. }
  41769. if (newExtensions == null)
  41770. return;
  41771. t1 = type$.SimpleSelector;
  41772. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  41773. if (t9) {
  41774. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  41775. if (additionalExtensions != null)
  41776. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
  41777. }
  41778. if (!t4)
  41779. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  41780. },
  41781. _simpleSelectors$1(complex) {
  41782. return this._simpleSelectors$body$ExtensionStore(complex);
  41783. },
  41784. _simpleSelectors$body$ExtensionStore($async$complex) {
  41785. var $async$self = this;
  41786. return A._makeSyncStarIterable(function() {
  41787. var complex = $async$complex;
  41788. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  41789. return function $async$_simpleSelectors$1($async$errorCode, $async$result) {
  41790. if ($async$errorCode === 1) {
  41791. $async$currentError = $async$result;
  41792. $async$goto = $async$handler;
  41793. }
  41794. while (true)
  41795. switch ($async$goto) {
  41796. case 0:
  41797. // Function start
  41798. t1 = complex.components, t2 = t1.length, _i = 0;
  41799. case 2:
  41800. // for condition
  41801. if (!(_i < t2)) {
  41802. // goto after for
  41803. $async$goto = 4;
  41804. break;
  41805. }
  41806. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  41807. case 5:
  41808. // for condition
  41809. if (!(_i0 < t4)) {
  41810. // goto after for
  41811. $async$goto = 7;
  41812. break;
  41813. }
  41814. simple = t3[_i0];
  41815. $async$goto = 8;
  41816. return simple;
  41817. case 8:
  41818. // after yield
  41819. if (!(simple instanceof A.PseudoSelector)) {
  41820. // goto for update
  41821. $async$goto = 6;
  41822. break;
  41823. }
  41824. selector = simple.selector;
  41825. if (selector == null) {
  41826. // goto for update
  41827. $async$goto = 6;
  41828. break;
  41829. }
  41830. t5 = selector.components, t6 = t5.length, _i1 = 0;
  41831. case 9:
  41832. // for condition
  41833. if (!(_i1 < t6)) {
  41834. // goto after for
  41835. $async$goto = 11;
  41836. break;
  41837. }
  41838. $async$goto = 12;
  41839. return A._IterationMarker_yieldStar($async$self._simpleSelectors$1(t5[_i1]));
  41840. case 12:
  41841. // after yield
  41842. case 10:
  41843. // for update
  41844. ++_i1;
  41845. // goto for condition
  41846. $async$goto = 9;
  41847. break;
  41848. case 11:
  41849. // after for
  41850. case 6:
  41851. // for update
  41852. ++_i0;
  41853. // goto for condition
  41854. $async$goto = 5;
  41855. break;
  41856. case 7:
  41857. // after for
  41858. case 3:
  41859. // for update
  41860. ++_i;
  41861. // goto for condition
  41862. $async$goto = 2;
  41863. break;
  41864. case 4:
  41865. // after for
  41866. // implicit return
  41867. return A._IterationMarker_endOfIteration();
  41868. case 1:
  41869. // rethrow
  41870. return A._IterationMarker_uncaughtError($async$currentError);
  41871. }
  41872. };
  41873. }, type$.SimpleSelector);
  41874. },
  41875. _extendExistingExtensions$2(extensions, newExtensions) {
  41876. 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;
  41877. 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) {
  41878. extension = t1[_i];
  41879. t7 = t6.$index(0, extension.target);
  41880. t7.toString;
  41881. selectors = null;
  41882. try {
  41883. selectors = this._extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
  41884. if (selectors == null)
  41885. continue;
  41886. } catch (exception) {
  41887. t8 = A.unwrapException(exception);
  41888. if (t8 instanceof A.SassException) {
  41889. error = t8;
  41890. stackTrace = A.getTraceFromException(exception);
  41891. t8 = error;
  41892. t9 = J.getInterceptor$z(t8);
  41893. A.throwWithTrace(new A.SassException("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
  41894. } else
  41895. throw exception;
  41896. }
  41897. t8 = J.get$first$ax(selectors);
  41898. t9 = extension.extender.selector;
  41899. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  41900. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  41901. complex = t8[_i0];
  41902. if (containsExtension && first) {
  41903. first = false;
  41904. continue;
  41905. }
  41906. t10 = extension;
  41907. t11 = t10.extender;
  41908. t12 = t10.target;
  41909. t13 = t10.span;
  41910. t14 = t10.mediaContext;
  41911. t10 = t10.isOptional;
  41912. complex.get$specificity();
  41913. t11 = new A.Extender(complex, false, t11.span);
  41914. withExtender = t11._extension = new A.Extension(t11, t12, t14, t10, t13);
  41915. existingExtension = t7.$index(0, complex);
  41916. if (existingExtension != null)
  41917. t7.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, withExtender));
  41918. else {
  41919. t7.$indexSet(0, complex, withExtender);
  41920. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  41921. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  41922. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  41923. if (newExtensions.containsKey$1(extension.target)) {
  41924. if (additionalExtensions == null)
  41925. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  41926. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, complex, withExtender);
  41927. }
  41928. }
  41929. }
  41930. if (!containsExtension)
  41931. t7.remove$1(0, extension.extender);
  41932. }
  41933. return additionalExtensions;
  41934. },
  41935. _extendExistingSelectors$2(selectors, newExtensions) {
  41936. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
  41937. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  41938. selector = t1.get$current(t1);
  41939. oldValue = selector.value;
  41940. try {
  41941. selector.value = this._extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
  41942. } catch (exception) {
  41943. t3 = A.unwrapException(exception);
  41944. if (t3 instanceof A.SassException) {
  41945. error = t3;
  41946. stackTrace = A.getTraceFromException(exception);
  41947. t3 = error;
  41948. t4 = J.getInterceptor$z(t3);
  41949. A.throwWithTrace(new A.SassException("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  41950. } else
  41951. throw exception;
  41952. }
  41953. if (oldValue === selector.value)
  41954. continue;
  41955. this._registerSelector$2(selector.value, selector);
  41956. }
  41957. },
  41958. addExtensions$1(extensionStores) {
  41959. var t1, t2, t3, _box_0 = {};
  41960. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  41961. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._sourceSpecificity; t1.moveNext$0();) {
  41962. t3 = t1.get$current(t1);
  41963. if (t3.get$isEmpty(t3))
  41964. continue;
  41965. t2.addAll$1(0, t3.get$_sourceSpecificity());
  41966. t3.get$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure(_box_0, this));
  41967. }
  41968. A.NullableExtension_andThen(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure0(_box_0, this));
  41969. },
  41970. _extendList$4(list, listSpan, extensions, mediaQueryContext) {
  41971. var t1, t2, t3, extended, i, complex, result, t4;
  41972. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  41973. complex = t1[i];
  41974. result = this._extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
  41975. if (result == null) {
  41976. if (extended != null)
  41977. extended.push(complex);
  41978. } else {
  41979. if (extended == null)
  41980. if (i === 0)
  41981. extended = A._setArrayType([], t3);
  41982. else {
  41983. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  41984. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  41985. }
  41986. B.JSArray_methods.addAll$1(extended, result);
  41987. }
  41988. }
  41989. if (extended == null)
  41990. return list;
  41991. t1 = this._originals;
  41992. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)));
  41993. },
  41994. _extendList$3(list, listSpan, extensions) {
  41995. return this._extendList$4(list, listSpan, extensions, null);
  41996. },
  41997. _extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
  41998. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, t11, extendedNotExpanded, i, component, extended, t12, result, t13, t14, t15, t16, _null = null,
  41999. _s56_ = string$.leadin,
  42000. _box_0 = {},
  42001. t1 = complex.leadingCombinators,
  42002. t2 = t1.length;
  42003. if (t2 > 1)
  42004. return _null;
  42005. isOriginal = this._originals.contains$1(0, complex);
  42006. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector, t6 = type$.Combinator, t7 = type$.ComplexSelectorComponent, t8 = complex.lineBreak, t9 = !t8, t10 = type$.JSArray_ComplexSelector, t2 = t2 === 0, t11 = type$.JSArray_ComplexSelectorComponent, extendedNotExpanded = _null, i = 0; i < t4; ++i) {
  42007. component = t3[i];
  42008. extended = this._extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
  42009. if (extended == null) {
  42010. if (extendedNotExpanded != null) {
  42011. t12 = A._setArrayType([component], t11);
  42012. result = A.List_List$from(B.List_empty0, false, t6);
  42013. result.fixed$length = Array;
  42014. result.immutable$list = Array;
  42015. t13 = result;
  42016. result = A.List_List$from(t12, false, t7);
  42017. result.fixed$length = Array;
  42018. result.immutable$list = Array;
  42019. t12 = result;
  42020. if (t13.length === 0 && t12.length === 0)
  42021. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42022. extendedNotExpanded.push(A._setArrayType([new A.ComplexSelector(t13, t12, t8)], t10));
  42023. }
  42024. } else if (extendedNotExpanded != null)
  42025. extendedNotExpanded.push(extended);
  42026. else if (i !== 0) {
  42027. t12 = A._arrayInstanceType(t3);
  42028. t13 = new A.SubListIterable(t3, 0, i, t12._eval$1("SubListIterable<1>"));
  42029. t13.SubListIterable$3(t3, 0, i, t12._precomputed1);
  42030. result = A.List_List$from(t1, false, t6);
  42031. result.fixed$length = Array;
  42032. result.immutable$list = Array;
  42033. t12 = result;
  42034. result = A.List_List$from(t13, false, t7);
  42035. result.fixed$length = Array;
  42036. result.immutable$list = Array;
  42037. t13 = result;
  42038. if (t12.length === 0 && t13.length === 0)
  42039. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42040. extendedNotExpanded = A._setArrayType([A._setArrayType([new A.ComplexSelector(t12, t13, t8)], t10), extended], t5);
  42041. } else if (t2)
  42042. extendedNotExpanded = A._setArrayType([extended], t5);
  42043. else {
  42044. t12 = A._setArrayType([], t10);
  42045. for (t13 = J.get$iterator$ax(extended); t13.moveNext$0();) {
  42046. t14 = t13.get$current(t13);
  42047. t15 = t14.leadingCombinators;
  42048. if (t15.length === 0 || B.C_ListEquality.equals$2(0, t1, t15)) {
  42049. t15 = t14.components;
  42050. t14 = !t9 || t14.lineBreak;
  42051. result = A.List_List$from(t1, false, t6);
  42052. result.fixed$length = Array;
  42053. result.immutable$list = Array;
  42054. t16 = result;
  42055. result = A.List_List$from(t15, false, t7);
  42056. result.fixed$length = Array;
  42057. result.immutable$list = Array;
  42058. t15 = result;
  42059. if (t16.length === 0 && t15.length === 0)
  42060. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42061. t12.push(new A.ComplexSelector(t16, t15, t14));
  42062. }
  42063. }
  42064. extendedNotExpanded = A._setArrayType([t12], t5);
  42065. }
  42066. }
  42067. if (extendedNotExpanded == null)
  42068. return _null;
  42069. _box_0.first = true;
  42070. t1 = type$.ComplexSelector;
  42071. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  42072. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  42073. },
  42074. _extendCompound$5$inOriginal(component, componentSpan, extensions, mediaQueryContext, inOriginal) {
  42075. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, options, i, simple, extended, result, t13, t14, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  42076. _s28_ = "components may not be empty.",
  42077. _s56_ = string$.leadin,
  42078. t1 = _this._mode,
  42079. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  42080. simples = component.selector.components;
  42081. for (t2 = simples.length, t3 = type$.JSArray_List_Extender, t4 = type$.JSArray_Extender, t5 = type$.Combinator, t6 = type$.JSArray_ComplexSelectorComponent, t7 = type$.ComplexSelectorComponent, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = type$.SimpleSelector, t11 = _this._sourceSpecificity, t12 = type$.JSArray_SimpleSelector, options = _null, i = 0; i < t2; ++i) {
  42082. simple = simples[i];
  42083. extended = _this._extendSimple$5(simple, componentSpan, extensions, mediaQueryContext, targetsUsed);
  42084. if (extended == null) {
  42085. if (options != null) {
  42086. result = A.List_List$from(A._setArrayType([simple], t12), false, t10);
  42087. result.fixed$length = Array;
  42088. result.immutable$list = Array;
  42089. t13 = result;
  42090. if (t13.length === 0)
  42091. A.throwExpression(A.ArgumentError$(_s28_, _null));
  42092. result = A.List_List$from(B.List_empty0, false, t5);
  42093. result.fixed$length = Array;
  42094. result.immutable$list = Array;
  42095. t13 = A._setArrayType([new A.ComplexSelectorComponent(new A.CompoundSelector(t13), result)], t6);
  42096. result = A.List_List$from(B.List_empty0, false, t5);
  42097. result.fixed$length = Array;
  42098. result.immutable$list = Array;
  42099. t14 = result;
  42100. result = A.List_List$from(t13, false, t7);
  42101. result.fixed$length = Array;
  42102. result.immutable$list = Array;
  42103. t13 = result;
  42104. if (t14.length === 0 && t13.length === 0)
  42105. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42106. t11.$index(0, simple);
  42107. options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t14, t13, false), true, componentSpan)], t4));
  42108. }
  42109. } else {
  42110. if (options == null) {
  42111. options = A._setArrayType([], t3);
  42112. if (i !== 0) {
  42113. t13 = new A.SubListIterable(simples, 0, i, t8);
  42114. t13.SubListIterable$3(simples, 0, i, t9);
  42115. result = A.List_List$from(t13, false, t10);
  42116. result.fixed$length = Array;
  42117. result.immutable$list = Array;
  42118. t13 = result;
  42119. compound = new A.CompoundSelector(t13);
  42120. if (t13.length === 0)
  42121. A.throwExpression(A.ArgumentError$(_s28_, _null));
  42122. result = A.List_List$from(B.List_empty0, false, t5);
  42123. result.fixed$length = Array;
  42124. result.immutable$list = Array;
  42125. t13 = A._setArrayType([new A.ComplexSelectorComponent(compound, result)], t6);
  42126. result = A.List_List$from(B.List_empty0, false, t5);
  42127. result.fixed$length = Array;
  42128. result.immutable$list = Array;
  42129. t14 = result;
  42130. result = A.List_List$from(t13, false, t7);
  42131. result.fixed$length = Array;
  42132. result.immutable$list = Array;
  42133. t13 = result;
  42134. if (t14.length === 0 && t13.length === 0)
  42135. A.throwExpression(A.ArgumentError$(_s56_, _null));
  42136. _this._sourceSpecificityFor$1(compound);
  42137. options.push(A._setArrayType([new A.Extender(new A.ComplexSelector(t14, t13, false), true, componentSpan)], t4));
  42138. }
  42139. }
  42140. B.JSArray_methods.addAll$1(options, extended);
  42141. }
  42142. }
  42143. if (options == null)
  42144. return _null;
  42145. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  42146. return _null;
  42147. if (options.length === 1) {
  42148. for (t1 = J.get$iterator$ax(B.JSArray_methods.get$first(options)), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  42149. t4 = t1.get$current(t1);
  42150. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  42151. complex = t4.selector.withAdditionalCombinators$1(t2);
  42152. if (complex.accept$1(B.C__IsUselessVisitor))
  42153. continue;
  42154. if (result == null)
  42155. result = A._setArrayType([], t3);
  42156. result.push(complex);
  42157. }
  42158. return result;
  42159. }
  42160. extenderPaths = A.paths(options, type$.Extender);
  42161. t2 = A._setArrayType([], type$.JSArray_ComplexSelector);
  42162. t1 = t1 === B.ExtendMode_replace_replace;
  42163. t3 = !t1;
  42164. if (t3)
  42165. t2.push(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure(), t10)), A.List_List$unmodifiable(component.combinators, t5))], t6), false));
  42166. t4 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  42167. t4 = t4.get$iterator(t4);
  42168. t5 = component.combinators;
  42169. for (; t4.moveNext$0();) {
  42170. extended = _this._unifyExtenders$2(t4.get$current(t4), mediaQueryContext);
  42171. if (extended == null)
  42172. continue;
  42173. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  42174. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  42175. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  42176. t2.push(withCombinators);
  42177. }
  42178. }
  42179. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  42180. return _this._trim$2(t2, inOriginal && t3 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t2)) : isOriginal);
  42181. },
  42182. _unifyExtenders$2(extenders, mediaQueryContext) {
  42183. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  42184. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  42185. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  42186. t4 = t2.get$current(t2);
  42187. if (t4.isOriginal) {
  42188. if (originals == null)
  42189. originals = A._setArrayType([], t3);
  42190. t4 = t4.selector;
  42191. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  42192. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  42193. } else {
  42194. t4 = t4.selector;
  42195. if (t4.accept$1(B.C__IsUselessVisitor))
  42196. return _null;
  42197. else
  42198. toUnify._queue_list$_add$1(t4);
  42199. }
  42200. }
  42201. if (originals != null)
  42202. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals), A.List_List$unmodifiable(B.List_empty0, type$.Combinator))], type$.JSArray_ComplexSelectorComponent), originalsLineBreak));
  42203. complexes = A.unifyComplex(toUnify);
  42204. if (complexes == null)
  42205. return _null;
  42206. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  42207. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  42208. return complexes;
  42209. },
  42210. _extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
  42211. var extended,
  42212. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed, simpleSpan);
  42213. if (simple instanceof A.PseudoSelector && simple.selector != null) {
  42214. extended = this._extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
  42215. if (extended != null)
  42216. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
  42217. }
  42218. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  42219. },
  42220. _extenderForSimple$2(simple, span) {
  42221. var t1 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector)), A.List_List$unmodifiable(B.List_empty0, type$.Combinator))], type$.JSArray_ComplexSelectorComponent), false);
  42222. this._sourceSpecificity.$index(0, simple);
  42223. return new A.Extender(t1, true, span);
  42224. },
  42225. _extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
  42226. var extended, complexes, t1, result,
  42227. selector = pseudo.selector;
  42228. if (selector == null)
  42229. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  42230. extended = this._extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
  42231. if (extended === selector)
  42232. return null;
  42233. complexes = extended.components;
  42234. t1 = pseudo.normalizedName === "not";
  42235. 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()))
  42236. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  42237. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  42238. if (t1 && selector.components.length === 1) {
  42239. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  42240. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  42241. return result.length === 0 ? null : result;
  42242. } else
  42243. return A._setArrayType([A.PseudoSelector$(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$(complexes))], type$.JSArray_PseudoSelector);
  42244. },
  42245. _trim$2(selectors, isOriginal) {
  42246. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  42247. if (selectors.length > 100)
  42248. return selectors;
  42249. result = A.QueueList$(null, type$.ComplexSelector);
  42250. $label0$0:
  42251. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  42252. _box_0 = {};
  42253. complex1 = selectors[i];
  42254. if (isOriginal.call$1(complex1)) {
  42255. for (j = 0; j < numOriginals; ++j)
  42256. if (J.$eq$(result.$index(0, j), complex1)) {
  42257. A.rotateSlice(result, 0, j + 1);
  42258. continue $label0$0;
  42259. }
  42260. ++numOriginals;
  42261. result.addFirst$1(complex1);
  42262. continue $label0$0;
  42263. }
  42264. _box_0.maxSpecificity = 0;
  42265. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  42266. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  42267. _box_0.maxSpecificity = maxSpecificity;
  42268. }
  42269. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  42270. continue $label0$0;
  42271. t3 = new A.SubListIterable(selectors, 0, i, t1);
  42272. t3.SubListIterable$3(selectors, 0, i, t2);
  42273. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  42274. continue $label0$0;
  42275. result.addFirst$1(complex1);
  42276. }
  42277. return result;
  42278. },
  42279. _sourceSpecificityFor$1(compound) {
  42280. var t1, t2, t3, specificity, _i, t4;
  42281. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  42282. t4 = t3.$index(0, t1[_i]);
  42283. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  42284. }
  42285. return specificity;
  42286. },
  42287. clone$0() {
  42288. var t3, t4, _this = this,
  42289. t1 = type$.SimpleSelector,
  42290. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList),
  42291. t2 = type$.ModifiableCssValue_SelectorList,
  42292. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery),
  42293. oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList, t2);
  42294. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  42295. t2 = type$.Extension;
  42296. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  42297. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  42298. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int);
  42299. t1.addAll$1(0, _this._sourceSpecificity);
  42300. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  42301. t4.addAll$1(0, _this._originals);
  42302. 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_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
  42303. },
  42304. get$_extensions() {
  42305. return this._extensions;
  42306. },
  42307. get$_sourceSpecificity() {
  42308. return this._sourceSpecificity;
  42309. }
  42310. };
  42311. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  42312. call$1(extension) {
  42313. return !extension.isOptional;
  42314. },
  42315. $signature: 324
  42316. };
  42317. A.ExtensionStore__registerSelector_closure.prototype = {
  42318. call$0() {
  42319. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList);
  42320. },
  42321. $signature: 326
  42322. };
  42323. A.ExtensionStore_addExtension_closure.prototype = {
  42324. call$0() {
  42325. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  42326. },
  42327. $signature: 120
  42328. };
  42329. A.ExtensionStore_addExtension_closure0.prototype = {
  42330. call$0() {
  42331. return A._setArrayType([], type$.JSArray_Extension);
  42332. },
  42333. $signature: 206
  42334. };
  42335. A.ExtensionStore_addExtension_closure1.prototype = {
  42336. call$0() {
  42337. return this.complex.get$specificity();
  42338. },
  42339. $signature: 12
  42340. };
  42341. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  42342. call$0() {
  42343. return A._setArrayType([], type$.JSArray_Extension);
  42344. },
  42345. $signature: 206
  42346. };
  42347. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  42348. call$0() {
  42349. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  42350. },
  42351. $signature: 120
  42352. };
  42353. A.ExtensionStore_addExtensions_closure.prototype = {
  42354. call$2(target, newSources) {
  42355. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  42356. if (target instanceof A.PlaceholderSelector) {
  42357. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  42358. t1 = first === 45 || first === 95;
  42359. } else
  42360. t1 = false;
  42361. if (t1)
  42362. return;
  42363. t1 = _this.$this;
  42364. extensionsForTarget = t1._extensionsByExtender.$index(0, target);
  42365. t2 = extensionsForTarget == null;
  42366. if (!t2) {
  42367. t3 = _this._box_0;
  42368. t4 = t3.extensionsToExtend;
  42369. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension) : t4, extensionsForTarget);
  42370. }
  42371. selectorsForTarget = t1._selectors.$index(0, target);
  42372. t3 = selectorsForTarget != null;
  42373. if (t3) {
  42374. t4 = _this._box_0;
  42375. t5 = t4.selectorsToExtend;
  42376. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList) : t5).addAll$1(0, selectorsForTarget);
  42377. }
  42378. t1 = t1._extensions;
  42379. existingSources = t1.$index(0, target);
  42380. if (existingSources == null) {
  42381. t4 = type$.ComplexSelector;
  42382. t5 = type$.Extension;
  42383. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  42384. if (!t2 || t3) {
  42385. t1 = _this._box_0;
  42386. t2 = t1.newExtensions;
  42387. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  42388. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  42389. }
  42390. } else
  42391. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure1(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  42392. },
  42393. $signature: 333
  42394. };
  42395. A.ExtensionStore_addExtensions__closure1.prototype = {
  42396. call$2(extender, extension) {
  42397. var t2, _this = this,
  42398. t1 = _this.existingSources;
  42399. if (t1.containsKey$1(extender)) {
  42400. t2 = t1.$index(0, extender);
  42401. extension = A.MergedExtension_merge(t2, extension);
  42402. t1.$indexSet(0, extender, extension);
  42403. } else
  42404. t1.$indexSet(0, extender, extension);
  42405. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  42406. t1 = _this._box_0;
  42407. t2 = t1.newExtensions;
  42408. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector, type$.Map_ComplexSelector_Extension) : t2;
  42409. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure()), extender, extension);
  42410. }
  42411. },
  42412. $signature: 334
  42413. };
  42414. A.ExtensionStore_addExtensions___closure.prototype = {
  42415. call$0() {
  42416. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  42417. },
  42418. $signature: 120
  42419. };
  42420. A.ExtensionStore_addExtensions_closure0.prototype = {
  42421. call$1(newExtensions) {
  42422. var t1 = this._box_0,
  42423. t2 = this.$this;
  42424. A.NullableExtension_andThen(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure(t2, newExtensions));
  42425. A.NullableExtension_andThen(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure0(t2, newExtensions));
  42426. },
  42427. $signature: 335
  42428. };
  42429. A.ExtensionStore_addExtensions__closure.prototype = {
  42430. call$1(extensionsToExtend) {
  42431. return this.$this._extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  42432. },
  42433. $signature: 336
  42434. };
  42435. A.ExtensionStore_addExtensions__closure0.prototype = {
  42436. call$1(selectorsToExtend) {
  42437. return this.$this._extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  42438. },
  42439. $signature: 337
  42440. };
  42441. A.ExtensionStore__extendComplex_closure.prototype = {
  42442. call$1(path) {
  42443. var t1 = this.complex;
  42444. return J.map$1$1$ax(A.weave(path, t1.lineBreak), new A.ExtensionStore__extendComplex__closure(this._box_0, this.$this, t1), type$.ComplexSelector);
  42445. },
  42446. $signature: 338
  42447. };
  42448. A.ExtensionStore__extendComplex__closure.prototype = {
  42449. call$1(outputComplex) {
  42450. var _this = this,
  42451. t1 = _this._box_0;
  42452. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  42453. _this.$this._originals.add$1(0, outputComplex);
  42454. t1.first = false;
  42455. return outputComplex;
  42456. },
  42457. $signature: 67
  42458. };
  42459. A.ExtensionStore__extendCompound_closure.prototype = {
  42460. call$1(extender) {
  42461. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  42462. },
  42463. $signature: 340
  42464. };
  42465. A.ExtensionStore__extendCompound_closure0.prototype = {
  42466. call$1(_) {
  42467. return false;
  42468. },
  42469. $signature: 15
  42470. };
  42471. A.ExtensionStore__extendCompound_closure1.prototype = {
  42472. call$1(complex) {
  42473. return complex.$eq(0, this.original);
  42474. },
  42475. $signature: 15
  42476. };
  42477. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  42478. call$1(simple) {
  42479. var t1, t2, _this = this,
  42480. extensionsForSimple = _this.extensions.$index(0, simple);
  42481. if (extensionsForSimple == null)
  42482. return null;
  42483. t1 = _this.targetsUsed;
  42484. if (t1 != null)
  42485. t1.add$1(0, simple);
  42486. t1 = A._setArrayType([], type$.JSArray_Extender);
  42487. t2 = _this.$this;
  42488. if (t2._mode !== B.ExtendMode_replace_replace)
  42489. t1.push(t2._extenderForSimple$2(simple, _this.simpleSpan));
  42490. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  42491. t1.push(t2.get$current(t2).extender);
  42492. return t1;
  42493. },
  42494. $signature: 341
  42495. };
  42496. A.ExtensionStore__extendSimple_closure.prototype = {
  42497. call$1(pseudo) {
  42498. var t1 = this.withoutPseudo.call$1(pseudo);
  42499. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender) : t1;
  42500. },
  42501. $signature: 342
  42502. };
  42503. A.ExtensionStore__extendSimple_closure0.prototype = {
  42504. call$1(result) {
  42505. return A._setArrayType([result], type$.JSArray_List_Extender);
  42506. },
  42507. $signature: 352
  42508. };
  42509. A.ExtensionStore__extendPseudo_closure.prototype = {
  42510. call$1(complex) {
  42511. return complex.components.length > 1;
  42512. },
  42513. $signature: 15
  42514. };
  42515. A.ExtensionStore__extendPseudo_closure0.prototype = {
  42516. call$1(complex) {
  42517. return complex.components.length === 1;
  42518. },
  42519. $signature: 15
  42520. };
  42521. A.ExtensionStore__extendPseudo_closure1.prototype = {
  42522. call$1(complex) {
  42523. return complex.components.length <= 1;
  42524. },
  42525. $signature: 15
  42526. };
  42527. A.ExtensionStore__extendPseudo_closure2.prototype = {
  42528. call$1(complex) {
  42529. var innerPseudo, innerSelector,
  42530. t1 = complex.get$singleCompound();
  42531. if (t1 == null)
  42532. innerPseudo = null;
  42533. else {
  42534. t1 = t1.components;
  42535. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  42536. }
  42537. if (!(innerPseudo instanceof A.PseudoSelector))
  42538. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  42539. innerSelector = innerPseudo.selector;
  42540. if (innerSelector == null)
  42541. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  42542. t1 = this.pseudo;
  42543. switch (t1.normalizedName) {
  42544. case "not":
  42545. if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
  42546. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42547. return innerSelector.components;
  42548. case "is":
  42549. case "matches":
  42550. case "where":
  42551. case "any":
  42552. case "current":
  42553. case "nth-child":
  42554. case "nth-last-child":
  42555. if (innerPseudo.name !== t1.name)
  42556. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42557. if (innerPseudo.argument != t1.argument)
  42558. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42559. return innerSelector.components;
  42560. case "has":
  42561. case "host":
  42562. case "host-context":
  42563. case "slotted":
  42564. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  42565. default:
  42566. return A._setArrayType([], type$.JSArray_ComplexSelector);
  42567. }
  42568. },
  42569. $signature: 354
  42570. };
  42571. A.ExtensionStore__extendPseudo_closure3.prototype = {
  42572. call$1(complex) {
  42573. var t1 = this.pseudo;
  42574. return A.PseudoSelector$(t1.name, t1.argument, !t1.isClass, A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector)));
  42575. },
  42576. $signature: 355
  42577. };
  42578. A.ExtensionStore__trim_closure.prototype = {
  42579. call$1(complex2) {
  42580. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  42581. },
  42582. $signature: 15
  42583. };
  42584. A.ExtensionStore__trim_closure0.prototype = {
  42585. call$1(complex2) {
  42586. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  42587. },
  42588. $signature: 15
  42589. };
  42590. A.ExtensionStore_clone_closure.prototype = {
  42591. call$2(simple, selectors) {
  42592. var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
  42593. t1 = type$.ModifiableCssValue_SelectorList,
  42594. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  42595. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  42596. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
  42597. t6 = t2.get$current(t2);
  42598. newSelector = new A.ModifiableCssValue(t6.value, t6.span, t1);
  42599. newSelectorSet.add$1(0, newSelector);
  42600. t3.$indexSet(0, t6, newSelector);
  42601. mediaContext = t4.$index(0, t6);
  42602. if (mediaContext != null)
  42603. t5.$indexSet(0, newSelector, mediaContext);
  42604. }
  42605. },
  42606. $signature: 356
  42607. };
  42608. A.unifyComplex_closure.prototype = {
  42609. call$1(complex) {
  42610. return complex.lineBreak;
  42611. },
  42612. $signature: 15
  42613. };
  42614. A._weaveParents_closure.prototype = {
  42615. call$2(group1, group2) {
  42616. var unified, t1;
  42617. if (B.C_ListEquality.equals$2(0, group1, group2))
  42618. return group1;
  42619. if (A._complexIsParentSuperselector(group1, group2))
  42620. return group2;
  42621. if (A._complexIsParentSuperselector(group2, group1))
  42622. return group1;
  42623. if (!A._mustUnify(group1, group2))
  42624. return null;
  42625. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty0, group1, false), A.ComplexSelector$(B.List_empty0, group2, false)], type$.JSArray_ComplexSelector));
  42626. if (unified == null)
  42627. return null;
  42628. t1 = J.getInterceptor$asx(unified);
  42629. if (t1.get$length(unified) > 1)
  42630. return null;
  42631. return t1.get$first(unified).components;
  42632. },
  42633. $signature: 357
  42634. };
  42635. A._weaveParents_closure0.prototype = {
  42636. call$1(sequence) {
  42637. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  42638. },
  42639. $signature: 358
  42640. };
  42641. A._weaveParents_closure1.prototype = {
  42642. call$1(sequence) {
  42643. return sequence.get$length(sequence) === 0;
  42644. },
  42645. $signature: 213
  42646. };
  42647. A._weaveParents_closure2.prototype = {
  42648. call$1(choice) {
  42649. return J.get$isNotEmpty$asx(choice);
  42650. },
  42651. $signature: 364
  42652. };
  42653. A._mustUnify_closure.prototype = {
  42654. call$1(component) {
  42655. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  42656. },
  42657. $signature: 50
  42658. };
  42659. A._mustUnify__closure.prototype = {
  42660. call$1(simple) {
  42661. var t1;
  42662. if (!(simple instanceof A.IDSelector))
  42663. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  42664. else
  42665. t1 = true;
  42666. return t1 && this.uniqueSelectors.contains$1(0, simple);
  42667. },
  42668. $signature: 14
  42669. };
  42670. A.paths_closure.prototype = {
  42671. call$2(paths, choice) {
  42672. var t1 = this.T;
  42673. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  42674. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  42675. },
  42676. $signature() {
  42677. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  42678. }
  42679. };
  42680. A.paths__closure.prototype = {
  42681. call$1(option) {
  42682. var t1 = this.T;
  42683. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  42684. },
  42685. $signature() {
  42686. return this.T._eval$1("Iterable<List<0>>(0)");
  42687. }
  42688. };
  42689. A.paths___closure.prototype = {
  42690. call$1(path) {
  42691. var t1 = A.List_List$of(path, true, this.T);
  42692. t1.push(this.option);
  42693. return t1;
  42694. },
  42695. $signature() {
  42696. return this.T._eval$1("List<0>(List<0>)");
  42697. }
  42698. };
  42699. A.listIsSuperselector_closure.prototype = {
  42700. call$1(complex1) {
  42701. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  42702. },
  42703. $signature: 15
  42704. };
  42705. A.listIsSuperselector__closure.prototype = {
  42706. call$1(complex2) {
  42707. return complex2.isSuperselector$1(this.complex1);
  42708. },
  42709. $signature: 15
  42710. };
  42711. A.complexIsSuperselector_closure.prototype = {
  42712. call$1($parent) {
  42713. return $parent.combinators.length > 1;
  42714. },
  42715. $signature: 50
  42716. };
  42717. A.complexIsSuperselector_closure0.prototype = {
  42718. call$1(component) {
  42719. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  42720. },
  42721. $signature: 50
  42722. };
  42723. A._selectorPseudoIsSuperselector_closure.prototype = {
  42724. call$1(selector2) {
  42725. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42726. },
  42727. $signature: 65
  42728. };
  42729. A._selectorPseudoIsSuperselector_closure0.prototype = {
  42730. call$1(complex1) {
  42731. var t1, t2, t3;
  42732. if (complex1.leadingCombinators.length === 0) {
  42733. t1 = complex1.components;
  42734. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  42735. t3 = this.parents;
  42736. if (t3 != null)
  42737. B.JSArray_methods.addAll$1(t2, t3);
  42738. t2.push(new A.ComplexSelectorComponent(this.compound2, A.List_List$unmodifiable(B.List_empty0, type$.Combinator)));
  42739. t1 = A.complexIsSuperselector(t1, t2);
  42740. } else
  42741. t1 = false;
  42742. return t1;
  42743. },
  42744. $signature: 15
  42745. };
  42746. A._selectorPseudoIsSuperselector_closure1.prototype = {
  42747. call$1(selector2) {
  42748. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42749. },
  42750. $signature: 65
  42751. };
  42752. A._selectorPseudoIsSuperselector_closure2.prototype = {
  42753. call$1(selector2) {
  42754. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42755. },
  42756. $signature: 65
  42757. };
  42758. A._selectorPseudoIsSuperselector_closure3.prototype = {
  42759. call$1(complex) {
  42760. if (complex.accept$1(B._IsBogusVisitor_true))
  42761. return false;
  42762. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  42763. },
  42764. $signature: 15
  42765. };
  42766. A._selectorPseudoIsSuperselector__closure.prototype = {
  42767. call$1(simple2) {
  42768. var selector2, _this = this;
  42769. if (simple2 instanceof A.TypeSelector)
  42770. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  42771. else if (simple2 instanceof A.IDSelector)
  42772. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  42773. else if (simple2 instanceof A.PseudoSelector && simple2.name === _this.pseudo1.name) {
  42774. selector2 = simple2.selector;
  42775. if (selector2 == null)
  42776. return false;
  42777. return A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  42778. } else
  42779. return false;
  42780. },
  42781. $signature: 14
  42782. };
  42783. A._selectorPseudoIsSuperselector___closure.prototype = {
  42784. call$1(simple1) {
  42785. var t1;
  42786. if (simple1 instanceof A.TypeSelector) {
  42787. t1 = this.simple2.name.$eq(0, simple1.name);
  42788. t1 = !t1;
  42789. } else
  42790. t1 = false;
  42791. return t1;
  42792. },
  42793. $signature: 14
  42794. };
  42795. A._selectorPseudoIsSuperselector___closure0.prototype = {
  42796. call$1(simple1) {
  42797. var t1;
  42798. if (simple1 instanceof A.IDSelector) {
  42799. t1 = simple1.name;
  42800. t1 = this.simple2.name !== t1;
  42801. } else
  42802. t1 = false;
  42803. return t1;
  42804. },
  42805. $signature: 14
  42806. };
  42807. A._selectorPseudoIsSuperselector_closure4.prototype = {
  42808. call$1(selector2) {
  42809. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  42810. return t1;
  42811. },
  42812. $signature: 65
  42813. };
  42814. A._selectorPseudoIsSuperselector_closure5.prototype = {
  42815. call$1(pseudo2) {
  42816. var t1, selector2;
  42817. if (!(pseudo2 instanceof A.PseudoSelector))
  42818. return false;
  42819. t1 = this.pseudo1;
  42820. if (pseudo2.name !== t1.name)
  42821. return false;
  42822. if (pseudo2.argument != t1.argument)
  42823. return false;
  42824. selector2 = pseudo2.selector;
  42825. if (selector2 == null)
  42826. return false;
  42827. return A.listIsSuperselector(this.selector1.components, selector2.components);
  42828. },
  42829. $signature: 14
  42830. };
  42831. A._selectorPseudoArgs_closure.prototype = {
  42832. call$1(pseudo) {
  42833. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  42834. },
  42835. $signature: 367
  42836. };
  42837. A._selectorPseudoArgs_closure0.prototype = {
  42838. call$1(pseudo) {
  42839. return pseudo.selector;
  42840. },
  42841. $signature: 368
  42842. };
  42843. A.MergedExtension.prototype = {
  42844. unmerge$0() {
  42845. var $async$self = this;
  42846. return A._makeSyncStarIterable(function() {
  42847. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  42848. return function $async$unmerge$0($async$errorCode, $async$result) {
  42849. if ($async$errorCode === 1) {
  42850. $async$currentError = $async$result;
  42851. $async$goto = $async$handler;
  42852. }
  42853. while (true)
  42854. switch ($async$goto) {
  42855. case 0:
  42856. // Function start
  42857. left = $async$self.left;
  42858. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  42859. break;
  42860. case 2:
  42861. // then
  42862. $async$goto = 5;
  42863. return A._IterationMarker_yieldStar(left.unmerge$0());
  42864. case 5:
  42865. // after yield
  42866. // goto join
  42867. $async$goto = 3;
  42868. break;
  42869. case 4:
  42870. // else
  42871. $async$goto = 6;
  42872. return left;
  42873. case 6:
  42874. // after yield
  42875. case 3:
  42876. // join
  42877. right = $async$self.right;
  42878. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  42879. break;
  42880. case 7:
  42881. // then
  42882. $async$goto = 10;
  42883. return A._IterationMarker_yieldStar(right.unmerge$0());
  42884. case 10:
  42885. // after yield
  42886. // goto join
  42887. $async$goto = 8;
  42888. break;
  42889. case 9:
  42890. // else
  42891. $async$goto = 11;
  42892. return right;
  42893. case 11:
  42894. // after yield
  42895. case 8:
  42896. // join
  42897. // implicit return
  42898. return A._IterationMarker_endOfIteration();
  42899. case 1:
  42900. // rethrow
  42901. return A._IterationMarker_uncaughtError($async$currentError);
  42902. }
  42903. };
  42904. }, type$.Extension);
  42905. }
  42906. };
  42907. A.ExtendMode.prototype = {
  42908. toString$0(_) {
  42909. return this.name;
  42910. }
  42911. };
  42912. A.globalFunctions_closure.prototype = {
  42913. call$1($arguments) {
  42914. var t1 = J.getInterceptor$asx($arguments);
  42915. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  42916. },
  42917. $signature: 4
  42918. };
  42919. A.global_closure.prototype = {
  42920. call$1($arguments) {
  42921. return A._rgb("rgb", $arguments);
  42922. },
  42923. $signature: 4
  42924. };
  42925. A.global_closure0.prototype = {
  42926. call$1($arguments) {
  42927. return A._rgb("rgb", $arguments);
  42928. },
  42929. $signature: 4
  42930. };
  42931. A.global_closure1.prototype = {
  42932. call$1($arguments) {
  42933. return A._rgbTwoArg("rgb", $arguments);
  42934. },
  42935. $signature: 4
  42936. };
  42937. A.global_closure2.prototype = {
  42938. call$1($arguments) {
  42939. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  42940. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  42941. },
  42942. $signature: 4
  42943. };
  42944. A.global_closure3.prototype = {
  42945. call$1($arguments) {
  42946. return A._rgb("rgba", $arguments);
  42947. },
  42948. $signature: 4
  42949. };
  42950. A.global_closure4.prototype = {
  42951. call$1($arguments) {
  42952. return A._rgb("rgba", $arguments);
  42953. },
  42954. $signature: 4
  42955. };
  42956. A.global_closure5.prototype = {
  42957. call$1($arguments) {
  42958. return A._rgbTwoArg("rgba", $arguments);
  42959. },
  42960. $signature: 4
  42961. };
  42962. A.global_closure6.prototype = {
  42963. call$1($arguments) {
  42964. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  42965. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  42966. },
  42967. $signature: 4
  42968. };
  42969. A.global_closure7.prototype = {
  42970. call$1($arguments) {
  42971. var color, t2,
  42972. t1 = J.getInterceptor$asx($arguments),
  42973. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  42974. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  42975. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  42976. throw A.wrapException(string$.Only_oa);
  42977. return A._functionString("invert", t1.take$1($arguments, 1));
  42978. }
  42979. color = t1.$index($arguments, 0).assertColor$1("color");
  42980. t1 = color.get$red(color);
  42981. t2 = color.get$green(color);
  42982. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  42983. },
  42984. $signature: 4
  42985. };
  42986. A.global_closure8.prototype = {
  42987. call$1($arguments) {
  42988. return A._hsl("hsl", $arguments);
  42989. },
  42990. $signature: 4
  42991. };
  42992. A.global_closure9.prototype = {
  42993. call$1($arguments) {
  42994. return A._hsl("hsl", $arguments);
  42995. },
  42996. $signature: 4
  42997. };
  42998. A.global_closure10.prototype = {
  42999. call$1($arguments) {
  43000. var t1 = J.getInterceptor$asx($arguments);
  43001. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  43002. return A._functionString("hsl", $arguments);
  43003. else
  43004. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  43005. },
  43006. $signature: 18
  43007. };
  43008. A.global_closure11.prototype = {
  43009. call$1($arguments) {
  43010. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  43011. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  43012. },
  43013. $signature: 4
  43014. };
  43015. A.global_closure12.prototype = {
  43016. call$1($arguments) {
  43017. return A._hsl("hsla", $arguments);
  43018. },
  43019. $signature: 4
  43020. };
  43021. A.global_closure13.prototype = {
  43022. call$1($arguments) {
  43023. return A._hsl("hsla", $arguments);
  43024. },
  43025. $signature: 4
  43026. };
  43027. A.global_closure14.prototype = {
  43028. call$1($arguments) {
  43029. var t1 = J.getInterceptor$asx($arguments);
  43030. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  43031. return A._functionString("hsla", $arguments);
  43032. else
  43033. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  43034. },
  43035. $signature: 18
  43036. };
  43037. A.global_closure15.prototype = {
  43038. call$1($arguments) {
  43039. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  43040. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  43041. },
  43042. $signature: 4
  43043. };
  43044. A.global_closure16.prototype = {
  43045. call$1($arguments) {
  43046. var t1 = J.getInterceptor$asx($arguments);
  43047. if (t1.$index($arguments, 0) instanceof A.SassNumber)
  43048. return A._functionString("grayscale", $arguments);
  43049. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  43050. },
  43051. $signature: 4
  43052. };
  43053. A.global_closure17.prototype = {
  43054. call$1($arguments) {
  43055. var t1 = J.getInterceptor$asx($arguments),
  43056. color = t1.$index($arguments, 0).assertColor$1("color"),
  43057. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  43058. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  43059. },
  43060. $signature: 23
  43061. };
  43062. A.global_closure18.prototype = {
  43063. call$1($arguments) {
  43064. var t1 = J.getInterceptor$asx($arguments),
  43065. color = t1.$index($arguments, 0).assertColor$1("color"),
  43066. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43067. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43068. },
  43069. $signature: 23
  43070. };
  43071. A.global_closure19.prototype = {
  43072. call$1($arguments) {
  43073. var t1 = J.getInterceptor$asx($arguments),
  43074. color = t1.$index($arguments, 0).assertColor$1("color"),
  43075. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43076. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43077. },
  43078. $signature: 23
  43079. };
  43080. A.global_closure20.prototype = {
  43081. call$1($arguments) {
  43082. return new A.SassString("saturate(" + A.serializeValue(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  43083. },
  43084. $signature: 18
  43085. };
  43086. A.global_closure21.prototype = {
  43087. call$1($arguments) {
  43088. var t1 = J.getInterceptor$asx($arguments),
  43089. color = t1.$index($arguments, 0).assertColor$1("color"),
  43090. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43091. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43092. },
  43093. $signature: 23
  43094. };
  43095. A.global_closure22.prototype = {
  43096. call$1($arguments) {
  43097. var t1 = J.getInterceptor$asx($arguments),
  43098. color = t1.$index($arguments, 0).assertColor$1("color"),
  43099. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  43100. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  43101. },
  43102. $signature: 23
  43103. };
  43104. A.global_closure23.prototype = {
  43105. call$1($arguments) {
  43106. var argument = J.$index$asx($arguments, 0);
  43107. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  43108. return A._functionString("alpha", $arguments);
  43109. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  43110. },
  43111. $signature: 4
  43112. };
  43113. A.global_closure24.prototype = {
  43114. call$1($arguments) {
  43115. var t1,
  43116. argList = J.$index$asx($arguments, 0).get$asList();
  43117. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  43118. return A._functionString("alpha", $arguments);
  43119. t1 = argList.length;
  43120. if (t1 === 0)
  43121. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  43122. else
  43123. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  43124. },
  43125. $signature: 18
  43126. };
  43127. A.global__closure.prototype = {
  43128. call$1(argument) {
  43129. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  43130. },
  43131. $signature: 63
  43132. };
  43133. A.global_closure25.prototype = {
  43134. call$1($arguments) {
  43135. var t1 = J.getInterceptor$asx($arguments);
  43136. if (t1.$index($arguments, 0) instanceof A.SassNumber)
  43137. return A._functionString("opacity", $arguments);
  43138. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  43139. },
  43140. $signature: 4
  43141. };
  43142. A.module_closure.prototype = {
  43143. call$1($arguments) {
  43144. var result, t2, color,
  43145. t1 = J.getInterceptor$asx($arguments),
  43146. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  43147. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  43148. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  43149. throw A.wrapException(string$.Only_oa);
  43150. result = A._functionString("invert", t1.take$1($arguments, 1));
  43151. t1 = A.S(t1.$index($arguments, 0));
  43152. t2 = result.toString$0(0);
  43153. A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
  43154. return result;
  43155. }
  43156. color = t1.$index($arguments, 0).assertColor$1("color");
  43157. t1 = color.get$red(color);
  43158. t2 = color.get$green(color);
  43159. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  43160. },
  43161. $signature: 4
  43162. };
  43163. A.module_closure0.prototype = {
  43164. call$1($arguments) {
  43165. var result, t2,
  43166. t1 = J.getInterceptor$asx($arguments);
  43167. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  43168. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  43169. t1 = A.S(t1.$index($arguments, 0));
  43170. t2 = result.toString$0(0);
  43171. A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
  43172. return result;
  43173. }
  43174. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  43175. },
  43176. $signature: 4
  43177. };
  43178. A.module_closure1.prototype = {
  43179. call$1($arguments) {
  43180. return A._hwb($arguments);
  43181. },
  43182. $signature: 4
  43183. };
  43184. A.module_closure2.prototype = {
  43185. call$1($arguments) {
  43186. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  43187. if (parsed instanceof A.SassString)
  43188. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  43189. else
  43190. return A._hwb(type$.List_Value._as(parsed));
  43191. },
  43192. $signature: 4
  43193. };
  43194. A.module_closure3.prototype = {
  43195. call$1($arguments) {
  43196. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43197. return A.SassNumber_SassNumber(t1.get$whiteness(t1), "%");
  43198. },
  43199. $signature: 11
  43200. };
  43201. A.module_closure4.prototype = {
  43202. call$1($arguments) {
  43203. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43204. return A.SassNumber_SassNumber(t1.get$blackness(t1), "%");
  43205. },
  43206. $signature: 11
  43207. };
  43208. A.module_closure5.prototype = {
  43209. call$1($arguments) {
  43210. var result, t1,
  43211. argument = J.$index$asx($arguments, 0);
  43212. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  43213. result = A._functionString("alpha", $arguments);
  43214. t1 = result.toString$0(0);
  43215. A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
  43216. return result;
  43217. }
  43218. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  43219. },
  43220. $signature: 4
  43221. };
  43222. A.module_closure6.prototype = {
  43223. call$1($arguments) {
  43224. var result,
  43225. t1 = J.getInterceptor$asx($arguments);
  43226. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure())) {
  43227. result = A._functionString("alpha", $arguments);
  43228. t1 = result.toString$0(0);
  43229. A.EvaluationContext_current().warn$2$deprecation(0, string$.Using_c + t1, true);
  43230. return result;
  43231. }
  43232. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  43233. },
  43234. $signature: 18
  43235. };
  43236. A.module__closure.prototype = {
  43237. call$1(argument) {
  43238. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  43239. },
  43240. $signature: 63
  43241. };
  43242. A.module_closure7.prototype = {
  43243. call$1($arguments) {
  43244. var result, t2,
  43245. t1 = J.getInterceptor$asx($arguments);
  43246. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  43247. result = A._functionString("opacity", $arguments);
  43248. t1 = A.S(t1.$index($arguments, 0));
  43249. t2 = result.toString$0(0);
  43250. A.EvaluationContext_current().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
  43251. return result;
  43252. }
  43253. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  43254. },
  43255. $signature: 4
  43256. };
  43257. A._red_closure.prototype = {
  43258. call$1($arguments) {
  43259. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43260. return A.SassNumber_SassNumber(t1.get$red(t1), null);
  43261. },
  43262. $signature: 11
  43263. };
  43264. A._green_closure.prototype = {
  43265. call$1($arguments) {
  43266. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43267. return A.SassNumber_SassNumber(t1.get$green(t1), null);
  43268. },
  43269. $signature: 11
  43270. };
  43271. A._blue_closure.prototype = {
  43272. call$1($arguments) {
  43273. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43274. return A.SassNumber_SassNumber(t1.get$blue(t1), null);
  43275. },
  43276. $signature: 11
  43277. };
  43278. A._mix_closure.prototype = {
  43279. call$1($arguments) {
  43280. var t1 = J.getInterceptor$asx($arguments);
  43281. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  43282. },
  43283. $signature: 23
  43284. };
  43285. A._hue_closure.prototype = {
  43286. call$1($arguments) {
  43287. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43288. return A.SassNumber_SassNumber(t1.get$hue(t1), "deg");
  43289. },
  43290. $signature: 11
  43291. };
  43292. A._saturation_closure.prototype = {
  43293. call$1($arguments) {
  43294. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43295. return A.SassNumber_SassNumber(t1.get$saturation(t1), "%");
  43296. },
  43297. $signature: 11
  43298. };
  43299. A._lightness_closure.prototype = {
  43300. call$1($arguments) {
  43301. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  43302. return A.SassNumber_SassNumber(t1.get$lightness(t1), "%");
  43303. },
  43304. $signature: 11
  43305. };
  43306. A._complement_closure.prototype = {
  43307. call$1($arguments) {
  43308. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  43309. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  43310. },
  43311. $signature: 23
  43312. };
  43313. A._adjust_closure.prototype = {
  43314. call$1($arguments) {
  43315. return A._updateComponents($arguments, true, false, false);
  43316. },
  43317. $signature: 23
  43318. };
  43319. A._scale_closure.prototype = {
  43320. call$1($arguments) {
  43321. return A._updateComponents($arguments, false, false, true);
  43322. },
  43323. $signature: 23
  43324. };
  43325. A._change_closure.prototype = {
  43326. call$1($arguments) {
  43327. return A._updateComponents($arguments, false, true, false);
  43328. },
  43329. $signature: 23
  43330. };
  43331. A._ieHexStr_closure.prototype = {
  43332. call$1($arguments) {
  43333. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  43334. t1 = new A._ieHexStr_closure_hexString();
  43335. 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);
  43336. },
  43337. $signature: 18
  43338. };
  43339. A._ieHexStr_closure_hexString.prototype = {
  43340. call$1(component) {
  43341. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  43342. },
  43343. $signature: 222
  43344. };
  43345. A._updateComponents_getParam.prototype = {
  43346. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  43347. var t2, t3, t4, _this = this,
  43348. t1 = _this.keywords.remove$1(0, $name),
  43349. number = t1 == null ? null : t1.assertNumber$1($name);
  43350. if (number == null)
  43351. return null;
  43352. t1 = _this.scale;
  43353. t2 = !t1;
  43354. if (t2 && checkUnitless)
  43355. if (number.get$hasUnits()) {
  43356. t3 = number.get$unitString();
  43357. t4 = number.unitSuggestion$1($name);
  43358. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, true);
  43359. }
  43360. if (t2 && checkPercent)
  43361. A._checkPercent(number, $name);
  43362. if (!t2 || assertPercent)
  43363. number.assertUnit$2("%", $name);
  43364. if (t1)
  43365. max = 100;
  43366. if (!t2 || assertPercent)
  43367. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  43368. else {
  43369. t1 = _this.change ? 0 : -max;
  43370. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  43371. }
  43372. return t1;
  43373. },
  43374. call$2($name, max) {
  43375. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  43376. },
  43377. call$3$checkUnitless($name, max, checkUnitless) {
  43378. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  43379. },
  43380. call$3$checkPercent($name, max, checkPercent) {
  43381. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  43382. },
  43383. call$3$assertPercent($name, max, assertPercent) {
  43384. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  43385. },
  43386. $signature: 224
  43387. };
  43388. A._updateComponents_closure.prototype = {
  43389. call$1(hue) {
  43390. return A._angleValue(hue, "hue");
  43391. },
  43392. $signature: 94
  43393. };
  43394. A._updateComponents_closure0.prototype = {
  43395. call$1($name) {
  43396. return "$" + $name;
  43397. },
  43398. $signature: 5
  43399. };
  43400. A._updateComponents_updateValue.prototype = {
  43401. call$3(current, param, max) {
  43402. var t1;
  43403. if (param == null)
  43404. return current;
  43405. if (this.change)
  43406. return param;
  43407. if (this.adjust)
  43408. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  43409. t1 = param > 0 ? max - current : current;
  43410. return current + t1 * (param / 100);
  43411. },
  43412. $signature: 229
  43413. };
  43414. A._updateComponents_updateRgb.prototype = {
  43415. call$2(current, param) {
  43416. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  43417. },
  43418. $signature: 230
  43419. };
  43420. A._functionString_closure.prototype = {
  43421. call$1(argument) {
  43422. return A.serializeValue(argument, false, true);
  43423. },
  43424. $signature: 443
  43425. };
  43426. A._removedColorFunction_closure.prototype = {
  43427. call$1($arguments) {
  43428. var t1 = this.name,
  43429. t2 = J.getInterceptor$asx($arguments),
  43430. t3 = A.S(t2.$index($arguments, 0)),
  43431. t4 = this.negative ? "-" : "";
  43432. throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1, null));
  43433. },
  43434. $signature: 517
  43435. };
  43436. A._rgb_closure.prototype = {
  43437. call$1(alpha) {
  43438. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  43439. },
  43440. $signature: 94
  43441. };
  43442. A._hsl_closure.prototype = {
  43443. call$1(alpha) {
  43444. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  43445. },
  43446. $signature: 94
  43447. };
  43448. A._hwb_closure.prototype = {
  43449. call$1(alpha) {
  43450. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  43451. },
  43452. $signature: 94
  43453. };
  43454. A._parseChannels_closure.prototype = {
  43455. call$1(value) {
  43456. return value.get$isVar();
  43457. },
  43458. $signature: 63
  43459. };
  43460. A._length_closure0.prototype = {
  43461. call$1($arguments) {
  43462. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  43463. },
  43464. $signature: 11
  43465. };
  43466. A._nth_closure.prototype = {
  43467. call$1($arguments) {
  43468. var t1 = J.getInterceptor$asx($arguments),
  43469. list = t1.$index($arguments, 0),
  43470. index = t1.$index($arguments, 1);
  43471. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  43472. },
  43473. $signature: 4
  43474. };
  43475. A._setNth_closure.prototype = {
  43476. call$1($arguments) {
  43477. var t1 = J.getInterceptor$asx($arguments),
  43478. list = t1.$index($arguments, 0),
  43479. index = t1.$index($arguments, 1),
  43480. value = t1.$index($arguments, 2),
  43481. t2 = list.get$asList(),
  43482. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  43483. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  43484. return t1.$index($arguments, 0).withListContents$1(newList);
  43485. },
  43486. $signature: 22
  43487. };
  43488. A._join_closure.prototype = {
  43489. call$1($arguments) {
  43490. var separator, bracketed,
  43491. t1 = J.getInterceptor$asx($arguments),
  43492. list1 = t1.$index($arguments, 0),
  43493. list2 = t1.$index($arguments, 1),
  43494. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  43495. bracketedParam = t1.$index($arguments, 3);
  43496. t1 = separatorParam._string$_text;
  43497. if (t1 === "auto")
  43498. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided)
  43499. separator = list1.get$separator(list1);
  43500. else
  43501. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided ? list2.get$separator(list2) : B.ListSeparator_EVt;
  43502. else if (t1 === "space")
  43503. separator = B.ListSeparator_EVt;
  43504. else if (t1 === "comma")
  43505. separator = B.ListSeparator_rXA;
  43506. else {
  43507. if (t1 !== "slash")
  43508. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  43509. separator = B.ListSeparator_zg9;
  43510. }
  43511. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  43512. t1 = A.List_List$of(list1.get$asList(), true, type$.Value);
  43513. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  43514. return A.SassList$(t1, separator, bracketed);
  43515. },
  43516. $signature: 22
  43517. };
  43518. A._append_closure0.prototype = {
  43519. call$1($arguments) {
  43520. var separator,
  43521. t1 = J.getInterceptor$asx($arguments),
  43522. list = t1.$index($arguments, 0),
  43523. value = t1.$index($arguments, 1);
  43524. t1 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  43525. if (t1 === "auto")
  43526. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_EVt : list.get$separator(list);
  43527. else if (t1 === "space")
  43528. separator = B.ListSeparator_EVt;
  43529. else if (t1 === "comma")
  43530. separator = B.ListSeparator_rXA;
  43531. else {
  43532. if (t1 !== "slash")
  43533. throw A.wrapException(A.SassScriptException$(string$.x24separ, null));
  43534. separator = B.ListSeparator_zg9;
  43535. }
  43536. t1 = A.List_List$of(list.get$asList(), true, type$.Value);
  43537. t1.push(value);
  43538. return list.withListContents$2$separator(t1, separator);
  43539. },
  43540. $signature: 22
  43541. };
  43542. A._zip_closure.prototype = {
  43543. call$1($arguments) {
  43544. var results, result, _box_0 = {},
  43545. t1 = J.$index$asx($arguments, 0).get$asList(),
  43546. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  43547. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  43548. if (lists.length === 0)
  43549. return B.SassList_Sof;
  43550. _box_0.i = 0;
  43551. results = A._setArrayType([], type$.JSArray_SassList);
  43552. 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));) {
  43553. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  43554. result.fixed$length = Array;
  43555. result.immutable$list = Array;
  43556. results.push(new A.SassList(result, B.ListSeparator_EVt, false));
  43557. ++_box_0.i;
  43558. }
  43559. return A.SassList$(results, B.ListSeparator_rXA, false);
  43560. },
  43561. $signature: 22
  43562. };
  43563. A._zip__closure.prototype = {
  43564. call$1(list) {
  43565. return list.get$asList();
  43566. },
  43567. $signature: 553
  43568. };
  43569. A._zip__closure0.prototype = {
  43570. call$1(list) {
  43571. return this._box_0.i !== J.get$length$asx(list);
  43572. },
  43573. $signature: 554
  43574. };
  43575. A._zip__closure1.prototype = {
  43576. call$1(list) {
  43577. return J.$index$asx(list, this._box_0.i);
  43578. },
  43579. $signature: 4
  43580. };
  43581. A._index_closure0.prototype = {
  43582. call$1($arguments) {
  43583. var t1 = J.getInterceptor$asx($arguments),
  43584. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  43585. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  43586. },
  43587. $signature: 4
  43588. };
  43589. A._separator_closure.prototype = {
  43590. call$1($arguments) {
  43591. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  43592. case B.ListSeparator_rXA:
  43593. return new A.SassString("comma", false);
  43594. case B.ListSeparator_zg9:
  43595. return new A.SassString("slash", false);
  43596. default:
  43597. return new A.SassString("space", false);
  43598. }
  43599. },
  43600. $signature: 18
  43601. };
  43602. A._isBracketed_closure.prototype = {
  43603. call$1($arguments) {
  43604. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  43605. },
  43606. $signature: 20
  43607. };
  43608. A._slash_closure.prototype = {
  43609. call$1($arguments) {
  43610. var list = J.$index$asx($arguments, 0).get$asList();
  43611. if (list.length < 2)
  43612. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  43613. return A.SassList$(list, B.ListSeparator_zg9, false);
  43614. },
  43615. $signature: 22
  43616. };
  43617. A._get_closure.prototype = {
  43618. call$1($arguments) {
  43619. var value,
  43620. t1 = J.getInterceptor$asx($arguments),
  43621. map = t1.$index($arguments, 0).assertMap$1("map"),
  43622. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43623. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43624. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  43625. value = map._map$_contents.$index(0, t1.get$current(t1));
  43626. if (!(value instanceof A.SassMap))
  43627. return B.C__SassNull;
  43628. }
  43629. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  43630. return t1 == null ? B.C__SassNull : t1;
  43631. },
  43632. $signature: 4
  43633. };
  43634. A._set_closure.prototype = {
  43635. call$1($arguments) {
  43636. var t1 = J.getInterceptor$asx($arguments);
  43637. 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);
  43638. },
  43639. $signature: 4
  43640. };
  43641. A._set__closure0.prototype = {
  43642. call$1(_) {
  43643. return J.$index$asx(this.$arguments, 2);
  43644. },
  43645. $signature: 36
  43646. };
  43647. A._set_closure0.prototype = {
  43648. call$1($arguments) {
  43649. var t1 = J.getInterceptor$asx($arguments),
  43650. map = t1.$index($arguments, 0).assertMap$1("map"),
  43651. args = t1.$index($arguments, 1).get$asList();
  43652. t1 = args.length;
  43653. if (t1 === 0)
  43654. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  43655. else if (t1 === 1)
  43656. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  43657. return A._modify(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure(args), true);
  43658. },
  43659. $signature: 4
  43660. };
  43661. A._set__closure.prototype = {
  43662. call$1(_) {
  43663. return B.JSArray_methods.get$last(this.args);
  43664. },
  43665. $signature: 36
  43666. };
  43667. A._merge_closure.prototype = {
  43668. call$1($arguments) {
  43669. var t2,
  43670. t1 = J.getInterceptor$asx($arguments),
  43671. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  43672. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  43673. t1 = type$.Value;
  43674. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  43675. t2.addAll$1(0, map2._map$_contents);
  43676. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  43677. },
  43678. $signature: 37
  43679. };
  43680. A._merge_closure0.prototype = {
  43681. call$1($arguments) {
  43682. var map2,
  43683. t1 = J.getInterceptor$asx($arguments),
  43684. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  43685. args = t1.$index($arguments, 1).get$asList();
  43686. t1 = args.length;
  43687. if (t1 === 0)
  43688. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  43689. else if (t1 === 1)
  43690. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", null));
  43691. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  43692. return A._modify(map1, A.IterableExtension_get_exceptLast(args), new A._merge__closure(map2), true);
  43693. },
  43694. $signature: 4
  43695. };
  43696. A._merge__closure.prototype = {
  43697. call$1(oldValue) {
  43698. var t1, t2,
  43699. nestedMap = oldValue.tryMap$0();
  43700. if (nestedMap == null)
  43701. return this.map2;
  43702. t1 = type$.Value;
  43703. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  43704. t2.addAll$1(0, this.map2._map$_contents);
  43705. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  43706. },
  43707. $signature: 345
  43708. };
  43709. A._deepMerge_closure.prototype = {
  43710. call$1($arguments) {
  43711. var t1 = J.getInterceptor$asx($arguments);
  43712. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  43713. },
  43714. $signature: 37
  43715. };
  43716. A._deepRemove_closure.prototype = {
  43717. call$1($arguments) {
  43718. var t1 = J.getInterceptor$asx($arguments),
  43719. map = t1.$index($arguments, 0).assertMap$1("map"),
  43720. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43721. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43722. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  43723. },
  43724. $signature: 4
  43725. };
  43726. A._deepRemove__closure.prototype = {
  43727. call$1(value) {
  43728. var t1, t2,
  43729. nestedMap = value.tryMap$0();
  43730. if (nestedMap != null && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  43731. t1 = type$.Value;
  43732. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  43733. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  43734. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  43735. }
  43736. return value;
  43737. },
  43738. $signature: 36
  43739. };
  43740. A._remove_closure.prototype = {
  43741. call$1($arguments) {
  43742. return J.$index$asx($arguments, 0).assertMap$1("map");
  43743. },
  43744. $signature: 37
  43745. };
  43746. A._remove_closure0.prototype = {
  43747. call$1($arguments) {
  43748. var mutableMap, t3, _i,
  43749. t1 = J.getInterceptor$asx($arguments),
  43750. map = t1.$index($arguments, 0).assertMap$1("map"),
  43751. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43752. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43753. t1 = type$.Value;
  43754. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  43755. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  43756. mutableMap.remove$1(0, t2[_i]);
  43757. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43758. },
  43759. $signature: 37
  43760. };
  43761. A._keys_closure.prototype = {
  43762. call$1($arguments) {
  43763. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  43764. return A.SassList$(t1.get$keys(t1), B.ListSeparator_rXA, false);
  43765. },
  43766. $signature: 22
  43767. };
  43768. A._values_closure.prototype = {
  43769. call$1($arguments) {
  43770. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  43771. return A.SassList$(t1.get$values(t1), B.ListSeparator_rXA, false);
  43772. },
  43773. $signature: 22
  43774. };
  43775. A._hasKey_closure.prototype = {
  43776. call$1($arguments) {
  43777. var value,
  43778. t1 = J.getInterceptor$asx($arguments),
  43779. map = t1.$index($arguments, 0).assertMap$1("map"),
  43780. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  43781. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  43782. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  43783. value = map._map$_contents.$index(0, t1.get$current(t1));
  43784. if (!(value instanceof A.SassMap))
  43785. return B.SassBoolean_false;
  43786. }
  43787. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  43788. },
  43789. $signature: 20
  43790. };
  43791. A._modify_modifyNestedMap.prototype = {
  43792. call$1(map) {
  43793. var nestedMap, _this = this,
  43794. t1 = type$.Value,
  43795. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  43796. t2 = _this.keyIterator,
  43797. key = t2.get$current(t2);
  43798. if (!t2.moveNext$0()) {
  43799. t2 = mutableMap.$index(0, key);
  43800. if (t2 == null)
  43801. t2 = B.C__SassNull;
  43802. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  43803. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43804. }
  43805. t2 = mutableMap.$index(0, key);
  43806. nestedMap = t2 == null ? null : t2.tryMap$0();
  43807. t2 = nestedMap == null;
  43808. if (t2 && !_this.addNesting)
  43809. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43810. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  43811. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  43812. },
  43813. $signature: 359
  43814. };
  43815. A._deepMergeImpl_closure.prototype = {
  43816. call$2(key, value) {
  43817. var valueMap, merged,
  43818. t1 = this.result,
  43819. t2 = t1.$index(0, key),
  43820. resultMap = t2 == null ? null : t2.tryMap$0();
  43821. if (resultMap == null)
  43822. t1.$indexSet(0, key, value);
  43823. else {
  43824. valueMap = value.tryMap$0();
  43825. if (valueMap != null) {
  43826. merged = A._deepMergeImpl(resultMap, valueMap);
  43827. if (merged === resultMap)
  43828. return;
  43829. t1.$indexSet(0, key, merged);
  43830. } else
  43831. t1.$indexSet(0, key, value);
  43832. }
  43833. },
  43834. $signature: 55
  43835. };
  43836. A._ceil_closure.prototype = {
  43837. call$1(value) {
  43838. return B.JSNumber_methods.ceil$0(value);
  43839. },
  43840. $signature: 31
  43841. };
  43842. A._clamp_closure.prototype = {
  43843. call$1($arguments) {
  43844. var t1 = J.getInterceptor$asx($arguments),
  43845. min = t1.$index($arguments, 0).assertNumber$1("min"),
  43846. number = t1.$index($arguments, 1).assertNumber$1("number"),
  43847. max = t1.$index($arguments, 2).assertNumber$1("max");
  43848. number.convertValueToMatch$3(min, "number", "min");
  43849. max.convertValueToMatch$3(min, "max", "min");
  43850. if (min.greaterThanOrEquals$1(max).value)
  43851. return min;
  43852. if (min.greaterThanOrEquals$1(number).value)
  43853. return min;
  43854. if (number.greaterThanOrEquals$1(max).value)
  43855. return max;
  43856. return number;
  43857. },
  43858. $signature: 11
  43859. };
  43860. A._floor_closure.prototype = {
  43861. call$1(value) {
  43862. return B.JSNumber_methods.floor$0(value);
  43863. },
  43864. $signature: 31
  43865. };
  43866. A._max_closure.prototype = {
  43867. call$1($arguments) {
  43868. var t1, t2, max, _i, number;
  43869. 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) {
  43870. number = t1[_i].assertNumber$0();
  43871. if (max == null || max.lessThan$1(number).value)
  43872. max = number;
  43873. }
  43874. if (max != null)
  43875. return max;
  43876. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  43877. },
  43878. $signature: 11
  43879. };
  43880. A._min_closure.prototype = {
  43881. call$1($arguments) {
  43882. var t1, t2, min, _i, number;
  43883. 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) {
  43884. number = t1[_i].assertNumber$0();
  43885. if (min == null || min.greaterThan$1(number).value)
  43886. min = number;
  43887. }
  43888. if (min != null)
  43889. return min;
  43890. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  43891. },
  43892. $signature: 11
  43893. };
  43894. A._round_closure.prototype = {
  43895. call$1(number) {
  43896. return B.JSNumber_methods.round$0(number);
  43897. },
  43898. $signature: 31
  43899. };
  43900. A._abs_closure.prototype = {
  43901. call$1(value) {
  43902. return Math.abs(value);
  43903. },
  43904. $signature: 31
  43905. };
  43906. A._hypot_closure.prototype = {
  43907. call$1($arguments) {
  43908. var subtotal, i, i0, t3, t4,
  43909. t1 = J.$index$asx($arguments, 0).get$asList(),
  43910. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  43911. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  43912. t1 = numbers.length;
  43913. if (t1 === 0)
  43914. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  43915. for (subtotal = 0, i = 0; i < t1; i = i0) {
  43916. i0 = i + 1;
  43917. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  43918. }
  43919. t1 = Math.sqrt(subtotal);
  43920. t2 = numbers[0];
  43921. t3 = J.getInterceptor$x(t2);
  43922. t4 = t3.get$numeratorUnits(t2);
  43923. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  43924. },
  43925. $signature: 11
  43926. };
  43927. A._hypot__closure.prototype = {
  43928. call$1(argument) {
  43929. return argument.assertNumber$0();
  43930. },
  43931. $signature: 316
  43932. };
  43933. A._log_closure.prototype = {
  43934. call$1($arguments) {
  43935. var base,
  43936. _s18_ = " to have no units.",
  43937. _null = null,
  43938. t1 = J.getInterceptor$asx($arguments),
  43939. number = t1.$index($arguments, 0).assertNumber$1("number");
  43940. if (number.get$hasUnits())
  43941. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  43942. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  43943. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  43944. base = t1.$index($arguments, 1).assertNumber$1("base");
  43945. if (base.get$hasUnits())
  43946. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  43947. else
  43948. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  43949. },
  43950. $signature: 11
  43951. };
  43952. A._pow_closure.prototype = {
  43953. call$1($arguments) {
  43954. var _s18_ = " to have no units.",
  43955. t1 = J.getInterceptor$asx($arguments),
  43956. base = t1.$index($arguments, 0).assertNumber$1("base"),
  43957. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  43958. if (base.get$hasUnits())
  43959. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, null));
  43960. else if (exponent.get$hasUnits())
  43961. throw A.wrapException(A.SassScriptException$("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  43962. else
  43963. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  43964. },
  43965. $signature: 11
  43966. };
  43967. A._sqrt_closure.prototype = {
  43968. call$1($arguments) {
  43969. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  43970. if (number.get$hasUnits())
  43971. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  43972. else
  43973. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  43974. },
  43975. $signature: 11
  43976. };
  43977. A._acos_closure.prototype = {
  43978. call$1($arguments) {
  43979. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  43980. if (number.get$hasUnits())
  43981. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  43982. else
  43983. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  43984. },
  43985. $signature: 11
  43986. };
  43987. A._asin_closure.prototype = {
  43988. call$1($arguments) {
  43989. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  43990. if (number.get$hasUnits())
  43991. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  43992. else
  43993. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  43994. },
  43995. $signature: 11
  43996. };
  43997. A._atan_closure.prototype = {
  43998. call$1($arguments) {
  43999. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44000. if (number.get$hasUnits())
  44001. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  44002. else
  44003. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  44004. },
  44005. $signature: 11
  44006. };
  44007. A._atan2_closure.prototype = {
  44008. call$1($arguments) {
  44009. var t1 = J.getInterceptor$asx($arguments),
  44010. y = t1.$index($arguments, 0).assertNumber$1("y");
  44011. 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));
  44012. },
  44013. $signature: 11
  44014. };
  44015. A._cos_closure.prototype = {
  44016. call$1($arguments) {
  44017. return A.SassNumber_SassNumber(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  44018. },
  44019. $signature: 11
  44020. };
  44021. A._sin_closure.prototype = {
  44022. call$1($arguments) {
  44023. return A.SassNumber_SassNumber(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  44024. },
  44025. $signature: 11
  44026. };
  44027. A._tan_closure.prototype = {
  44028. call$1($arguments) {
  44029. return A.SassNumber_SassNumber(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  44030. },
  44031. $signature: 11
  44032. };
  44033. A._compatible_closure.prototype = {
  44034. call$1($arguments) {
  44035. var t1 = J.getInterceptor$asx($arguments);
  44036. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  44037. },
  44038. $signature: 20
  44039. };
  44040. A._isUnitless_closure.prototype = {
  44041. call$1($arguments) {
  44042. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  44043. },
  44044. $signature: 20
  44045. };
  44046. A._unit_closure.prototype = {
  44047. call$1($arguments) {
  44048. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  44049. },
  44050. $signature: 18
  44051. };
  44052. A._percentage_closure.prototype = {
  44053. call$1($arguments) {
  44054. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  44055. number.assertNoUnits$1("number");
  44056. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  44057. },
  44058. $signature: 11
  44059. };
  44060. A._randomFunction_closure.prototype = {
  44061. call$1($arguments) {
  44062. var limit, t2, t3, t4, limitScalar,
  44063. t1 = J.getInterceptor$asx($arguments);
  44064. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  44065. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  44066. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  44067. if (limit.get$hasUnits()) {
  44068. t1 = limit.toString$0(0);
  44069. t2 = limit.get$unitString();
  44070. t3 = limit.get$unitString();
  44071. t4 = limit.get$unitString();
  44072. A.EvaluationContext_current().warn$2$deprecation(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, true);
  44073. }
  44074. limitScalar = limit.assertInt$1("limit");
  44075. if (limitScalar < 1)
  44076. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  44077. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  44078. },
  44079. $signature: 11
  44080. };
  44081. A._div_closure.prototype = {
  44082. call$1($arguments) {
  44083. var t1 = J.getInterceptor$asx($arguments),
  44084. number1 = t1.$index($arguments, 0),
  44085. number2 = t1.$index($arguments, 1);
  44086. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  44087. A.EvaluationContext_current().warn$2$deprecation(0, string$.math_d, false);
  44088. return number1.dividedBy$1(number2);
  44089. },
  44090. $signature: 4
  44091. };
  44092. A._numberFunction_closure.prototype = {
  44093. call$1($arguments) {
  44094. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  44095. t1 = this.transform.call$1(number._number$_value),
  44096. t2 = number.get$numeratorUnits(number);
  44097. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  44098. },
  44099. $signature: 11
  44100. };
  44101. A.global_closure26.prototype = {
  44102. call$1($arguments) {
  44103. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  44104. },
  44105. $signature: 20
  44106. };
  44107. A.global_closure27.prototype = {
  44108. call$1($arguments) {
  44109. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  44110. },
  44111. $signature: 18
  44112. };
  44113. A.global_closure28.prototype = {
  44114. call$1($arguments) {
  44115. var value = J.$index$asx($arguments, 0);
  44116. if (value instanceof A.SassArgumentList)
  44117. return new A.SassString("arglist", false);
  44118. if (value instanceof A.SassBoolean)
  44119. return new A.SassString("bool", false);
  44120. if (value instanceof A.SassColor)
  44121. return new A.SassString("color", false);
  44122. if (value instanceof A.SassList)
  44123. return new A.SassString("list", false);
  44124. if (value instanceof A.SassMap)
  44125. return new A.SassString("map", false);
  44126. if (value.$eq(0, B.C__SassNull))
  44127. return new A.SassString("null", false);
  44128. if (value instanceof A.SassNumber)
  44129. return new A.SassString("number", false);
  44130. if (value instanceof A.SassFunction)
  44131. return new A.SassString("function", false);
  44132. if (value instanceof A.SassCalculation)
  44133. return new A.SassString("calculation", false);
  44134. return new A.SassString("string", false);
  44135. },
  44136. $signature: 18
  44137. };
  44138. A.global_closure29.prototype = {
  44139. call$1($arguments) {
  44140. var t1, t2, t3, t4,
  44141. argumentList = J.$index$asx($arguments, 0);
  44142. if (argumentList instanceof A.SassArgumentList) {
  44143. t1 = type$.Value;
  44144. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  44145. for (argumentList._wereKeywordsAccessed = true, t3 = argumentList._keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  44146. t4 = t3.get$current(t3);
  44147. t2.$indexSet(0, new A.SassString(t4.key, false), t4.value);
  44148. }
  44149. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  44150. } else
  44151. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  44152. },
  44153. $signature: 37
  44154. };
  44155. A.local_closure.prototype = {
  44156. call$1($arguments) {
  44157. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  44158. },
  44159. $signature: 18
  44160. };
  44161. A.local_closure0.prototype = {
  44162. call$1($arguments) {
  44163. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  44164. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  44165. },
  44166. $signature: 22
  44167. };
  44168. A.local__closure.prototype = {
  44169. call$1(argument) {
  44170. if (argument instanceof A.Value)
  44171. return argument;
  44172. return new A.SassString(J.toString$0$(argument), false);
  44173. },
  44174. $signature: 344
  44175. };
  44176. A._nest_closure.prototype = {
  44177. call$1($arguments) {
  44178. var t1 = {},
  44179. selectors = J.$index$asx($arguments, 0).get$asList();
  44180. if (selectors.length === 0)
  44181. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  44182. t1.first = true;
  44183. 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();
  44184. },
  44185. $signature: 22
  44186. };
  44187. A._nest__closure.prototype = {
  44188. call$1(selector) {
  44189. var t1 = this._box_0,
  44190. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  44191. t1.first = false;
  44192. return result;
  44193. },
  44194. $signature: 143
  44195. };
  44196. A._nest__closure0.prototype = {
  44197. call$2($parent, child) {
  44198. return child.resolveParentSelectors$1($parent);
  44199. },
  44200. $signature: 144
  44201. };
  44202. A._append_closure.prototype = {
  44203. call$1($arguments) {
  44204. var selectors = J.$index$asx($arguments, 0).get$asList();
  44205. if (selectors.length === 0)
  44206. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  44207. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0()).get$asSassList();
  44208. },
  44209. $signature: 22
  44210. };
  44211. A._append__closure.prototype = {
  44212. call$1(selector) {
  44213. return A.SassApiValue_assertSelector(selector, false, null);
  44214. },
  44215. $signature: 143
  44216. };
  44217. A._append__closure0.prototype = {
  44218. call$2($parent, child) {
  44219. var t1 = child.components;
  44220. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"))).resolveParentSelectors$1($parent);
  44221. },
  44222. $signature: 144
  44223. };
  44224. A._append___closure.prototype = {
  44225. call$1(complex) {
  44226. var t1, component, newCompound, t2;
  44227. if (complex.leadingCombinators.length !== 0)
  44228. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  44229. t1 = complex.components;
  44230. component = B.JSArray_methods.get$first(t1);
  44231. newCompound = A._prependParent(component.selector);
  44232. if (newCompound == null)
  44233. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  44234. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.Combinator))], type$.JSArray_ComplexSelectorComponent);
  44235. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  44236. return A.ComplexSelector$(B.List_empty0, t2, false);
  44237. },
  44238. $signature: 67
  44239. };
  44240. A._extend_closure.prototype = {
  44241. call$1($arguments) {
  44242. var target, source,
  44243. _s8_ = "selector",
  44244. _s8_0 = "extendee",
  44245. _s8_1 = "extender",
  44246. t1 = J.getInterceptor$asx($arguments),
  44247. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  44248. selector.assertNotBogus$1$name(_s8_);
  44249. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  44250. target.assertNotBogus$1$name(_s8_0);
  44251. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  44252. source.assertNotBogus$1$name(_s8_1);
  44253. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  44254. },
  44255. $signature: 22
  44256. };
  44257. A._replace_closure.prototype = {
  44258. call$1($arguments) {
  44259. var target, source,
  44260. _s8_ = "selector",
  44261. _s8_0 = "original",
  44262. _s11_ = "replacement",
  44263. t1 = J.getInterceptor$asx($arguments),
  44264. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  44265. selector.assertNotBogus$1$name(_s8_);
  44266. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  44267. target.assertNotBogus$1$name(_s8_0);
  44268. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  44269. source.assertNotBogus$1$name(_s11_);
  44270. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  44271. },
  44272. $signature: 22
  44273. };
  44274. A._unify_closure.prototype = {
  44275. call$1($arguments) {
  44276. var selector2, result,
  44277. _s9_ = "selector1",
  44278. _s9_0 = "selector2",
  44279. t1 = J.getInterceptor$asx($arguments),
  44280. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  44281. selector1.assertNotBogus$1$name(_s9_);
  44282. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  44283. selector2.assertNotBogus$1$name(_s9_0);
  44284. result = selector1.unify$1(selector2);
  44285. return result == null ? B.C__SassNull : result.get$asSassList();
  44286. },
  44287. $signature: 4
  44288. };
  44289. A._isSuperselector_closure.prototype = {
  44290. call$1($arguments) {
  44291. var selector2,
  44292. t1 = J.getInterceptor$asx($arguments),
  44293. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  44294. selector1.assertNotBogus$1$name("super");
  44295. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  44296. selector2.assertNotBogus$1$name("sub");
  44297. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  44298. },
  44299. $signature: 20
  44300. };
  44301. A._simpleSelectors_closure.prototype = {
  44302. call$1($arguments) {
  44303. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  44304. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  44305. },
  44306. $signature: 22
  44307. };
  44308. A._simpleSelectors__closure.prototype = {
  44309. call$1(simple) {
  44310. return new A.SassString(A.serializeSelector(simple, true), false);
  44311. },
  44312. $signature: 362
  44313. };
  44314. A._parse_closure.prototype = {
  44315. call$1($arguments) {
  44316. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  44317. },
  44318. $signature: 22
  44319. };
  44320. A._unquote_closure.prototype = {
  44321. call$1($arguments) {
  44322. var string = J.$index$asx($arguments, 0).assertString$1("string");
  44323. if (!string._hasQuotes)
  44324. return string;
  44325. return new A.SassString(string._string$_text, false);
  44326. },
  44327. $signature: 18
  44328. };
  44329. A._quote_closure.prototype = {
  44330. call$1($arguments) {
  44331. var string = J.$index$asx($arguments, 0).assertString$1("string");
  44332. if (string._hasQuotes)
  44333. return string;
  44334. return new A.SassString(string._string$_text, true);
  44335. },
  44336. $signature: 18
  44337. };
  44338. A._length_closure.prototype = {
  44339. call$1($arguments) {
  44340. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  44341. },
  44342. $signature: 11
  44343. };
  44344. A._insert_closure.prototype = {
  44345. call$1($arguments) {
  44346. var indexInt, codeUnitIndex, _s5_ = "index",
  44347. t1 = J.getInterceptor$asx($arguments),
  44348. string = t1.$index($arguments, 0).assertString$1("string"),
  44349. insert = t1.$index($arguments, 1).assertString$1("insert"),
  44350. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  44351. index.assertNoUnits$1(_s5_);
  44352. indexInt = index.assertInt$1(_s5_);
  44353. if (indexInt < 0)
  44354. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  44355. t1 = string._string$_text;
  44356. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  44357. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  44358. },
  44359. $signature: 18
  44360. };
  44361. A._index_closure.prototype = {
  44362. call$1($arguments) {
  44363. var t1 = J.getInterceptor$asx($arguments),
  44364. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  44365. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  44366. if (codeUnitIndex === -1)
  44367. return B.C__SassNull;
  44368. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  44369. },
  44370. $signature: 4
  44371. };
  44372. A._slice_closure.prototype = {
  44373. call$1($arguments) {
  44374. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  44375. _s8_ = "start-at",
  44376. t1 = J.getInterceptor$asx($arguments),
  44377. string = t1.$index($arguments, 0).assertString$1("string"),
  44378. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  44379. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  44380. start.assertNoUnits$1(_s8_);
  44381. end.assertNoUnits$1("end-at");
  44382. lengthInCodepoints = string.get$_sassLength();
  44383. endInt = end.assertInt$0();
  44384. if (endInt === 0)
  44385. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  44386. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  44387. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  44388. if (endCodepoint === lengthInCodepoints)
  44389. --endCodepoint;
  44390. if (endCodepoint < startCodepoint)
  44391. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  44392. t1 = string._string$_text;
  44393. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  44394. },
  44395. $signature: 18
  44396. };
  44397. A._toUpperCase_closure.prototype = {
  44398. call$1($arguments) {
  44399. var t1, t2, i, t3, t4,
  44400. string = J.$index$asx($arguments, 0).assertString$1("string");
  44401. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  44402. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  44403. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  44404. }
  44405. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  44406. },
  44407. $signature: 18
  44408. };
  44409. A._toLowerCase_closure.prototype = {
  44410. call$1($arguments) {
  44411. var t1, t2, i, t3, t4,
  44412. string = J.$index$asx($arguments, 0).assertString$1("string");
  44413. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  44414. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  44415. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  44416. }
  44417. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  44418. },
  44419. $signature: 18
  44420. };
  44421. A._uniqueId_closure.prototype = {
  44422. call$1($arguments) {
  44423. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  44424. $._previousUniqueId = t1;
  44425. if (t1 > Math.pow(36, 6))
  44426. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  44427. return new A.SassString("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId(), 36), 6, "0"), false);
  44428. },
  44429. $signature: 18
  44430. };
  44431. A.ImportCache.prototype = {
  44432. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  44433. var relativeResult, _this = this;
  44434. if (baseImporter != null) {
  44435. 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));
  44436. if (relativeResult != null)
  44437. return relativeResult;
  44438. }
  44439. return _this._canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure0(_this, url, forImport));
  44440. },
  44441. canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
  44442. return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
  44443. },
  44444. _canonicalize$3(importer, url, forImport) {
  44445. var t1, result;
  44446. if (forImport) {
  44447. t1 = type$.nullable_Object;
  44448. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  44449. } else
  44450. result = importer.canonicalize$1(0, url);
  44451. if ((result == null ? null : result.get$scheme()) === "")
  44452. this._logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  44453. return result;
  44454. },
  44455. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  44456. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  44457. },
  44458. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  44459. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  44460. },
  44461. importCanonical$2(importer, canonicalUrl) {
  44462. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  44463. },
  44464. humanize$1(canonicalUrl) {
  44465. var t2, url,
  44466. t1 = this._canonicalizeCache;
  44467. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri);
  44468. t2 = t1.$ti;
  44469. 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());
  44470. if (url == null)
  44471. return canonicalUrl;
  44472. t1 = $.$get$url();
  44473. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  44474. },
  44475. sourceMapUrl$1(_, canonicalUrl) {
  44476. var t1 = this._resultsCache.$index(0, canonicalUrl);
  44477. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  44478. return t1 == null ? canonicalUrl : t1;
  44479. },
  44480. clearCanonicalize$1(url) {
  44481. var t3, t4, _i,
  44482. t1 = this._canonicalizeCache,
  44483. t2 = type$.Tuple2_Uri_bool;
  44484. t1.remove$1(0, new A.Tuple2(url, false, t2));
  44485. t1.remove$1(0, new A.Tuple2(url, true, t2));
  44486. t2 = A._setArrayType([], type$.JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri);
  44487. for (t1 = this._relativeCanonicalizeCache, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t3.moveNext$0();) {
  44488. t4 = t3.__js_helper$_current;
  44489. if (t4.item1.$eq(0, url))
  44490. t2.push(t4);
  44491. }
  44492. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  44493. t1.remove$1(0, t2[_i]);
  44494. },
  44495. clearImport$1(canonicalUrl) {
  44496. this._resultsCache.remove$1(0, canonicalUrl);
  44497. this._importCache.remove$1(0, canonicalUrl);
  44498. }
  44499. };
  44500. A.ImportCache_canonicalize_closure.prototype = {
  44501. call$0() {
  44502. var canonicalUrl, _this = this,
  44503. t1 = _this.baseUrl,
  44504. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  44505. if (resolvedUrl == null)
  44506. resolvedUrl = _this.url;
  44507. t1 = _this.baseImporter;
  44508. canonicalUrl = _this.$this._canonicalize$3(t1, resolvedUrl, _this.forImport);
  44509. if (canonicalUrl == null)
  44510. return null;
  44511. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri);
  44512. },
  44513. $signature: 102
  44514. };
  44515. A.ImportCache_canonicalize_closure0.prototype = {
  44516. call$0() {
  44517. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  44518. 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) {
  44519. importer = t2[_i];
  44520. canonicalUrl = t1._canonicalize$3(importer, t4, t5);
  44521. if (canonicalUrl != null)
  44522. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri);
  44523. }
  44524. return null;
  44525. },
  44526. $signature: 102
  44527. };
  44528. A.ImportCache__canonicalize_closure.prototype = {
  44529. call$0() {
  44530. return this.importer.canonicalize$1(0, this.url);
  44531. },
  44532. $signature: 145
  44533. };
  44534. A.ImportCache_importCanonical_closure.prototype = {
  44535. call$0() {
  44536. var t3, _this = this,
  44537. t1 = _this.canonicalUrl,
  44538. result = _this.importer.load$1(0, t1),
  44539. t2 = _this.$this;
  44540. t2._resultsCache.$indexSet(0, t1, result);
  44541. t3 = _this.originalUrl;
  44542. t1 = t3 == null ? t1 : t3.resolveUri$1(t1);
  44543. t2 = _this.quiet ? $.$get$Logger_quiet() : t2._logger;
  44544. return A.Stylesheet_Stylesheet$parse(result.contents, result.syntax, t2, t1);
  44545. },
  44546. $signature: 91
  44547. };
  44548. A.ImportCache_humanize_closure.prototype = {
  44549. call$1(tuple) {
  44550. return tuple.item2.$eq(0, this.canonicalUrl);
  44551. },
  44552. $signature: 393
  44553. };
  44554. A.ImportCache_humanize_closure0.prototype = {
  44555. call$1(tuple) {
  44556. return tuple.item3;
  44557. },
  44558. $signature: 498
  44559. };
  44560. A.ImportCache_humanize_closure1.prototype = {
  44561. call$1(url) {
  44562. return url.get$path(url).length;
  44563. },
  44564. $signature: 96
  44565. };
  44566. A.Importer.prototype = {
  44567. modificationTime$1(url) {
  44568. return new A.DateTime(Date.now(), false);
  44569. },
  44570. couldCanonicalize$2(url, canonicalUrl) {
  44571. return true;
  44572. }
  44573. };
  44574. A.AsyncImporter.prototype = {};
  44575. A.FilesystemImporter.prototype = {
  44576. canonicalize$1(_, url) {
  44577. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  44578. return null;
  44579. return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
  44580. },
  44581. load$1(_, url) {
  44582. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  44583. t1 = A.readFile(path),
  44584. t2 = A.Syntax_forPath(path),
  44585. t3 = url.get$scheme();
  44586. if (t3 === "")
  44587. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  44588. return new A.ImporterResult(t1, url, t2);
  44589. },
  44590. modificationTime$1(url) {
  44591. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  44592. },
  44593. couldCanonicalize$2(url, canonicalUrl) {
  44594. var t1, t2, t3, basename, canonicalBasename;
  44595. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  44596. return false;
  44597. if (canonicalUrl.get$scheme() !== "file")
  44598. return false;
  44599. t1 = $.$get$url();
  44600. t2 = url.get$path(url);
  44601. t3 = t1.style;
  44602. basename = A.ParsedPath_ParsedPath$parse(t2, t3).get$basename();
  44603. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t3).get$basename();
  44604. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  44605. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  44606. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  44607. },
  44608. toString$0(_) {
  44609. return this._loadPath;
  44610. }
  44611. };
  44612. A.FilesystemImporter_canonicalize_closure.prototype = {
  44613. call$1(resolved) {
  44614. var t1, t2, t0, _null = null;
  44615. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  44616. t1 = $.$get$context();
  44617. t2 = A._realCasePath(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
  44618. t0 = t2;
  44619. t2 = t1;
  44620. t1 = t0;
  44621. } else {
  44622. t1 = $.$get$context();
  44623. t2 = t1.canonicalize$1(0, resolved);
  44624. t0 = t2;
  44625. t2 = t1;
  44626. t1 = t0;
  44627. }
  44628. return t2.toUri$1(t1);
  44629. },
  44630. $signature: 146
  44631. };
  44632. A.ImporterResult.prototype = {
  44633. get$sourceMapUrl(_) {
  44634. return this._sourceMapUrl;
  44635. }
  44636. };
  44637. A.resolveImportPath_closure.prototype = {
  44638. call$0() {
  44639. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  44640. },
  44641. $signature: 43
  44642. };
  44643. A.resolveImportPath_closure0.prototype = {
  44644. call$0() {
  44645. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  44646. },
  44647. $signature: 43
  44648. };
  44649. A._tryPathAsDirectory_closure.prototype = {
  44650. call$0() {
  44651. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  44652. },
  44653. $signature: 43
  44654. };
  44655. A._exactlyOne_closure.prototype = {
  44656. call$1(path) {
  44657. var t1 = $.$get$context();
  44658. return " " + t1.prettyUri$1(t1.toUri$1(path));
  44659. },
  44660. $signature: 5
  44661. };
  44662. A.InterpolationBuffer.prototype = {
  44663. writeCharCode$1(character) {
  44664. this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
  44665. return null;
  44666. },
  44667. add$1(_, expression) {
  44668. this._flushText$0();
  44669. this._interpolation_buffer$_contents.push(expression);
  44670. },
  44671. addInterpolation$1(interpolation) {
  44672. var first, t1, _this = this,
  44673. toAdd = interpolation.contents;
  44674. if (toAdd.length === 0)
  44675. return;
  44676. first = B.JSArray_methods.get$first(toAdd);
  44677. if (typeof first == "string") {
  44678. _this._interpolation_buffer$_text._contents += first;
  44679. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  44680. }
  44681. _this._flushText$0();
  44682. t1 = _this._interpolation_buffer$_contents;
  44683. B.JSArray_methods.addAll$1(t1, toAdd);
  44684. if (typeof B.JSArray_methods.get$last(t1) == "string")
  44685. _this._interpolation_buffer$_text._contents += A.S(t1.pop());
  44686. },
  44687. _flushText$0() {
  44688. var t1 = this._interpolation_buffer$_text,
  44689. t2 = t1._contents;
  44690. if (t2.length === 0)
  44691. return;
  44692. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  44693. t1._contents = "";
  44694. },
  44695. interpolation$1(span) {
  44696. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  44697. t2 = this._interpolation_buffer$_text._contents;
  44698. if (t2.length !== 0)
  44699. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  44700. return A.Interpolation$(t1, span);
  44701. },
  44702. toString$0(_) {
  44703. var t1, t2, _i, t3, element;
  44704. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  44705. element = t1[_i];
  44706. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  44707. }
  44708. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  44709. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44710. }
  44711. };
  44712. A._realCasePath_helper.prototype = {
  44713. call$1(path) {
  44714. var dirname = $.$get$context().dirname$1(path);
  44715. if (dirname === path)
  44716. return path;
  44717. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  44718. },
  44719. $signature: 5
  44720. };
  44721. A._realCasePath_helper_closure.prototype = {
  44722. call$0() {
  44723. var matches, t2, exception,
  44724. realDirname = this.helper.call$1(this.dirname),
  44725. t1 = this.path,
  44726. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  44727. try {
  44728. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  44729. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  44730. return t2;
  44731. } catch (exception) {
  44732. if (A.unwrapException(exception) instanceof A.FileSystemException)
  44733. return t1;
  44734. else
  44735. throw exception;
  44736. }
  44737. },
  44738. $signature: 32
  44739. };
  44740. A._realCasePath_helper__closure.prototype = {
  44741. call$1(realPath) {
  44742. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  44743. },
  44744. $signature: 8
  44745. };
  44746. A.FileSystemException.prototype = {
  44747. toString$0(_) {
  44748. var t1 = $.$get$context();
  44749. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  44750. },
  44751. get$message(receiver) {
  44752. return this.message;
  44753. }
  44754. };
  44755. A.Stderr.prototype = {
  44756. writeln$1(object) {
  44757. J.write$1$x(this._stderr, A.S(object == null ? "" : object) + "\n");
  44758. },
  44759. writeln$0() {
  44760. return this.writeln$1(null);
  44761. }
  44762. };
  44763. A._readFile_closure.prototype = {
  44764. call$0() {
  44765. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  44766. },
  44767. $signature: 89
  44768. };
  44769. A.writeFile_closure.prototype = {
  44770. call$0() {
  44771. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  44772. },
  44773. $signature: 0
  44774. };
  44775. A.deleteFile_closure.prototype = {
  44776. call$0() {
  44777. return J.unlinkSync$1$x(A.fs(), this.path);
  44778. },
  44779. $signature: 0
  44780. };
  44781. A.readStdin_closure.prototype = {
  44782. call$1(result) {
  44783. this._box_0.contents = result;
  44784. this.completer.complete$1(result);
  44785. },
  44786. $signature: 119
  44787. };
  44788. A.readStdin_closure0.prototype = {
  44789. call$1(chunk) {
  44790. this.sink.add$1(0, type$.List_int._as(chunk));
  44791. },
  44792. call$0() {
  44793. return this.call$1(null);
  44794. },
  44795. "call*": "call$1",
  44796. $requiredArgCount: 0,
  44797. $defaultValues() {
  44798. return [null];
  44799. },
  44800. $signature: 90
  44801. };
  44802. A.readStdin_closure1.prototype = {
  44803. call$1(_) {
  44804. this.sink.close$0(0);
  44805. },
  44806. call$0() {
  44807. return this.call$1(null);
  44808. },
  44809. "call*": "call$1",
  44810. $requiredArgCount: 0,
  44811. $defaultValues() {
  44812. return [null];
  44813. },
  44814. $signature: 90
  44815. };
  44816. A.readStdin_closure2.prototype = {
  44817. call$1(e) {
  44818. var t1 = $.$get$stderr();
  44819. t1.writeln$1("Failed to read from stdin");
  44820. t1.writeln$1(e);
  44821. e.toString;
  44822. this.completer.completeError$1(e);
  44823. },
  44824. call$0() {
  44825. return this.call$1(null);
  44826. },
  44827. "call*": "call$1",
  44828. $requiredArgCount: 0,
  44829. $defaultValues() {
  44830. return [null];
  44831. },
  44832. $signature: 90
  44833. };
  44834. A.fileExists_closure.prototype = {
  44835. call$0() {
  44836. var error, systemError, exception,
  44837. t1 = this.path;
  44838. if (!J.existsSync$1$x(A.fs(), t1))
  44839. return false;
  44840. try {
  44841. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  44842. return t1;
  44843. } catch (exception) {
  44844. error = A.unwrapException(exception);
  44845. systemError = type$.JsSystemError._as(error);
  44846. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  44847. return false;
  44848. throw exception;
  44849. }
  44850. },
  44851. $signature: 26
  44852. };
  44853. A.dirExists_closure.prototype = {
  44854. call$0() {
  44855. var error, systemError, exception,
  44856. t1 = this.path;
  44857. if (!J.existsSync$1$x(A.fs(), t1))
  44858. return false;
  44859. try {
  44860. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  44861. return t1;
  44862. } catch (exception) {
  44863. error = A.unwrapException(exception);
  44864. systemError = type$.JsSystemError._as(error);
  44865. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  44866. return false;
  44867. throw exception;
  44868. }
  44869. },
  44870. $signature: 26
  44871. };
  44872. A.ensureDir_closure.prototype = {
  44873. call$0() {
  44874. var error, systemError, exception, t1;
  44875. try {
  44876. J.mkdirSync$1$x(A.fs(), this.path);
  44877. } catch (exception) {
  44878. error = A.unwrapException(exception);
  44879. systemError = type$.JsSystemError._as(error);
  44880. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  44881. return;
  44882. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  44883. throw exception;
  44884. t1 = this.path;
  44885. A.ensureDir($.$get$context().dirname$1(t1));
  44886. J.mkdirSync$1$x(A.fs(), t1);
  44887. }
  44888. },
  44889. $signature: 0
  44890. };
  44891. A.listDir_closure.prototype = {
  44892. call$0() {
  44893. var t1 = this.path;
  44894. if (!this.recursive)
  44895. 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());
  44896. else
  44897. return new A.listDir_closure_list().call$1(t1);
  44898. },
  44899. $signature: 148
  44900. };
  44901. A.listDir__closure.prototype = {
  44902. call$1(child) {
  44903. return A.join(this.path, A._asString(child), null);
  44904. },
  44905. $signature: 88
  44906. };
  44907. A.listDir__closure0.prototype = {
  44908. call$1(child) {
  44909. return !A.dirExists(child);
  44910. },
  44911. $signature: 8
  44912. };
  44913. A.listDir_closure_list.prototype = {
  44914. call$1($parent) {
  44915. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  44916. },
  44917. $signature: 149
  44918. };
  44919. A.listDir__list_closure.prototype = {
  44920. call$1(child) {
  44921. var path = A.join(this.parent, A._asString(child), null);
  44922. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  44923. },
  44924. $signature: 150
  44925. };
  44926. A.modificationTime_closure.prototype = {
  44927. call$0() {
  44928. var t2,
  44929. t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  44930. if (Math.abs(t1) <= 864e13)
  44931. t2 = false;
  44932. else
  44933. t2 = true;
  44934. if (t2)
  44935. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  44936. A.checkNotNullable(false, "isUtc", type$.bool);
  44937. return new A.DateTime(t1, false);
  44938. },
  44939. $signature: 151
  44940. };
  44941. A.watchDir_closure.prototype = {
  44942. call$2(path, _) {
  44943. var t1 = this._box_0.controller;
  44944. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  44945. },
  44946. call$1(path) {
  44947. return this.call$2(path, null);
  44948. },
  44949. "call*": "call$2",
  44950. $requiredArgCount: 1,
  44951. $defaultValues() {
  44952. return [null];
  44953. },
  44954. $signature: 152
  44955. };
  44956. A.watchDir_closure0.prototype = {
  44957. call$2(path, _) {
  44958. var t1 = this._box_0.controller;
  44959. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  44960. },
  44961. call$1(path) {
  44962. return this.call$2(path, null);
  44963. },
  44964. "call*": "call$2",
  44965. $requiredArgCount: 1,
  44966. $defaultValues() {
  44967. return [null];
  44968. },
  44969. $signature: 152
  44970. };
  44971. A.watchDir_closure1.prototype = {
  44972. call$1(path) {
  44973. var t1 = this._box_0.controller;
  44974. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  44975. },
  44976. $signature: 119
  44977. };
  44978. A.watchDir_closure2.prototype = {
  44979. call$1(error) {
  44980. var t1 = this._box_0.controller;
  44981. return t1 == null ? null : t1.addError$1(error);
  44982. },
  44983. $signature: 118
  44984. };
  44985. A.watchDir_closure3.prototype = {
  44986. call$0() {
  44987. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  44988. this._box_0.controller = controller;
  44989. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  44990. },
  44991. $signature: 1
  44992. };
  44993. A.watchDir__closure.prototype = {
  44994. call$0() {
  44995. J.close$0$x(this.watcher);
  44996. },
  44997. $signature: 1
  44998. };
  44999. A._QuietLogger.prototype = {
  45000. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45001. },
  45002. warn$1($receiver, message) {
  45003. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  45004. },
  45005. warn$2$deprecation($receiver, message, deprecation) {
  45006. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45007. },
  45008. warn$2$span($receiver, message, span) {
  45009. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45010. },
  45011. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45012. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45013. },
  45014. warn$2$trace($receiver, message, trace) {
  45015. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45016. },
  45017. debug$2(_, message, span) {
  45018. }
  45019. };
  45020. A.StderrLogger.prototype = {
  45021. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45022. var t2, t3, t4,
  45023. t1 = this.color;
  45024. if (t1) {
  45025. t2 = $.$get$stderr();
  45026. t3 = t2._stderr;
  45027. t4 = J.getInterceptor$x(t3);
  45028. t4.write$1(t3, "\x1b[33m\x1b[1m");
  45029. if (deprecation)
  45030. t4.write$1(t3, "Deprecation ");
  45031. t4.write$1(t3, "Warning\x1b[0m");
  45032. } else {
  45033. if (deprecation)
  45034. J.write$1$x($.$get$stderr()._stderr, "DEPRECATION ");
  45035. t2 = $.$get$stderr();
  45036. J.write$1$x(t2._stderr, "WARNING");
  45037. }
  45038. if (span == null)
  45039. t2.writeln$1(": " + message);
  45040. else if (trace != null)
  45041. t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
  45042. else
  45043. t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
  45044. if (trace != null)
  45045. t2.writeln$1(A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
  45046. t2.writeln$0();
  45047. },
  45048. warn$1($receiver, message) {
  45049. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  45050. },
  45051. warn$2$deprecation($receiver, message, deprecation) {
  45052. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45053. },
  45054. warn$2$span($receiver, message, span) {
  45055. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45056. },
  45057. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45058. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45059. },
  45060. warn$2$trace($receiver, message, trace) {
  45061. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45062. },
  45063. debug$2(_, message, span) {
  45064. var url, t3, t4,
  45065. t1 = span.file,
  45066. t2 = span._file$_start;
  45067. if (A.FileLocation$_(t1, t2).file.url == null)
  45068. url = "-";
  45069. else {
  45070. t3 = A.FileLocation$_(t1, t2);
  45071. url = $.$get$context().prettyUri$1(t3.file.url);
  45072. }
  45073. t3 = $.$get$stderr();
  45074. t2 = A.FileLocation$_(t1, t2);
  45075. t2 = t2.file.getLine$1(t2.offset);
  45076. t1 = t3._stderr;
  45077. t4 = J.getInterceptor$x(t1);
  45078. t4.write$1(t1, url + ":" + (t2 + 1) + " ");
  45079. t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
  45080. t3.writeln$1(": " + message);
  45081. }
  45082. };
  45083. A.TerseLogger.prototype = {
  45084. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45085. var firstParagraph, t1, t2, count;
  45086. if (deprecation) {
  45087. firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
  45088. t1 = this._warningCounts;
  45089. t2 = t1.$index(0, firstParagraph);
  45090. count = (t2 == null ? 0 : t2) + 1;
  45091. t1.$indexSet(0, firstParagraph, count);
  45092. if (count > 5)
  45093. return;
  45094. }
  45095. this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  45096. },
  45097. warn$2$deprecation($receiver, message, deprecation) {
  45098. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45099. },
  45100. warn$2$span($receiver, message, span) {
  45101. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45102. },
  45103. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45104. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45105. },
  45106. warn$2$trace($receiver, message, trace) {
  45107. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45108. },
  45109. debug$2(_, message, span) {
  45110. return this._inner.debug$2(0, message, span);
  45111. },
  45112. summarize$1$node(node) {
  45113. var t2, total,
  45114. t1 = this._warningCounts;
  45115. t1 = t1.get$values(t1);
  45116. t2 = A._instanceType(t1);
  45117. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  45118. if (total > 0) {
  45119. t1 = node ? "" : string$.x0aRun_i;
  45120. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  45121. }
  45122. }
  45123. };
  45124. A.TerseLogger_summarize_closure.prototype = {
  45125. call$1(count) {
  45126. return count > 5;
  45127. },
  45128. $signature: 53
  45129. };
  45130. A.TerseLogger_summarize_closure0.prototype = {
  45131. call$1(count) {
  45132. return count - 5;
  45133. },
  45134. $signature: 154
  45135. };
  45136. A.TrackingLogger.prototype = {
  45137. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  45138. this._emittedWarning = true;
  45139. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  45140. },
  45141. warn$2$deprecation($receiver, message, deprecation) {
  45142. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  45143. },
  45144. warn$2$span($receiver, message, span) {
  45145. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  45146. },
  45147. warn$3$deprecation$span($receiver, message, deprecation, span) {
  45148. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  45149. },
  45150. warn$2$trace($receiver, message, trace) {
  45151. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  45152. },
  45153. debug$2(_, message, span) {
  45154. this._emittedDebug = true;
  45155. this._tracking$_logger.debug$2(0, message, span);
  45156. }
  45157. };
  45158. A.BuiltInModule.prototype = {
  45159. get$upstream() {
  45160. return B.List_empty6;
  45161. },
  45162. get$variableNodes() {
  45163. return B.Map_empty0;
  45164. },
  45165. get$extensionStore() {
  45166. return B.C_EmptyExtensionStore;
  45167. },
  45168. get$css(_) {
  45169. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  45170. },
  45171. get$transitivelyContainsCss() {
  45172. return false;
  45173. },
  45174. get$transitivelyContainsExtensions() {
  45175. return false;
  45176. },
  45177. setVariable$3($name, value, nodeWithSpan) {
  45178. if (!this.variables.containsKey$1($name))
  45179. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  45180. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  45181. },
  45182. variableIdentity$1($name) {
  45183. return this;
  45184. },
  45185. cloneCss$0() {
  45186. return this;
  45187. },
  45188. $isModule: 1,
  45189. get$url(receiver) {
  45190. return this.url;
  45191. },
  45192. get$functions(receiver) {
  45193. return this.functions;
  45194. },
  45195. get$mixins() {
  45196. return this.mixins;
  45197. },
  45198. get$variables() {
  45199. return this.variables;
  45200. }
  45201. };
  45202. A.ForwardedModuleView.prototype = {
  45203. get$url(_) {
  45204. var t1 = this._forwarded_view$_inner;
  45205. return t1.get$url(t1);
  45206. },
  45207. get$upstream() {
  45208. return this._forwarded_view$_inner.get$upstream();
  45209. },
  45210. get$extensionStore() {
  45211. return this._forwarded_view$_inner.get$extensionStore();
  45212. },
  45213. get$css(_) {
  45214. var t1 = this._forwarded_view$_inner;
  45215. return t1.get$css(t1);
  45216. },
  45217. get$transitivelyContainsCss() {
  45218. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  45219. },
  45220. get$transitivelyContainsExtensions() {
  45221. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  45222. },
  45223. setVariable$3($name, value, nodeWithSpan) {
  45224. var prefix,
  45225. _s19_ = "Undefined variable.",
  45226. t1 = this._rule,
  45227. shownVariables = t1.shownVariables,
  45228. hiddenVariables = t1.hiddenVariables;
  45229. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  45230. throw A.wrapException(A.SassScriptException$(_s19_, null));
  45231. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  45232. throw A.wrapException(A.SassScriptException$(_s19_, null));
  45233. prefix = t1.prefix;
  45234. if (prefix != null) {
  45235. if (!B.JSString_methods.startsWith$1($name, prefix))
  45236. throw A.wrapException(A.SassScriptException$(_s19_, null));
  45237. $name = B.JSString_methods.substring$1($name, prefix.length);
  45238. }
  45239. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  45240. },
  45241. variableIdentity$1($name) {
  45242. var prefix = this._rule.prefix;
  45243. if (prefix != null)
  45244. $name = B.JSString_methods.substring$1($name, prefix.length);
  45245. return this._forwarded_view$_inner.variableIdentity$1($name);
  45246. },
  45247. $eq(_, other) {
  45248. if (other == null)
  45249. return false;
  45250. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  45251. },
  45252. get$hashCode(_) {
  45253. var t1 = this._forwarded_view$_inner;
  45254. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  45255. },
  45256. cloneCss$0() {
  45257. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  45258. },
  45259. toString$0(_) {
  45260. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  45261. },
  45262. $isModule: 1,
  45263. get$variables() {
  45264. return this.variables;
  45265. },
  45266. get$variableNodes() {
  45267. return this.variableNodes;
  45268. },
  45269. get$functions(receiver) {
  45270. return this.functions;
  45271. },
  45272. get$mixins() {
  45273. return this.mixins;
  45274. }
  45275. };
  45276. A.ShadowedModuleView.prototype = {
  45277. get$url(_) {
  45278. var t1 = this._shadowed_view$_inner;
  45279. return t1.get$url(t1);
  45280. },
  45281. get$upstream() {
  45282. return this._shadowed_view$_inner.get$upstream();
  45283. },
  45284. get$extensionStore() {
  45285. return this._shadowed_view$_inner.get$extensionStore();
  45286. },
  45287. get$css(_) {
  45288. var t1 = this._shadowed_view$_inner;
  45289. return t1.get$css(t1);
  45290. },
  45291. get$transitivelyContainsCss() {
  45292. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  45293. },
  45294. get$transitivelyContainsExtensions() {
  45295. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  45296. },
  45297. setVariable$3($name, value, nodeWithSpan) {
  45298. if (!this.variables.containsKey$1($name))
  45299. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  45300. else
  45301. return this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  45302. },
  45303. variableIdentity$1($name) {
  45304. return this._shadowed_view$_inner.variableIdentity$1($name);
  45305. },
  45306. $eq(_, other) {
  45307. var t1, t2, _this = this;
  45308. if (other == null)
  45309. return false;
  45310. if (other instanceof A.ShadowedModuleView)
  45311. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  45312. t1 = _this.variables;
  45313. t1 = t1.get$keys(t1);
  45314. t2 = other.variables;
  45315. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  45316. t1 = _this.functions;
  45317. t1 = t1.get$keys(t1);
  45318. t2 = other.functions;
  45319. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  45320. t1 = _this.mixins;
  45321. t1 = t1.get$keys(t1);
  45322. t2 = other.mixins;
  45323. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  45324. t1 = t2;
  45325. } else
  45326. t1 = false;
  45327. } else
  45328. t1 = false;
  45329. } else
  45330. t1 = false;
  45331. else
  45332. t1 = false;
  45333. return t1;
  45334. },
  45335. get$hashCode(_) {
  45336. var t1 = this._shadowed_view$_inner;
  45337. return t1.get$hashCode(t1);
  45338. },
  45339. cloneCss$0() {
  45340. var _this = this;
  45341. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  45342. },
  45343. toString$0(_) {
  45344. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  45345. },
  45346. $isModule: 1,
  45347. get$variables() {
  45348. return this.variables;
  45349. },
  45350. get$variableNodes() {
  45351. return this.variableNodes;
  45352. },
  45353. get$functions(receiver) {
  45354. return this.functions;
  45355. },
  45356. get$mixins() {
  45357. return this.mixins;
  45358. }
  45359. };
  45360. A.JSArray0.prototype = {};
  45361. A.Chokidar.prototype = {};
  45362. A.ChokidarOptions.prototype = {};
  45363. A.ChokidarWatcher.prototype = {};
  45364. A.JSFunction.prototype = {};
  45365. A.NodeImporterResult.prototype = {};
  45366. A.RenderContext.prototype = {};
  45367. A.RenderContextOptions.prototype = {};
  45368. A.RenderContextResult.prototype = {};
  45369. A.RenderContextResultStats.prototype = {};
  45370. A.JSClass.prototype = {};
  45371. A.JSUrl.prototype = {};
  45372. A._PropertyDescriptor.prototype = {};
  45373. A.AtRootQueryParser.prototype = {
  45374. parse$0() {
  45375. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  45376. }
  45377. };
  45378. A.AtRootQueryParser_parse_closure.prototype = {
  45379. call$0() {
  45380. var include, atRules,
  45381. t1 = this.$this,
  45382. t2 = t1.scanner;
  45383. t2.expectChar$1(40);
  45384. t1.whitespace$0();
  45385. include = t1.scanIdentifier$1("with");
  45386. if (!include)
  45387. t1.expectIdentifier$2$name("without", '"with" or "without"');
  45388. t1.whitespace$0();
  45389. t2.expectChar$1(58);
  45390. t1.whitespace$0();
  45391. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  45392. do {
  45393. atRules.add$1(0, t1.identifier$0().toLowerCase());
  45394. t1.whitespace$0();
  45395. } while (t1.lookingAtIdentifier$0());
  45396. t2.expectChar$1(41);
  45397. t2.expectDone$0();
  45398. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  45399. },
  45400. $signature: 116
  45401. };
  45402. A._disallowedFunctionNames_closure.prototype = {
  45403. call$1($function) {
  45404. return $function.name;
  45405. },
  45406. $signature: 415
  45407. };
  45408. A.CssParser.prototype = {
  45409. get$plainCss() {
  45410. return true;
  45411. },
  45412. silentComment$0() {
  45413. var t1 = this.scanner,
  45414. t2 = t1._string_scanner$_position;
  45415. this.super$Parser$silentComment();
  45416. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  45417. },
  45418. atRule$2$root(child, root) {
  45419. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  45420. t1 = _this.scanner,
  45421. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  45422. t1.expectChar$1(64);
  45423. $name = _this.interpolatedIdentifier$0();
  45424. _this.whitespace$0();
  45425. switch ($name.get$asPlain()) {
  45426. case "at-root":
  45427. case "content":
  45428. case "debug":
  45429. case "each":
  45430. case "error":
  45431. case "extend":
  45432. case "for":
  45433. case "function":
  45434. case "if":
  45435. case "include":
  45436. case "mixin":
  45437. case "return":
  45438. case "warn":
  45439. case "while":
  45440. _this.almostAnyValue$0();
  45441. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  45442. break;
  45443. case "import":
  45444. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  45445. next = t1.peekChar$0();
  45446. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  45447. urlSpan = t1.spanFrom$1(urlStart);
  45448. _this.whitespace$0();
  45449. modifiers = _this.tryImportModifiers$0();
  45450. _this.expectStatementSeparator$1("@import rule");
  45451. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  45452. t1 = t1.spanFrom$1(start);
  45453. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  45454. case "media":
  45455. return _this.mediaRule$1(start);
  45456. case "-moz-document":
  45457. return _this.mozDocumentRule$2(start, $name);
  45458. case "supports":
  45459. return _this.supportsRule$1(start);
  45460. default:
  45461. return _this.unknownAtRule$2(start, $name);
  45462. }
  45463. },
  45464. identifierLike$0() {
  45465. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  45466. t1 = _this.scanner,
  45467. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  45468. identifier = _this.interpolatedIdentifier$0(),
  45469. plain = identifier.get$asPlain(),
  45470. lower = plain.toLowerCase(),
  45471. specialFunction = _this.trySpecialFunction$2(lower, start);
  45472. if (specialFunction != null)
  45473. return specialFunction;
  45474. t2 = t1._string_scanner$_position;
  45475. if (!t1.scanChar$1(40))
  45476. return new A.StringExpression(identifier, false);
  45477. allowEmptySecondArg = lower === "var";
  45478. $arguments = A._setArrayType([], type$.JSArray_Expression);
  45479. if (!t1.scanChar$1(41)) {
  45480. do {
  45481. _this.whitespace$0();
  45482. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  45483. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  45484. t4 = t3.offset;
  45485. t4 = A._FileSpan$(t3.file, t4, t4);
  45486. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  45487. break;
  45488. }
  45489. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  45490. _this.whitespace$0();
  45491. } while (t1.scanChar$1(44));
  45492. t1.expectChar$1(41);
  45493. }
  45494. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  45495. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  45496. t3 = A.Interpolation$(A._setArrayType([new A.StringExpression(identifier, false)], type$.JSArray_Object), identifier.span);
  45497. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  45498. t4 = type$.Expression;
  45499. return new A.InterpolatedFunctionExpression(t3, new A.ArgumentInvocation(A.List_List$unmodifiable($arguments, t4), A.ConstantMap_ConstantMap$from(B.Map_empty2, type$.String, t4), null, null, t2), t1.spanFrom$1(start));
  45500. },
  45501. namespacedExpression$2(namespace, start) {
  45502. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  45503. this.error$2(0, string$.Modulen, expression.get$span(expression));
  45504. }
  45505. };
  45506. A.KeyframeSelectorParser.prototype = {
  45507. parse$0() {
  45508. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  45509. },
  45510. _percentage$0() {
  45511. var t3, next,
  45512. t1 = this.scanner,
  45513. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  45514. second = t1.peekChar$0();
  45515. if (!A.isDigit(second) && second !== 46)
  45516. t1.error$1(0, "Expected number.");
  45517. while (true) {
  45518. t3 = t1.peekChar$0();
  45519. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  45520. break;
  45521. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45522. }
  45523. if (t1.peekChar$0() === 46) {
  45524. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45525. while (true) {
  45526. t3 = t1.peekChar$0();
  45527. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  45528. break;
  45529. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45530. }
  45531. }
  45532. if (this.scanIdentChar$1(101)) {
  45533. t2 += A.Primitives_stringFromCharCode(101);
  45534. next = t1.peekChar$0();
  45535. if (next === 43 || next === 45)
  45536. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45537. if (!A.isDigit(t1.peekChar$0()))
  45538. t1.error$1(0, "Expected digit.");
  45539. while (true) {
  45540. t3 = t1.peekChar$0();
  45541. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  45542. break;
  45543. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  45544. }
  45545. }
  45546. t1.expectChar$1(37);
  45547. t2 += A.Primitives_stringFromCharCode(37);
  45548. return t2.charCodeAt(0) == 0 ? t2 : t2;
  45549. }
  45550. };
  45551. A.KeyframeSelectorParser_parse_closure.prototype = {
  45552. call$0() {
  45553. var selectors = A._setArrayType([], type$.JSArray_String),
  45554. t1 = this.$this,
  45555. t2 = t1.scanner;
  45556. do {
  45557. t1.whitespace$0();
  45558. if (t1.lookingAtIdentifier$0())
  45559. if (t1.scanIdentifier$1("from"))
  45560. selectors.push("from");
  45561. else {
  45562. t1.expectIdentifier$2$name("to", '"to" or "from"');
  45563. selectors.push("to");
  45564. }
  45565. else
  45566. selectors.push(t1._percentage$0());
  45567. t1.whitespace$0();
  45568. } while (t2.scanChar$1(44));
  45569. t2.expectDone$0();
  45570. return selectors;
  45571. },
  45572. $signature: 48
  45573. };
  45574. A.MediaQueryParser.prototype = {
  45575. parse$0() {
  45576. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  45577. },
  45578. _mediaQuery$0() {
  45579. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  45580. if (_this.scanner.peekChar$0() === 40) {
  45581. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  45582. _this.whitespace$0();
  45583. if (_this.scanIdentifier$1(_s3_)) {
  45584. _this.expectWhitespace$0();
  45585. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  45586. conjunction = true;
  45587. } else if (_this.scanIdentifier$1("or")) {
  45588. _this.expectWhitespace$0();
  45589. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  45590. conjunction = false;
  45591. } else
  45592. conjunction = true;
  45593. return A.CssMediaQuery$condition(conditions, conjunction);
  45594. }
  45595. identifier1 = _this.identifier$0();
  45596. if (A.equalsIgnoreCase(identifier1, "not")) {
  45597. _this.expectWhitespace$0();
  45598. if (!_this.lookingAtIdentifier$0())
  45599. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  45600. }
  45601. _this.whitespace$0();
  45602. if (!_this.lookingAtIdentifier$0())
  45603. return A.CssMediaQuery$type(identifier1, _null, _null);
  45604. identifier2 = _this.identifier$0();
  45605. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  45606. _this.expectWhitespace$0();
  45607. type = identifier1;
  45608. modifier = _null;
  45609. } else {
  45610. _this.whitespace$0();
  45611. if (_this.scanIdentifier$1(_s3_))
  45612. _this.expectWhitespace$0();
  45613. else
  45614. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  45615. type = identifier2;
  45616. modifier = identifier1;
  45617. }
  45618. if (_this.scanIdentifier$1("not")) {
  45619. _this.expectWhitespace$0();
  45620. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  45621. }
  45622. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  45623. },
  45624. _mediaLogicSequence$1(operator) {
  45625. var t1, t2, _this = this,
  45626. result = A._setArrayType([], type$.JSArray_String);
  45627. for (t1 = _this.scanner; true;) {
  45628. t1.expectChar$2$name(40, "media condition in parentheses");
  45629. t2 = _this.declarationValue$0();
  45630. t1.expectChar$1(41);
  45631. result.push("(" + t2 + ")");
  45632. _this.whitespace$0();
  45633. if (!_this.scanIdentifier$1(operator))
  45634. return result;
  45635. _this.expectWhitespace$0();
  45636. }
  45637. },
  45638. _mediaInParens$0() {
  45639. var t2,
  45640. t1 = this.scanner;
  45641. t1.expectChar$2$name(40, "media condition in parentheses");
  45642. t2 = this.declarationValue$0();
  45643. t1.expectChar$1(41);
  45644. return "(" + t2 + ")";
  45645. }
  45646. };
  45647. A.MediaQueryParser_parse_closure.prototype = {
  45648. call$0() {
  45649. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  45650. t1 = this.$this,
  45651. t2 = t1.scanner;
  45652. do {
  45653. t1.whitespace$0();
  45654. queries.push(t1._mediaQuery$0());
  45655. t1.whitespace$0();
  45656. } while (t2.scanChar$1(44));
  45657. t2.expectDone$0();
  45658. return queries;
  45659. },
  45660. $signature: 103
  45661. };
  45662. A.Parser.prototype = {
  45663. _parseIdentifier$0() {
  45664. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  45665. },
  45666. _isVariableDeclarationLike$0() {
  45667. var _this = this,
  45668. t1 = _this.scanner;
  45669. if (!t1.scanChar$1(36))
  45670. return false;
  45671. if (!_this.lookingAtIdentifier$0())
  45672. return false;
  45673. _this.identifier$0();
  45674. _this.whitespace$0();
  45675. return t1.scanChar$1(58);
  45676. },
  45677. whitespace$0() {
  45678. do
  45679. this.whitespaceWithoutComments$0();
  45680. while (this.scanComment$0());
  45681. },
  45682. whitespaceWithoutComments$0() {
  45683. var t3,
  45684. t1 = this.scanner,
  45685. t2 = t1.string.length;
  45686. while (true) {
  45687. if (t1._string_scanner$_position !== t2) {
  45688. t3 = t1.peekChar$0();
  45689. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  45690. } else
  45691. t3 = false;
  45692. if (!t3)
  45693. break;
  45694. t1.readChar$0();
  45695. }
  45696. },
  45697. spaces$0() {
  45698. var t3,
  45699. t1 = this.scanner,
  45700. t2 = t1.string.length;
  45701. while (true) {
  45702. if (t1._string_scanner$_position !== t2) {
  45703. t3 = t1.peekChar$0();
  45704. t3 = t3 === 32 || t3 === 9;
  45705. } else
  45706. t3 = false;
  45707. if (!t3)
  45708. break;
  45709. t1.readChar$0();
  45710. }
  45711. },
  45712. scanComment$0() {
  45713. var next,
  45714. t1 = this.scanner;
  45715. if (t1.peekChar$0() !== 47)
  45716. return false;
  45717. next = t1.peekChar$1(1);
  45718. if (next === 47) {
  45719. this.silentComment$0();
  45720. return true;
  45721. } else if (next === 42) {
  45722. this.loudComment$0();
  45723. return true;
  45724. } else
  45725. return false;
  45726. },
  45727. expectWhitespace$0() {
  45728. var t2, t3,
  45729. t1 = this.scanner;
  45730. if (t1._string_scanner$_position !== t1.string.length) {
  45731. t2 = t1.peekChar$0();
  45732. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  45733. t2 = t3;
  45734. } else
  45735. t2 = true;
  45736. if (t2)
  45737. t1.error$1(0, "Expected whitespace.");
  45738. this.whitespace$0();
  45739. },
  45740. silentComment$0() {
  45741. var t2, t3,
  45742. t1 = this.scanner;
  45743. t1.expect$1("//");
  45744. t2 = t1.string.length;
  45745. while (true) {
  45746. if (t1._string_scanner$_position !== t2) {
  45747. t3 = t1.peekChar$0();
  45748. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  45749. } else
  45750. t3 = false;
  45751. if (!t3)
  45752. break;
  45753. t1.readChar$0();
  45754. }
  45755. },
  45756. loudComment$0() {
  45757. var next,
  45758. t1 = this.scanner;
  45759. t1.expect$1("/*");
  45760. for (; true;) {
  45761. if (t1.readChar$0() !== 42)
  45762. continue;
  45763. do
  45764. next = t1.readChar$0();
  45765. while (next === 42);
  45766. if (next === 47)
  45767. break;
  45768. }
  45769. },
  45770. identifier$2$normalize$unit(normalize, unit) {
  45771. var t2, first, _this = this,
  45772. _s20_ = "Expected identifier.",
  45773. text = new A.StringBuffer(""),
  45774. t1 = _this.scanner;
  45775. if (t1.scanChar$1(45)) {
  45776. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  45777. if (t1.scanChar$1(45)) {
  45778. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  45779. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  45780. t1 = text._contents;
  45781. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45782. }
  45783. } else
  45784. t2 = "";
  45785. first = t1.peekChar$0();
  45786. if (first == null)
  45787. t1.error$1(0, _s20_);
  45788. else if (normalize && first === 95) {
  45789. t1.readChar$0();
  45790. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  45791. } else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  45792. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  45793. else if (first === 92)
  45794. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  45795. else
  45796. t1.error$1(0, _s20_);
  45797. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  45798. t1 = text._contents;
  45799. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45800. },
  45801. identifier$0() {
  45802. return this.identifier$2$normalize$unit(false, false);
  45803. },
  45804. identifier$1$normalize(normalize) {
  45805. return this.identifier$2$normalize$unit(normalize, false);
  45806. },
  45807. identifier$1$unit(unit) {
  45808. return this.identifier$2$normalize$unit(false, unit);
  45809. },
  45810. _identifierBody$3$normalize$unit(text, normalize, unit) {
  45811. var t1, next, second, t2;
  45812. for (t1 = this.scanner; true;) {
  45813. next = t1.peekChar$0();
  45814. if (next == null)
  45815. break;
  45816. else if (unit && next === 45) {
  45817. second = t1.peekChar$1(1);
  45818. if (second != null)
  45819. if (second !== 46)
  45820. t2 = second >= 48 && second <= 57;
  45821. else
  45822. t2 = true;
  45823. else
  45824. t2 = false;
  45825. if (t2)
  45826. break;
  45827. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45828. } else if (normalize && next === 95) {
  45829. t1.readChar$0();
  45830. text._contents += A.Primitives_stringFromCharCode(45);
  45831. } else {
  45832. if (next !== 95) {
  45833. if (!(next >= 97 && next <= 122))
  45834. t2 = next >= 65 && next <= 90;
  45835. else
  45836. t2 = true;
  45837. t2 = t2 || next >= 128;
  45838. } else
  45839. t2 = true;
  45840. if (!t2)
  45841. t2 = next >= 48 && next <= 57 || next === 45;
  45842. else
  45843. t2 = true;
  45844. if (t2)
  45845. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45846. else if (next === 92)
  45847. text._contents += A.S(this.escape$0());
  45848. else
  45849. break;
  45850. }
  45851. }
  45852. },
  45853. _identifierBody$1(text) {
  45854. return this._identifierBody$3$normalize$unit(text, false, false);
  45855. },
  45856. string$0() {
  45857. var buffer, next, t2,
  45858. t1 = this.scanner,
  45859. quote = t1.readChar$0();
  45860. if (quote !== 39 && quote !== 34)
  45861. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  45862. buffer = new A.StringBuffer("");
  45863. for (; true;) {
  45864. next = t1.peekChar$0();
  45865. if (next === quote) {
  45866. t1.readChar$0();
  45867. break;
  45868. } else if (next == null || next === 10 || next === 13 || next === 12)
  45869. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  45870. else if (next === 92) {
  45871. t2 = t1.peekChar$1(1);
  45872. if (t2 === 10 || t2 === 13 || t2 === 12) {
  45873. t1.readChar$0();
  45874. t1.readChar$0();
  45875. } else
  45876. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  45877. } else
  45878. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45879. }
  45880. t1 = buffer._contents;
  45881. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45882. },
  45883. declarationValue$1$allowEmpty(allowEmpty) {
  45884. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  45885. buffer = new A.StringBuffer(""),
  45886. brackets = A._setArrayType([], type$.JSArray_int);
  45887. $label0$1:
  45888. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  45889. next = t1.peekChar$0();
  45890. switch (next) {
  45891. case 92:
  45892. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  45893. wroteNewline = false;
  45894. break;
  45895. case 34:
  45896. case 39:
  45897. start = t1._string_scanner$_position;
  45898. t2.call$0();
  45899. end = t1._string_scanner$_position;
  45900. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  45901. wroteNewline = false;
  45902. break;
  45903. case 47:
  45904. if (t1.peekChar$1(1) === 42) {
  45905. t3 = _this.get$loudComment();
  45906. start = t1._string_scanner$_position;
  45907. t3.call$0();
  45908. end = t1._string_scanner$_position;
  45909. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  45910. } else
  45911. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45912. wroteNewline = false;
  45913. break;
  45914. case 32:
  45915. case 9:
  45916. if (!wroteNewline) {
  45917. t3 = t1.peekChar$1(1);
  45918. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  45919. } else
  45920. t3 = true;
  45921. if (t3)
  45922. buffer._contents += A.Primitives_stringFromCharCode(32);
  45923. t1.readChar$0();
  45924. break;
  45925. case 10:
  45926. case 13:
  45927. case 12:
  45928. t3 = t1.peekChar$1(-1);
  45929. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  45930. buffer._contents += "\n";
  45931. t1.readChar$0();
  45932. wroteNewline = true;
  45933. break;
  45934. case 40:
  45935. case 123:
  45936. case 91:
  45937. next.toString;
  45938. buffer._contents += A.Primitives_stringFromCharCode(next);
  45939. brackets.push(A.opposite(t1.readChar$0()));
  45940. wroteNewline = false;
  45941. break;
  45942. case 41:
  45943. case 125:
  45944. case 93:
  45945. if (brackets.length === 0)
  45946. break $label0$1;
  45947. next.toString;
  45948. buffer._contents += A.Primitives_stringFromCharCode(next);
  45949. t1.expectChar$1(brackets.pop());
  45950. wroteNewline = false;
  45951. break;
  45952. case 59:
  45953. if (brackets.length === 0)
  45954. break $label0$1;
  45955. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45956. break;
  45957. case 117:
  45958. case 85:
  45959. url = _this.tryUrl$0();
  45960. if (url != null)
  45961. buffer._contents += url;
  45962. else
  45963. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45964. wroteNewline = false;
  45965. break;
  45966. default:
  45967. if (next == null)
  45968. break $label0$1;
  45969. if (_this.lookingAtIdentifier$0())
  45970. buffer._contents += _this.identifier$0();
  45971. else
  45972. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  45973. wroteNewline = false;
  45974. break;
  45975. }
  45976. }
  45977. if (brackets.length !== 0)
  45978. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  45979. if (!allowEmpty && buffer._contents.length === 0)
  45980. t1.error$1(0, "Expected token.");
  45981. t1 = buffer._contents;
  45982. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45983. },
  45984. declarationValue$0() {
  45985. return this.declarationValue$1$allowEmpty(false);
  45986. },
  45987. tryUrl$0() {
  45988. var buffer, next, t2, _this = this,
  45989. t1 = _this.scanner,
  45990. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  45991. if (!_this.scanIdentifier$1("url"))
  45992. return null;
  45993. if (!t1.scanChar$1(40)) {
  45994. t1.set$state(start);
  45995. return null;
  45996. }
  45997. _this.whitespace$0();
  45998. buffer = new A.StringBuffer("");
  45999. buffer._contents = "" + "url(";
  46000. for (; true;) {
  46001. next = t1.peekChar$0();
  46002. if (next == null)
  46003. break;
  46004. else if (next === 92)
  46005. buffer._contents += A.S(_this.escape$0());
  46006. else {
  46007. if (next !== 37)
  46008. if (next !== 38)
  46009. if (next !== 35)
  46010. t2 = next >= 42 && next <= 126 || next >= 128;
  46011. else
  46012. t2 = true;
  46013. else
  46014. t2 = true;
  46015. else
  46016. t2 = true;
  46017. if (t2)
  46018. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46019. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  46020. _this.whitespace$0();
  46021. if (t1.peekChar$0() !== 41)
  46022. break;
  46023. } else if (next === 41) {
  46024. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46025. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46026. } else
  46027. break;
  46028. }
  46029. }
  46030. t1.set$state(start);
  46031. return null;
  46032. },
  46033. variableName$0() {
  46034. this.scanner.expectChar$1(36);
  46035. return this.identifier$1$normalize(true);
  46036. },
  46037. escape$1$identifierStart(identifierStart) {
  46038. var value, first, i, next, t2, exception,
  46039. _s25_ = "Expected escape sequence.",
  46040. t1 = this.scanner,
  46041. start = t1._string_scanner$_position;
  46042. t1.expectChar$1(92);
  46043. value = 0;
  46044. first = t1.peekChar$0();
  46045. if (first == null)
  46046. t1.error$1(0, _s25_);
  46047. else if (first === 10 || first === 13 || first === 12)
  46048. t1.error$1(0, _s25_);
  46049. else if (A.isHex(first)) {
  46050. for (i = 0; i < 6; ++i) {
  46051. next = t1.peekChar$0();
  46052. if (next == null || !A.isHex(next))
  46053. break;
  46054. value *= 16;
  46055. value += A.asHex(t1.readChar$0());
  46056. }
  46057. this.scanCharIf$1(A.character__isWhitespace$closure());
  46058. } else
  46059. value = t1.readChar$0();
  46060. if (identifierStart) {
  46061. t2 = value;
  46062. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128;
  46063. } else {
  46064. t2 = value;
  46065. t2 = t2 === 95 || A.isAlphabetic0(t2) || t2 >= 128 || A.isDigit(t2) || t2 === 45;
  46066. }
  46067. if (t2)
  46068. try {
  46069. t2 = A.Primitives_stringFromCharCode(value);
  46070. return t2;
  46071. } catch (exception) {
  46072. if (type$.RangeError._is(A.unwrapException(exception)))
  46073. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  46074. else
  46075. throw exception;
  46076. }
  46077. else {
  46078. if (!(value <= 31))
  46079. if (!J.$eq$(value, 127))
  46080. t1 = identifierStart && A.isDigit(value);
  46081. else
  46082. t1 = true;
  46083. else
  46084. t1 = true;
  46085. if (t1) {
  46086. t1 = "" + A.Primitives_stringFromCharCode(92);
  46087. if (value > 15)
  46088. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  46089. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  46090. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46091. } else
  46092. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  46093. }
  46094. },
  46095. escape$0() {
  46096. return this.escape$1$identifierStart(false);
  46097. },
  46098. scanCharIf$1(condition) {
  46099. var t1 = this.scanner;
  46100. if (!condition.call$1(t1.peekChar$0()))
  46101. return false;
  46102. t1.readChar$0();
  46103. return true;
  46104. },
  46105. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  46106. var t3,
  46107. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  46108. t2 = this.scanner,
  46109. next = t2.peekChar$0();
  46110. if (next != null && t1.call$1(next)) {
  46111. t2.readChar$0();
  46112. return true;
  46113. } else if (next === 92) {
  46114. t3 = t2._string_scanner$_position;
  46115. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  46116. return true;
  46117. t2.set$state(new A._SpanScannerState(t2, t3));
  46118. }
  46119. return false;
  46120. },
  46121. scanIdentChar$1(char) {
  46122. return this.scanIdentChar$2$caseSensitive(char, false);
  46123. },
  46124. expectIdentChar$1(letter) {
  46125. var t1;
  46126. if (this.scanIdentChar$2$caseSensitive(letter, false))
  46127. return;
  46128. t1 = this.scanner;
  46129. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  46130. },
  46131. lookingAtIdentifier$1($forward) {
  46132. var t1, first, second;
  46133. if ($forward == null)
  46134. $forward = 0;
  46135. t1 = this.scanner;
  46136. first = t1.peekChar$1($forward);
  46137. if (first == null)
  46138. return false;
  46139. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  46140. return true;
  46141. if (first !== 45)
  46142. return false;
  46143. second = t1.peekChar$1($forward + 1);
  46144. if (second == null)
  46145. return false;
  46146. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  46147. },
  46148. lookingAtIdentifier$0() {
  46149. return this.lookingAtIdentifier$1(null);
  46150. },
  46151. lookingAtIdentifierBody$0() {
  46152. var t1,
  46153. next = this.scanner.peekChar$0();
  46154. if (next != null)
  46155. t1 = next === 95 || A.isAlphabetic0(next) || next >= 128 || A.isDigit(next) || next === 45 || next === 92;
  46156. else
  46157. t1 = false;
  46158. return t1;
  46159. },
  46160. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  46161. var t1, t2, _this = this;
  46162. if (!_this.lookingAtIdentifier$0())
  46163. return false;
  46164. t1 = _this.scanner;
  46165. t2 = t1._string_scanner$_position;
  46166. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  46167. return true;
  46168. else {
  46169. t1.set$state(new A._SpanScannerState(t1, t2));
  46170. return false;
  46171. }
  46172. },
  46173. scanIdentifier$1(text) {
  46174. return this.scanIdentifier$2$caseSensitive(text, false);
  46175. },
  46176. _consumeIdentifier$2(text, caseSensitive) {
  46177. var t1, t2, t3;
  46178. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  46179. t3 = t1.__internal$_current;
  46180. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  46181. return false;
  46182. }
  46183. return true;
  46184. },
  46185. expectIdentifier$2$name(text, $name) {
  46186. var t1, start, t2, t3, t4, t5, t6;
  46187. if ($name == null)
  46188. $name = '"' + text + '"';
  46189. t1 = this.scanner;
  46190. start = t1._string_scanner$_position;
  46191. 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();) {
  46192. t6 = t2.__internal$_current;
  46193. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  46194. continue;
  46195. t1.error$2$position(0, t4, start);
  46196. }
  46197. if (!this.lookingAtIdentifierBody$0())
  46198. return;
  46199. t1.error$2$position(0, t3, start);
  46200. },
  46201. expectIdentifier$1(text) {
  46202. return this.expectIdentifier$2$name(text, null);
  46203. },
  46204. rawText$1(consumer) {
  46205. var t1 = this.scanner,
  46206. start = t1._string_scanner$_position;
  46207. consumer.call$0();
  46208. return t1.substring$1(0, start);
  46209. },
  46210. error$3(_, message, span, trace) {
  46211. var exception = new A.StringScannerException(this.scanner.string, message, span);
  46212. if (trace == null)
  46213. throw A.wrapException(exception);
  46214. else
  46215. A.throwWithTrace(exception, trace);
  46216. },
  46217. error$2($receiver, message, span) {
  46218. return this.error$3($receiver, message, span, null);
  46219. },
  46220. withErrorMessage$1$2(message, callback) {
  46221. var error, stackTrace, t1, exception;
  46222. try {
  46223. t1 = callback.call$0();
  46224. return t1;
  46225. } catch (exception) {
  46226. t1 = A.unwrapException(exception);
  46227. if (type$.SourceSpanFormatException._is(t1)) {
  46228. error = t1;
  46229. stackTrace = A.getTraceFromException(exception);
  46230. t1 = J.get$span$z(error);
  46231. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  46232. } else
  46233. throw exception;
  46234. }
  46235. },
  46236. withErrorMessage$2(message, callback) {
  46237. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  46238. },
  46239. wrapSpanFormatException$1$1(callback) {
  46240. var error, stackTrace, span, startPosition, t1, exception;
  46241. try {
  46242. t1 = callback.call$0();
  46243. return t1;
  46244. } catch (exception) {
  46245. t1 = A.unwrapException(exception);
  46246. if (type$.SourceSpanFormatException._is(t1)) {
  46247. error = t1;
  46248. stackTrace = A.getTraceFromException(exception);
  46249. span = J.get$span$z(error);
  46250. if (A.startsWithIgnoreCase(error._span_exception$_message, "expected") && J.get$length$asx(span) === 0) {
  46251. startPosition = this._firstNewlineBefore$1(J.get$start$z(span).offset);
  46252. if (!J.$eq$(startPosition, J.get$start$z(span).offset))
  46253. span = J.get$file$x(span).span$2(0, startPosition, startPosition);
  46254. }
  46255. A.throwWithTrace(new A.SassFormatException(error._span_exception$_message, span), stackTrace);
  46256. } else
  46257. throw exception;
  46258. }
  46259. },
  46260. wrapSpanFormatException$1(callback) {
  46261. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  46262. },
  46263. _firstNewlineBefore$1(position) {
  46264. var t1, lastNewline, codeUnit,
  46265. index = position - 1;
  46266. for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
  46267. codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
  46268. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  46269. return lastNewline == null ? position : lastNewline;
  46270. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  46271. lastNewline = index;
  46272. --index;
  46273. }
  46274. return position;
  46275. }
  46276. };
  46277. A.Parser__parseIdentifier_closure.prototype = {
  46278. call$0() {
  46279. var t1 = this.$this,
  46280. result = t1.identifier$0();
  46281. t1.scanner.expectDone$0();
  46282. return result;
  46283. },
  46284. $signature: 32
  46285. };
  46286. A.Parser_scanIdentChar_matches.prototype = {
  46287. call$1(actual) {
  46288. var t1 = this.char;
  46289. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  46290. },
  46291. $signature: 53
  46292. };
  46293. A.SassParser.prototype = {
  46294. get$currentIndentation() {
  46295. return this._currentIndentation;
  46296. },
  46297. get$indented() {
  46298. return true;
  46299. },
  46300. styleRuleSelector$0() {
  46301. var t4,
  46302. t1 = this.scanner,
  46303. t2 = t1._string_scanner$_position,
  46304. t3 = new A.StringBuffer(""),
  46305. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  46306. do {
  46307. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  46308. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  46309. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character__isNewline$closure()));
  46310. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  46311. },
  46312. expectStatementSeparator$1($name) {
  46313. var t1, _this = this;
  46314. if (!_this.atEndOfStatement$0())
  46315. _this._expectNewline$0();
  46316. if (_this._peekIndentation$0() <= _this._currentIndentation)
  46317. return;
  46318. t1 = $name == null ? "here" : "beneath a " + $name;
  46319. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  46320. },
  46321. expectStatementSeparator$0() {
  46322. return this.expectStatementSeparator$1(null);
  46323. },
  46324. atEndOfStatement$0() {
  46325. var next = this.scanner.peekChar$0();
  46326. return next == null || next === 10 || next === 13 || next === 12;
  46327. },
  46328. lookingAtChildren$0() {
  46329. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  46330. },
  46331. importArgument$0() {
  46332. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  46333. t1 = _this.scanner;
  46334. switch (t1.peekChar$0()) {
  46335. case 117:
  46336. case 85:
  46337. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46338. if (_this.scanIdentifier$1("url"))
  46339. if (t1.scanChar$1(40)) {
  46340. t1.set$state(start);
  46341. return _this.super$StylesheetParser$importArgument();
  46342. } else
  46343. t1.set$state(start);
  46344. break;
  46345. case 39:
  46346. case 34:
  46347. return _this.super$StylesheetParser$importArgument();
  46348. }
  46349. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46350. next = t1.peekChar$0();
  46351. while (true) {
  46352. if (next != null)
  46353. if (next !== 44)
  46354. if (next !== 59)
  46355. t2 = !(next === 10 || next === 13 || next === 12);
  46356. else
  46357. t2 = false;
  46358. else
  46359. t2 = false;
  46360. else
  46361. t2 = false;
  46362. if (!t2)
  46363. break;
  46364. t1.readChar$0();
  46365. next = t1.peekChar$0();
  46366. }
  46367. url = t1.substring$1(0, start.position);
  46368. span = t1.spanFrom$1(start);
  46369. if (_this.isPlainImportUrl$1(url))
  46370. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  46371. else
  46372. try {
  46373. t1 = _this.parseImportUrl$1(url);
  46374. return new A.DynamicImport(t1, span);
  46375. } catch (exception) {
  46376. t1 = A.unwrapException(exception);
  46377. if (type$.FormatException._is(t1)) {
  46378. innerError = t1;
  46379. stackTrace = A.getTraceFromException(exception);
  46380. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  46381. } else
  46382. throw exception;
  46383. }
  46384. },
  46385. scanElse$1(ifIndentation) {
  46386. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  46387. if (_this._peekIndentation$0() !== ifIndentation)
  46388. return false;
  46389. t1 = _this.scanner;
  46390. t2 = t1._string_scanner$_position;
  46391. startIndentation = _this._currentIndentation;
  46392. startNextIndentation = _this._nextIndentation;
  46393. startNextIndentationEnd = _this._nextIndentationEnd;
  46394. _this._readIndentation$0();
  46395. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  46396. return true;
  46397. t1.set$state(new A._SpanScannerState(t1, t2));
  46398. _this._currentIndentation = startIndentation;
  46399. _this._nextIndentation = startNextIndentation;
  46400. _this._nextIndentationEnd = startNextIndentationEnd;
  46401. return false;
  46402. },
  46403. children$1(_, child) {
  46404. var children = A._setArrayType([], type$.JSArray_Statement);
  46405. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  46406. return children;
  46407. },
  46408. statements$1(statement) {
  46409. var statements, t2, child,
  46410. t1 = this.scanner,
  46411. first = t1.peekChar$0();
  46412. if (first === 9 || first === 32)
  46413. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  46414. statements = A._setArrayType([], type$.JSArray_Statement);
  46415. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  46416. child = this._child$1(statement);
  46417. if (child != null)
  46418. statements.push(child);
  46419. this._readIndentation$0();
  46420. }
  46421. return statements;
  46422. },
  46423. _child$1(child) {
  46424. var _this = this,
  46425. t1 = _this.scanner;
  46426. switch (t1.peekChar$0()) {
  46427. case 13:
  46428. case 10:
  46429. case 12:
  46430. return null;
  46431. case 36:
  46432. return _this.variableDeclarationWithoutNamespace$0();
  46433. case 47:
  46434. switch (t1.peekChar$1(1)) {
  46435. case 47:
  46436. return _this._silentComment$0();
  46437. case 42:
  46438. return _this._loudComment$0();
  46439. default:
  46440. return child.call$0();
  46441. }
  46442. default:
  46443. return child.call$0();
  46444. }
  46445. },
  46446. _silentComment$0() {
  46447. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  46448. t1 = _this.scanner,
  46449. t2 = t1._string_scanner$_position;
  46450. t1.expect$1("//");
  46451. buffer = new A.StringBuffer("");
  46452. parentIndentation = _this._currentIndentation;
  46453. t3 = t1.string.length;
  46454. t4 = 1 + parentIndentation;
  46455. t5 = 2 + parentIndentation;
  46456. $label0$0:
  46457. do {
  46458. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  46459. for (i = commentPrefix.length; true;) {
  46460. t6 = buffer._contents += commentPrefix;
  46461. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  46462. t6 += A.Primitives_stringFromCharCode(32);
  46463. buffer._contents = t6;
  46464. }
  46465. while (true) {
  46466. if (t1._string_scanner$_position !== t3) {
  46467. t7 = t1.peekChar$0();
  46468. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  46469. } else
  46470. t7 = false;
  46471. if (!t7)
  46472. break;
  46473. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  46474. buffer._contents = t6;
  46475. }
  46476. buffer._contents = t6 + "\n";
  46477. if (_this._peekIndentation$0() < parentIndentation)
  46478. break $label0$0;
  46479. if (_this._peekIndentation$0() === parentIndentation) {
  46480. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  46481. _this._readIndentation$0();
  46482. break;
  46483. }
  46484. _this._readIndentation$0();
  46485. }
  46486. } while (t1.scan$1("//"));
  46487. t3 = buffer._contents;
  46488. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  46489. },
  46490. _loudComment$0() {
  46491. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  46492. t1 = _this.scanner,
  46493. t2 = t1._string_scanner$_position;
  46494. t1.expect$1("/*");
  46495. t3 = new A.StringBuffer("");
  46496. t4 = A._setArrayType([], type$.JSArray_Object);
  46497. buffer = new A.InterpolationBuffer(t3, t4);
  46498. t3._contents = "" + "/*";
  46499. parentIndentation = _this._currentIndentation;
  46500. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  46501. if (first) {
  46502. beginningOfComment = t1._string_scanner$_position;
  46503. _this.spaces$0();
  46504. t7 = t1.peekChar$0();
  46505. if (t7 === 10 || t7 === 13 || t7 === 12) {
  46506. _this._readIndentation$0();
  46507. t7 = t3._contents += A.Primitives_stringFromCharCode(32);
  46508. } else {
  46509. end = t1._string_scanner$_position;
  46510. t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  46511. }
  46512. } else {
  46513. t7 = t3._contents += "\n";
  46514. t7 += " * ";
  46515. t3._contents = t7;
  46516. }
  46517. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  46518. t7 += A.Primitives_stringFromCharCode(32);
  46519. t3._contents = t7;
  46520. }
  46521. $label0$1:
  46522. for (; t1._string_scanner$_position !== t6;)
  46523. switch (t1.peekChar$0()) {
  46524. case 10:
  46525. case 13:
  46526. case 12:
  46527. break $label0$1;
  46528. case 35:
  46529. if (t1.peekChar$1(1) === 123) {
  46530. t7 = _this.singleInterpolation$0();
  46531. buffer._flushText$0();
  46532. t4.push(t7);
  46533. } else
  46534. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46535. break;
  46536. default:
  46537. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46538. break;
  46539. }
  46540. if (_this._peekIndentation$0() <= parentIndentation)
  46541. break;
  46542. for (; _this._lookingAtDoubleNewline$0();) {
  46543. _this._expectNewline$0();
  46544. t7 = t3._contents += "\n";
  46545. t3._contents = t7 + " *";
  46546. }
  46547. _this._readIndentation$0();
  46548. }
  46549. t4 = t3._contents;
  46550. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  46551. t3._contents += " */";
  46552. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  46553. },
  46554. whitespaceWithoutComments$0() {
  46555. var t1, t2, next;
  46556. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  46557. next = t1.peekChar$0();
  46558. if (next !== 9 && next !== 32)
  46559. break;
  46560. t1.readChar$0();
  46561. }
  46562. },
  46563. loudComment$0() {
  46564. var next,
  46565. t1 = this.scanner;
  46566. t1.expect$1("/*");
  46567. for (; true;) {
  46568. next = t1.readChar$0();
  46569. if (next === 10 || next === 13 || next === 12)
  46570. t1.error$1(0, "expected */.");
  46571. if (next !== 42)
  46572. continue;
  46573. do
  46574. next = t1.readChar$0();
  46575. while (next === 42);
  46576. if (next === 47)
  46577. break;
  46578. }
  46579. },
  46580. _expectNewline$0() {
  46581. var t1 = this.scanner;
  46582. switch (t1.peekChar$0()) {
  46583. case 59:
  46584. t1.error$1(0, string$.semico);
  46585. break;
  46586. case 13:
  46587. t1.readChar$0();
  46588. if (t1.peekChar$0() === 10)
  46589. t1.readChar$0();
  46590. return;
  46591. case 10:
  46592. case 12:
  46593. t1.readChar$0();
  46594. return;
  46595. default:
  46596. t1.error$1(0, "expected newline.");
  46597. }
  46598. },
  46599. _lookingAtDoubleNewline$0() {
  46600. var nextChar,
  46601. t1 = this.scanner;
  46602. switch (t1.peekChar$0()) {
  46603. case 13:
  46604. nextChar = t1.peekChar$1(1);
  46605. if (nextChar === 10) {
  46606. t1 = t1.peekChar$1(2);
  46607. return t1 === 10 || t1 === 13 || t1 === 12;
  46608. }
  46609. return nextChar === 13 || nextChar === 12;
  46610. case 10:
  46611. case 12:
  46612. t1 = t1.peekChar$1(1);
  46613. return t1 === 10 || t1 === 13 || t1 === 12;
  46614. default:
  46615. return false;
  46616. }
  46617. },
  46618. _whileIndentedLower$1(body) {
  46619. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  46620. parentIndentation = _this._currentIndentation;
  46621. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  46622. indentation = _this._readIndentation$0();
  46623. if (childIndentation == null)
  46624. childIndentation = indentation;
  46625. if (childIndentation !== indentation) {
  46626. t3 = t1._string_scanner$_position;
  46627. t4 = t2.getColumn$1(t3);
  46628. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  46629. }
  46630. body.call$0();
  46631. }
  46632. },
  46633. _readIndentation$0() {
  46634. var t1, _this = this,
  46635. currentIndentation = _this._nextIndentation;
  46636. if (currentIndentation == null)
  46637. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  46638. _this._currentIndentation = currentIndentation;
  46639. t1 = _this._nextIndentationEnd;
  46640. t1.toString;
  46641. _this.scanner.set$state(t1);
  46642. _this._nextIndentationEnd = _this._nextIndentation = null;
  46643. return currentIndentation;
  46644. },
  46645. _peekIndentation$0() {
  46646. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  46647. cached = _this._nextIndentation;
  46648. if (cached != null)
  46649. return cached;
  46650. t1 = _this.scanner;
  46651. t2 = t1._string_scanner$_position;
  46652. t3 = t1.string.length;
  46653. if (t2 === t3) {
  46654. _this._nextIndentation = 0;
  46655. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  46656. return 0;
  46657. }
  46658. start = new A._SpanScannerState(t1, t2);
  46659. if (!_this.scanCharIf$1(A.character__isNewline$closure()))
  46660. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  46661. containsTab = A._Cell$();
  46662. containsSpace = A._Cell$();
  46663. nextIndentation = A._Cell$();
  46664. t2 = nextIndentation.__late_helper$_name;
  46665. do {
  46666. containsSpace._value = containsTab._value = false;
  46667. nextIndentation._value = 0;
  46668. for (; true;) {
  46669. next = t1.peekChar$0();
  46670. if (next === 32)
  46671. containsSpace._value = true;
  46672. else if (next === 9)
  46673. containsTab._value = true;
  46674. else
  46675. break;
  46676. t4 = nextIndentation._value;
  46677. if (t4 === nextIndentation)
  46678. A.throwExpression(A.LateError$localNI(t2));
  46679. nextIndentation._value = t4 + 1;
  46680. t1.readChar$0();
  46681. }
  46682. t4 = t1._string_scanner$_position;
  46683. if (t4 === t3) {
  46684. _this._nextIndentation = 0;
  46685. _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
  46686. t1.set$state(start);
  46687. return 0;
  46688. }
  46689. } while (_this.scanCharIf$1(A.character__isNewline$closure()));
  46690. t2 = containsTab._readLocal$0();
  46691. t3 = containsSpace._readLocal$0();
  46692. if (t2) {
  46693. if (t3) {
  46694. t2 = t1._string_scanner$_position;
  46695. t3 = t1._sourceFile;
  46696. t4 = t3.getColumn$1(t2);
  46697. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  46698. } else if (_this._spaces === true) {
  46699. t2 = t1._string_scanner$_position;
  46700. t3 = t1._sourceFile;
  46701. t4 = t3.getColumn$1(t2);
  46702. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  46703. }
  46704. } else if (t3 && _this._spaces === false) {
  46705. t2 = t1._string_scanner$_position;
  46706. t3 = t1._sourceFile;
  46707. t4 = t3.getColumn$1(t2);
  46708. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  46709. }
  46710. _this._nextIndentation = nextIndentation._readLocal$0();
  46711. if (nextIndentation._readLocal$0() > 0)
  46712. if (_this._spaces == null)
  46713. _this._spaces = containsSpace._readLocal$0();
  46714. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46715. t1.set$state(start);
  46716. return nextIndentation._readLocal$0();
  46717. }
  46718. };
  46719. A.SassParser_children_closure.prototype = {
  46720. call$0() {
  46721. var parsedChild = this.$this._child$1(this.child);
  46722. if (parsedChild != null)
  46723. this.children.push(parsedChild);
  46724. },
  46725. $signature: 0
  46726. };
  46727. A.ScssParser.prototype = {
  46728. get$indented() {
  46729. return false;
  46730. },
  46731. get$currentIndentation() {
  46732. return 0;
  46733. },
  46734. styleRuleSelector$0() {
  46735. return this.almostAnyValue$0();
  46736. },
  46737. expectStatementSeparator$1($name) {
  46738. var t1, next;
  46739. this.whitespaceWithoutComments$0();
  46740. t1 = this.scanner;
  46741. if (t1._string_scanner$_position === t1.string.length)
  46742. return;
  46743. next = t1.peekChar$0();
  46744. if (next === 59 || next === 125)
  46745. return;
  46746. t1.expectChar$1(59);
  46747. },
  46748. expectStatementSeparator$0() {
  46749. return this.expectStatementSeparator$1(null);
  46750. },
  46751. atEndOfStatement$0() {
  46752. var next = this.scanner.peekChar$0();
  46753. return next == null || next === 59 || next === 125 || next === 123;
  46754. },
  46755. lookingAtChildren$0() {
  46756. return this.scanner.peekChar$0() === 123;
  46757. },
  46758. scanElse$1(ifIndentation) {
  46759. var t3, _this = this,
  46760. t1 = _this.scanner,
  46761. t2 = t1._string_scanner$_position;
  46762. _this.whitespace$0();
  46763. t3 = t1._string_scanner$_position;
  46764. if (t1.scanChar$1(64)) {
  46765. if (_this.scanIdentifier$2$caseSensitive("else", true))
  46766. return true;
  46767. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  46768. _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
  46769. t1.set$position(t1._string_scanner$_position - 2);
  46770. return true;
  46771. }
  46772. }
  46773. t1.set$state(new A._SpanScannerState(t1, t2));
  46774. return false;
  46775. },
  46776. children$1(_, child) {
  46777. var children, _this = this,
  46778. t1 = _this.scanner;
  46779. t1.expectChar$1(123);
  46780. _this.whitespaceWithoutComments$0();
  46781. children = A._setArrayType([], type$.JSArray_Statement);
  46782. for (; true;)
  46783. switch (t1.peekChar$0()) {
  46784. case 36:
  46785. children.push(_this.variableDeclarationWithoutNamespace$0());
  46786. break;
  46787. case 47:
  46788. switch (t1.peekChar$1(1)) {
  46789. case 47:
  46790. children.push(_this._scss$_silentComment$0());
  46791. _this.whitespaceWithoutComments$0();
  46792. break;
  46793. case 42:
  46794. children.push(_this._scss$_loudComment$0());
  46795. _this.whitespaceWithoutComments$0();
  46796. break;
  46797. default:
  46798. children.push(child.call$0());
  46799. break;
  46800. }
  46801. break;
  46802. case 59:
  46803. t1.readChar$0();
  46804. _this.whitespaceWithoutComments$0();
  46805. break;
  46806. case 125:
  46807. t1.expectChar$1(125);
  46808. return children;
  46809. default:
  46810. children.push(child.call$0());
  46811. break;
  46812. }
  46813. },
  46814. statements$1(statement) {
  46815. var t1, t2, child, _this = this,
  46816. statements = A._setArrayType([], type$.JSArray_Statement);
  46817. _this.whitespaceWithoutComments$0();
  46818. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  46819. switch (t1.peekChar$0()) {
  46820. case 36:
  46821. statements.push(_this.variableDeclarationWithoutNamespace$0());
  46822. break;
  46823. case 47:
  46824. switch (t1.peekChar$1(1)) {
  46825. case 47:
  46826. statements.push(_this._scss$_silentComment$0());
  46827. _this.whitespaceWithoutComments$0();
  46828. break;
  46829. case 42:
  46830. statements.push(_this._scss$_loudComment$0());
  46831. _this.whitespaceWithoutComments$0();
  46832. break;
  46833. default:
  46834. child = statement.call$0();
  46835. if (child != null)
  46836. statements.push(child);
  46837. break;
  46838. }
  46839. break;
  46840. case 59:
  46841. t1.readChar$0();
  46842. _this.whitespaceWithoutComments$0();
  46843. break;
  46844. default:
  46845. child = statement.call$0();
  46846. if (child != null)
  46847. statements.push(child);
  46848. break;
  46849. }
  46850. return statements;
  46851. },
  46852. _scss$_silentComment$0() {
  46853. var t2, t3, _this = this,
  46854. t1 = _this.scanner,
  46855. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  46856. t1.expect$1("//");
  46857. t2 = t1.string.length;
  46858. do {
  46859. while (true) {
  46860. if (t1._string_scanner$_position !== t2) {
  46861. t3 = t1.readChar$0();
  46862. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  46863. } else
  46864. t3 = false;
  46865. if (!t3)
  46866. break;
  46867. }
  46868. if (t1._string_scanner$_position === t2)
  46869. break;
  46870. _this.whitespaceWithoutComments$0();
  46871. } while (t1.scan$1("//"));
  46872. if (_this.get$plainCss())
  46873. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  46874. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  46875. },
  46876. _scss$_loudComment$0() {
  46877. var t3, t4, buffer, t5, endPosition, t6, result,
  46878. t1 = this.scanner,
  46879. t2 = t1._string_scanner$_position;
  46880. t1.expect$1("/*");
  46881. t3 = new A.StringBuffer("");
  46882. t4 = A._setArrayType([], type$.JSArray_Object);
  46883. buffer = new A.InterpolationBuffer(t3, t4);
  46884. t3._contents = "" + "/*";
  46885. for (; true;)
  46886. switch (t1.peekChar$0()) {
  46887. case 35:
  46888. if (t1.peekChar$1(1) === 123) {
  46889. t5 = this.singleInterpolation$0();
  46890. buffer._flushText$0();
  46891. t4.push(t5);
  46892. } else
  46893. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46894. break;
  46895. case 42:
  46896. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46897. if (t1.peekChar$0() !== 47)
  46898. break;
  46899. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46900. endPosition = t1._string_scanner$_position;
  46901. t5 = t1._sourceFile;
  46902. t6 = new A._SpanScannerState(t1, t2).position;
  46903. t1 = new A._FileSpan(t5, t6, endPosition);
  46904. t1._FileSpan$3(t5, t6, endPosition);
  46905. t6 = type$.Object;
  46906. t5 = A.List_List$of(t4, true, t6);
  46907. t2 = t3._contents;
  46908. if (t2.length !== 0)
  46909. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  46910. result = A.List_List$from(t5, false, t6);
  46911. result.fixed$length = Array;
  46912. result.immutable$list = Array;
  46913. t2 = new A.Interpolation(result, t1);
  46914. t2.Interpolation$2(t5, t1);
  46915. return new A.LoudComment(t2);
  46916. case 13:
  46917. t1.readChar$0();
  46918. if (t1.peekChar$0() !== 10)
  46919. t3._contents += A.Primitives_stringFromCharCode(10);
  46920. break;
  46921. case 12:
  46922. t1.readChar$0();
  46923. t3._contents += A.Primitives_stringFromCharCode(10);
  46924. break;
  46925. default:
  46926. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  46927. break;
  46928. }
  46929. }
  46930. };
  46931. A.SelectorParser.prototype = {
  46932. parse$0() {
  46933. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  46934. },
  46935. parseCompoundSelector$0() {
  46936. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  46937. },
  46938. _selectorList$0() {
  46939. var t3, t4, lineBreak, _this = this,
  46940. t1 = _this.scanner,
  46941. t2 = t1._sourceFile,
  46942. previousLine = t2.getLine$1(t1._string_scanner$_position),
  46943. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  46944. _this.whitespace$0();
  46945. for (t3 = t1.string.length; t1.scanChar$1(44);) {
  46946. _this.whitespace$0();
  46947. if (t1.peekChar$0() === 44)
  46948. continue;
  46949. t4 = t1._string_scanner$_position;
  46950. if (t4 === t3)
  46951. break;
  46952. lineBreak = t2.getLine$1(t4) !== previousLine;
  46953. if (lineBreak)
  46954. previousLine = t2.getLine$1(t1._string_scanner$_position);
  46955. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  46956. }
  46957. return A.SelectorList$(components);
  46958. },
  46959. _complexSelector$1$lineBreak(lineBreak) {
  46960. var t2, t3, t4, lastCompound, initialCombinators, next, t5, result, _this = this,
  46961. t1 = type$.JSArray_Combinator,
  46962. combinators = A._setArrayType([], t1),
  46963. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  46964. $label0$1:
  46965. for (t2 = _this.scanner, t3 = B.Set_2Vk2._map, t4 = type$.Combinator, lastCompound = null, initialCombinators = null; true;) {
  46966. _this.whitespace$0();
  46967. next = t2.peekChar$0();
  46968. switch (next) {
  46969. case 43:
  46970. t2.readChar$0();
  46971. combinators.push(B.Combinator_4QF);
  46972. break;
  46973. case 62:
  46974. t2.readChar$0();
  46975. combinators.push(B.Combinator_Cht);
  46976. break;
  46977. case 126:
  46978. t2.readChar$0();
  46979. combinators.push(B.Combinator_Htt);
  46980. break;
  46981. default:
  46982. if (next != null)
  46983. t5 = !t3.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  46984. else
  46985. t5 = true;
  46986. if (t5)
  46987. break $label0$1;
  46988. if (lastCompound != null) {
  46989. result = A.List_List$from(combinators, false, t4);
  46990. result.fixed$length = Array;
  46991. result.immutable$list = Array;
  46992. components.push(new A.ComplexSelectorComponent(lastCompound, result));
  46993. } else if (combinators.length !== 0)
  46994. initialCombinators = combinators;
  46995. lastCompound = _this._compoundSelector$0();
  46996. combinators = A._setArrayType([], t1);
  46997. if (t2.peekChar$0() === 38)
  46998. t2.error$1(0, string$.x22x26__ma);
  46999. break;
  47000. }
  47001. }
  47002. if (lastCompound != null)
  47003. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4)));
  47004. else if (combinators.length !== 0)
  47005. initialCombinators = combinators;
  47006. else
  47007. t2.error$1(0, "expected selector.");
  47008. return A.ComplexSelector$(initialCombinators == null ? B.List_empty0 : initialCombinators, components, lineBreak);
  47009. },
  47010. _complexSelector$0() {
  47011. return this._complexSelector$1$lineBreak(false);
  47012. },
  47013. _compoundSelector$0() {
  47014. var t2,
  47015. components = A._setArrayType([this._simpleSelector$0()], type$.JSArray_SimpleSelector),
  47016. t1 = this.scanner;
  47017. while (true) {
  47018. t2 = t1.peekChar$0();
  47019. if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
  47020. break;
  47021. components.push(this._simpleSelector$1$allowParent(false));
  47022. }
  47023. return A.CompoundSelector$(components);
  47024. },
  47025. _simpleSelector$1$allowParent(allowParent) {
  47026. var $name, text, t2, suffix, _this = this,
  47027. t1 = _this.scanner,
  47028. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47029. if (allowParent == null)
  47030. allowParent = _this._allowParent;
  47031. switch (t1.peekChar$0()) {
  47032. case 91:
  47033. return _this._attributeSelector$0();
  47034. case 46:
  47035. t1.expectChar$1(46);
  47036. return new A.ClassSelector(_this.identifier$0());
  47037. case 35:
  47038. t1.expectChar$1(35);
  47039. return new A.IDSelector(_this.identifier$0());
  47040. case 37:
  47041. t1.expectChar$1(37);
  47042. $name = _this.identifier$0();
  47043. if (!_this._allowPlaceholder)
  47044. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  47045. return new A.PlaceholderSelector($name);
  47046. case 58:
  47047. return _this._pseudoSelector$0();
  47048. case 38:
  47049. t1.expectChar$1(38);
  47050. if (_this.lookingAtIdentifierBody$0()) {
  47051. text = new A.StringBuffer("");
  47052. _this._identifierBody$1(text);
  47053. if (text._contents.length === 0)
  47054. t1.error$1(0, "Expected identifier body.");
  47055. t2 = text._contents;
  47056. suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
  47057. } else
  47058. suffix = null;
  47059. if (!allowParent)
  47060. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  47061. return new A.ParentSelector(suffix);
  47062. default:
  47063. return _this._typeOrUniversalSelector$0();
  47064. }
  47065. },
  47066. _simpleSelector$0() {
  47067. return this._simpleSelector$1$allowParent(null);
  47068. },
  47069. _attributeSelector$0() {
  47070. var $name, operator, next, value, modifier, _this = this, _null = null,
  47071. t1 = _this.scanner;
  47072. t1.expectChar$1(91);
  47073. _this.whitespace$0();
  47074. $name = _this._attributeName$0();
  47075. _this.whitespace$0();
  47076. if (t1.scanChar$1(93))
  47077. return new A.AttributeSelector($name, _null, _null, _null);
  47078. operator = _this._attributeOperator$0();
  47079. _this.whitespace$0();
  47080. next = t1.peekChar$0();
  47081. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  47082. _this.whitespace$0();
  47083. next = t1.peekChar$0();
  47084. modifier = next != null && A.isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  47085. t1.expectChar$1(93);
  47086. return new A.AttributeSelector($name, operator, value, modifier);
  47087. },
  47088. _attributeName$0() {
  47089. var nameOrNamespace, _this = this,
  47090. t1 = _this.scanner;
  47091. if (t1.scanChar$1(42)) {
  47092. t1.expectChar$1(124);
  47093. return new A.QualifiedName(_this.identifier$0(), "*");
  47094. }
  47095. if (t1.scanChar$1(124))
  47096. return new A.QualifiedName(_this.identifier$0(), "");
  47097. nameOrNamespace = _this.identifier$0();
  47098. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  47099. return new A.QualifiedName(nameOrNamespace, null);
  47100. t1.readChar$0();
  47101. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  47102. },
  47103. _attributeOperator$0() {
  47104. var t1 = this.scanner,
  47105. t2 = t1._string_scanner$_position;
  47106. switch (t1.readChar$0()) {
  47107. case 61:
  47108. return B.AttributeOperator_ES6;
  47109. case 126:
  47110. t1.expectChar$1(61);
  47111. return B.AttributeOperator_r60;
  47112. case 124:
  47113. t1.expectChar$1(61);
  47114. return B.AttributeOperator_ivT;
  47115. case 94:
  47116. t1.expectChar$1(61);
  47117. return B.AttributeOperator_eot;
  47118. case 36:
  47119. t1.expectChar$1(61);
  47120. return B.AttributeOperator_BGd;
  47121. case 42:
  47122. t1.expectChar$1(61);
  47123. return B.AttributeOperator_8aB;
  47124. default:
  47125. t1.error$2$position(0, 'Expected "]".', t2);
  47126. }
  47127. },
  47128. _pseudoSelector$0() {
  47129. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  47130. t1 = _this.scanner;
  47131. t1.expectChar$1(58);
  47132. element = t1.scanChar$1(58);
  47133. $name = _this.identifier$0();
  47134. if (!t1.scanChar$1(40))
  47135. return A.PseudoSelector$($name, _null, element, _null);
  47136. _this.whitespace$0();
  47137. unvendored = A.unvendor($name);
  47138. if (element)
  47139. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  47140. selector = _this._selectorList$0();
  47141. argument = _null;
  47142. } else {
  47143. argument = _this.declarationValue$1$allowEmpty(true);
  47144. selector = _null;
  47145. }
  47146. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  47147. selector = _this._selectorList$0();
  47148. argument = _null;
  47149. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  47150. argument = _this._aNPlusB$0();
  47151. _this.whitespace$0();
  47152. t2 = t1.peekChar$1(-1);
  47153. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  47154. _this.expectIdentifier$1("of");
  47155. argument += " of";
  47156. _this.whitespace$0();
  47157. selector = _this._selectorList$0();
  47158. } else
  47159. selector = _null;
  47160. } else {
  47161. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  47162. selector = _null;
  47163. }
  47164. t1.expectChar$1(41);
  47165. return A.PseudoSelector$($name, argument, element, selector);
  47166. },
  47167. _aNPlusB$0() {
  47168. var t2, first, t3, next, last, _this = this,
  47169. t1 = _this.scanner;
  47170. switch (t1.peekChar$0()) {
  47171. case 101:
  47172. case 69:
  47173. _this.expectIdentifier$1("even");
  47174. return "even";
  47175. case 111:
  47176. case 79:
  47177. _this.expectIdentifier$1("odd");
  47178. return "odd";
  47179. case 43:
  47180. case 45:
  47181. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  47182. break;
  47183. default:
  47184. t2 = "";
  47185. }
  47186. first = t1.peekChar$0();
  47187. if (first != null && A.isDigit(first)) {
  47188. while (true) {
  47189. t3 = t1.peekChar$0();
  47190. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47191. break;
  47192. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47193. }
  47194. _this.whitespace$0();
  47195. if (!_this.scanIdentChar$1(110))
  47196. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47197. } else
  47198. _this.expectIdentChar$1(110);
  47199. t2 += A.Primitives_stringFromCharCode(110);
  47200. _this.whitespace$0();
  47201. next = t1.peekChar$0();
  47202. if (next !== 43 && next !== 45)
  47203. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47204. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47205. _this.whitespace$0();
  47206. last = t1.peekChar$0();
  47207. if (last == null || !A.isDigit(last))
  47208. t1.error$1(0, "Expected a number.");
  47209. while (true) {
  47210. t3 = t1.peekChar$0();
  47211. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  47212. break;
  47213. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  47214. }
  47215. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47216. },
  47217. _typeOrUniversalSelector$0() {
  47218. var nameOrNamespace, _this = this,
  47219. t1 = _this.scanner,
  47220. first = t1.peekChar$0();
  47221. if (first === 42) {
  47222. t1.readChar$0();
  47223. if (!t1.scanChar$1(124))
  47224. return new A.UniversalSelector(null);
  47225. if (t1.scanChar$1(42))
  47226. return new A.UniversalSelector("*");
  47227. else
  47228. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"));
  47229. } else if (first === 124) {
  47230. t1.readChar$0();
  47231. if (t1.scanChar$1(42))
  47232. return new A.UniversalSelector("");
  47233. else
  47234. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""));
  47235. }
  47236. nameOrNamespace = _this.identifier$0();
  47237. if (!t1.scanChar$1(124))
  47238. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null));
  47239. else if (t1.scanChar$1(42))
  47240. return new A.UniversalSelector(nameOrNamespace);
  47241. else
  47242. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace));
  47243. }
  47244. };
  47245. A.SelectorParser_parse_closure.prototype = {
  47246. call$0() {
  47247. var t1 = this.$this,
  47248. selector = t1._selectorList$0();
  47249. t1 = t1.scanner;
  47250. if (t1._string_scanner$_position !== t1.string.length)
  47251. t1.error$1(0, "expected selector.");
  47252. return selector;
  47253. },
  47254. $signature: 47
  47255. };
  47256. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  47257. call$0() {
  47258. var t1 = this.$this,
  47259. compound = t1._compoundSelector$0();
  47260. t1 = t1.scanner;
  47261. if (t1._string_scanner$_position !== t1.string.length)
  47262. t1.error$1(0, "expected selector.");
  47263. return compound;
  47264. },
  47265. $signature: 432
  47266. };
  47267. A.StylesheetParser.prototype = {
  47268. parse$0() {
  47269. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  47270. },
  47271. parseArgumentDeclaration$0() {
  47272. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  47273. },
  47274. parseVariableDeclaration$0() {
  47275. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  47276. },
  47277. parseUseRule$0() {
  47278. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  47279. },
  47280. _parseSingleProduction$1$1(production, $T) {
  47281. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  47282. },
  47283. _statement$1$root(root) {
  47284. var t2, _this = this,
  47285. t1 = _this.scanner;
  47286. switch (t1.peekChar$0()) {
  47287. case 64:
  47288. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  47289. case 43:
  47290. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  47291. return _this._styleRule$0();
  47292. _this._isUseAllowed = false;
  47293. t2 = t1._string_scanner$_position;
  47294. t1.readChar$0();
  47295. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  47296. case 61:
  47297. if (!_this.get$indented())
  47298. return _this._styleRule$0();
  47299. _this._isUseAllowed = false;
  47300. t2 = t1._string_scanner$_position;
  47301. t1.readChar$0();
  47302. _this.whitespace$0();
  47303. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  47304. case 125:
  47305. t1.error$2$length(0, 'unmatched "}".', 1);
  47306. break;
  47307. default:
  47308. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  47309. }
  47310. },
  47311. _statement$0() {
  47312. return this._statement$1$root(false);
  47313. },
  47314. _variableDeclarationWithNamespace$0() {
  47315. var t1 = this.scanner,
  47316. t2 = t1._string_scanner$_position,
  47317. namespace = this.identifier$0();
  47318. t1.expectChar$1(46);
  47319. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  47320. },
  47321. variableDeclarationWithoutNamespace$2(namespace, start_) {
  47322. var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
  47323. precedingComment = _this.lastSilentComment;
  47324. _this.lastSilentComment = null;
  47325. if (start_ == null) {
  47326. t1 = _this.scanner;
  47327. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47328. } else
  47329. start = start_;
  47330. $name = _this.variableName$0();
  47331. t1 = namespace != null;
  47332. if (t1)
  47333. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  47334. if (_this.get$plainCss())
  47335. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  47336. _this.whitespace$0();
  47337. t2 = _this.scanner;
  47338. t2.expectChar$1(58);
  47339. _this.whitespace$0();
  47340. value = _this._expression$0();
  47341. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47342. for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
  47343. flag = _this.identifier$0();
  47344. if (flag === "default")
  47345. guarded = true;
  47346. else if (flag === "global") {
  47347. if (t1) {
  47348. endPosition = t2._string_scanner$_position;
  47349. t4 = t2._sourceFile;
  47350. t5 = flagStart.position;
  47351. t6 = new A._FileSpan(t4, t5, endPosition);
  47352. t6._FileSpan$3(t4, t5, endPosition);
  47353. A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
  47354. }
  47355. global = true;
  47356. } else {
  47357. endPosition = t2._string_scanner$_position;
  47358. t4 = t2._sourceFile;
  47359. t5 = flagStart.position;
  47360. t6 = new A._FileSpan(t4, t5, endPosition);
  47361. t6._FileSpan$3(t4, t5, endPosition);
  47362. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  47363. }
  47364. _this.whitespace$0();
  47365. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47366. }
  47367. _this.expectStatementSeparator$1("variable declaration");
  47368. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  47369. if (global)
  47370. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  47371. return declaration;
  47372. },
  47373. variableDeclarationWithoutNamespace$0() {
  47374. return this.variableDeclarationWithoutNamespace$2(null, null);
  47375. },
  47376. _variableDeclarationOrStyleRule$0() {
  47377. var t1, t2, variableOrInterpolation, t3, _this = this;
  47378. if (_this.get$plainCss())
  47379. return _this._styleRule$0();
  47380. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  47381. return _this._styleRule$0();
  47382. if (!_this.lookingAtIdentifier$0())
  47383. return _this._styleRule$0();
  47384. t1 = _this.scanner;
  47385. t2 = t1._string_scanner$_position;
  47386. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  47387. if (variableOrInterpolation instanceof A.VariableDeclaration)
  47388. return variableOrInterpolation;
  47389. else {
  47390. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  47391. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  47392. return _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  47393. }
  47394. },
  47395. _declarationOrStyleRule$0() {
  47396. var t1, t2, declarationOrBuffer, _this = this;
  47397. if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
  47398. return _this._propertyOrVariableDeclaration$0();
  47399. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  47400. return _this._styleRule$0();
  47401. t1 = _this.scanner;
  47402. t2 = t1._string_scanner$_position;
  47403. declarationOrBuffer = _this._declarationOrBuffer$0();
  47404. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  47405. },
  47406. _declarationOrBuffer$0() {
  47407. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  47408. t2 = _this.scanner,
  47409. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  47410. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  47411. first = t2.peekChar$0();
  47412. if (first !== 58)
  47413. if (first !== 42)
  47414. if (first !== 46)
  47415. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  47416. else
  47417. t3 = true;
  47418. else
  47419. t3 = true;
  47420. else
  47421. t3 = true;
  47422. if (t3) {
  47423. t3 = t2.readChar$0();
  47424. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
  47425. t3 = _this.rawText$1(_this.get$whitespace());
  47426. nameBuffer._interpolation_buffer$_text._contents += t3;
  47427. startsWithPunctuation = true;
  47428. } else
  47429. startsWithPunctuation = false;
  47430. if (!_this._lookingAtInterpolatedIdentifier$0())
  47431. return nameBuffer;
  47432. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  47433. if (variableOrInterpolation instanceof A.VariableDeclaration)
  47434. return variableOrInterpolation;
  47435. else
  47436. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  47437. _this._isUseAllowed = false;
  47438. if (t2.matches$1("/*")) {
  47439. t3 = _this.rawText$1(_this.get$loudComment());
  47440. nameBuffer._interpolation_buffer$_text._contents += t3;
  47441. }
  47442. midBuffer = new A.StringBuffer("");
  47443. t3 = _this.get$whitespace();
  47444. midBuffer._contents += _this.rawText$1(t3);
  47445. t4 = t2._string_scanner$_position;
  47446. if (!t2.scanChar$1(58)) {
  47447. if (midBuffer._contents.length !== 0)
  47448. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
  47449. return nameBuffer;
  47450. }
  47451. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  47452. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  47453. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  47454. t1 = _this._interpolatedDeclarationValue$0();
  47455. _this.expectStatementSeparator$1("custom property");
  47456. return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  47457. }
  47458. if (t2.scanChar$1(58)) {
  47459. t1 = nameBuffer;
  47460. t2 = t1._interpolation_buffer$_text;
  47461. t3 = t2._contents += A.S(midBuffer);
  47462. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  47463. return t1;
  47464. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  47465. t1 = nameBuffer;
  47466. t1._interpolation_buffer$_text._contents += A.S(midBuffer);
  47467. return t1;
  47468. }
  47469. postColonWhitespace = _this.rawText$1(t3);
  47470. if (_this.lookingAtChildren$0())
  47471. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
  47472. midBuffer._contents += postColonWhitespace;
  47473. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  47474. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47475. t3 = t1.value = null;
  47476. try {
  47477. t3 = t1.value = _this._expression$0();
  47478. if (_this.lookingAtChildren$0()) {
  47479. if (couldBeSelector)
  47480. _this.expectStatementSeparator$0();
  47481. } else if (!_this.atEndOfStatement$0())
  47482. _this.expectStatementSeparator$0();
  47483. } catch (exception) {
  47484. if (type$.FormatException._is(A.unwrapException(exception))) {
  47485. if (!couldBeSelector)
  47486. throw exception;
  47487. t2.set$state(beforeDeclaration);
  47488. additional = _this.almostAnyValue$0();
  47489. if (!_this.get$indented() && t2.peekChar$0() === 59)
  47490. throw exception;
  47491. nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
  47492. nameBuffer.addInterpolation$1(additional);
  47493. return nameBuffer;
  47494. } else
  47495. throw exception;
  47496. }
  47497. if (_this.lookingAtChildren$0())
  47498. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
  47499. else {
  47500. _this.expectStatementSeparator$0();
  47501. return A.Declaration$($name, t3, t2.spanFrom$1(start));
  47502. }
  47503. },
  47504. _variableDeclarationOrInterpolation$0() {
  47505. var t1, start, identifier, t2, buffer, _this = this;
  47506. if (!_this.lookingAtIdentifier$0())
  47507. return _this.interpolatedIdentifier$0();
  47508. t1 = _this.scanner;
  47509. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47510. identifier = _this.identifier$0();
  47511. if (t1.matches$1(".$")) {
  47512. t1.readChar$0();
  47513. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  47514. } else {
  47515. t2 = new A.StringBuffer("");
  47516. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  47517. t2._contents = "" + identifier;
  47518. if (_this._lookingAtInterpolatedIdentifierBody$0())
  47519. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  47520. return buffer.interpolation$1(t1.spanFrom$1(start));
  47521. }
  47522. },
  47523. _styleRule$2(buffer, start_) {
  47524. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  47525. _this._isUseAllowed = false;
  47526. if (start_ == null) {
  47527. t2 = _this.scanner;
  47528. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47529. } else
  47530. start = start_;
  47531. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  47532. if (buffer != null) {
  47533. buffer.addInterpolation$1(interpolation);
  47534. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  47535. } else
  47536. t2 = interpolation;
  47537. if (t2.contents.length === 0)
  47538. _this.scanner.error$1(0, 'expected "}".');
  47539. wasInStyleRule = _this._inStyleRule;
  47540. _this._inStyleRule = true;
  47541. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  47542. },
  47543. _styleRule$0() {
  47544. return this._styleRule$2(null, null);
  47545. },
  47546. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  47547. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  47548. _s48_ = string$.Nested,
  47549. t1 = {},
  47550. t2 = _this.scanner,
  47551. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  47552. t1.name = null;
  47553. first = t2.peekChar$0();
  47554. if (first !== 58)
  47555. if (first !== 42)
  47556. if (first !== 46)
  47557. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  47558. else
  47559. t3 = true;
  47560. else
  47561. t3 = true;
  47562. else
  47563. t3 = true;
  47564. if (t3) {
  47565. t3 = new A.StringBuffer("");
  47566. nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  47567. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  47568. t3._contents += _this.rawText$1(_this.get$whitespace());
  47569. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  47570. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  47571. } else if (!_this.get$plainCss()) {
  47572. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  47573. if (variableOrInterpolation instanceof A.VariableDeclaration)
  47574. return variableOrInterpolation;
  47575. else {
  47576. type$.Interpolation._as(variableOrInterpolation);
  47577. t1.name = variableOrInterpolation;
  47578. }
  47579. t3 = variableOrInterpolation;
  47580. } else {
  47581. $name = _this.interpolatedIdentifier$0();
  47582. t1.name = $name;
  47583. t3 = $name;
  47584. }
  47585. _this.whitespace$0();
  47586. t2.expectChar$1(58);
  47587. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  47588. t1 = _this._interpolatedDeclarationValue$0();
  47589. _this.expectStatementSeparator$1("custom property");
  47590. return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  47591. }
  47592. _this.whitespace$0();
  47593. if (_this.lookingAtChildren$0()) {
  47594. if (_this.get$plainCss())
  47595. t2.error$1(0, _s48_);
  47596. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
  47597. }
  47598. value = _this._expression$0();
  47599. if (_this.lookingAtChildren$0()) {
  47600. if (_this.get$plainCss())
  47601. t2.error$1(0, _s48_);
  47602. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
  47603. } else {
  47604. _this.expectStatementSeparator$0();
  47605. return A.Declaration$(t3, value, t2.spanFrom$1(start));
  47606. }
  47607. },
  47608. _propertyOrVariableDeclaration$0() {
  47609. return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
  47610. },
  47611. _declarationChild$0() {
  47612. if (this.scanner.peekChar$0() === 64)
  47613. return this._declarationAtRule$0();
  47614. return this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  47615. },
  47616. atRule$2$root(child, root) {
  47617. var $name, wasUseAllowed, value, optional, _this = this,
  47618. t1 = _this.scanner,
  47619. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47620. t1.expectChar$2$name(64, "@-rule");
  47621. $name = _this.interpolatedIdentifier$0();
  47622. _this.whitespace$0();
  47623. wasUseAllowed = _this._isUseAllowed;
  47624. _this._isUseAllowed = false;
  47625. switch ($name.get$asPlain()) {
  47626. case "at-root":
  47627. return _this._atRootRule$1(start);
  47628. case "content":
  47629. return _this._contentRule$1(start);
  47630. case "debug":
  47631. return _this._debugRule$1(start);
  47632. case "each":
  47633. return _this._eachRule$2(start, child);
  47634. case "else":
  47635. return _this._disallowedAtRule$1(start);
  47636. case "error":
  47637. return _this._errorRule$1(start);
  47638. case "extend":
  47639. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  47640. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  47641. value = _this.almostAnyValue$0();
  47642. optional = t1.scanChar$1(33);
  47643. if (optional)
  47644. _this.expectIdentifier$1("optional");
  47645. _this.expectStatementSeparator$1("@extend rule");
  47646. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  47647. case "for":
  47648. return _this._forRule$2(start, child);
  47649. case "forward":
  47650. _this._isUseAllowed = wasUseAllowed;
  47651. if (!root)
  47652. _this._disallowedAtRule$1(start);
  47653. return _this._forwardRule$1(start);
  47654. case "function":
  47655. return _this._functionRule$1(start);
  47656. case "if":
  47657. return _this._ifRule$2(start, child);
  47658. case "import":
  47659. return _this._importRule$1(start);
  47660. case "include":
  47661. return _this._includeRule$1(start);
  47662. case "media":
  47663. return _this.mediaRule$1(start);
  47664. case "mixin":
  47665. return _this._mixinRule$1(start);
  47666. case "-moz-document":
  47667. return _this.mozDocumentRule$2(start, $name);
  47668. case "return":
  47669. return _this._disallowedAtRule$1(start);
  47670. case "supports":
  47671. return _this.supportsRule$1(start);
  47672. case "use":
  47673. _this._isUseAllowed = wasUseAllowed;
  47674. if (!root)
  47675. _this._disallowedAtRule$1(start);
  47676. return _this._useRule$1(start);
  47677. case "warn":
  47678. return _this._warnRule$1(start);
  47679. case "while":
  47680. return _this._whileRule$2(start, child);
  47681. default:
  47682. return _this.unknownAtRule$2(start, $name);
  47683. }
  47684. },
  47685. _declarationAtRule$0() {
  47686. var _this = this,
  47687. t1 = _this.scanner,
  47688. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47689. switch (_this._plainAtRuleName$0()) {
  47690. case "content":
  47691. return _this._contentRule$1(start);
  47692. case "debug":
  47693. return _this._debugRule$1(start);
  47694. case "each":
  47695. return _this._eachRule$2(start, _this.get$_declarationChild());
  47696. case "else":
  47697. return _this._disallowedAtRule$1(start);
  47698. case "error":
  47699. return _this._errorRule$1(start);
  47700. case "for":
  47701. return _this._forRule$2(start, _this.get$_declarationChild());
  47702. case "if":
  47703. return _this._ifRule$2(start, _this.get$_declarationChild());
  47704. case "include":
  47705. return _this._includeRule$1(start);
  47706. case "warn":
  47707. return _this._warnRule$1(start);
  47708. case "while":
  47709. return _this._whileRule$2(start, _this.get$_declarationChild());
  47710. default:
  47711. return _this._disallowedAtRule$1(start);
  47712. }
  47713. },
  47714. _functionChild$0() {
  47715. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, value, _this = this,
  47716. t1 = _this.scanner;
  47717. if (t1.peekChar$0() !== 64) {
  47718. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47719. try {
  47720. t2 = _this._variableDeclarationWithNamespace$0();
  47721. return t2;
  47722. } catch (exception) {
  47723. t2 = A.unwrapException(exception);
  47724. t3 = type$.SourceSpanFormatException;
  47725. if (t3._is(t2)) {
  47726. variableDeclarationError = t2;
  47727. stackTrace = A.getTraceFromException(exception);
  47728. t1.set$state(state);
  47729. statement = null;
  47730. try {
  47731. statement = _this._declarationOrStyleRule$0();
  47732. } catch (exception) {
  47733. if (t3._is(A.unwrapException(exception)))
  47734. throw A.wrapException(variableDeclarationError);
  47735. else
  47736. throw exception;
  47737. }
  47738. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  47739. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  47740. } else
  47741. throw exception;
  47742. }
  47743. }
  47744. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  47745. switch (_this._plainAtRuleName$0()) {
  47746. case "debug":
  47747. return _this._debugRule$1(start);
  47748. case "each":
  47749. return _this._eachRule$2(start, _this.get$_functionChild());
  47750. case "else":
  47751. return _this._disallowedAtRule$1(start);
  47752. case "error":
  47753. return _this._errorRule$1(start);
  47754. case "for":
  47755. return _this._forRule$2(start, _this.get$_functionChild());
  47756. case "if":
  47757. return _this._ifRule$2(start, _this.get$_functionChild());
  47758. case "return":
  47759. value = _this._expression$0();
  47760. _this.expectStatementSeparator$1("@return rule");
  47761. return new A.ReturnRule(value, t1.spanFrom$1(start));
  47762. case "warn":
  47763. return _this._warnRule$1(start);
  47764. case "while":
  47765. return _this._whileRule$2(start, _this.get$_functionChild());
  47766. default:
  47767. return _this._disallowedAtRule$1(start);
  47768. }
  47769. },
  47770. _plainAtRuleName$0() {
  47771. this.scanner.expectChar$2$name(64, "@-rule");
  47772. var $name = this.identifier$0();
  47773. this.whitespace$0();
  47774. return $name;
  47775. },
  47776. _atRootRule$1(start) {
  47777. var query, _this = this,
  47778. t1 = _this.scanner;
  47779. if (t1.peekChar$0() === 40) {
  47780. query = _this._atRootQuery$0();
  47781. _this.whitespace$0();
  47782. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  47783. } else if (_this.lookingAtChildren$0())
  47784. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  47785. else
  47786. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  47787. },
  47788. _atRootQuery$0() {
  47789. var interpolation, t2, t3, t4, buffer, t5, _this = this,
  47790. t1 = _this.scanner;
  47791. if (t1.peekChar$0() === 35) {
  47792. interpolation = _this.singleInterpolation$0();
  47793. return A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
  47794. }
  47795. t2 = t1._string_scanner$_position;
  47796. t3 = new A.StringBuffer("");
  47797. t4 = A._setArrayType([], type$.JSArray_Object);
  47798. buffer = new A.InterpolationBuffer(t3, t4);
  47799. t1.expectChar$1(40);
  47800. t3._contents += A.Primitives_stringFromCharCode(40);
  47801. _this.whitespace$0();
  47802. t5 = _this._expression$0();
  47803. buffer._flushText$0();
  47804. t4.push(t5);
  47805. if (t1.scanChar$1(58)) {
  47806. _this.whitespace$0();
  47807. t5 = t3._contents += A.Primitives_stringFromCharCode(58);
  47808. t3._contents = t5 + A.Primitives_stringFromCharCode(32);
  47809. t5 = _this._expression$0();
  47810. buffer._flushText$0();
  47811. t4.push(t5);
  47812. }
  47813. t1.expectChar$1(41);
  47814. _this.whitespace$0();
  47815. t3._contents += A.Primitives_stringFromCharCode(41);
  47816. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  47817. },
  47818. _contentRule$1(start) {
  47819. var t1, $arguments, t2, t3, _this = this;
  47820. if (!_this._stylesheet$_inMixin)
  47821. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  47822. _this.whitespace$0();
  47823. t1 = _this.scanner;
  47824. if (t1.peekChar$0() === 40)
  47825. $arguments = _this._argumentInvocation$1$mixin(true);
  47826. else {
  47827. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  47828. t3 = t2.offset;
  47829. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  47830. }
  47831. _this.expectStatementSeparator$1("@content rule");
  47832. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  47833. },
  47834. _debugRule$1(start) {
  47835. var value = this._expression$0();
  47836. this.expectStatementSeparator$1("@debug rule");
  47837. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  47838. },
  47839. _eachRule$2(start, child) {
  47840. var variables, t1, _this = this,
  47841. wasInControlDirective = _this._inControlDirective;
  47842. _this._inControlDirective = true;
  47843. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  47844. _this.whitespace$0();
  47845. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  47846. _this.whitespace$0();
  47847. t1.expectChar$1(36);
  47848. variables.push(_this.identifier$1$normalize(true));
  47849. _this.whitespace$0();
  47850. }
  47851. _this.expectIdentifier$1("in");
  47852. _this.whitespace$0();
  47853. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  47854. },
  47855. _errorRule$1(start) {
  47856. var value = this._expression$0();
  47857. this.expectStatementSeparator$1("@error rule");
  47858. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  47859. },
  47860. _functionRule$1(start) {
  47861. var $name, $arguments, _this = this,
  47862. precedingComment = _this.lastSilentComment;
  47863. _this.lastSilentComment = null;
  47864. $name = _this.identifier$1$normalize(true);
  47865. _this.whitespace$0();
  47866. $arguments = _this._argumentDeclaration$0();
  47867. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  47868. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  47869. else if (_this._inControlDirective)
  47870. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  47871. switch (A.unvendor($name)) {
  47872. case "calc":
  47873. case "element":
  47874. case "expression":
  47875. case "url":
  47876. case "and":
  47877. case "or":
  47878. case "not":
  47879. case "clamp":
  47880. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  47881. break;
  47882. }
  47883. _this.whitespace$0();
  47884. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  47885. },
  47886. _forRule$2(start, child) {
  47887. var variable, from, _this = this, t1 = {},
  47888. wasInControlDirective = _this._inControlDirective;
  47889. _this._inControlDirective = true;
  47890. variable = _this.variableName$0();
  47891. _this.whitespace$0();
  47892. _this.expectIdentifier$1("from");
  47893. _this.whitespace$0();
  47894. t1.exclusive = null;
  47895. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  47896. if (t1.exclusive == null)
  47897. _this.scanner.error$1(0, 'Expected "to" or "through".');
  47898. _this.whitespace$0();
  47899. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  47900. },
  47901. _forwardRule$1(start) {
  47902. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  47903. url = _this._urlString$0();
  47904. _this.whitespace$0();
  47905. if (_this.scanIdentifier$1("as")) {
  47906. _this.whitespace$0();
  47907. prefix = _this.identifier$1$normalize(true);
  47908. _this.scanner.expectChar$1(42);
  47909. _this.whitespace$0();
  47910. } else
  47911. prefix = _null;
  47912. if (_this.scanIdentifier$1("show")) {
  47913. members = _this._memberList$0();
  47914. shownMixinsAndFunctions = members.item1;
  47915. shownVariables = members.item2;
  47916. hiddenVariables = _null;
  47917. hiddenMixinsAndFunctions = hiddenVariables;
  47918. } else {
  47919. if (_this.scanIdentifier$1("hide")) {
  47920. members = _this._memberList$0();
  47921. hiddenMixinsAndFunctions = members.item1;
  47922. hiddenVariables = members.item2;
  47923. } else {
  47924. hiddenVariables = _null;
  47925. hiddenMixinsAndFunctions = hiddenVariables;
  47926. }
  47927. shownVariables = _null;
  47928. shownMixinsAndFunctions = shownVariables;
  47929. }
  47930. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  47931. _this.expectStatementSeparator$1("@forward rule");
  47932. span = _this.scanner.spanFrom$1(start);
  47933. if (!_this._isUseAllowed)
  47934. _this.error$2(0, string$.x40forwa, span);
  47935. if (shownMixinsAndFunctions != null) {
  47936. shownVariables.toString;
  47937. t1 = type$.String;
  47938. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  47939. t3 = type$.UnmodifiableSetView_String;
  47940. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  47941. t4 = configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  47942. return new A.ForwardRule(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
  47943. } else if (hiddenMixinsAndFunctions != null) {
  47944. hiddenVariables.toString;
  47945. t1 = type$.String;
  47946. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  47947. t3 = type$.UnmodifiableSetView_String;
  47948. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  47949. t4 = configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  47950. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
  47951. } else
  47952. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  47953. },
  47954. _memberList$0() {
  47955. var _this = this,
  47956. t1 = type$.String,
  47957. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  47958. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  47959. t1 = _this.scanner;
  47960. do {
  47961. _this.whitespace$0();
  47962. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  47963. _this.whitespace$0();
  47964. } while (t1.scanChar$1(44));
  47965. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  47966. },
  47967. _ifRule$2(start, child) {
  47968. var condition, children, clauses, lastClause, span, _this = this,
  47969. ifIndentation = _this.get$currentIndentation(),
  47970. wasInControlDirective = _this._inControlDirective;
  47971. _this._inControlDirective = true;
  47972. condition = _this._expression$0();
  47973. children = _this.children$1(0, child);
  47974. _this.whitespaceWithoutComments$0();
  47975. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  47976. while (true) {
  47977. if (!_this.scanElse$1(ifIndentation)) {
  47978. lastClause = null;
  47979. break;
  47980. }
  47981. _this.whitespace$0();
  47982. if (_this.scanIdentifier$1("if")) {
  47983. _this.whitespace$0();
  47984. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  47985. } else {
  47986. lastClause = A.ElseClause$(_this.children$1(0, child));
  47987. break;
  47988. }
  47989. }
  47990. _this._inControlDirective = wasInControlDirective;
  47991. span = _this.scanner.spanFrom$1(start);
  47992. _this.whitespaceWithoutComments$0();
  47993. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  47994. },
  47995. _importRule$1(start) {
  47996. var argument, _this = this,
  47997. imports = A._setArrayType([], type$.JSArray_Import),
  47998. t1 = _this.scanner;
  47999. do {
  48000. _this.whitespace$0();
  48001. argument = _this.importArgument$0();
  48002. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && argument instanceof A.DynamicImport)
  48003. _this._disallowedAtRule$1(start);
  48004. imports.push(argument);
  48005. _this.whitespace$0();
  48006. } while (t1.scanChar$1(44));
  48007. _this.expectStatementSeparator$1("@import rule");
  48008. t1 = t1.spanFrom$1(start);
  48009. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  48010. },
  48011. importArgument$0() {
  48012. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  48013. t1 = _this.scanner,
  48014. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  48015. next = t1.peekChar$0();
  48016. if (next === 117 || next === 85) {
  48017. url = _this.dynamicUrl$0();
  48018. _this.whitespace$0();
  48019. modifiers = _this.tryImportModifiers$0();
  48020. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  48021. }
  48022. url = _this.string$0();
  48023. urlSpan = t1.spanFrom$1(start);
  48024. _this.whitespace$0();
  48025. modifiers = _this.tryImportModifiers$0();
  48026. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  48027. t2 = urlSpan;
  48028. 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));
  48029. } else
  48030. try {
  48031. t1 = _this.parseImportUrl$1(url);
  48032. return new A.DynamicImport(t1, urlSpan);
  48033. } catch (exception) {
  48034. t1 = A.unwrapException(exception);
  48035. if (type$.FormatException._is(t1)) {
  48036. innerError = t1;
  48037. stackTrace = A.getTraceFromException(exception);
  48038. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  48039. } else
  48040. throw exception;
  48041. }
  48042. },
  48043. parseImportUrl$1(url) {
  48044. var t1 = $.$get$windows();
  48045. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  48046. return t1.toUri$1(url).toString$0(0);
  48047. A.Uri_parse(url);
  48048. return url;
  48049. },
  48050. isPlainImportUrl$1(url) {
  48051. var first;
  48052. if (url.length < 5)
  48053. return false;
  48054. if (B.JSString_methods.endsWith$1(url, ".css"))
  48055. return true;
  48056. first = B.JSString_methods._codeUnitAt$1(url, 0);
  48057. if (first === 47)
  48058. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  48059. if (first !== 104)
  48060. return false;
  48061. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  48062. },
  48063. tryImportModifiers$0() {
  48064. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  48065. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  48066. return null;
  48067. t1 = _this.scanner;
  48068. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48069. t2 = new A.StringBuffer("");
  48070. t3 = A._setArrayType([], type$.JSArray_Object);
  48071. buffer = new A.InterpolationBuffer(t2, t3);
  48072. for (; true;)
  48073. if (_this._lookingAtInterpolatedIdentifier$0()) {
  48074. if (!(t3.length === 0 && t2._contents.length === 0))
  48075. t2._contents += A.Primitives_stringFromCharCode(32);
  48076. identifier = _this.interpolatedIdentifier$0();
  48077. buffer.addInterpolation$1(identifier);
  48078. t4 = identifier.get$asPlain();
  48079. $name = t4 == null ? null : t4.toLowerCase();
  48080. if ($name !== "and" && t1.scanChar$1(40)) {
  48081. if ($name === "supports") {
  48082. query = _this._importSupportsQuery$0();
  48083. t4 = !(query instanceof A.SupportsDeclaration);
  48084. if (t4)
  48085. t2._contents += A.Primitives_stringFromCharCode(40);
  48086. buffer._flushText$0();
  48087. t3.push(new A.SupportsExpression(query));
  48088. if (t4)
  48089. t2._contents += A.Primitives_stringFromCharCode(41);
  48090. } else {
  48091. t2._contents += A.Primitives_stringFromCharCode(40);
  48092. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  48093. t2._contents += A.Primitives_stringFromCharCode(41);
  48094. }
  48095. t1.expectChar$1(41);
  48096. _this.whitespace$0();
  48097. } else {
  48098. _this.whitespace$0();
  48099. if (t1.scanChar$1(44)) {
  48100. t2._contents += ", ";
  48101. buffer.addInterpolation$1(_this._mediaQueryList$0());
  48102. endPosition = t1._string_scanner$_position;
  48103. t4 = t1._sourceFile;
  48104. t5 = start.position;
  48105. t1 = new A._FileSpan(t4, t5, endPosition);
  48106. t1._FileSpan$3(t4, t5, endPosition);
  48107. t5 = type$.Object;
  48108. t4 = A.List_List$of(t3, true, t5);
  48109. t3 = t2._contents;
  48110. if (t3.length !== 0)
  48111. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  48112. result = A.List_List$from(t4, false, t5);
  48113. result.fixed$length = Array;
  48114. result.immutable$list = Array;
  48115. t2 = new A.Interpolation(result, t1);
  48116. t2.Interpolation$2(t4, t1);
  48117. return t2;
  48118. }
  48119. }
  48120. } else if (t1.peekChar$0() === 40) {
  48121. if (!(t3.length === 0 && t2._contents.length === 0))
  48122. t2._contents += A.Primitives_stringFromCharCode(32);
  48123. buffer.addInterpolation$1(_this._mediaQueryList$0());
  48124. endPosition = t1._string_scanner$_position;
  48125. t1 = t1._sourceFile;
  48126. t4 = start.position;
  48127. t5 = new A._FileSpan(t1, t4, endPosition);
  48128. t5._FileSpan$3(t1, t4, endPosition);
  48129. t4 = type$.Object;
  48130. t3 = A.List_List$of(t3, true, t4);
  48131. t1 = t2._contents;
  48132. if (t1.length !== 0)
  48133. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  48134. result = A.List_List$from(t3, false, t4);
  48135. result.fixed$length = Array;
  48136. result.immutable$list = Array;
  48137. t1 = new A.Interpolation(result, t5);
  48138. t1.Interpolation$2(t3, t5);
  48139. return t1;
  48140. } else {
  48141. endPosition = t1._string_scanner$_position;
  48142. t1 = t1._sourceFile;
  48143. t4 = start.position;
  48144. t5 = new A._FileSpan(t1, t4, endPosition);
  48145. t5._FileSpan$3(t1, t4, endPosition);
  48146. t4 = type$.Object;
  48147. t3 = A.List_List$of(t3, true, t4);
  48148. t1 = t2._contents;
  48149. if (t1.length !== 0)
  48150. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  48151. result = A.List_List$from(t3, false, t4);
  48152. result.fixed$length = Array;
  48153. result.immutable$list = Array;
  48154. t1 = new A.Interpolation(result, t5);
  48155. t1.Interpolation$2(t3, t5);
  48156. return t1;
  48157. }
  48158. },
  48159. _importSupportsQuery$0() {
  48160. var t1, t2, $function, $name, _this = this;
  48161. if (_this.scanIdentifier$1("not")) {
  48162. _this.whitespace$0();
  48163. t1 = _this.scanner;
  48164. t2 = t1._string_scanner$_position;
  48165. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  48166. } else {
  48167. t1 = _this.scanner;
  48168. if (t1.peekChar$0() === 40)
  48169. return _this._supportsCondition$0();
  48170. else {
  48171. $function = _this._tryImportSupportsFunction$0();
  48172. if ($function != null)
  48173. return $function;
  48174. t2 = t1._string_scanner$_position;
  48175. $name = _this._expression$0();
  48176. t1.expectChar$1(58);
  48177. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  48178. }
  48179. }
  48180. },
  48181. _tryImportSupportsFunction$0() {
  48182. var t1, start, $name, value, _this = this;
  48183. if (!_this._lookingAtInterpolatedIdentifier$0())
  48184. return null;
  48185. t1 = _this.scanner;
  48186. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  48187. $name = _this.interpolatedIdentifier$0();
  48188. if (!t1.scanChar$1(40)) {
  48189. t1.set$state(start);
  48190. return null;
  48191. }
  48192. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  48193. t1.expectChar$1(41);
  48194. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  48195. },
  48196. _includeRule$1(start) {
  48197. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  48198. $name = _this.identifier$0(),
  48199. t1 = _this.scanner;
  48200. if (t1.scanChar$1(46)) {
  48201. name0 = _this._publicIdentifier$0();
  48202. namespace = $name;
  48203. $name = name0;
  48204. } else {
  48205. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  48206. namespace = _null;
  48207. }
  48208. _this.whitespace$0();
  48209. if (t1.peekChar$0() === 40)
  48210. $arguments = _this._argumentInvocation$1$mixin(true);
  48211. else {
  48212. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  48213. t3 = t2.offset;
  48214. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  48215. }
  48216. _this.whitespace$0();
  48217. if (_this.scanIdentifier$1("using")) {
  48218. _this.whitespace$0();
  48219. contentArguments = _this._argumentDeclaration$0();
  48220. _this.whitespace$0();
  48221. } else
  48222. contentArguments = _null;
  48223. t2 = contentArguments == null;
  48224. if (!t2 || _this.lookingAtChildren$0()) {
  48225. if (t2) {
  48226. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  48227. t3 = t2.offset;
  48228. contentArguments_ = new A.ArgumentDeclaration(B.List_empty10, _null, A._FileSpan$(t2.file, t3, t3));
  48229. } else
  48230. contentArguments_ = contentArguments;
  48231. wasInContentBlock = _this._inContentBlock;
  48232. _this._inContentBlock = true;
  48233. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  48234. _this._inContentBlock = wasInContentBlock;
  48235. } else {
  48236. _this.expectStatementSeparator$0();
  48237. $content = _null;
  48238. }
  48239. t1 = t1.spanFrom$2(start, start);
  48240. t2 = $content == null ? $arguments : $content;
  48241. return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  48242. },
  48243. mediaRule$1(start) {
  48244. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  48245. },
  48246. _mixinRule$1(start) {
  48247. var $name, t1, $arguments, t2, t3, _this = this,
  48248. precedingComment = _this.lastSilentComment;
  48249. _this.lastSilentComment = null;
  48250. $name = _this.identifier$1$normalize(true);
  48251. _this.whitespace$0();
  48252. t1 = _this.scanner;
  48253. if (t1.peekChar$0() === 40)
  48254. $arguments = _this._argumentDeclaration$0();
  48255. else {
  48256. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  48257. t3 = t2.offset;
  48258. $arguments = new A.ArgumentDeclaration(B.List_empty10, null, A._FileSpan$(t2.file, t3, t3));
  48259. }
  48260. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  48261. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  48262. else if (_this._inControlDirective)
  48263. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  48264. _this.whitespace$0();
  48265. _this._stylesheet$_inMixin = true;
  48266. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  48267. },
  48268. mozDocumentRule$2(start, $name) {
  48269. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  48270. t1 = _this.scanner,
  48271. t2 = t1._string_scanner$_position,
  48272. t3 = new A.StringBuffer(""),
  48273. t4 = A._setArrayType([], type$.JSArray_Object),
  48274. buffer = new A.InterpolationBuffer(t3, t4);
  48275. _box_0.needsDeprecationWarning = false;
  48276. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  48277. if (t1.peekChar$0() === 35) {
  48278. t7 = _this.singleInterpolation$0();
  48279. buffer._flushText$0();
  48280. t4.push(t7);
  48281. _box_0.needsDeprecationWarning = true;
  48282. } else {
  48283. t7 = t1._string_scanner$_position;
  48284. identifier = _this.identifier$0();
  48285. switch (identifier) {
  48286. case "url":
  48287. case "url-prefix":
  48288. case "domain":
  48289. contents = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  48290. if (contents != null)
  48291. buffer.addInterpolation$1(contents);
  48292. else {
  48293. t1.expectChar$1(40);
  48294. _this.whitespace$0();
  48295. argument = _this.interpolatedString$0();
  48296. t1.expectChar$1(41);
  48297. t7 = t3._contents += identifier;
  48298. t3._contents = t7 + A.Primitives_stringFromCharCode(40);
  48299. buffer.addInterpolation$1(argument.asInterpolation$0());
  48300. t3._contents += A.Primitives_stringFromCharCode(41);
  48301. }
  48302. t7 = t3._contents;
  48303. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  48304. 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("")'))
  48305. _box_0.needsDeprecationWarning = true;
  48306. break;
  48307. case "regexp":
  48308. t3._contents += "regexp(";
  48309. t1.expectChar$1(40);
  48310. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  48311. t1.expectChar$1(41);
  48312. t3._contents += A.Primitives_stringFromCharCode(41);
  48313. _box_0.needsDeprecationWarning = true;
  48314. break;
  48315. default:
  48316. endPosition = t1._string_scanner$_position;
  48317. t8 = t1._sourceFile;
  48318. t9 = new A._FileSpan(t8, t7, endPosition);
  48319. t9._FileSpan$3(t8, t7, endPosition);
  48320. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  48321. }
  48322. }
  48323. _this.whitespace$0();
  48324. if (!t1.scanChar$1(44))
  48325. break;
  48326. t3._contents += A.Primitives_stringFromCharCode(44);
  48327. start0 = t1._string_scanner$_position;
  48328. t5.call$0();
  48329. end = t1._string_scanner$_position;
  48330. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  48331. }
  48332. 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)))));
  48333. },
  48334. supportsRule$1(start) {
  48335. var _this = this,
  48336. condition = _this._supportsCondition$0();
  48337. _this.whitespace$0();
  48338. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  48339. },
  48340. _useRule$1(start) {
  48341. var namespace, configuration, span, t1, _this = this,
  48342. _s9_ = "@use rule",
  48343. url = _this._urlString$0();
  48344. _this.whitespace$0();
  48345. namespace = _this._useNamespace$2(url, start);
  48346. _this.whitespace$0();
  48347. configuration = _this._stylesheet$_configuration$0();
  48348. _this.expectStatementSeparator$1(_s9_);
  48349. span = _this.scanner.spanFrom$1(start);
  48350. if (!_this._isUseAllowed)
  48351. _this.error$2(0, string$.x40use_r, span);
  48352. _this.expectStatementSeparator$1(_s9_);
  48353. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty8 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  48354. t1.UseRule$4$configuration(url, namespace, span, configuration);
  48355. return t1;
  48356. },
  48357. _useNamespace$2(url, start) {
  48358. var namespace, basename, dot, t1, exception, _this = this;
  48359. if (_this.scanIdentifier$1("as")) {
  48360. _this.whitespace$0();
  48361. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  48362. }
  48363. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  48364. dot = B.JSString_methods.indexOf$1(basename, ".");
  48365. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  48366. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  48367. try {
  48368. t1 = A.SpanScanner$(namespace, null);
  48369. t1 = new A.Parser(t1, _this.logger)._parseIdentifier$0();
  48370. return t1;
  48371. } catch (exception) {
  48372. if (A.unwrapException(exception) instanceof A.SassFormatException)
  48373. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  48374. else
  48375. throw exception;
  48376. }
  48377. },
  48378. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  48379. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  48380. if (!_this.scanIdentifier$1("with"))
  48381. return null;
  48382. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  48383. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  48384. _this.whitespace$0();
  48385. t1 = _this.scanner;
  48386. t1.expectChar$1(40);
  48387. for (t2 = t1.string; true;) {
  48388. _this.whitespace$0();
  48389. t3 = t1._string_scanner$_position;
  48390. t1.expectChar$1(36);
  48391. $name = _this.identifier$1$normalize(true);
  48392. _this.whitespace$0();
  48393. t1.expectChar$1(58);
  48394. _this.whitespace$0();
  48395. expression = _this.expressionUntilComma$0();
  48396. t4 = t1._string_scanner$_position;
  48397. if (allowGuarded && t1.scanChar$1(33))
  48398. if (_this.identifier$0() === "default") {
  48399. _this.whitespace$0();
  48400. guarded = true;
  48401. } else {
  48402. endPosition = t1._string_scanner$_position;
  48403. t5 = t1._sourceFile;
  48404. t6 = new A._FileSpan(t5, t4, endPosition);
  48405. t6._FileSpan$3(t5, t4, endPosition);
  48406. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  48407. guarded = false;
  48408. }
  48409. else
  48410. guarded = false;
  48411. endPosition = t1._string_scanner$_position;
  48412. t4 = t1._sourceFile;
  48413. span = new A._FileSpan(t4, t3, endPosition);
  48414. span._FileSpan$3(t4, t3, endPosition);
  48415. if (variableNames.contains$1(0, $name))
  48416. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  48417. variableNames.add$1(0, $name);
  48418. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  48419. if (!t1.scanChar$1(44))
  48420. break;
  48421. _this.whitespace$0();
  48422. if (!_this._lookingAtExpression$0())
  48423. break;
  48424. }
  48425. t1.expectChar$1(41);
  48426. return configuration;
  48427. },
  48428. _stylesheet$_configuration$0() {
  48429. return this._stylesheet$_configuration$1$allowGuarded(false);
  48430. },
  48431. _warnRule$1(start) {
  48432. var value = this._expression$0();
  48433. this.expectStatementSeparator$1("@warn rule");
  48434. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  48435. },
  48436. _whileRule$2(start, child) {
  48437. var _this = this,
  48438. wasInControlDirective = _this._inControlDirective;
  48439. _this._inControlDirective = true;
  48440. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  48441. },
  48442. unknownAtRule$2(start, $name) {
  48443. var t2, t3, rule, _this = this, t1 = {},
  48444. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  48445. _this._stylesheet$_inUnknownAtRule = true;
  48446. t1.value = null;
  48447. t2 = _this.scanner;
  48448. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  48449. if (_this.lookingAtChildren$0())
  48450. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  48451. else {
  48452. _this.expectStatementSeparator$0();
  48453. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  48454. }
  48455. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  48456. return rule;
  48457. },
  48458. _disallowedAtRule$1(start) {
  48459. this.almostAnyValue$0();
  48460. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  48461. },
  48462. _argumentDeclaration$0() {
  48463. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  48464. t1 = _this.scanner,
  48465. t2 = t1._string_scanner$_position;
  48466. t1.expectChar$1(40);
  48467. _this.whitespace$0();
  48468. $arguments = A._setArrayType([], type$.JSArray_Argument);
  48469. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  48470. t3 = t1.string;
  48471. while (true) {
  48472. if (!(t1.peekChar$0() === 36)) {
  48473. restArgument = null;
  48474. break;
  48475. }
  48476. t4 = t1._string_scanner$_position;
  48477. t1.expectChar$1(36);
  48478. $name = _this.identifier$1$normalize(true);
  48479. _this.whitespace$0();
  48480. if (t1.scanChar$1(58)) {
  48481. _this.whitespace$0();
  48482. defaultValue = _this.expressionUntilComma$0();
  48483. } else {
  48484. if (t1.scanChar$1(46)) {
  48485. t1.expectChar$1(46);
  48486. t1.expectChar$1(46);
  48487. _this.whitespace$0();
  48488. restArgument = $name;
  48489. break;
  48490. }
  48491. defaultValue = null;
  48492. }
  48493. endPosition = t1._string_scanner$_position;
  48494. t5 = t1._sourceFile;
  48495. t6 = new A._FileSpan(t5, t4, endPosition);
  48496. t6._FileSpan$3(t5, t4, endPosition);
  48497. $arguments.push(new A.Argument($name, defaultValue, t6));
  48498. if (!named.add$1(0, $name))
  48499. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  48500. if (!t1.scanChar$1(44)) {
  48501. restArgument = null;
  48502. break;
  48503. }
  48504. _this.whitespace$0();
  48505. }
  48506. t1.expectChar$1(41);
  48507. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  48508. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  48509. },
  48510. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  48511. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  48512. t1 = _this.scanner,
  48513. t2 = t1._string_scanner$_position;
  48514. t1.expectChar$1(40);
  48515. _this.whitespace$0();
  48516. positional = A._setArrayType([], type$.JSArray_Expression);
  48517. t3 = type$.String;
  48518. t4 = type$.Expression;
  48519. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  48520. t5 = !mixin;
  48521. t6 = t1.string;
  48522. rest = _null;
  48523. while (true) {
  48524. if (!_this._lookingAtExpression$0()) {
  48525. keywordRest = _null;
  48526. break;
  48527. }
  48528. expression = _this.expressionUntilComma$1$singleEquals(t5);
  48529. _this.whitespace$0();
  48530. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  48531. _this.whitespace$0();
  48532. t7 = expression.name;
  48533. if (named.containsKey$1(t7))
  48534. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  48535. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  48536. } else if (t1.scanChar$1(46)) {
  48537. t1.expectChar$1(46);
  48538. t1.expectChar$1(46);
  48539. if (rest != null) {
  48540. _this.whitespace$0();
  48541. keywordRest = expression;
  48542. break;
  48543. }
  48544. rest = expression;
  48545. } else if (named.__js_helper$_length !== 0)
  48546. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  48547. else
  48548. positional.push(expression);
  48549. _this.whitespace$0();
  48550. if (!t1.scanChar$1(44)) {
  48551. keywordRest = _null;
  48552. break;
  48553. }
  48554. _this.whitespace$0();
  48555. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  48556. t5 = t1._sourceFile;
  48557. t6 = t1._string_scanner$_position;
  48558. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  48559. t7 = new A._FileSpan(t5, t6, t6);
  48560. t7._FileSpan$3(t5, t6, t6);
  48561. t6 = A._setArrayType([""], type$.JSArray_Object);
  48562. result = A.List_List$from(t6, false, type$.Object);
  48563. result.fixed$length = Array;
  48564. result.immutable$list = Array;
  48565. t5 = new A.Interpolation(result, t7);
  48566. t5.Interpolation$2(t6, t7);
  48567. positional.push(new A.StringExpression(t5, false));
  48568. keywordRest = _null;
  48569. break;
  48570. }
  48571. }
  48572. t1.expectChar$1(41);
  48573. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  48574. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  48575. },
  48576. _argumentInvocation$0() {
  48577. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  48578. },
  48579. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  48580. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  48581. },
  48582. _argumentInvocation$1$mixin(mixin) {
  48583. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  48584. },
  48585. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  48586. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  48587. _s20_ = "Expected expression.",
  48588. _box_0 = {},
  48589. t1 = until != null;
  48590. if (t1 && until.call$0())
  48591. _this.scanner.error$1(0, _s20_);
  48592. if (bracketList) {
  48593. t2 = _this.scanner;
  48594. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48595. t2.expectChar$1(91);
  48596. _this.whitespace$0();
  48597. if (t2.scanChar$1(93)) {
  48598. t1 = A._setArrayType([], type$.JSArray_Expression);
  48599. t2 = t2.spanFrom$1(beforeBracket);
  48600. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  48601. }
  48602. } else
  48603. beforeBracket = null;
  48604. t2 = _this.scanner;
  48605. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  48606. wasInParentheses = _this._inParentheses;
  48607. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  48608. _box_0.allowSlash = true;
  48609. _box_0.singleExpression_ = _this._singleExpression$0();
  48610. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  48611. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  48612. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  48613. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  48614. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  48615. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  48616. $label0$0:
  48617. for (t3 = type$.JSArray_Expression; true;) {
  48618. _this.whitespace$0();
  48619. if (t1 && until.call$0())
  48620. break $label0$0;
  48621. first = t2.peekChar$0();
  48622. switch (first) {
  48623. case 40:
  48624. addSingleExpression.call$1(_this._parentheses$0());
  48625. break;
  48626. case 91:
  48627. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  48628. break;
  48629. case 36:
  48630. addSingleExpression.call$1(_this._variable$0());
  48631. break;
  48632. case 38:
  48633. addSingleExpression.call$1(_this._selector$0());
  48634. break;
  48635. case 39:
  48636. case 34:
  48637. addSingleExpression.call$1(_this.interpolatedString$0());
  48638. break;
  48639. case 35:
  48640. addSingleExpression.call$1(_this._hashExpression$0());
  48641. break;
  48642. case 61:
  48643. t2.readChar$0();
  48644. if (singleEquals && t2.peekChar$0() !== 61)
  48645. addOperator.call$1(B.BinaryOperator_axY);
  48646. else {
  48647. t2.expectChar$1(61);
  48648. addOperator.call$1(B.BinaryOperator_nZh);
  48649. }
  48650. break;
  48651. case 33:
  48652. next = t2.peekChar$1(1);
  48653. if (next === 61) {
  48654. t2.readChar$0();
  48655. t2.readChar$0();
  48656. addOperator.call$1(B.BinaryOperator_Vr9);
  48657. } else {
  48658. if (next != null)
  48659. if ((next | 32) >>> 0 !== 105)
  48660. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  48661. else
  48662. t4 = true;
  48663. else
  48664. t4 = true;
  48665. if (t4)
  48666. addSingleExpression.call$1(_this._importantExpression$0());
  48667. else
  48668. break $label0$0;
  48669. }
  48670. break;
  48671. case 60:
  48672. t2.readChar$0();
  48673. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oqF : B.BinaryOperator_apg);
  48674. break;
  48675. case 62:
  48676. t2.readChar$0();
  48677. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_Wma : B.BinaryOperator_cw1);
  48678. break;
  48679. case 42:
  48680. t2.readChar$0();
  48681. addOperator.call$1(B.BinaryOperator_6pl);
  48682. break;
  48683. case 43:
  48684. if (_box_0.singleExpression_ == null)
  48685. addSingleExpression.call$1(_this._unaryOperation$0());
  48686. else {
  48687. t2.readChar$0();
  48688. addOperator.call$1(B.BinaryOperator_qbf);
  48689. }
  48690. break;
  48691. case 45:
  48692. next = t2.peekChar$1(1);
  48693. if (next != null && next >= 48 && next <= 57 || next === 46)
  48694. if (_box_0.singleExpression_ != null) {
  48695. t4 = t2.peekChar$1(-1);
  48696. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  48697. } else
  48698. t4 = true;
  48699. else
  48700. t4 = false;
  48701. if (t4)
  48702. addSingleExpression.call$1(_this._number$0());
  48703. else if (_this._lookingAtInterpolatedIdentifier$0())
  48704. addSingleExpression.call$1(_this.identifierLike$0());
  48705. else if (_box_0.singleExpression_ == null)
  48706. addSingleExpression.call$1(_this._unaryOperation$0());
  48707. else {
  48708. t2.readChar$0();
  48709. addOperator.call$1(B.BinaryOperator_KlB);
  48710. }
  48711. break;
  48712. case 47:
  48713. if (_box_0.singleExpression_ == null)
  48714. addSingleExpression.call$1(_this._unaryOperation$0());
  48715. else {
  48716. t2.readChar$0();
  48717. addOperator.call$1(B.BinaryOperator_qpm);
  48718. }
  48719. break;
  48720. case 37:
  48721. t2.readChar$0();
  48722. addOperator.call$1(B.BinaryOperator_PHH);
  48723. break;
  48724. case 48:
  48725. case 49:
  48726. case 50:
  48727. case 51:
  48728. case 52:
  48729. case 53:
  48730. case 54:
  48731. case 55:
  48732. case 56:
  48733. case 57:
  48734. addSingleExpression.call$1(_this._number$0());
  48735. break;
  48736. case 46:
  48737. if (t2.peekChar$1(1) === 46)
  48738. break $label0$0;
  48739. addSingleExpression.call$1(_this._number$0());
  48740. break;
  48741. case 97:
  48742. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  48743. addOperator.call$1(B.BinaryOperator_and_and_2_and);
  48744. else
  48745. addSingleExpression.call$1(_this.identifierLike$0());
  48746. break;
  48747. case 111:
  48748. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  48749. addOperator.call$1(B.BinaryOperator_or_or_1_or);
  48750. else
  48751. addSingleExpression.call$1(_this.identifierLike$0());
  48752. break;
  48753. case 117:
  48754. case 85:
  48755. if (t2.peekChar$1(1) === 43)
  48756. addSingleExpression.call$1(_this._unicodeRange$0());
  48757. else
  48758. addSingleExpression.call$1(_this.identifierLike$0());
  48759. break;
  48760. case 98:
  48761. case 99:
  48762. case 100:
  48763. case 101:
  48764. case 102:
  48765. case 103:
  48766. case 104:
  48767. case 105:
  48768. case 106:
  48769. case 107:
  48770. case 108:
  48771. case 109:
  48772. case 110:
  48773. case 112:
  48774. case 113:
  48775. case 114:
  48776. case 115:
  48777. case 116:
  48778. case 118:
  48779. case 119:
  48780. case 120:
  48781. case 121:
  48782. case 122:
  48783. case 65:
  48784. case 66:
  48785. case 67:
  48786. case 68:
  48787. case 69:
  48788. case 70:
  48789. case 71:
  48790. case 72:
  48791. case 73:
  48792. case 74:
  48793. case 75:
  48794. case 76:
  48795. case 77:
  48796. case 78:
  48797. case 79:
  48798. case 80:
  48799. case 81:
  48800. case 82:
  48801. case 83:
  48802. case 84:
  48803. case 86:
  48804. case 87:
  48805. case 88:
  48806. case 89:
  48807. case 90:
  48808. case 95:
  48809. case 92:
  48810. addSingleExpression.call$1(_this.identifierLike$0());
  48811. break;
  48812. case 44:
  48813. if (_this._inParentheses) {
  48814. _this._inParentheses = false;
  48815. if (_box_0.allowSlash) {
  48816. resetState.call$0();
  48817. break;
  48818. }
  48819. }
  48820. commaExpressions = _box_0.commaExpressions_;
  48821. if (commaExpressions == null)
  48822. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  48823. if (_box_0.singleExpression_ == null)
  48824. t2.error$1(0, _s20_);
  48825. resolveSpaceExpressions.call$0();
  48826. t4 = _box_0.singleExpression_;
  48827. t4.toString;
  48828. commaExpressions.push(t4);
  48829. t2.readChar$0();
  48830. _box_0.allowSlash = true;
  48831. _box_0.singleExpression_ = null;
  48832. break;
  48833. default:
  48834. if (first != null && first >= 128) {
  48835. addSingleExpression.call$1(_this.identifierLike$0());
  48836. break;
  48837. } else
  48838. break $label0$0;
  48839. }
  48840. }
  48841. if (bracketList)
  48842. t2.expectChar$1(93);
  48843. commaExpressions = _box_0.commaExpressions_;
  48844. spaceExpressions = _box_0.spaceExpressions_;
  48845. if (commaExpressions != null) {
  48846. resolveSpaceExpressions.call$0();
  48847. _this._inParentheses = wasInParentheses;
  48848. singleExpression = _box_0.singleExpression_;
  48849. if (singleExpression != null)
  48850. commaExpressions.push(singleExpression);
  48851. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  48852. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_rXA, bracketList, t1);
  48853. } else if (bracketList && spaceExpressions != null) {
  48854. resolveOperations.call$0();
  48855. t1 = _box_0.singleExpression_;
  48856. t1.toString;
  48857. spaceExpressions.push(t1);
  48858. beforeBracket.toString;
  48859. t2 = t2.spanFrom$1(beforeBracket);
  48860. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, true, t2);
  48861. } else {
  48862. resolveSpaceExpressions.call$0();
  48863. if (bracketList) {
  48864. t1 = _box_0.singleExpression_;
  48865. t1.toString;
  48866. t3 = A._setArrayType([t1], t3);
  48867. beforeBracket.toString;
  48868. t2 = t2.spanFrom$1(beforeBracket);
  48869. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  48870. }
  48871. t1 = _box_0.singleExpression_;
  48872. t1.toString;
  48873. return t1;
  48874. }
  48875. },
  48876. _expression$0() {
  48877. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  48878. },
  48879. _expression$2$singleEquals$until(singleEquals, until) {
  48880. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  48881. },
  48882. _expression$1$bracketList(bracketList) {
  48883. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  48884. },
  48885. _expression$1$until(until) {
  48886. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  48887. },
  48888. expressionUntilComma$1$singleEquals(singleEquals) {
  48889. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  48890. },
  48891. expressionUntilComma$0() {
  48892. return this.expressionUntilComma$1$singleEquals(false);
  48893. },
  48894. _isSlashOperand$1(expression) {
  48895. var t1;
  48896. if (!(expression instanceof A.NumberExpression))
  48897. if (!(expression instanceof A.CalculationExpression))
  48898. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  48899. else
  48900. t1 = true;
  48901. else
  48902. t1 = true;
  48903. return t1;
  48904. },
  48905. _singleExpression$0() {
  48906. var next, _this = this,
  48907. t1 = _this.scanner,
  48908. first = t1.peekChar$0();
  48909. switch (first) {
  48910. case 40:
  48911. return _this._parentheses$0();
  48912. case 47:
  48913. return _this._unaryOperation$0();
  48914. case 46:
  48915. return _this._number$0();
  48916. case 91:
  48917. return _this._expression$1$bracketList(true);
  48918. case 36:
  48919. return _this._variable$0();
  48920. case 38:
  48921. return _this._selector$0();
  48922. case 39:
  48923. case 34:
  48924. return _this.interpolatedString$0();
  48925. case 35:
  48926. return _this._hashExpression$0();
  48927. case 43:
  48928. next = t1.peekChar$1(1);
  48929. return A.isDigit(next) || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  48930. case 45:
  48931. return _this._minusExpression$0();
  48932. case 33:
  48933. return _this._importantExpression$0();
  48934. case 117:
  48935. case 85:
  48936. if (t1.peekChar$1(1) === 43)
  48937. return _this._unicodeRange$0();
  48938. else
  48939. return _this.identifierLike$0();
  48940. case 48:
  48941. case 49:
  48942. case 50:
  48943. case 51:
  48944. case 52:
  48945. case 53:
  48946. case 54:
  48947. case 55:
  48948. case 56:
  48949. case 57:
  48950. return _this._number$0();
  48951. case 97:
  48952. case 98:
  48953. case 99:
  48954. case 100:
  48955. case 101:
  48956. case 102:
  48957. case 103:
  48958. case 104:
  48959. case 105:
  48960. case 106:
  48961. case 107:
  48962. case 108:
  48963. case 109:
  48964. case 110:
  48965. case 111:
  48966. case 112:
  48967. case 113:
  48968. case 114:
  48969. case 115:
  48970. case 116:
  48971. case 118:
  48972. case 119:
  48973. case 120:
  48974. case 121:
  48975. case 122:
  48976. case 65:
  48977. case 66:
  48978. case 67:
  48979. case 68:
  48980. case 69:
  48981. case 70:
  48982. case 71:
  48983. case 72:
  48984. case 73:
  48985. case 74:
  48986. case 75:
  48987. case 76:
  48988. case 77:
  48989. case 78:
  48990. case 79:
  48991. case 80:
  48992. case 81:
  48993. case 82:
  48994. case 83:
  48995. case 84:
  48996. case 86:
  48997. case 87:
  48998. case 88:
  48999. case 89:
  49000. case 90:
  49001. case 95:
  49002. case 92:
  49003. return _this.identifierLike$0();
  49004. default:
  49005. if (first != null && first >= 128)
  49006. return _this.identifierLike$0();
  49007. t1.error$1(0, "Expected expression.");
  49008. }
  49009. },
  49010. _parentheses$0() {
  49011. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  49012. if (_this.get$plainCss())
  49013. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  49014. wasInParentheses = _this._inParentheses;
  49015. _this._inParentheses = true;
  49016. try {
  49017. t1 = _this.scanner;
  49018. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49019. t1.expectChar$1(40);
  49020. _this.whitespace$0();
  49021. if (!_this._lookingAtExpression$0()) {
  49022. t1.expectChar$1(41);
  49023. t2 = A._setArrayType([], type$.JSArray_Expression);
  49024. t1 = t1.spanFrom$1(start);
  49025. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  49026. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  49027. }
  49028. first = _this.expressionUntilComma$0();
  49029. if (t1.scanChar$1(58)) {
  49030. _this.whitespace$0();
  49031. t1 = _this._stylesheet$_map$2(first, start);
  49032. return t1;
  49033. }
  49034. if (!t1.scanChar$1(44)) {
  49035. t1.expectChar$1(41);
  49036. t1 = t1.spanFrom$1(start);
  49037. return new A.ParenthesizedExpression(first, t1);
  49038. }
  49039. _this.whitespace$0();
  49040. expressions = A._setArrayType([first], type$.JSArray_Expression);
  49041. for (; true;) {
  49042. if (!_this._lookingAtExpression$0())
  49043. break;
  49044. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  49045. if (!t1.scanChar$1(44))
  49046. break;
  49047. _this.whitespace$0();
  49048. }
  49049. t1.expectChar$1(41);
  49050. t1 = t1.spanFrom$1(start);
  49051. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  49052. return new A.ListExpression(t2, B.ListSeparator_rXA, false, t1);
  49053. } finally {
  49054. _this._inParentheses = wasInParentheses;
  49055. }
  49056. },
  49057. _stylesheet$_map$2(first, start) {
  49058. var t2, key, _this = this,
  49059. t1 = type$.Tuple2_Expression_Expression,
  49060. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression);
  49061. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  49062. _this.whitespace$0();
  49063. if (!_this._lookingAtExpression$0())
  49064. break;
  49065. key = _this.expressionUntilComma$0();
  49066. t2.expectChar$1(58);
  49067. _this.whitespace$0();
  49068. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  49069. }
  49070. t2.expectChar$1(41);
  49071. t2 = t2.spanFrom$1(start);
  49072. return new A.MapExpression(A.List_List$unmodifiable(pairs, t1), t2);
  49073. },
  49074. _hashExpression$0() {
  49075. var start, first, t2, identifier, buffer, _this = this,
  49076. t1 = _this.scanner;
  49077. if (t1.peekChar$1(1) === 123)
  49078. return _this.identifierLike$0();
  49079. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49080. t1.expectChar$1(35);
  49081. first = t1.peekChar$0();
  49082. if (first != null && A.isDigit(first))
  49083. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  49084. t2 = t1._string_scanner$_position;
  49085. identifier = _this.interpolatedIdentifier$0();
  49086. if (_this._isHexColor$1(identifier)) {
  49087. t1.set$state(new A._SpanScannerState(t1, t2));
  49088. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  49089. }
  49090. t2 = new A.StringBuffer("");
  49091. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49092. t2._contents = "" + A.Primitives_stringFromCharCode(35);
  49093. buffer.addInterpolation$1(identifier);
  49094. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  49095. },
  49096. _hexColorContents$1(start) {
  49097. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  49098. digit1 = _this._hexDigit$0(),
  49099. digit2 = _this._hexDigit$0(),
  49100. digit3 = _this._hexDigit$0(),
  49101. t1 = _this.scanner;
  49102. if (!A.isHex(t1.peekChar$0())) {
  49103. red = (digit1 << 4 >>> 0) + digit1;
  49104. green = (digit2 << 4 >>> 0) + digit2;
  49105. blue = (digit3 << 4 >>> 0) + digit3;
  49106. alpha = null;
  49107. } else {
  49108. digit4 = _this._hexDigit$0();
  49109. t2 = digit1 << 4 >>> 0;
  49110. t3 = digit3 << 4 >>> 0;
  49111. if (!A.isHex(t1.peekChar$0())) {
  49112. red = t2 + digit1;
  49113. green = (digit2 << 4 >>> 0) + digit2;
  49114. blue = t3 + digit3;
  49115. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  49116. } else {
  49117. red = t2 + digit2;
  49118. green = t3 + digit4;
  49119. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  49120. alpha = A.isHex(t1.peekChar$0()) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  49121. }
  49122. }
  49123. return A.SassColor$rgbInternal(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  49124. },
  49125. _isHexColor$1(interpolation) {
  49126. var t1,
  49127. plain = interpolation.get$asPlain();
  49128. if (plain == null)
  49129. return false;
  49130. t1 = plain.length;
  49131. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  49132. return false;
  49133. t1 = new A.CodeUnits(plain);
  49134. return t1.every$1(t1, A.character__isHex$closure());
  49135. },
  49136. _hexDigit$0() {
  49137. var t1 = this.scanner,
  49138. char = t1.peekChar$0();
  49139. if (char == null || !A.isHex(char))
  49140. t1.error$1(0, "Expected hex digit.");
  49141. return A.asHex(t1.readChar$0());
  49142. },
  49143. _minusExpression$0() {
  49144. var _this = this,
  49145. next = _this.scanner.peekChar$1(1);
  49146. if (A.isDigit(next) || next === 46)
  49147. return _this._number$0();
  49148. if (_this._lookingAtInterpolatedIdentifier$0())
  49149. return _this.identifierLike$0();
  49150. return _this._unaryOperation$0();
  49151. },
  49152. _importantExpression$0() {
  49153. var t1 = this.scanner,
  49154. t2 = t1._string_scanner$_position;
  49155. t1.readChar$0();
  49156. this.whitespace$0();
  49157. this.expectIdentifier$1("important");
  49158. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  49159. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  49160. },
  49161. _unaryOperation$0() {
  49162. var _this = this,
  49163. t1 = _this.scanner,
  49164. t2 = t1._string_scanner$_position,
  49165. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  49166. if (operator == null)
  49167. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  49168. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix1)
  49169. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  49170. _this.whitespace$0();
  49171. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49172. },
  49173. _unaryOperatorFor$1(character) {
  49174. switch (character) {
  49175. case 43:
  49176. return B.UnaryOperator_gg4;
  49177. case 45:
  49178. return B.UnaryOperator_TLI;
  49179. case 47:
  49180. return B.UnaryOperator_Ix1;
  49181. default:
  49182. return null;
  49183. }
  49184. },
  49185. _number$0() {
  49186. var number, unit, t3, _this = this,
  49187. t1 = _this.scanner,
  49188. t2 = t1._string_scanner$_position,
  49189. first = t1.peekChar$0();
  49190. if (first === 43 || first === 45)
  49191. t1.readChar$0();
  49192. if (t1.peekChar$0() !== 46)
  49193. _this._consumeNaturalNumber$0();
  49194. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
  49195. _this._tryExponent$0();
  49196. number = A.double_parse(t1.substring$1(0, t2));
  49197. if (t1.scanChar$1(37))
  49198. unit = "%";
  49199. else {
  49200. if (_this.lookingAtIdentifier$0())
  49201. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  49202. else
  49203. t3 = false;
  49204. unit = t3 ? _this.identifier$1$unit(true) : null;
  49205. }
  49206. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49207. },
  49208. _consumeNaturalNumber$0() {
  49209. var t2,
  49210. t1 = this.scanner;
  49211. if (!A.isDigit(t1.readChar$0()))
  49212. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  49213. while (true) {
  49214. t2 = t1.peekChar$0();
  49215. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  49216. break;
  49217. t1.readChar$0();
  49218. }
  49219. },
  49220. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  49221. var t2,
  49222. t1 = this.scanner;
  49223. if (t1.peekChar$0() !== 46)
  49224. return;
  49225. if (!A.isDigit(t1.peekChar$1(1))) {
  49226. if (allowTrailingDot)
  49227. return;
  49228. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  49229. }
  49230. t1.readChar$0();
  49231. while (true) {
  49232. t2 = t1.peekChar$0();
  49233. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  49234. break;
  49235. t1.readChar$0();
  49236. }
  49237. },
  49238. _tryExponent$0() {
  49239. var next, t2,
  49240. t1 = this.scanner,
  49241. first = t1.peekChar$0();
  49242. if (first !== 101 && first !== 69)
  49243. return;
  49244. next = t1.peekChar$1(1);
  49245. if (!A.isDigit(next) && next !== 45 && next !== 43)
  49246. return;
  49247. t1.readChar$0();
  49248. if (next === 43 || next === 45)
  49249. t1.readChar$0();
  49250. if (!A.isDigit(t1.peekChar$0()))
  49251. t1.error$1(0, "Expected digit.");
  49252. while (true) {
  49253. t2 = t1.peekChar$0();
  49254. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  49255. break;
  49256. t1.readChar$0();
  49257. }
  49258. },
  49259. _unicodeRange$0() {
  49260. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  49261. _s26_ = "Expected at most 6 digits.",
  49262. t1 = _this.scanner,
  49263. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49264. _this.expectIdentChar$1(117);
  49265. t1.expectChar$1(43);
  49266. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  49267. ++firstRangeLength;
  49268. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  49269. ++firstRangeLength;
  49270. if (firstRangeLength === 0)
  49271. t1.error$1(0, 'Expected hex digit or "?".');
  49272. else if (firstRangeLength > 6)
  49273. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  49274. else if (hasQuestionMark) {
  49275. t2 = t1.substring$1(0, start.position);
  49276. t1 = t1.spanFrom$1(start);
  49277. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  49278. }
  49279. if (t1.scanChar$1(45)) {
  49280. t2 = t1._string_scanner$_position;
  49281. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  49282. ++secondRangeLength;
  49283. if (secondRangeLength === 0)
  49284. t1.error$1(0, "Expected hex digit.");
  49285. else if (secondRangeLength > 6)
  49286. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49287. }
  49288. if (_this._lookingAtInterpolatedIdentifierBody$0())
  49289. t1.error$1(0, "Expected end of identifier.");
  49290. t2 = t1.substring$1(0, start.position);
  49291. t1 = t1.spanFrom$1(start);
  49292. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  49293. },
  49294. _variable$0() {
  49295. var _this = this,
  49296. t1 = _this.scanner,
  49297. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  49298. $name = _this.variableName$0();
  49299. if (_this.get$plainCss())
  49300. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  49301. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  49302. },
  49303. _selector$0() {
  49304. var t1, start, _this = this;
  49305. if (_this.get$plainCss())
  49306. _this.scanner.error$2$length(0, string$.The_pa, 1);
  49307. t1 = _this.scanner;
  49308. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49309. t1.expectChar$1(38);
  49310. if (t1.scanChar$1(38)) {
  49311. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  49312. t1.set$position(t1._string_scanner$_position - 1);
  49313. }
  49314. return new A.SelectorExpression(t1.spanFrom$1(start));
  49315. },
  49316. interpolatedString$0() {
  49317. var t3, t4, buffer, next, second, t5,
  49318. t1 = this.scanner,
  49319. t2 = t1._string_scanner$_position,
  49320. quote = t1.readChar$0();
  49321. if (quote !== 39 && quote !== 34)
  49322. t1.error$2$position(0, "Expected string.", t2);
  49323. t3 = new A.StringBuffer("");
  49324. t4 = A._setArrayType([], type$.JSArray_Object);
  49325. buffer = new A.InterpolationBuffer(t3, t4);
  49326. for (; true;) {
  49327. next = t1.peekChar$0();
  49328. if (next === quote) {
  49329. t1.readChar$0();
  49330. break;
  49331. } else if (next == null || next === 10 || next === 13 || next === 12)
  49332. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  49333. else if (next === 92) {
  49334. second = t1.peekChar$1(1);
  49335. if (second === 10 || second === 13 || second === 12) {
  49336. t1.readChar$0();
  49337. t1.readChar$0();
  49338. if (second === 13)
  49339. t1.scanChar$1(10);
  49340. } else
  49341. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  49342. } else if (next === 35)
  49343. if (t1.peekChar$1(1) === 123) {
  49344. t5 = this.singleInterpolation$0();
  49345. buffer._flushText$0();
  49346. t4.push(t5);
  49347. } else
  49348. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49349. else
  49350. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49351. }
  49352. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  49353. },
  49354. identifierLike$0() {
  49355. var invocation, expression, color, specialFunction, _this = this,
  49356. t1 = _this.scanner,
  49357. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  49358. identifier = _this.interpolatedIdentifier$0(),
  49359. plain = identifier.get$asPlain(),
  49360. lower = A._Cell$(),
  49361. t2 = plain == null,
  49362. t3 = !t2;
  49363. if (t3) {
  49364. if (plain === "if" && t1.peekChar$0() === 40) {
  49365. invocation = _this._argumentInvocation$0();
  49366. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  49367. } else if (plain === "not") {
  49368. _this.whitespace$0();
  49369. expression = _this._singleExpression$0();
  49370. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  49371. }
  49372. lower._value = plain.toLowerCase();
  49373. if (t1.peekChar$0() !== 40) {
  49374. switch (plain) {
  49375. case "false":
  49376. return new A.BooleanExpression(false, identifier.span);
  49377. case "null":
  49378. return new A.NullExpression(identifier.span);
  49379. case "true":
  49380. return new A.BooleanExpression(true, identifier.span);
  49381. }
  49382. color = $.$get$colorsByName().$index(0, lower._readLocal$0());
  49383. if (color != null) {
  49384. t1 = identifier.span;
  49385. 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);
  49386. }
  49387. }
  49388. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  49389. if (specialFunction != null)
  49390. return specialFunction;
  49391. }
  49392. switch (t1.peekChar$0()) {
  49393. case 46:
  49394. if (t1.peekChar$1(1) === 46)
  49395. return new A.StringExpression(identifier, false);
  49396. t1.readChar$0();
  49397. if (t3)
  49398. return _this.namespacedExpression$2(plain, start);
  49399. _this.error$2(0, string$.Interpn, identifier.span);
  49400. break;
  49401. case 40:
  49402. if (t2)
  49403. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49404. else
  49405. return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  49406. default:
  49407. return new A.StringExpression(identifier, false);
  49408. }
  49409. },
  49410. namespacedExpression$2(namespace, start) {
  49411. var $name, _this = this,
  49412. t1 = _this.scanner;
  49413. if (t1.peekChar$0() === 36) {
  49414. $name = _this.variableName$0();
  49415. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  49416. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  49417. }
  49418. return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49419. },
  49420. trySpecialFunction$2($name, start) {
  49421. var t2, buffer, t3, next, _this = this, _null = null,
  49422. t1 = _this.scanner,
  49423. calculation = t1.peekChar$0() === 40 ? _this._tryCalculation$2($name, start) : _null;
  49424. if (calculation != null)
  49425. return calculation;
  49426. switch (A.unvendor($name)) {
  49427. case "calc":
  49428. case "element":
  49429. case "expression":
  49430. if (!t1.scanChar$1(40))
  49431. return _null;
  49432. t2 = new A.StringBuffer("");
  49433. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49434. t3 = "" + $name;
  49435. t2._contents = t3;
  49436. t2._contents = t3 + A.Primitives_stringFromCharCode(40);
  49437. break;
  49438. case "progid":
  49439. if (!t1.scanChar$1(58))
  49440. return _null;
  49441. t2 = new A.StringBuffer("");
  49442. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  49443. t3 = "" + $name;
  49444. t2._contents = t3;
  49445. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  49446. next = t1.peekChar$0();
  49447. while (true) {
  49448. if (next != null) {
  49449. if (!(next >= 97 && next <= 122))
  49450. t3 = next >= 65 && next <= 90;
  49451. else
  49452. t3 = true;
  49453. t3 = t3 || next === 46;
  49454. } else
  49455. t3 = false;
  49456. if (!t3)
  49457. break;
  49458. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49459. next = t1.peekChar$0();
  49460. }
  49461. t1.expectChar$1(40);
  49462. t2._contents += A.Primitives_stringFromCharCode(40);
  49463. break;
  49464. case "url":
  49465. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  49466. default:
  49467. return _null;
  49468. }
  49469. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  49470. t1.expectChar$1(41);
  49471. buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
  49472. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  49473. },
  49474. _tryCalculation$2($name, start) {
  49475. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  49476. switch ($name) {
  49477. case "calc":
  49478. $arguments = _this._calculationArguments$1(1);
  49479. t1 = _this.scanner.spanFrom$1(start);
  49480. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  49481. case "min":
  49482. case "max":
  49483. t1 = _this.scanner;
  49484. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49485. $arguments = null;
  49486. try {
  49487. $arguments = _this._calculationArguments$0();
  49488. } catch (exception) {
  49489. if (type$.FormatException._is(A.unwrapException(exception))) {
  49490. t1.set$state(beforeArguments);
  49491. return null;
  49492. } else
  49493. throw exception;
  49494. }
  49495. t2 = $arguments;
  49496. t1 = t1.spanFrom$1(start);
  49497. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments(t2), t1);
  49498. case "clamp":
  49499. $arguments = _this._calculationArguments$1(3);
  49500. t1 = _this.scanner.spanFrom$1(start);
  49501. return new A.CalculationExpression($name, A.CalculationExpression__verifyArguments($arguments), t1);
  49502. default:
  49503. return null;
  49504. }
  49505. },
  49506. _calculationArguments$1(maxArgs) {
  49507. var interpolation, $arguments, t2, _this = this,
  49508. t1 = _this.scanner;
  49509. t1.expectChar$1(40);
  49510. interpolation = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  49511. if (interpolation != null) {
  49512. t1.expectChar$1(41);
  49513. return A._setArrayType([interpolation], type$.JSArray_Expression);
  49514. }
  49515. _this.whitespace$0();
  49516. $arguments = A._setArrayType([_this._calculationSum$0()], type$.JSArray_Expression);
  49517. t2 = maxArgs != null;
  49518. while (true) {
  49519. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  49520. break;
  49521. _this.whitespace$0();
  49522. $arguments.push(_this._calculationSum$0());
  49523. }
  49524. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  49525. return $arguments;
  49526. },
  49527. _calculationArguments$0() {
  49528. return this._calculationArguments$1(null);
  49529. },
  49530. _calculationSum$0() {
  49531. var t1, next, t2, t3, _this = this,
  49532. sum = _this._calculationProduct$0();
  49533. for (t1 = _this.scanner; true;) {
  49534. next = t1.peekChar$0();
  49535. t2 = next === 43;
  49536. if (t2 || next === 45) {
  49537. t3 = t1.peekChar$1(-1);
  49538. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  49539. t3 = t1.peekChar$1(1);
  49540. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  49541. } else
  49542. t3 = true;
  49543. if (t3)
  49544. t1.error$1(0, string$.x22x2b__an);
  49545. t1.readChar$0();
  49546. _this.whitespace$0();
  49547. t2 = t2 ? B.BinaryOperator_qbf : B.BinaryOperator_KlB;
  49548. sum = new A.BinaryOperationExpression(t2, sum, _this._calculationProduct$0(), false);
  49549. } else
  49550. return sum;
  49551. }
  49552. },
  49553. _calculationProduct$0() {
  49554. var t1, next, t2, _this = this,
  49555. product = _this._calculationValue$0();
  49556. for (t1 = _this.scanner; true;) {
  49557. _this.whitespace$0();
  49558. next = t1.peekChar$0();
  49559. t2 = next === 42;
  49560. if (t2 || next === 47) {
  49561. t1.readChar$0();
  49562. _this.whitespace$0();
  49563. t2 = t2 ? B.BinaryOperator_6pl : B.BinaryOperator_qpm;
  49564. product = new A.BinaryOperationExpression(t2, product, _this._calculationValue$0(), false);
  49565. } else
  49566. return product;
  49567. }
  49568. },
  49569. _calculationValue$0() {
  49570. var t2, value, start, ident, lowerCase, calculation, _this = this,
  49571. t1 = _this.scanner,
  49572. next = t1.peekChar$0();
  49573. if (next === 43 || next === 45 || next === 46 || A.isDigit(next))
  49574. return _this._number$0();
  49575. else if (next === 36)
  49576. return _this._variable$0();
  49577. else if (next === 40) {
  49578. t2 = t1._string_scanner$_position;
  49579. t1.readChar$0();
  49580. value = _this._containsCalculationInterpolation$0() ? new A.StringExpression(_this._interpolatedDeclarationValue$0(), false) : null;
  49581. if (value == null) {
  49582. _this.whitespace$0();
  49583. value = _this._calculationSum$0();
  49584. }
  49585. _this.whitespace$0();
  49586. t1.expectChar$1(41);
  49587. return new A.ParenthesizedExpression(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49588. } else if (!_this.lookingAtIdentifier$0())
  49589. t1.error$1(0, string$.Expectn);
  49590. else {
  49591. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49592. ident = _this.identifier$0();
  49593. if (t1.scanChar$1(46))
  49594. return _this.namespacedExpression$2(ident, start);
  49595. if (t1.peekChar$0() !== 40)
  49596. t1.error$1(0, 'Expected "(" or ".".');
  49597. lowerCase = ident.toLowerCase();
  49598. calculation = _this._tryCalculation$2(lowerCase, start);
  49599. if (calculation != null)
  49600. return calculation;
  49601. else if (lowerCase === "if")
  49602. return new A.IfExpression(_this._argumentInvocation$0(), t1.spanFrom$1(start));
  49603. else
  49604. return new A.FunctionExpression(null, ident, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49605. }
  49606. },
  49607. _containsCalculationInterpolation$0() {
  49608. var t2, parens, next, target, t3, _null = null,
  49609. _s64_ = string$.The_gi,
  49610. _s17_ = "Invalid position ",
  49611. brackets = A._setArrayType([], type$.JSArray_int),
  49612. t1 = this.scanner,
  49613. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49614. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  49615. next = t1.peekChar$0();
  49616. switch (next) {
  49617. case 92:
  49618. target = 1;
  49619. break;
  49620. case 47:
  49621. target = 2;
  49622. break;
  49623. case 39:
  49624. case 34:
  49625. target = 3;
  49626. break;
  49627. case 35:
  49628. target = 4;
  49629. break;
  49630. case 40:
  49631. target = 5;
  49632. break;
  49633. case 123:
  49634. case 91:
  49635. target = 6;
  49636. break;
  49637. case 41:
  49638. target = 7;
  49639. break;
  49640. case 125:
  49641. case 93:
  49642. target = 8;
  49643. break;
  49644. default:
  49645. target = 9;
  49646. break;
  49647. }
  49648. c$0:
  49649. for (; true;)
  49650. switch (target) {
  49651. case 1:
  49652. t1.readChar$0();
  49653. t1.readChar$0();
  49654. break c$0;
  49655. case 2:
  49656. if (!this.scanComment$0())
  49657. t1.readChar$0();
  49658. break c$0;
  49659. case 3:
  49660. this.interpolatedString$0();
  49661. break c$0;
  49662. case 4:
  49663. if (parens === 0 && t1.peekChar$1(1) === 123) {
  49664. if (start._scanner !== t1)
  49665. A.throwExpression(A.ArgumentError$(_s64_, _null));
  49666. t3 = start.position;
  49667. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  49668. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  49669. t1._string_scanner$_position = t3;
  49670. t1._lastMatch = null;
  49671. return true;
  49672. }
  49673. t1.readChar$0();
  49674. break c$0;
  49675. case 5:
  49676. ++parens;
  49677. target = 6;
  49678. continue c$0;
  49679. case 6:
  49680. next.toString;
  49681. brackets.push(A.opposite(next));
  49682. t1.readChar$0();
  49683. break c$0;
  49684. case 7:
  49685. --parens;
  49686. target = 8;
  49687. continue c$0;
  49688. case 8:
  49689. if (brackets.length === 0 || brackets.pop() !== next) {
  49690. if (start._scanner !== t1)
  49691. A.throwExpression(A.ArgumentError$(_s64_, _null));
  49692. t3 = start.position;
  49693. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  49694. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  49695. t1._string_scanner$_position = t3;
  49696. t1._lastMatch = null;
  49697. return false;
  49698. }
  49699. t1.readChar$0();
  49700. break c$0;
  49701. case 9:
  49702. t1.readChar$0();
  49703. break c$0;
  49704. }
  49705. }
  49706. t1.set$state(start);
  49707. return false;
  49708. },
  49709. _tryUrlContents$2$name(start, $name) {
  49710. var t3, t4, buffer, t5, next, endPosition, result, _this = this,
  49711. t1 = _this.scanner,
  49712. t2 = t1._string_scanner$_position;
  49713. if (!t1.scanChar$1(40))
  49714. return null;
  49715. _this.whitespaceWithoutComments$0();
  49716. t3 = new A.StringBuffer("");
  49717. t4 = A._setArrayType([], type$.JSArray_Object);
  49718. buffer = new A.InterpolationBuffer(t3, t4);
  49719. t5 = "" + ($name == null ? "url" : $name);
  49720. t3._contents = t5;
  49721. t3._contents = t5 + A.Primitives_stringFromCharCode(40);
  49722. for (; true;) {
  49723. next = t1.peekChar$0();
  49724. if (next == null)
  49725. break;
  49726. else if (next === 92)
  49727. t3._contents += A.S(_this.escape$0());
  49728. else {
  49729. if (next !== 33)
  49730. if (next !== 37)
  49731. if (next !== 38)
  49732. t5 = next >= 42 && next <= 126 || next >= 128;
  49733. else
  49734. t5 = true;
  49735. else
  49736. t5 = true;
  49737. else
  49738. t5 = true;
  49739. if (t5)
  49740. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49741. else if (next === 35)
  49742. if (t1.peekChar$1(1) === 123) {
  49743. t5 = _this.singleInterpolation$0();
  49744. buffer._flushText$0();
  49745. t4.push(t5);
  49746. } else
  49747. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49748. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  49749. _this.whitespaceWithoutComments$0();
  49750. if (t1.peekChar$0() !== 41)
  49751. break;
  49752. } else if (next === 41) {
  49753. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49754. endPosition = t1._string_scanner$_position;
  49755. t2 = t1._sourceFile;
  49756. t5 = start.position;
  49757. t1 = new A._FileSpan(t2, t5, endPosition);
  49758. t1._FileSpan$3(t2, t5, endPosition);
  49759. t5 = type$.Object;
  49760. t2 = A.List_List$of(t4, true, t5);
  49761. t4 = t3._contents;
  49762. if (t4.length !== 0)
  49763. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  49764. result = A.List_List$from(t2, false, t5);
  49765. result.fixed$length = Array;
  49766. result.immutable$list = Array;
  49767. t3 = new A.Interpolation(result, t1);
  49768. t3.Interpolation$2(t2, t1);
  49769. return t3;
  49770. } else
  49771. break;
  49772. }
  49773. }
  49774. t1.set$state(new A._SpanScannerState(t1, t2));
  49775. return null;
  49776. },
  49777. _tryUrlContents$1(start) {
  49778. return this._tryUrlContents$2$name(start, null);
  49779. },
  49780. dynamicUrl$0() {
  49781. var contents, _this = this,
  49782. t1 = _this.scanner,
  49783. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  49784. _this.expectIdentifier$1("url");
  49785. contents = _this._tryUrlContents$1(start);
  49786. if (contents != null)
  49787. return new A.StringExpression(contents, false);
  49788. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  49789. },
  49790. almostAnyValue$1$omitComments(omitComments) {
  49791. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  49792. t1 = _this.scanner,
  49793. t2 = t1._string_scanner$_position,
  49794. t3 = new A.StringBuffer(""),
  49795. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  49796. $label0$1:
  49797. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  49798. next = t1.peekChar$0();
  49799. switch (next) {
  49800. case 92:
  49801. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49802. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49803. break;
  49804. case 34:
  49805. case 39:
  49806. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  49807. break;
  49808. case 47:
  49809. commentStart = t1._string_scanner$_position;
  49810. if (_this.scanComment$0()) {
  49811. if (t6) {
  49812. end = t1._string_scanner$_position;
  49813. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  49814. }
  49815. } else
  49816. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49817. break;
  49818. case 35:
  49819. if (t1.peekChar$1(1) === 123)
  49820. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  49821. else
  49822. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49823. break;
  49824. case 13:
  49825. case 10:
  49826. case 12:
  49827. if (_this.get$indented())
  49828. break $label0$1;
  49829. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49830. break;
  49831. case 33:
  49832. case 59:
  49833. case 123:
  49834. case 125:
  49835. break $label0$1;
  49836. case 117:
  49837. case 85:
  49838. t7 = t1._string_scanner$_position;
  49839. if (!_this.scanIdentifier$1("url")) {
  49840. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49841. break;
  49842. }
  49843. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  49844. if (contents == null) {
  49845. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  49846. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  49847. t1._string_scanner$_position = t7;
  49848. t1._lastMatch = null;
  49849. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49850. } else
  49851. buffer.addInterpolation$1(contents);
  49852. break;
  49853. default:
  49854. if (next == null)
  49855. break $label0$1;
  49856. if (_this.lookingAtIdentifier$0())
  49857. t3._contents += _this.identifier$0();
  49858. else
  49859. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49860. break;
  49861. }
  49862. }
  49863. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49864. },
  49865. almostAnyValue$0() {
  49866. return this.almostAnyValue$1$omitComments(false);
  49867. },
  49868. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  49869. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  49870. t1 = _this.scanner,
  49871. t2 = t1._string_scanner$_position,
  49872. t3 = new A.StringBuffer(""),
  49873. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  49874. brackets = A._setArrayType([], type$.JSArray_int);
  49875. $label0$1:
  49876. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  49877. next = t1.peekChar$0();
  49878. switch (next) {
  49879. case 92:
  49880. t3._contents += A.S(_this.escape$1$identifierStart(true));
  49881. wroteNewline = false;
  49882. break;
  49883. case 34:
  49884. case 39:
  49885. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  49886. wroteNewline = false;
  49887. break;
  49888. case 47:
  49889. if (t1.peekChar$1(1) === 42) {
  49890. t8 = _this.get$loudComment();
  49891. start = t1._string_scanner$_position;
  49892. t8.call$0();
  49893. end = t1._string_scanner$_position;
  49894. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  49895. } else
  49896. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49897. wroteNewline = false;
  49898. break;
  49899. case 35:
  49900. if (t1.peekChar$1(1) === 123)
  49901. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  49902. else
  49903. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49904. wroteNewline = false;
  49905. break;
  49906. case 32:
  49907. case 9:
  49908. if (!wroteNewline) {
  49909. t8 = t1.peekChar$1(1);
  49910. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  49911. } else
  49912. t8 = true;
  49913. if (t8)
  49914. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49915. else
  49916. t1.readChar$0();
  49917. break;
  49918. case 10:
  49919. case 13:
  49920. case 12:
  49921. if (_this.get$indented())
  49922. break $label0$1;
  49923. t8 = t1.peekChar$1(-1);
  49924. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  49925. t3._contents += "\n";
  49926. t1.readChar$0();
  49927. wroteNewline = true;
  49928. break;
  49929. case 40:
  49930. case 123:
  49931. case 91:
  49932. next.toString;
  49933. t3._contents += A.Primitives_stringFromCharCode(next);
  49934. brackets.push(A.opposite(t1.readChar$0()));
  49935. wroteNewline = false;
  49936. break;
  49937. case 41:
  49938. case 125:
  49939. case 93:
  49940. if (brackets.length === 0)
  49941. break $label0$1;
  49942. next.toString;
  49943. t3._contents += A.Primitives_stringFromCharCode(next);
  49944. t1.expectChar$1(brackets.pop());
  49945. wroteNewline = false;
  49946. break;
  49947. case 59:
  49948. if (t7 && brackets.length === 0)
  49949. break $label0$1;
  49950. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49951. wroteNewline = false;
  49952. break;
  49953. case 58:
  49954. if (t6 && brackets.length === 0)
  49955. break $label0$1;
  49956. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49957. wroteNewline = false;
  49958. break;
  49959. case 117:
  49960. case 85:
  49961. t8 = t1._string_scanner$_position;
  49962. if (!_this.scanIdentifier$1("url")) {
  49963. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49964. wroteNewline = false;
  49965. break;
  49966. }
  49967. contents = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  49968. if (contents == null) {
  49969. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  49970. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  49971. t1._string_scanner$_position = t8;
  49972. t1._lastMatch = null;
  49973. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49974. } else
  49975. buffer.addInterpolation$1(contents);
  49976. wroteNewline = false;
  49977. break;
  49978. default:
  49979. if (next == null)
  49980. break $label0$1;
  49981. if (_this.lookingAtIdentifier$0())
  49982. t3._contents += _this.identifier$0();
  49983. else
  49984. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  49985. wroteNewline = false;
  49986. break;
  49987. }
  49988. }
  49989. if (brackets.length !== 0)
  49990. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  49991. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  49992. t1.error$1(0, "Expected token.");
  49993. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  49994. },
  49995. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  49996. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  49997. },
  49998. _interpolatedDeclarationValue$0() {
  49999. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  50000. },
  50001. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  50002. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  50003. },
  50004. interpolatedIdentifier$0() {
  50005. var first, _this = this,
  50006. _s20_ = "Expected identifier.",
  50007. t1 = _this.scanner,
  50008. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  50009. t2 = new A.StringBuffer(""),
  50010. t3 = A._setArrayType([], type$.JSArray_Object),
  50011. buffer = new A.InterpolationBuffer(t2, t3);
  50012. if (t1.scanChar$1(45)) {
  50013. t2._contents += A.Primitives_stringFromCharCode(45);
  50014. if (t1.scanChar$1(45)) {
  50015. t2._contents += A.Primitives_stringFromCharCode(45);
  50016. _this._interpolatedIdentifierBody$1(buffer);
  50017. return buffer.interpolation$1(t1.spanFrom$1(start));
  50018. }
  50019. }
  50020. first = t1.peekChar$0();
  50021. if (first == null)
  50022. t1.error$1(0, _s20_);
  50023. else if (first === 95 || A.isAlphabetic0(first) || first >= 128)
  50024. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50025. else if (first === 92)
  50026. t2._contents += A.S(_this.escape$1$identifierStart(true));
  50027. else if (first === 35 && t1.peekChar$1(1) === 123) {
  50028. t2 = _this.singleInterpolation$0();
  50029. buffer._flushText$0();
  50030. t3.push(t2);
  50031. } else
  50032. t1.error$1(0, _s20_);
  50033. _this._interpolatedIdentifierBody$1(buffer);
  50034. return buffer.interpolation$1(t1.spanFrom$1(start));
  50035. },
  50036. _interpolatedIdentifierBody$1(buffer) {
  50037. var t1, t2, t3, next, t4;
  50038. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  50039. next = t2.peekChar$0();
  50040. if (next == null)
  50041. break;
  50042. else {
  50043. if (next !== 95)
  50044. if (next !== 45) {
  50045. if (!(next >= 97 && next <= 122))
  50046. t4 = next >= 65 && next <= 90;
  50047. else
  50048. t4 = true;
  50049. if (!t4)
  50050. t4 = next >= 48 && next <= 57;
  50051. else
  50052. t4 = true;
  50053. t4 = t4 || next >= 128;
  50054. } else
  50055. t4 = true;
  50056. else
  50057. t4 = true;
  50058. if (t4)
  50059. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  50060. else if (next === 92)
  50061. t3._contents += A.S(this.escape$0());
  50062. else if (next === 35 && t2.peekChar$1(1) === 123) {
  50063. t4 = this.singleInterpolation$0();
  50064. buffer._flushText$0();
  50065. t1.push(t4);
  50066. } else
  50067. break;
  50068. }
  50069. }
  50070. },
  50071. singleInterpolation$0() {
  50072. var contents, _this = this,
  50073. t1 = _this.scanner,
  50074. t2 = t1._string_scanner$_position;
  50075. t1.expect$1("#{");
  50076. _this.whitespace$0();
  50077. contents = _this._expression$0();
  50078. t1.expectChar$1(125);
  50079. if (_this.get$plainCss())
  50080. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50081. return contents;
  50082. },
  50083. _mediaQueryList$0() {
  50084. var t4, _this = this,
  50085. t1 = _this.scanner,
  50086. t2 = t1._string_scanner$_position,
  50087. t3 = new A.StringBuffer(""),
  50088. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  50089. for (; true;) {
  50090. _this.whitespace$0();
  50091. _this._stylesheet$_mediaQuery$1(buffer);
  50092. _this.whitespace$0();
  50093. if (!t1.scanChar$1(44))
  50094. break;
  50095. t4 = t3._contents += A.Primitives_stringFromCharCode(44);
  50096. t3._contents = t4 + A.Primitives_stringFromCharCode(32);
  50097. }
  50098. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50099. },
  50100. _stylesheet$_mediaQuery$1(buffer) {
  50101. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  50102. if (_this.scanner.peekChar$0() === 40) {
  50103. _this._stylesheet$_mediaInParens$1(buffer);
  50104. _this.whitespace$0();
  50105. if (_this.scanIdentifier$1(_s3_)) {
  50106. buffer._interpolation_buffer$_text._contents += " and ";
  50107. _this.expectWhitespace$0();
  50108. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  50109. } else if (_this.scanIdentifier$1("or")) {
  50110. buffer._interpolation_buffer$_text._contents += " or ";
  50111. _this.expectWhitespace$0();
  50112. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  50113. }
  50114. return;
  50115. }
  50116. identifier1 = _this.interpolatedIdentifier$0();
  50117. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  50118. _this.expectWhitespace$0();
  50119. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  50120. buffer._interpolation_buffer$_text._contents += "not ";
  50121. _this._mediaOrInterp$1(buffer);
  50122. return;
  50123. }
  50124. }
  50125. _this.whitespace$0();
  50126. buffer.addInterpolation$1(identifier1);
  50127. if (!_this._lookingAtInterpolatedIdentifier$0())
  50128. return;
  50129. t1 = buffer._interpolation_buffer$_text;
  50130. t1._contents += A.Primitives_stringFromCharCode(32);
  50131. identifier2 = _this.interpolatedIdentifier$0();
  50132. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  50133. _this.expectWhitespace$0();
  50134. t1._contents += " and ";
  50135. } else {
  50136. _this.whitespace$0();
  50137. buffer.addInterpolation$1(identifier2);
  50138. if (_this.scanIdentifier$1(_s3_)) {
  50139. _this.expectWhitespace$0();
  50140. t1._contents += " and ";
  50141. } else
  50142. return;
  50143. }
  50144. if (_this.scanIdentifier$1("not")) {
  50145. _this.expectWhitespace$0();
  50146. t1._contents += "not ";
  50147. _this._mediaOrInterp$1(buffer);
  50148. return;
  50149. }
  50150. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  50151. return;
  50152. },
  50153. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  50154. var t1, t2, _this = this;
  50155. for (t1 = buffer._interpolation_buffer$_text; true;) {
  50156. _this._mediaOrInterp$1(buffer);
  50157. _this.whitespace$0();
  50158. if (!_this.scanIdentifier$1(operator))
  50159. return;
  50160. _this.expectWhitespace$0();
  50161. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  50162. t2 += operator;
  50163. t1._contents = t2;
  50164. t1._contents = t2 + A.Primitives_stringFromCharCode(32);
  50165. }
  50166. },
  50167. _mediaOrInterp$1(buffer) {
  50168. var interpolation;
  50169. if (this.scanner.peekChar$0() === 35) {
  50170. interpolation = this.singleInterpolation$0();
  50171. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  50172. } else
  50173. this._stylesheet$_mediaInParens$1(buffer);
  50174. },
  50175. _stylesheet$_mediaInParens$1(buffer) {
  50176. var t2, t3, t4, next, t5, _this = this,
  50177. t1 = _this.scanner;
  50178. t1.expectChar$2$name(40, "media condition in parentheses");
  50179. t2 = buffer._interpolation_buffer$_text;
  50180. t2._contents += A.Primitives_stringFromCharCode(40);
  50181. _this.whitespace$0();
  50182. if (t1.peekChar$0() === 40) {
  50183. _this._stylesheet$_mediaInParens$1(buffer);
  50184. _this.whitespace$0();
  50185. if (_this.scanIdentifier$1("and")) {
  50186. t2._contents += " and ";
  50187. _this.expectWhitespace$0();
  50188. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  50189. } else if (_this.scanIdentifier$1("or")) {
  50190. t2._contents += " or ";
  50191. _this.expectWhitespace$0();
  50192. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  50193. }
  50194. } else if (_this.scanIdentifier$1("not")) {
  50195. t2._contents += "not ";
  50196. _this.expectWhitespace$0();
  50197. _this._mediaOrInterp$1(buffer);
  50198. } else {
  50199. t3 = _this._expressionUntilComparison$0();
  50200. buffer._flushText$0();
  50201. t4 = buffer._interpolation_buffer$_contents;
  50202. t4.push(t3);
  50203. if (t1.scanChar$1(58)) {
  50204. _this.whitespace$0();
  50205. t3 = t2._contents += A.Primitives_stringFromCharCode(58);
  50206. t2._contents = t3 + A.Primitives_stringFromCharCode(32);
  50207. t3 = _this._expression$0();
  50208. buffer._flushText$0();
  50209. t4.push(t3);
  50210. } else {
  50211. next = t1.peekChar$0();
  50212. t3 = next !== 60;
  50213. if (!t3 || next === 62 || next === 61) {
  50214. t2._contents += A.Primitives_stringFromCharCode(32);
  50215. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  50216. if ((!t3 || next === 62) && t1.scanChar$1(61))
  50217. t2._contents += A.Primitives_stringFromCharCode(61);
  50218. t2._contents += A.Primitives_stringFromCharCode(32);
  50219. _this.whitespace$0();
  50220. t5 = _this._expressionUntilComparison$0();
  50221. buffer._flushText$0();
  50222. t4.push(t5);
  50223. if (!t3 || next === 62) {
  50224. next.toString;
  50225. t3 = t1.scanChar$1(next);
  50226. } else
  50227. t3 = false;
  50228. if (t3) {
  50229. t3 = t2._contents += A.Primitives_stringFromCharCode(32);
  50230. t2._contents = t3 + A.Primitives_stringFromCharCode(next);
  50231. if (t1.scanChar$1(61))
  50232. t2._contents += A.Primitives_stringFromCharCode(61);
  50233. t2._contents += A.Primitives_stringFromCharCode(32);
  50234. _this.whitespace$0();
  50235. t3 = _this._expressionUntilComparison$0();
  50236. buffer._flushText$0();
  50237. t4.push(t3);
  50238. }
  50239. }
  50240. }
  50241. }
  50242. t1.expectChar$1(41);
  50243. _this.whitespace$0();
  50244. t2._contents += A.Primitives_stringFromCharCode(41);
  50245. },
  50246. _expressionUntilComparison$0() {
  50247. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  50248. },
  50249. _supportsCondition$0() {
  50250. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  50251. t1 = _this.scanner,
  50252. t2 = t1._string_scanner$_position;
  50253. if (_this.scanIdentifier$1("not")) {
  50254. _this.whitespace$0();
  50255. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  50256. }
  50257. condition = _this._supportsConditionInParens$0();
  50258. _this.whitespace$0();
  50259. for (operator = null; _this.lookingAtIdentifier$0();) {
  50260. if (operator != null)
  50261. _this.expectIdentifier$1(operator);
  50262. else if (_this.scanIdentifier$1("or"))
  50263. operator = "or";
  50264. else {
  50265. _this.expectIdentifier$1("and");
  50266. operator = "and";
  50267. }
  50268. _this.whitespace$0();
  50269. right = _this._supportsConditionInParens$0();
  50270. endPosition = t1._string_scanner$_position;
  50271. t3 = t1._sourceFile;
  50272. t4 = new A._FileSpan(t3, t2, endPosition);
  50273. t4._FileSpan$3(t3, t2, endPosition);
  50274. condition = new A.SupportsOperation(condition, right, operator, t4);
  50275. lowerOperator = operator.toLowerCase();
  50276. if (lowerOperator !== "and" && lowerOperator !== "or")
  50277. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  50278. _this.whitespace$0();
  50279. }
  50280. return condition;
  50281. },
  50282. _supportsConditionInParens$0() {
  50283. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  50284. t1 = _this.scanner,
  50285. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50286. if (_this._lookingAtInterpolatedIdentifier$0()) {
  50287. identifier0 = _this.interpolatedIdentifier$0();
  50288. t2 = identifier0.get$asPlain();
  50289. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  50290. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  50291. if (t1.scanChar$1(40)) {
  50292. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  50293. t1.expectChar$1(41);
  50294. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  50295. } else {
  50296. t2 = identifier0.contents;
  50297. if (t2.length !== 1 || !type$.Expression._is(B.JSArray_methods.get$first(t2)))
  50298. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  50299. else
  50300. return new A.SupportsInterpolation(type$.Expression._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  50301. }
  50302. }
  50303. t1.expectChar$1(40);
  50304. _this.whitespace$0();
  50305. if (_this.scanIdentifier$1("not")) {
  50306. _this.whitespace$0();
  50307. condition = _this._supportsConditionInParens$0();
  50308. t1.expectChar$1(41);
  50309. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  50310. } else if (t1.peekChar$0() === 40) {
  50311. condition = _this._supportsCondition$0();
  50312. t1.expectChar$1(41);
  50313. return condition;
  50314. }
  50315. $name = null;
  50316. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50317. wasInParentheses = _this._inParentheses;
  50318. try {
  50319. $name = _this._expression$0();
  50320. t1.expectChar$1(58);
  50321. } catch (exception) {
  50322. if (type$.FormatException._is(A.unwrapException(exception))) {
  50323. t1.set$state(nameStart);
  50324. _this._inParentheses = wasInParentheses;
  50325. identifier = _this.interpolatedIdentifier$0();
  50326. operation = _this._trySupportsOperation$2(identifier, nameStart);
  50327. if (operation != null) {
  50328. t1.expectChar$1(41);
  50329. return operation;
  50330. }
  50331. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  50332. t2.addInterpolation$1(identifier);
  50333. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  50334. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  50335. if (t1.peekChar$0() === 58)
  50336. throw exception;
  50337. t1.expectChar$1(41);
  50338. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  50339. } else
  50340. throw exception;
  50341. }
  50342. declaration = _this._supportsDeclarationValue$2($name, start);
  50343. t1.expectChar$1(41);
  50344. return declaration;
  50345. },
  50346. _supportsDeclarationValue$2($name, start) {
  50347. var value, _this = this;
  50348. if ($name instanceof A.StringExpression && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  50349. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  50350. else {
  50351. _this.whitespace$0();
  50352. value = _this._expression$0();
  50353. }
  50354. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  50355. },
  50356. _trySupportsOperation$2(interpolation, start) {
  50357. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  50358. t1 = interpolation.contents;
  50359. if (t1.length !== 1)
  50360. return _null;
  50361. expression = B.JSArray_methods.get$first(t1);
  50362. if (!type$.Expression._is(expression))
  50363. return _null;
  50364. t1 = _this.scanner;
  50365. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  50366. _this.whitespace$0();
  50367. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  50368. if (operator != null)
  50369. _this.expectIdentifier$1(operator);
  50370. else if (_this.scanIdentifier$1("and"))
  50371. operator = "and";
  50372. else {
  50373. if (!_this.scanIdentifier$1("or")) {
  50374. if (beforeWhitespace._scanner !== t1)
  50375. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  50376. t2 = beforeWhitespace.position;
  50377. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  50378. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  50379. t1._string_scanner$_position = t2;
  50380. return t1._lastMatch = null;
  50381. }
  50382. operator = "or";
  50383. }
  50384. _this.whitespace$0();
  50385. right = _this._supportsConditionInParens$0();
  50386. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  50387. endPosition = t1._string_scanner$_position;
  50388. t5 = t1._sourceFile;
  50389. t6 = new A._FileSpan(t5, t2, endPosition);
  50390. t6._FileSpan$3(t5, t2, endPosition);
  50391. operation = new A.SupportsOperation(t4, right, operator, t6);
  50392. lowerOperator = operator.toLowerCase();
  50393. if (lowerOperator !== "and" && lowerOperator !== "or")
  50394. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  50395. _this.whitespace$0();
  50396. }
  50397. return operation;
  50398. },
  50399. _lookingAtInterpolatedIdentifier$0() {
  50400. var second,
  50401. t1 = this.scanner,
  50402. first = t1.peekChar$0();
  50403. if (first == null)
  50404. return false;
  50405. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || first === 92)
  50406. return true;
  50407. if (first === 35)
  50408. return t1.peekChar$1(1) === 123;
  50409. if (first !== 45)
  50410. return false;
  50411. second = t1.peekChar$1(1);
  50412. if (second == null)
  50413. return false;
  50414. if (second === 35)
  50415. return t1.peekChar$1(2) === 123;
  50416. return second === 95 || A.isAlphabetic0(second) || second >= 128 || second === 92 || second === 45;
  50417. },
  50418. _lookingAtInterpolatedIdentifierBody$0() {
  50419. var t1 = this.scanner,
  50420. first = t1.peekChar$0();
  50421. if (first == null)
  50422. return false;
  50423. if (first === 95 || A.isAlphabetic0(first) || first >= 128 || A.isDigit(first) || first === 45 || first === 92)
  50424. return true;
  50425. return first === 35 && t1.peekChar$1(1) === 123;
  50426. },
  50427. _lookingAtExpression$0() {
  50428. var next,
  50429. t1 = this.scanner,
  50430. character = t1.peekChar$0();
  50431. if (character == null)
  50432. return false;
  50433. if (character === 46)
  50434. return t1.peekChar$1(1) !== 46;
  50435. if (character === 33) {
  50436. next = t1.peekChar$1(1);
  50437. if (next != null)
  50438. if ((next | 32) >>> 0 !== 105)
  50439. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  50440. else
  50441. t1 = true;
  50442. else
  50443. t1 = true;
  50444. return t1;
  50445. }
  50446. if (character !== 40)
  50447. if (character !== 47)
  50448. if (character !== 91)
  50449. if (character !== 39)
  50450. if (character !== 34)
  50451. if (character !== 35)
  50452. if (character !== 43)
  50453. if (character !== 45)
  50454. if (character !== 92)
  50455. if (character !== 36)
  50456. if (character !== 38)
  50457. t1 = character === 95 || A.isAlphabetic0(character) || character >= 128 || A.isDigit(character);
  50458. else
  50459. t1 = true;
  50460. else
  50461. t1 = true;
  50462. else
  50463. t1 = true;
  50464. else
  50465. t1 = true;
  50466. else
  50467. t1 = true;
  50468. else
  50469. t1 = true;
  50470. else
  50471. t1 = true;
  50472. else
  50473. t1 = true;
  50474. else
  50475. t1 = true;
  50476. else
  50477. t1 = true;
  50478. else
  50479. t1 = true;
  50480. return t1;
  50481. },
  50482. _withChildren$1$3(child, start, create) {
  50483. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  50484. this.whitespaceWithoutComments$0();
  50485. return result;
  50486. },
  50487. _withChildren$3(child, start, create) {
  50488. return this._withChildren$1$3(child, start, create, type$.dynamic);
  50489. },
  50490. _urlString$0() {
  50491. var innerError, stackTrace, t2, exception,
  50492. t1 = this.scanner,
  50493. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  50494. url = this.string$0();
  50495. try {
  50496. t2 = A.Uri_parse(url);
  50497. return t2;
  50498. } catch (exception) {
  50499. t2 = A.unwrapException(exception);
  50500. if (type$.FormatException._is(t2)) {
  50501. innerError = t2;
  50502. stackTrace = A.getTraceFromException(exception);
  50503. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  50504. } else
  50505. throw exception;
  50506. }
  50507. },
  50508. _publicIdentifier$0() {
  50509. var _this = this,
  50510. t1 = _this.scanner,
  50511. t2 = t1._string_scanner$_position,
  50512. result = _this.identifier$1$normalize(true);
  50513. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  50514. return result;
  50515. },
  50516. _assertPublic$2(identifier, span) {
  50517. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  50518. if (!(first === 45 || first === 95))
  50519. return;
  50520. this.error$2(0, string$.Privat, span.call$0());
  50521. },
  50522. get$plainCss() {
  50523. return false;
  50524. }
  50525. };
  50526. A.StylesheetParser_parse_closure.prototype = {
  50527. call$0() {
  50528. var statements, t4,
  50529. t1 = this.$this,
  50530. t2 = t1.scanner,
  50531. t3 = t2._string_scanner$_position;
  50532. t2.scanChar$1(65279);
  50533. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  50534. t2.expectDone$0();
  50535. t4 = t1._globalVariables;
  50536. t4 = t4.get$values(t4);
  50537. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  50538. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  50539. },
  50540. $signature: 489
  50541. };
  50542. A.StylesheetParser_parse__closure.prototype = {
  50543. call$0() {
  50544. var t1 = this.$this;
  50545. if (t1.scanner.scan$1("@charset")) {
  50546. t1.whitespace$0();
  50547. t1.string$0();
  50548. return null;
  50549. }
  50550. return t1._statement$1$root(true);
  50551. },
  50552. $signature: 490
  50553. };
  50554. A.StylesheetParser_parse__closure0.prototype = {
  50555. call$1(declaration) {
  50556. var t1 = declaration.name,
  50557. t2 = declaration.expression;
  50558. return A.VariableDeclaration$(t1, new A.NullExpression(t2.get$span(t2)), declaration.span, null, false, true, null);
  50559. },
  50560. $signature: 493
  50561. };
  50562. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  50563. call$0() {
  50564. var $arguments,
  50565. t1 = this.$this,
  50566. t2 = t1.scanner;
  50567. t2.expectChar$2$name(64, "@-rule");
  50568. t1.identifier$0();
  50569. t1.whitespace$0();
  50570. t1.identifier$0();
  50571. $arguments = t1._argumentDeclaration$0();
  50572. t1.whitespace$0();
  50573. t2.expectChar$1(123);
  50574. return $arguments;
  50575. },
  50576. $signature: 495
  50577. };
  50578. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  50579. call$0() {
  50580. var t1 = this.$this;
  50581. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  50582. },
  50583. $signature: 156
  50584. };
  50585. A.StylesheetParser_parseUseRule_closure.prototype = {
  50586. call$0() {
  50587. var t1 = this.$this,
  50588. t2 = t1.scanner,
  50589. t3 = t2._string_scanner$_position;
  50590. t2.expectChar$2$name(64, "@-rule");
  50591. t1.expectIdentifier$1("use");
  50592. t1.whitespace$0();
  50593. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  50594. },
  50595. $signature: 258
  50596. };
  50597. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  50598. call$0() {
  50599. var result = this.production.call$0();
  50600. this.$this.scanner.expectDone$0();
  50601. return result;
  50602. },
  50603. $signature() {
  50604. return this.T._eval$1("0()");
  50605. }
  50606. };
  50607. A.StylesheetParser__statement_closure.prototype = {
  50608. call$0() {
  50609. return this.$this._statement$0();
  50610. },
  50611. $signature: 114
  50612. };
  50613. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  50614. call$0() {
  50615. return this.$this.scanner.spanFrom$1(this.start);
  50616. },
  50617. $signature: 30
  50618. };
  50619. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  50620. call$0() {
  50621. return this.declaration;
  50622. },
  50623. $signature: 156
  50624. };
  50625. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  50626. call$2(children, span) {
  50627. return A.Declaration$nested(this.name, children, span, null);
  50628. },
  50629. $signature: 83
  50630. };
  50631. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  50632. call$2(children, span) {
  50633. return A.Declaration$nested(this.name, children, span, this._box_0.value);
  50634. },
  50635. $signature: 83
  50636. };
  50637. A.StylesheetParser__styleRule_closure.prototype = {
  50638. call$2(children, span) {
  50639. var _this = this,
  50640. t1 = _this.$this;
  50641. if (t1.get$indented() && children.length === 0)
  50642. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  50643. t1._inStyleRule = _this.wasInStyleRule;
  50644. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  50645. },
  50646. $signature: 280
  50647. };
  50648. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  50649. call$2(children, span) {
  50650. return A.Declaration$nested(this._box_0.name, children, span, null);
  50651. },
  50652. $signature: 83
  50653. };
  50654. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  50655. call$2(children, span) {
  50656. return A.Declaration$nested(this._box_0.name, children, span, this.value);
  50657. },
  50658. $signature: 83
  50659. };
  50660. A.StylesheetParser__atRootRule_closure.prototype = {
  50661. call$2(children, span) {
  50662. return A.AtRootRule$(children, span, this.query);
  50663. },
  50664. $signature: 157
  50665. };
  50666. A.StylesheetParser__atRootRule_closure0.prototype = {
  50667. call$2(children, span) {
  50668. return A.AtRootRule$(children, span, null);
  50669. },
  50670. $signature: 157
  50671. };
  50672. A.StylesheetParser__eachRule_closure.prototype = {
  50673. call$2(children, span) {
  50674. var _this = this;
  50675. _this.$this._inControlDirective = _this.wasInControlDirective;
  50676. return A.EachRule$(_this.variables, _this.list, children, span);
  50677. },
  50678. $signature: 284
  50679. };
  50680. A.StylesheetParser__functionRule_closure.prototype = {
  50681. call$2(children, span) {
  50682. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  50683. },
  50684. $signature: 290
  50685. };
  50686. A.StylesheetParser__forRule_closure.prototype = {
  50687. call$0() {
  50688. var t1 = this.$this;
  50689. if (!t1.lookingAtIdentifier$0())
  50690. return false;
  50691. if (t1.scanIdentifier$1("to"))
  50692. return this._box_0.exclusive = true;
  50693. else if (t1.scanIdentifier$1("through")) {
  50694. this._box_0.exclusive = false;
  50695. return true;
  50696. } else
  50697. return false;
  50698. },
  50699. $signature: 26
  50700. };
  50701. A.StylesheetParser__forRule_closure0.prototype = {
  50702. call$2(children, span) {
  50703. var t1, _this = this;
  50704. _this.$this._inControlDirective = _this.wasInControlDirective;
  50705. t1 = _this._box_0.exclusive;
  50706. t1.toString;
  50707. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  50708. },
  50709. $signature: 291
  50710. };
  50711. A.StylesheetParser__memberList_closure.prototype = {
  50712. call$0() {
  50713. var t1 = this.$this;
  50714. if (t1.scanner.peekChar$0() === 36)
  50715. this.variables.add$1(0, t1.variableName$0());
  50716. else
  50717. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  50718. },
  50719. $signature: 1
  50720. };
  50721. A.StylesheetParser__includeRule_closure.prototype = {
  50722. call$2(children, span) {
  50723. return A.ContentBlock$(this.contentArguments_, children, span);
  50724. },
  50725. $signature: 293
  50726. };
  50727. A.StylesheetParser_mediaRule_closure.prototype = {
  50728. call$2(children, span) {
  50729. return A.MediaRule$(this.query, children, span);
  50730. },
  50731. $signature: 297
  50732. };
  50733. A.StylesheetParser__mixinRule_closure.prototype = {
  50734. call$2(children, span) {
  50735. var _this = this;
  50736. _this.$this._stylesheet$_inMixin = false;
  50737. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  50738. },
  50739. $signature: 298
  50740. };
  50741. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  50742. call$2(children, span) {
  50743. var _this = this;
  50744. if (_this._box_0.needsDeprecationWarning)
  50745. _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
  50746. return A.AtRule$(_this.name, span, children, _this.value);
  50747. },
  50748. $signature: 158
  50749. };
  50750. A.StylesheetParser_supportsRule_closure.prototype = {
  50751. call$2(children, span) {
  50752. return A.SupportsRule$(this.condition, children, span);
  50753. },
  50754. $signature: 305
  50755. };
  50756. A.StylesheetParser__whileRule_closure.prototype = {
  50757. call$2(children, span) {
  50758. this.$this._inControlDirective = this.wasInControlDirective;
  50759. return A.WhileRule$(this.condition, children, span);
  50760. },
  50761. $signature: 294
  50762. };
  50763. A.StylesheetParser_unknownAtRule_closure.prototype = {
  50764. call$2(children, span) {
  50765. return A.AtRule$(this.name, span, children, this._box_0.value);
  50766. },
  50767. $signature: 158
  50768. };
  50769. A.StylesheetParser__expression_resetState.prototype = {
  50770. call$0() {
  50771. var t2,
  50772. t1 = this._box_0;
  50773. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  50774. t2 = this.$this;
  50775. t2.scanner.set$state(this.start);
  50776. t1.allowSlash = true;
  50777. t1.singleExpression_ = t2._singleExpression$0();
  50778. },
  50779. $signature: 0
  50780. };
  50781. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  50782. call$0() {
  50783. var t2, t3, t4, t5, t6, t7, _this = this,
  50784. t1 = _this._box_0,
  50785. operator = t1.operators_.pop(),
  50786. left = t1.operands_.pop(),
  50787. right = t1.singleExpression_;
  50788. if (right == null) {
  50789. t2 = _this.$this.scanner;
  50790. t3 = operator.operator.length;
  50791. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  50792. }
  50793. if (t1.allowSlash) {
  50794. t2 = _this.$this;
  50795. t2 = !t2._inParentheses && operator === B.BinaryOperator_qpm && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  50796. } else
  50797. t2 = false;
  50798. if (t2)
  50799. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_qpm, left, right, true);
  50800. else {
  50801. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  50802. t2 = t1.allowSlash = false;
  50803. if (operator === B.BinaryOperator_qbf || operator === B.BinaryOperator_KlB) {
  50804. t3 = _this.$this;
  50805. t4 = t3.scanner.string;
  50806. t5 = right.get$span(right);
  50807. t5 = t5.get$start(t5);
  50808. t6 = right.get$span(right);
  50809. t7 = operator.operator;
  50810. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  50811. t2 = left.get$span(left);
  50812. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  50813. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  50814. }
  50815. if (t2) {
  50816. t2 = left.toString$0(0);
  50817. t4 = right.toString$0(0);
  50818. t5 = left.toString$0(0);
  50819. t6 = right.toString$0(0);
  50820. t1 = t1.singleExpression_;
  50821. t3.logger.warn$3$deprecation$span(0, "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, true, t1.get$span(t1));
  50822. }
  50823. }
  50824. }
  50825. },
  50826. $signature: 0
  50827. };
  50828. A.StylesheetParser__expression_resolveOperations.prototype = {
  50829. call$0() {
  50830. var t1,
  50831. operators = this._box_0.operators_;
  50832. if (operators == null)
  50833. return;
  50834. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  50835. t1.call$0();
  50836. },
  50837. $signature: 0
  50838. };
  50839. A.StylesheetParser__expression_addSingleExpression.prototype = {
  50840. call$1(expression) {
  50841. var t2, spaceExpressions, _this = this,
  50842. t1 = _this._box_0;
  50843. if (t1.singleExpression_ != null) {
  50844. t2 = _this.$this;
  50845. if (t2._inParentheses) {
  50846. t2._inParentheses = false;
  50847. if (t1.allowSlash) {
  50848. _this.resetState.call$0();
  50849. return;
  50850. }
  50851. }
  50852. spaceExpressions = t1.spaceExpressions_;
  50853. if (spaceExpressions == null)
  50854. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  50855. _this.resolveOperations.call$0();
  50856. t2 = t1.singleExpression_;
  50857. t2.toString;
  50858. spaceExpressions.push(t2);
  50859. t1.allowSlash = true;
  50860. }
  50861. t1.singleExpression_ = expression;
  50862. },
  50863. $signature: 309
  50864. };
  50865. A.StylesheetParser__expression_addOperator.prototype = {
  50866. call$1(operator) {
  50867. var t2, t3, operators, operands, t4, singleExpression,
  50868. t1 = this.$this;
  50869. if (t1.get$plainCss() && operator !== B.BinaryOperator_qpm && operator !== B.BinaryOperator_axY) {
  50870. t2 = t1.scanner;
  50871. t3 = operator.operator.length;
  50872. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  50873. }
  50874. t2 = this._box_0;
  50875. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_qpm;
  50876. operators = t2.operators_;
  50877. if (operators == null)
  50878. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  50879. operands = t2.operands_;
  50880. if (operands == null)
  50881. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  50882. t3 = this.resolveOneOperation;
  50883. t4 = operator.precedence;
  50884. while (true) {
  50885. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  50886. break;
  50887. t3.call$0();
  50888. }
  50889. operators.push(operator);
  50890. singleExpression = t2.singleExpression_;
  50891. if (singleExpression == null) {
  50892. t3 = t1.scanner;
  50893. t4 = operator.operator.length;
  50894. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  50895. }
  50896. operands.push(singleExpression);
  50897. t1.whitespace$0();
  50898. t2.singleExpression_ = t1._singleExpression$0();
  50899. },
  50900. $signature: 312
  50901. };
  50902. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  50903. call$0() {
  50904. var t1, spaceExpressions, singleExpression, t2;
  50905. this.resolveOperations.call$0();
  50906. t1 = this._box_0;
  50907. spaceExpressions = t1.spaceExpressions_;
  50908. if (spaceExpressions != null) {
  50909. singleExpression = t1.singleExpression_;
  50910. if (singleExpression == null)
  50911. this.$this.scanner.error$1(0, "Expected expression.");
  50912. spaceExpressions.push(singleExpression);
  50913. t2 = B.JSArray_methods.get$first(spaceExpressions);
  50914. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  50915. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, false, t2);
  50916. t1.spaceExpressions_ = null;
  50917. }
  50918. },
  50919. $signature: 0
  50920. };
  50921. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  50922. call$0() {
  50923. return this.$this.scanner.peekChar$0() === 44;
  50924. },
  50925. $signature: 26
  50926. };
  50927. A.StylesheetParser__unicodeRange_closure.prototype = {
  50928. call$1(char) {
  50929. return char != null && A.isHex(char);
  50930. },
  50931. $signature: 33
  50932. };
  50933. A.StylesheetParser__unicodeRange_closure0.prototype = {
  50934. call$1(char) {
  50935. return char != null && A.isHex(char);
  50936. },
  50937. $signature: 33
  50938. };
  50939. A.StylesheetParser_namespacedExpression_closure.prototype = {
  50940. call$0() {
  50941. return this.$this.scanner.spanFrom$1(this.start);
  50942. },
  50943. $signature: 30
  50944. };
  50945. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  50946. call$1(contents) {
  50947. return new A.StringExpression(contents, false);
  50948. },
  50949. $signature: 317
  50950. };
  50951. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  50952. call$0() {
  50953. var t1 = this.$this.scanner,
  50954. next = t1.peekChar$0();
  50955. if (next === 61)
  50956. return t1.peekChar$1(1) !== 61;
  50957. return next === 60 || next === 62;
  50958. },
  50959. $signature: 26
  50960. };
  50961. A.StylesheetParser__publicIdentifier_closure.prototype = {
  50962. call$0() {
  50963. return this.$this.scanner.spanFrom$1(this.start);
  50964. },
  50965. $signature: 30
  50966. };
  50967. A.StylesheetGraph.prototype = {
  50968. modifiedSince$3(url, since, baseImporter) {
  50969. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  50970. if (node == null)
  50971. return true;
  50972. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
  50973. },
  50974. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  50975. var t1, t2, _this = this,
  50976. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  50977. if (tuple == null)
  50978. return null;
  50979. t1 = tuple.item1;
  50980. t2 = tuple.item2;
  50981. _this.addCanonical$3(t1, t2, tuple.item3);
  50982. return _this._nodes.$index(0, t2);
  50983. },
  50984. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  50985. var stylesheet, _this = this,
  50986. t1 = _this._nodes;
  50987. if (t1.$index(0, canonicalUrl) != null)
  50988. return B.Set_empty2;
  50989. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  50990. if (stylesheet == null)
  50991. return B.Set_empty2;
  50992. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  50993. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty2;
  50994. },
  50995. addCanonical$3(importer, canonicalUrl, originalUrl) {
  50996. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  50997. },
  50998. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  50999. var t4, t5, t6, t7,
  51000. t1 = type$.Uri,
  51001. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  51002. t2 = type$.JSArray_Uri,
  51003. t3 = A._setArrayType([], t2);
  51004. t2 = A._setArrayType([], t2);
  51005. new A._FindDependenciesVisitor(t3, t2).visitChildren$1(stylesheet.children);
  51006. t4 = type$.nullable_StylesheetNode;
  51007. t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
  51008. for (t6 = B.JSArray_methods.get$iterator(t3); t6.moveNext$0();) {
  51009. t7 = t6.get$current(t6);
  51010. t5.$indexSet(0, t7, this._nodeFor$4(t7, baseImporter, baseUrl, active));
  51011. }
  51012. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t4);
  51013. for (t2 = J.get$iterator$ax(new A.Tuple2(t3, t2, type$.Tuple2_of_List_Uri_and_List_Uri).item2); t2.moveNext$0();) {
  51014. t3 = t2.get$current(t2);
  51015. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  51016. }
  51017. return new A.Tuple2(t5, t1, type$.Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode);
  51018. },
  51019. reload$1(canonicalUrl) {
  51020. var stylesheet, upstream, _this = this,
  51021. node = _this._nodes.$index(0, canonicalUrl);
  51022. if (node == null)
  51023. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  51024. _this._transitiveModificationTimes.clear$0(0);
  51025. _this.importCache.clearImport$1(canonicalUrl);
  51026. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  51027. if (stylesheet == null)
  51028. return false;
  51029. node._stylesheet = stylesheet;
  51030. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  51031. node._replaceUpstream$2(upstream.item1, upstream.item2);
  51032. return true;
  51033. },
  51034. _recanonicalizeImports$2(importer, canonicalUrl) {
  51035. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  51036. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  51037. 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();) {
  51038. t5 = t1.get$current(t1);
  51039. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  51040. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  51041. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  51042. changed.add$1(0, t5);
  51043. 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));
  51044. }
  51045. }
  51046. if (changed._collection$_length !== 0)
  51047. _this._transitiveModificationTimes.clear$0(0);
  51048. return changed;
  51049. },
  51050. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  51051. var t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  51052. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1),
  51053. newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.nullable_StylesheetNode);
  51054. map._map.forEach$1(0, new A.StylesheetGraph__recanonicalizeImportsForNode_closure(this, importer, canonicalUrl, node, forImport, newMap));
  51055. return newMap;
  51056. },
  51057. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  51058. var importer, canonicalUrl, resolvedUrl, t1, stylesheet, node, _this = this,
  51059. tuple = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  51060. if (tuple == null)
  51061. return null;
  51062. importer = tuple.item1;
  51063. canonicalUrl = tuple.item2;
  51064. resolvedUrl = tuple.item3;
  51065. t1 = _this._nodes;
  51066. if (t1.containsKey$1(canonicalUrl))
  51067. return t1.$index(0, canonicalUrl);
  51068. if (active.contains$1(0, canonicalUrl))
  51069. return null;
  51070. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(_this, importer, canonicalUrl, resolvedUrl));
  51071. if (stylesheet == null)
  51072. return null;
  51073. active.add$1(0, canonicalUrl);
  51074. node = A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl));
  51075. active.remove$1(0, canonicalUrl);
  51076. t1.$indexSet(0, canonicalUrl, node);
  51077. return node;
  51078. },
  51079. _nodeFor$4(url, baseImporter, baseUrl, active) {
  51080. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  51081. },
  51082. _ignoreErrors$1$1(callback) {
  51083. var t1, exception;
  51084. try {
  51085. t1 = callback.call$0();
  51086. return t1;
  51087. } catch (exception) {
  51088. return null;
  51089. }
  51090. },
  51091. _ignoreErrors$1(callback) {
  51092. return this._ignoreErrors$1$1(callback, type$.dynamic);
  51093. }
  51094. };
  51095. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  51096. call$1(node) {
  51097. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  51098. },
  51099. $signature: 318
  51100. };
  51101. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  51102. call$0() {
  51103. var t2, t3, upstreamTime,
  51104. t1 = this.node,
  51105. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  51106. 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();) {
  51107. t3 = t1._currentIterator;
  51108. t3 = t3.get$current(t3);
  51109. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  51110. if (upstreamTime._core$_value > latest._core$_value)
  51111. latest = upstreamTime;
  51112. }
  51113. return latest;
  51114. },
  51115. $signature: 151
  51116. };
  51117. A.StylesheetGraph__add_closure.prototype = {
  51118. call$0() {
  51119. var _this = this;
  51120. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  51121. },
  51122. $signature: 102
  51123. };
  51124. A.StylesheetGraph_addCanonical_closure.prototype = {
  51125. call$0() {
  51126. var _this = this;
  51127. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  51128. },
  51129. $signature: 91
  51130. };
  51131. A.StylesheetGraph_reload_closure.prototype = {
  51132. call$0() {
  51133. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  51134. },
  51135. $signature: 91
  51136. };
  51137. A.StylesheetGraph__recanonicalizeImportsForNode_closure.prototype = {
  51138. call$2(url, upstream) {
  51139. var result, t1, t2, t3, exception, newCanonicalUrl, _this = this;
  51140. if (!_this.importer.couldCanonicalize$2(url, _this.canonicalUrl))
  51141. return;
  51142. t1 = _this.$this;
  51143. t2 = t1.importCache;
  51144. t2.clearCanonicalize$1(url);
  51145. result = null;
  51146. try {
  51147. t3 = _this.node;
  51148. result = t2.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t3.importer, t3.canonicalUrl, _this.forImport);
  51149. } catch (exception) {
  51150. }
  51151. t2 = result;
  51152. newCanonicalUrl = t2 == null ? null : t2.item2;
  51153. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  51154. return;
  51155. t1 = result == null ? null : t1._nodes.$index(0, result.item2);
  51156. _this.newMap.$indexSet(0, url, t1);
  51157. },
  51158. $signature: 323
  51159. };
  51160. A.StylesheetGraph__nodeFor_closure.prototype = {
  51161. call$0() {
  51162. var _this = this;
  51163. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  51164. },
  51165. $signature: 102
  51166. };
  51167. A.StylesheetGraph__nodeFor_closure0.prototype = {
  51168. call$0() {
  51169. var _this = this;
  51170. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.resolvedUrl);
  51171. },
  51172. $signature: 91
  51173. };
  51174. A.StylesheetNode.prototype = {
  51175. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  51176. var t1, t2;
  51177. 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();) {
  51178. t1 = t2._currentIterator;
  51179. t1 = t1.get$current(t1);
  51180. if (t1 != null)
  51181. t1._downstream.add$1(0, this);
  51182. }
  51183. },
  51184. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  51185. var t3, oldUpstream, newUpstreamSet, _this = this,
  51186. t1 = _this._upstream,
  51187. t2 = type$.nullable_StylesheetNode;
  51188. t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), t2);
  51189. t3 = _this._upstreamImports;
  51190. t1.addAll$1(0, t3.get$values(t3));
  51191. t3 = type$.StylesheetNode;
  51192. oldUpstream = A.SetExtension_removeNull(t1, t3);
  51193. t2 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(newUpstream), t2);
  51194. t2.addAll$1(0, newUpstreamImports.get$values(newUpstreamImports));
  51195. newUpstreamSet = A.SetExtension_removeNull(t2, t3);
  51196. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  51197. t1.get$current(t1)._downstream.remove$1(0, _this);
  51198. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  51199. t1.get$current(t1)._downstream.add$1(0, _this);
  51200. _this._upstream = newUpstream;
  51201. _this._upstreamImports = newUpstreamImports;
  51202. },
  51203. _stylesheet_graph$_remove$0() {
  51204. var t1, t2, t3, t4, _i, url, _this = this;
  51205. 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();) {
  51206. t3 = t1._collection$_current;
  51207. if (t3 == null)
  51208. t3 = t2._as(t3);
  51209. if (t3 == null)
  51210. continue;
  51211. t3._downstream.remove$1(0, _this);
  51212. }
  51213. for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  51214. t2 = t1.get$current(t1);
  51215. 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) {
  51216. url = t3[_i];
  51217. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  51218. t2._upstream.$indexSet(0, url, null);
  51219. break;
  51220. }
  51221. }
  51222. 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) {
  51223. url = t3[_i];
  51224. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  51225. t2._upstreamImports.$indexSet(0, url, null);
  51226. break;
  51227. }
  51228. }
  51229. }
  51230. },
  51231. toString$0(_) {
  51232. var t1 = this._stylesheet.span;
  51233. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  51234. return t1 == null ? "<unknown>" : t1;
  51235. }
  51236. };
  51237. A.Syntax.prototype = {
  51238. toString$0(_) {
  51239. return this._syntax$_name;
  51240. }
  51241. };
  51242. A.LimitedMapView.prototype = {
  51243. get$keys(_) {
  51244. return this._limited_map_view$_keys;
  51245. },
  51246. get$length(_) {
  51247. return this._limited_map_view$_keys._collection$_length;
  51248. },
  51249. get$isEmpty(_) {
  51250. return this._limited_map_view$_keys._collection$_length === 0;
  51251. },
  51252. get$isNotEmpty(_) {
  51253. return this._limited_map_view$_keys._collection$_length !== 0;
  51254. },
  51255. $index(_, key) {
  51256. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  51257. },
  51258. containsKey$1(key) {
  51259. return this._limited_map_view$_keys.contains$1(0, key);
  51260. },
  51261. remove$1(_, key) {
  51262. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  51263. }
  51264. };
  51265. A.MergedMapView.prototype = {
  51266. get$keys(_) {
  51267. var t1 = this._mapsByKey;
  51268. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  51269. },
  51270. get$length(_) {
  51271. return this._mapsByKey.__js_helper$_length;
  51272. },
  51273. get$isEmpty(_) {
  51274. return this._mapsByKey.__js_helper$_length === 0;
  51275. },
  51276. get$isNotEmpty(_) {
  51277. return this._mapsByKey.__js_helper$_length !== 0;
  51278. },
  51279. MergedMapView$1(maps, $K, $V) {
  51280. var t1, t2, t3, _i, map, t4, t5, t6;
  51281. 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) {
  51282. map = maps[_i];
  51283. if (t3._is(map))
  51284. 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();) {
  51285. t6 = t4.__internal$_current;
  51286. if (t6 == null)
  51287. t6 = t5._as(t6);
  51288. A.setAll(t2, t6.get$keys(t6), t6);
  51289. }
  51290. else
  51291. A.setAll(t2, map.get$keys(map), map);
  51292. }
  51293. },
  51294. $index(_, key) {
  51295. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  51296. return t1 == null ? null : t1.$index(0, key);
  51297. },
  51298. $indexSet(_, key, value) {
  51299. var child = this._mapsByKey.$index(0, key);
  51300. if (child == null)
  51301. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  51302. child.$indexSet(0, key, value);
  51303. },
  51304. remove$1(_, key) {
  51305. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  51306. },
  51307. containsKey$1(key) {
  51308. return this._mapsByKey.containsKey$1(key);
  51309. }
  51310. };
  51311. A.MultiDirWatcher.prototype = {
  51312. watch$1(_, directory) {
  51313. var t1, t2, t3, t4, isParentOfExistingDir, _i, entry, t5, existingWatcher, t6, future, completer;
  51314. 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) {
  51315. entry = t2[_i];
  51316. t5 = entry.key;
  51317. t5.toString;
  51318. existingWatcher = entry.value;
  51319. if (!isParentOfExistingDir) {
  51320. t6 = $.$get$context();
  51321. t6 = t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(t5, directory) === B._PathRelation_within;
  51322. } else
  51323. t6 = false;
  51324. if (t6) {
  51325. t1 = new A._Future($.Zone__current, type$._Future_void);
  51326. t1._asyncComplete$1(null);
  51327. return t1;
  51328. }
  51329. if ($.$get$context()._isWithinOrEquals$2(directory, t5) === B._PathRelation_within) {
  51330. t1.remove$1(0, t5);
  51331. t4.remove$1(0, existingWatcher);
  51332. isParentOfExistingDir = true;
  51333. }
  51334. }
  51335. future = A.watchDir(directory, this._poll);
  51336. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  51337. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  51338. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  51339. t1.$indexSet(0, directory, t2);
  51340. t4.add$1(0, t2);
  51341. return future;
  51342. }
  51343. };
  51344. A.MultiSpan.prototype = {
  51345. get$start(_) {
  51346. var t1 = this._multi_span$_primary;
  51347. return t1.get$start(t1);
  51348. },
  51349. get$end(_) {
  51350. var t1 = this._multi_span$_primary;
  51351. return t1.get$end(t1);
  51352. },
  51353. get$text() {
  51354. return this._multi_span$_primary.get$text();
  51355. },
  51356. get$context(_) {
  51357. var t1 = this._multi_span$_primary;
  51358. return t1.get$context(t1);
  51359. },
  51360. get$file(_) {
  51361. var t1 = this._multi_span$_primary;
  51362. return t1.get$file(t1);
  51363. },
  51364. get$length(_) {
  51365. var t1 = this._multi_span$_primary;
  51366. return t1.get$length(t1);
  51367. },
  51368. get$sourceUrl(_) {
  51369. var t1 = this._multi_span$_primary;
  51370. return t1.get$sourceUrl(t1);
  51371. },
  51372. compareTo$1(_, other) {
  51373. return this._multi_span$_primary.compareTo$1(0, other);
  51374. },
  51375. toString$0(_) {
  51376. return this._multi_span$_primary.toString$0(0);
  51377. },
  51378. expand$1(_, other) {
  51379. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  51380. },
  51381. highlight$1$color(color) {
  51382. var t1 = color === true || false;
  51383. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  51384. },
  51385. message$2$color(_, message, color) {
  51386. var t1 = J.$eq$(color, true) || typeof color == "string",
  51387. t2 = typeof color == "string" ? color : null;
  51388. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2);
  51389. },
  51390. message$1($receiver, message) {
  51391. return this.message$2$color($receiver, message, null);
  51392. },
  51393. $isComparable: 1,
  51394. $isFileSpan: 1,
  51395. $isSourceSpan: 1,
  51396. $isSourceSpanWithContext: 1
  51397. };
  51398. A.NoSourceMapBuffer.prototype = {
  51399. get$length(_) {
  51400. return this._no_source_map_buffer$_buffer._contents.length;
  51401. },
  51402. forSpan$1$2(span, callback) {
  51403. return callback.call$0();
  51404. },
  51405. forSpan$2(span, callback) {
  51406. return this.forSpan$1$2(span, callback, type$.dynamic);
  51407. },
  51408. write$1(_, object) {
  51409. this._no_source_map_buffer$_buffer._contents += A.S(object);
  51410. return null;
  51411. },
  51412. writeCharCode$1(charCode) {
  51413. this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  51414. return null;
  51415. },
  51416. toString$0(_) {
  51417. var t1 = this._no_source_map_buffer$_buffer._contents;
  51418. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51419. },
  51420. buildSourceMap$1$prefix(prefix) {
  51421. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  51422. }
  51423. };
  51424. A.PrefixedMapView.prototype = {
  51425. get$keys(_) {
  51426. return new A._PrefixedKeys(this);
  51427. },
  51428. get$length(_) {
  51429. var t1 = this._prefixed_map_view$_map;
  51430. return t1.get$length(t1);
  51431. },
  51432. get$isEmpty(_) {
  51433. var t1 = this._prefixed_map_view$_map;
  51434. return t1.get$isEmpty(t1);
  51435. },
  51436. get$isNotEmpty(_) {
  51437. var t1 = this._prefixed_map_view$_map;
  51438. return t1.get$isNotEmpty(t1);
  51439. },
  51440. $index(_, key) {
  51441. 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;
  51442. },
  51443. containsKey$1(key) {
  51444. 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));
  51445. }
  51446. };
  51447. A._PrefixedKeys.prototype = {
  51448. get$length(_) {
  51449. var t1 = this._view._prefixed_map_view$_map;
  51450. return t1.get$length(t1);
  51451. },
  51452. get$iterator(_) {
  51453. var t1 = this._view._prefixed_map_view$_map;
  51454. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  51455. return t1.get$iterator(t1);
  51456. },
  51457. contains$1(_, key) {
  51458. return this._view.containsKey$1(key);
  51459. }
  51460. };
  51461. A._PrefixedKeys_iterator_closure.prototype = {
  51462. call$1(key) {
  51463. return this.$this._view._prefix + key;
  51464. },
  51465. $signature: 5
  51466. };
  51467. A.PublicMemberMapView.prototype = {
  51468. get$keys(_) {
  51469. var t1 = this._public_member_map_view$_inner;
  51470. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  51471. },
  51472. containsKey$1(key) {
  51473. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  51474. },
  51475. $index(_, key) {
  51476. if (typeof key == "string" && A.isPublic(key))
  51477. return this._public_member_map_view$_inner.$index(0, key);
  51478. return null;
  51479. }
  51480. };
  51481. A.SourceMapBuffer.prototype = {
  51482. get$_targetLocation() {
  51483. var t1 = this._source_map_buffer$_buffer._contents,
  51484. t2 = this._line;
  51485. return A.SourceLocation$(t1.length, this._column, t2, null);
  51486. },
  51487. get$length(_) {
  51488. return this._source_map_buffer$_buffer._contents.length;
  51489. },
  51490. forSpan$1$2(span, callback) {
  51491. var t1, _this = this,
  51492. wasInSpan = _this._inSpan;
  51493. _this._inSpan = true;
  51494. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  51495. try {
  51496. t1 = callback.call$0();
  51497. return t1;
  51498. } finally {
  51499. _this._inSpan = wasInSpan;
  51500. }
  51501. },
  51502. forSpan$2(span, callback) {
  51503. return this.forSpan$1$2(span, callback, type$.dynamic);
  51504. },
  51505. _addEntry$2(source, target) {
  51506. var entry, t2,
  51507. t1 = this._entries;
  51508. if (t1.length !== 0) {
  51509. entry = B.JSArray_methods.get$last(t1);
  51510. t2 = entry.source;
  51511. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  51512. return;
  51513. if (entry.target.offset === target.offset)
  51514. return;
  51515. }
  51516. t1.push(new A.Entry(source, target, null));
  51517. },
  51518. write$1(_, object) {
  51519. var t1, i,
  51520. string = J.toString$0$(object);
  51521. this._source_map_buffer$_buffer._contents += string;
  51522. for (t1 = string.length, i = 0; i < t1; ++i)
  51523. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  51524. this._source_map_buffer$_writeLine$0();
  51525. else
  51526. ++this._column;
  51527. },
  51528. writeCharCode$1(charCode) {
  51529. this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  51530. if (charCode === 10)
  51531. this._source_map_buffer$_writeLine$0();
  51532. else
  51533. ++this._column;
  51534. },
  51535. _source_map_buffer$_writeLine$0() {
  51536. var _this = this,
  51537. t1 = _this._entries;
  51538. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  51539. t1.pop();
  51540. ++_this._line;
  51541. _this._column = 0;
  51542. if (_this._inSpan)
  51543. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  51544. },
  51545. toString$0(_) {
  51546. var t1 = this._source_map_buffer$_buffer._contents;
  51547. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51548. },
  51549. buildSourceMap$1$prefix(prefix) {
  51550. var i, t2, prefixColumn, _box_0 = {},
  51551. t1 = prefix.length;
  51552. if (t1 === 0)
  51553. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  51554. _box_0.prefixColumn = _box_0.prefixLines = 0;
  51555. for (i = 0, t2 = 0; i < t1; ++i)
  51556. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  51557. ++_box_0.prefixLines;
  51558. _box_0.prefixColumn = 0;
  51559. t2 = 0;
  51560. } else {
  51561. prefixColumn = t2 + 1;
  51562. _box_0.prefixColumn = prefixColumn;
  51563. t2 = prefixColumn;
  51564. }
  51565. t2 = this._entries;
  51566. 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>")));
  51567. }
  51568. };
  51569. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  51570. call$1(entry) {
  51571. var t1 = entry.source,
  51572. t2 = entry.target,
  51573. t3 = t2.line,
  51574. t4 = this._box_0,
  51575. t5 = t4.prefixLines;
  51576. t4 = t3 === 0 ? t4.prefixColumn : 0;
  51577. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  51578. },
  51579. $signature: 160
  51580. };
  51581. A.UnprefixedMapView.prototype = {
  51582. get$keys(_) {
  51583. return new A._UnprefixedKeys(this);
  51584. },
  51585. $index(_, key) {
  51586. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  51587. },
  51588. containsKey$1(key) {
  51589. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  51590. },
  51591. remove$1(_, key) {
  51592. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  51593. }
  51594. };
  51595. A._UnprefixedKeys.prototype = {
  51596. get$iterator(_) {
  51597. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  51598. 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);
  51599. return t1.get$iterator(t1);
  51600. },
  51601. contains$1(_, key) {
  51602. return this._unprefixed_map_view$_view.containsKey$1(key);
  51603. }
  51604. };
  51605. A._UnprefixedKeys_iterator_closure.prototype = {
  51606. call$1(key) {
  51607. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  51608. },
  51609. $signature: 8
  51610. };
  51611. A._UnprefixedKeys_iterator_closure0.prototype = {
  51612. call$1(key) {
  51613. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  51614. },
  51615. $signature: 5
  51616. };
  51617. A.indent_closure.prototype = {
  51618. call$1(line) {
  51619. return B.JSString_methods.$mul(" ", this.indentation) + line;
  51620. },
  51621. $signature: 5
  51622. };
  51623. A.flattenVertically_closure.prototype = {
  51624. call$1(inner) {
  51625. return A.QueueList_QueueList$from(inner, this.T);
  51626. },
  51627. $signature() {
  51628. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  51629. }
  51630. };
  51631. A.flattenVertically_closure0.prototype = {
  51632. call$1(queue) {
  51633. this.result.push(queue.removeFirst$0());
  51634. return queue.get$length(queue) === 0;
  51635. },
  51636. $signature() {
  51637. return this.T._eval$1("bool(QueueList<0>)");
  51638. }
  51639. };
  51640. A.longestCommonSubsequence_backtrack.prototype = {
  51641. call$2(i, j) {
  51642. var selection, t1, _this = this;
  51643. if (i === -1 || j === -1)
  51644. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  51645. selection = _this.selections[i][j];
  51646. if (selection != null) {
  51647. t1 = _this.call$2(i - 1, j - 1);
  51648. J.add$1$ax(t1, selection);
  51649. return t1;
  51650. }
  51651. t1 = _this.lengths;
  51652. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  51653. },
  51654. $signature() {
  51655. return this.T._eval$1("List<0>(int,int)");
  51656. }
  51657. };
  51658. A.mapAddAll2_closure.prototype = {
  51659. call$2(key, inner) {
  51660. var t1 = this.destination,
  51661. innerDestination = t1.$index(0, key);
  51662. if (innerDestination != null)
  51663. innerDestination.addAll$1(0, inner);
  51664. else
  51665. t1.$indexSet(0, key, inner);
  51666. },
  51667. $signature() {
  51668. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  51669. }
  51670. };
  51671. A.Value.prototype = {
  51672. get$isTruthy() {
  51673. return true;
  51674. },
  51675. get$separator(_) {
  51676. return B.ListSeparator_undecided_null_undecided;
  51677. },
  51678. get$hasBrackets() {
  51679. return false;
  51680. },
  51681. get$asList() {
  51682. return A._setArrayType([this], type$.JSArray_Value);
  51683. },
  51684. get$lengthAsList() {
  51685. return 1;
  51686. },
  51687. get$isBlank() {
  51688. return false;
  51689. },
  51690. get$isSpecialNumber() {
  51691. return false;
  51692. },
  51693. get$isVar() {
  51694. return false;
  51695. },
  51696. get$realNull() {
  51697. return this;
  51698. },
  51699. sassIndexToListIndex$2(sassIndex, $name) {
  51700. var t1, t2, index,
  51701. indexValue = sassIndex.assertNumber$1($name);
  51702. if (indexValue.get$hasUnits()) {
  51703. t1 = indexValue.get$unitString();
  51704. t2 = indexValue.unitSuggestion$1($name);
  51705. A.EvaluationContext_current().warn$2$deprecation(0, "$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, true);
  51706. }
  51707. index = indexValue.assertInt$1($name);
  51708. if (index === 0)
  51709. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  51710. if (Math.abs(index) > this.get$lengthAsList())
  51711. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  51712. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  51713. },
  51714. assertCalculation$1($name) {
  51715. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  51716. },
  51717. assertColor$1($name) {
  51718. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  51719. },
  51720. assertFunction$1($name) {
  51721. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  51722. },
  51723. assertMap$1($name) {
  51724. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  51725. },
  51726. tryMap$0() {
  51727. return null;
  51728. },
  51729. assertNumber$1($name) {
  51730. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  51731. },
  51732. assertNumber$0() {
  51733. return this.assertNumber$1(null);
  51734. },
  51735. assertString$1($name) {
  51736. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  51737. },
  51738. _selectorString$1($name) {
  51739. var string = this._selectorStringOrNull$0();
  51740. if (string != null)
  51741. return string;
  51742. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noa, $name));
  51743. },
  51744. _selectorStringOrNull$0() {
  51745. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  51746. if (_this instanceof A.SassString)
  51747. return _this._string$_text;
  51748. if (!(_this instanceof A.SassList))
  51749. return _null;
  51750. t1 = _this._list$_contents;
  51751. t2 = t1.length;
  51752. if (t2 === 0)
  51753. return _null;
  51754. result = A._setArrayType([], type$.JSArray_String);
  51755. t3 = _this._separator;
  51756. switch (t3) {
  51757. case B.ListSeparator_rXA:
  51758. for (_i = 0; _i < t2; ++_i) {
  51759. complex = t1[_i];
  51760. if (complex instanceof A.SassString)
  51761. result.push(complex._string$_text);
  51762. else if (complex instanceof A.SassList && complex._separator === B.ListSeparator_EVt) {
  51763. string = complex._selectorStringOrNull$0();
  51764. if (string == null)
  51765. return _null;
  51766. result.push(string);
  51767. } else
  51768. return _null;
  51769. }
  51770. break;
  51771. case B.ListSeparator_zg9:
  51772. return _null;
  51773. default:
  51774. for (_i = 0; _i < t2; ++_i) {
  51775. compound = t1[_i];
  51776. if (compound instanceof A.SassString)
  51777. result.push(compound._string$_text);
  51778. else
  51779. return _null;
  51780. }
  51781. break;
  51782. }
  51783. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA ? ", " : " ");
  51784. },
  51785. withListContents$2$separator(contents, separator) {
  51786. var t1 = separator == null ? this.get$separator(this) : separator,
  51787. t2 = this.get$hasBrackets();
  51788. return A.SassList$(contents, t1, t2);
  51789. },
  51790. withListContents$1(contents) {
  51791. return this.withListContents$2$separator(contents, null);
  51792. },
  51793. greaterThan$1(other) {
  51794. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  51795. },
  51796. greaterThanOrEquals$1(other) {
  51797. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  51798. },
  51799. lessThan$1(other) {
  51800. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  51801. },
  51802. lessThanOrEquals$1(other) {
  51803. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  51804. },
  51805. times$1(other) {
  51806. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  51807. },
  51808. modulo$1(other) {
  51809. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  51810. },
  51811. plus$1(other) {
  51812. if (other instanceof A.SassString)
  51813. return new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  51814. else if (other instanceof A.SassCalculation)
  51815. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  51816. else
  51817. return new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  51818. },
  51819. minus$1(other) {
  51820. if (other instanceof A.SassCalculation)
  51821. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  51822. else
  51823. return new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  51824. },
  51825. dividedBy$1(other) {
  51826. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  51827. },
  51828. unaryPlus$0() {
  51829. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  51830. },
  51831. unaryMinus$0() {
  51832. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  51833. },
  51834. unaryNot$0() {
  51835. return B.SassBoolean_false;
  51836. },
  51837. withoutSlash$0() {
  51838. return this;
  51839. },
  51840. toString$0(_) {
  51841. return A.serializeValue(this, true, true);
  51842. }
  51843. };
  51844. A.SassArgumentList.prototype = {};
  51845. A.SassBoolean.prototype = {
  51846. get$isTruthy() {
  51847. return this.value;
  51848. },
  51849. accept$1$1(visitor) {
  51850. return visitor._serialize$_buffer.write$1(0, String(this.value));
  51851. },
  51852. accept$1(visitor) {
  51853. return this.accept$1$1(visitor, type$.dynamic);
  51854. },
  51855. unaryNot$0() {
  51856. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  51857. }
  51858. };
  51859. A.SassCalculation.prototype = {
  51860. get$isSpecialNumber() {
  51861. return true;
  51862. },
  51863. accept$1$1(visitor) {
  51864. var t2,
  51865. t1 = visitor._serialize$_buffer;
  51866. t1.write$1(0, this.name);
  51867. t1.writeCharCode$1(40);
  51868. t2 = visitor._style === B.OutputStyle_1 ? "," : ", ";
  51869. visitor._writeBetween$3(this.$arguments, t2, visitor.get$_writeCalculationValue());
  51870. t1.writeCharCode$1(41);
  51871. return null;
  51872. },
  51873. accept$1(visitor) {
  51874. return this.accept$1$1(visitor, type$.dynamic);
  51875. },
  51876. assertCalculation$1($name) {
  51877. return this;
  51878. },
  51879. plus$1(other) {
  51880. if (other instanceof A.SassString)
  51881. return this.super$Value$plus(other);
  51882. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  51883. },
  51884. minus$1(other) {
  51885. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  51886. },
  51887. unaryPlus$0() {
  51888. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  51889. },
  51890. unaryMinus$0() {
  51891. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  51892. },
  51893. $eq(_, other) {
  51894. if (other == null)
  51895. return false;
  51896. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  51897. },
  51898. get$hashCode(_) {
  51899. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  51900. }
  51901. };
  51902. A.SassCalculation__verifyLength_closure.prototype = {
  51903. call$1(arg) {
  51904. return arg instanceof A.SassString || arg instanceof A.CalculationInterpolation;
  51905. },
  51906. $signature: 112
  51907. };
  51908. A.CalculationOperation.prototype = {
  51909. $eq(_, other) {
  51910. if (other == null)
  51911. return false;
  51912. return other instanceof A.CalculationOperation && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  51913. },
  51914. get$hashCode(_) {
  51915. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  51916. },
  51917. toString$0(_) {
  51918. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  51919. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  51920. }
  51921. };
  51922. A.CalculationOperator.prototype = {
  51923. toString$0(_) {
  51924. return this.name;
  51925. }
  51926. };
  51927. A.CalculationInterpolation.prototype = {
  51928. $eq(_, other) {
  51929. if (other == null)
  51930. return false;
  51931. return other instanceof A.CalculationInterpolation && this.value === other.value;
  51932. },
  51933. get$hashCode(_) {
  51934. return B.JSString_methods.get$hashCode(this.value);
  51935. },
  51936. toString$0(_) {
  51937. return this.value;
  51938. }
  51939. };
  51940. A.SassColor.prototype = {
  51941. get$red(_) {
  51942. var t1;
  51943. if (this._red == null)
  51944. this._hslToRgb$0();
  51945. t1 = this._red;
  51946. t1.toString;
  51947. return t1;
  51948. },
  51949. get$green(_) {
  51950. var t1;
  51951. if (this._green == null)
  51952. this._hslToRgb$0();
  51953. t1 = this._green;
  51954. t1.toString;
  51955. return t1;
  51956. },
  51957. get$blue(_) {
  51958. var t1;
  51959. if (this._blue == null)
  51960. this._hslToRgb$0();
  51961. t1 = this._blue;
  51962. t1.toString;
  51963. return t1;
  51964. },
  51965. get$hue(_) {
  51966. var t1;
  51967. if (this._hue == null)
  51968. this._rgbToHsl$0();
  51969. t1 = this._hue;
  51970. t1.toString;
  51971. return t1;
  51972. },
  51973. get$saturation(_) {
  51974. var t1;
  51975. if (this._saturation == null)
  51976. this._rgbToHsl$0();
  51977. t1 = this._saturation;
  51978. t1.toString;
  51979. return t1;
  51980. },
  51981. get$lightness(_) {
  51982. var t1;
  51983. if (this._lightness == null)
  51984. this._rgbToHsl$0();
  51985. t1 = this._lightness;
  51986. t1.toString;
  51987. return t1;
  51988. },
  51989. get$whiteness(_) {
  51990. var _this = this;
  51991. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  51992. },
  51993. get$blackness(_) {
  51994. var _this = this;
  51995. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  51996. },
  51997. accept$1$1(visitor) {
  51998. var $name, hexLength, t1, format, t2, opaque, _this = this;
  51999. if (visitor._style === B.OutputStyle_1)
  52000. if (!A.fuzzyEquals(_this._alpha, 1))
  52001. visitor._writeRgb$1(_this);
  52002. else {
  52003. $name = $.$get$namesByColor().$index(0, _this);
  52004. hexLength = visitor._canUseShortHex$1(_this) ? 4 : 7;
  52005. if ($name != null && $name.length <= hexLength)
  52006. visitor._serialize$_buffer.write$1(0, $name);
  52007. else {
  52008. t1 = visitor._serialize$_buffer;
  52009. if (visitor._canUseShortHex$1(_this)) {
  52010. t1.writeCharCode$1(35);
  52011. t1.writeCharCode$1(A.hexCharFor(_this.get$red(_this) & 15));
  52012. t1.writeCharCode$1(A.hexCharFor(_this.get$green(_this) & 15));
  52013. t1.writeCharCode$1(A.hexCharFor(_this.get$blue(_this) & 15));
  52014. } else {
  52015. t1.writeCharCode$1(35);
  52016. visitor._writeHexComponent$1(_this.get$red(_this));
  52017. visitor._writeHexComponent$1(_this.get$green(_this));
  52018. visitor._writeHexComponent$1(_this.get$blue(_this));
  52019. }
  52020. }
  52021. }
  52022. else {
  52023. format = _this.format;
  52024. if (format != null)
  52025. if (format === B._ColorFormatEnum_rgbFunction)
  52026. visitor._writeRgb$1(_this);
  52027. else {
  52028. t1 = visitor._serialize$_buffer;
  52029. if (format === B._ColorFormatEnum_hslFunction) {
  52030. t2 = _this._alpha;
  52031. opaque = A.fuzzyEquals(t2, 1);
  52032. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  52033. visitor._writeNumber$1(_this.get$hue(_this));
  52034. t1.write$1(0, "deg");
  52035. t1.write$1(0, ", ");
  52036. visitor._writeNumber$1(_this.get$saturation(_this));
  52037. t1.writeCharCode$1(37);
  52038. t1.write$1(0, ", ");
  52039. visitor._writeNumber$1(_this.get$lightness(_this));
  52040. t1.writeCharCode$1(37);
  52041. if (!opaque) {
  52042. t1.write$1(0, ", ");
  52043. visitor._writeNumber$1(t2);
  52044. }
  52045. t1.writeCharCode$1(41);
  52046. } else
  52047. t1.write$1(0, type$.SpanColorFormat._as(format)._color$_span.get$text());
  52048. }
  52049. else {
  52050. t1 = $.$get$namesByColor();
  52051. if (t1.containsKey$1(_this) && !A.fuzzyEquals(_this._alpha, 0))
  52052. visitor._serialize$_buffer.write$1(0, t1.$index(0, _this));
  52053. else if (A.fuzzyEquals(_this._alpha, 1)) {
  52054. visitor._serialize$_buffer.writeCharCode$1(35);
  52055. visitor._writeHexComponent$1(_this.get$red(_this));
  52056. visitor._writeHexComponent$1(_this.get$green(_this));
  52057. visitor._writeHexComponent$1(_this.get$blue(_this));
  52058. } else
  52059. visitor._writeRgb$1(_this);
  52060. }
  52061. }
  52062. return null;
  52063. },
  52064. accept$1(visitor) {
  52065. return this.accept$1$1(visitor, type$.dynamic);
  52066. },
  52067. assertColor$1($name) {
  52068. return this;
  52069. },
  52070. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  52071. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  52072. },
  52073. changeRgb$3$blue$green$red(blue, green, red) {
  52074. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  52075. },
  52076. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  52077. var _this = this, _null = null,
  52078. t1 = hue == null ? _this.get$hue(_this) : hue,
  52079. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  52080. t3 = lightness == null ? _this.get$lightness(_this) : lightness,
  52081. t4 = alpha == null ? _this._alpha : alpha;
  52082. t1 = B.JSNumber_methods.$mod(t1, 360);
  52083. t2 = A.fuzzyAssertRange(t2, 0, 100, "saturation");
  52084. t3 = A.fuzzyAssertRange(t3, 0, 100, "lightness");
  52085. t4 = A.fuzzyAssertRange(t4, 0, 1, "alpha");
  52086. return new A.SassColor(_null, _null, _null, t1, t2, t3, t4, _null);
  52087. },
  52088. changeHsl$1$saturation(saturation) {
  52089. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  52090. },
  52091. changeHsl$1$lightness(lightness) {
  52092. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  52093. },
  52094. changeHsl$1$hue(hue) {
  52095. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  52096. },
  52097. changeAlpha$1(alpha) {
  52098. var _this = this;
  52099. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  52100. },
  52101. plus$1(other) {
  52102. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  52103. return this.super$Value$plus(other);
  52104. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  52105. },
  52106. minus$1(other) {
  52107. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  52108. return this.super$Value$minus(other);
  52109. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  52110. },
  52111. dividedBy$1(other) {
  52112. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  52113. return this.super$Value$dividedBy(other);
  52114. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  52115. },
  52116. $eq(_, other) {
  52117. var _this = this;
  52118. if (other == null)
  52119. return false;
  52120. 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;
  52121. },
  52122. get$hashCode(_) {
  52123. var _this = this;
  52124. 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);
  52125. },
  52126. _rgbToHsl$0() {
  52127. var t2, lightness, _this = this,
  52128. scaledRed = _this.get$red(_this) / 255,
  52129. scaledGreen = _this.get$green(_this) / 255,
  52130. scaledBlue = _this.get$blue(_this) / 255,
  52131. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  52132. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  52133. delta = max - min,
  52134. t1 = max === min;
  52135. if (t1)
  52136. _this._hue = 0;
  52137. else if (max === scaledRed)
  52138. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  52139. else if (max === scaledGreen)
  52140. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  52141. else if (max === scaledBlue)
  52142. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  52143. t2 = max + min;
  52144. lightness = 50 * t2;
  52145. _this._lightness = lightness;
  52146. if (t1)
  52147. _this._saturation = 0;
  52148. else {
  52149. t1 = 100 * delta;
  52150. if (lightness < 50)
  52151. _this._saturation = t1 / t2;
  52152. else
  52153. _this._saturation = t1 / (2 - max - min);
  52154. }
  52155. },
  52156. _hslToRgb$0() {
  52157. var _this = this,
  52158. scaledHue = _this.get$hue(_this) / 360,
  52159. scaledSaturation = _this.get$saturation(_this) / 100,
  52160. scaledLightness = _this.get$lightness(_this) / 100,
  52161. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  52162. m1 = scaledLightness * 2 - m2;
  52163. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  52164. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  52165. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  52166. }
  52167. };
  52168. A.SassColor_SassColor$hwb_toRgb.prototype = {
  52169. call$1(hue) {
  52170. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  52171. },
  52172. $signature: 161
  52173. };
  52174. A._ColorFormatEnum.prototype = {
  52175. toString$0(_) {
  52176. return this._color$_name;
  52177. }
  52178. };
  52179. A.SpanColorFormat.prototype = {};
  52180. A.SassFunction.prototype = {
  52181. accept$1$1(visitor) {
  52182. var t1, t2;
  52183. if (!visitor._inspect)
  52184. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  52185. t1 = visitor._serialize$_buffer;
  52186. t1.write$1(0, "get-function(");
  52187. t2 = this.callable;
  52188. visitor._visitQuotedString$1(t2.get$name(t2));
  52189. t1.writeCharCode$1(41);
  52190. return null;
  52191. },
  52192. accept$1(visitor) {
  52193. return this.accept$1$1(visitor, type$.dynamic);
  52194. },
  52195. assertFunction$1($name) {
  52196. return this;
  52197. },
  52198. $eq(_, other) {
  52199. if (other == null)
  52200. return false;
  52201. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  52202. },
  52203. get$hashCode(_) {
  52204. var t1 = this.callable;
  52205. return t1.get$hashCode(t1);
  52206. }
  52207. };
  52208. A.SassList.prototype = {
  52209. get$separator(_) {
  52210. return this._separator;
  52211. },
  52212. get$hasBrackets() {
  52213. return this._hasBrackets;
  52214. },
  52215. get$isBlank() {
  52216. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  52217. },
  52218. get$asList() {
  52219. return this._list$_contents;
  52220. },
  52221. get$lengthAsList() {
  52222. return this._list$_contents.length;
  52223. },
  52224. SassList$3$brackets(contents, _separator, brackets) {
  52225. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  52226. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  52227. },
  52228. accept$1$1(visitor) {
  52229. return visitor.visitList$1(this);
  52230. },
  52231. accept$1(visitor) {
  52232. return this.accept$1$1(visitor, type$.dynamic);
  52233. },
  52234. assertMap$1($name) {
  52235. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  52236. },
  52237. tryMap$0() {
  52238. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  52239. },
  52240. $eq(_, other) {
  52241. var t1, _this = this;
  52242. if (other == null)
  52243. return false;
  52244. 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)))
  52245. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  52246. else
  52247. t1 = true;
  52248. return t1;
  52249. },
  52250. get$hashCode(_) {
  52251. return B.C_ListEquality0.hash$1(this._list$_contents);
  52252. }
  52253. };
  52254. A.SassList_isBlank_closure.prototype = {
  52255. call$1(element) {
  52256. return element.get$isBlank();
  52257. },
  52258. $signature: 63
  52259. };
  52260. A.ListSeparator.prototype = {
  52261. toString$0(_) {
  52262. return this._list$_name;
  52263. }
  52264. };
  52265. A.SassMap.prototype = {
  52266. get$separator(_) {
  52267. var t1 = this._map$_contents;
  52268. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_rXA;
  52269. },
  52270. get$asList() {
  52271. var result = A._setArrayType([], type$.JSArray_Value);
  52272. this._map$_contents.forEach$1(0, new A.SassMap_asList_closure(result));
  52273. return result;
  52274. },
  52275. get$lengthAsList() {
  52276. var t1 = this._map$_contents;
  52277. return t1.get$length(t1);
  52278. },
  52279. accept$1$1(visitor) {
  52280. return visitor.visitMap$1(this);
  52281. },
  52282. accept$1(visitor) {
  52283. return this.accept$1$1(visitor, type$.dynamic);
  52284. },
  52285. assertMap$1($name) {
  52286. return this;
  52287. },
  52288. tryMap$0() {
  52289. return this;
  52290. },
  52291. $eq(_, other) {
  52292. var t1;
  52293. if (other == null)
  52294. return false;
  52295. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  52296. t1 = this._map$_contents;
  52297. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  52298. } else
  52299. t1 = true;
  52300. return t1;
  52301. },
  52302. get$hashCode(_) {
  52303. var t1 = this._map$_contents;
  52304. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty7) : B.C_MapEquality.hash$1(t1);
  52305. }
  52306. };
  52307. A.SassMap_asList_closure.prototype = {
  52308. call$2(key, value) {
  52309. this.result.push(A.SassList$(A._setArrayType([key, value], type$.JSArray_Value), B.ListSeparator_EVt, false));
  52310. },
  52311. $signature: 55
  52312. };
  52313. A._SassNull.prototype = {
  52314. get$isTruthy() {
  52315. return false;
  52316. },
  52317. get$isBlank() {
  52318. return true;
  52319. },
  52320. get$realNull() {
  52321. return null;
  52322. },
  52323. accept$1$1(visitor) {
  52324. if (visitor._inspect)
  52325. visitor._serialize$_buffer.write$1(0, "null");
  52326. return null;
  52327. },
  52328. accept$1(visitor) {
  52329. return this.accept$1$1(visitor, type$.dynamic);
  52330. },
  52331. unaryNot$0() {
  52332. return B.SassBoolean_true;
  52333. }
  52334. };
  52335. A.SassNumber.prototype = {
  52336. get$unitString() {
  52337. var _this = this;
  52338. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  52339. },
  52340. accept$1$1(visitor) {
  52341. return visitor.visitNumber$1(this);
  52342. },
  52343. accept$1(visitor) {
  52344. return this.accept$1$1(visitor, type$.dynamic);
  52345. },
  52346. withoutSlash$0() {
  52347. var _this = this;
  52348. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  52349. },
  52350. assertNumber$1($name) {
  52351. return this;
  52352. },
  52353. assertNumber$0() {
  52354. return this.assertNumber$1(null);
  52355. },
  52356. assertInt$1($name) {
  52357. var integer = A.fuzzyAsInt(this._number$_value);
  52358. if (integer != null)
  52359. return integer;
  52360. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  52361. },
  52362. assertInt$0() {
  52363. return this.assertInt$1(null);
  52364. },
  52365. valueInRange$3(min, max, $name) {
  52366. var _this = this,
  52367. result = A.fuzzyCheckRange(_this._number$_value, min, max);
  52368. if (result != null)
  52369. return result;
  52370. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  52371. },
  52372. valueInRangeWithUnit$4(min, max, $name, unit) {
  52373. var result = A.fuzzyCheckRange(this._number$_value, min, max);
  52374. if (result != null)
  52375. return result;
  52376. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  52377. },
  52378. hasCompatibleUnits$1(other) {
  52379. var _this = this;
  52380. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  52381. return false;
  52382. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  52383. return false;
  52384. return _this.isComparableTo$1(other);
  52385. },
  52386. assertUnit$2(unit, $name) {
  52387. if (this.hasUnit$1(unit))
  52388. return;
  52389. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  52390. },
  52391. assertNoUnits$1($name) {
  52392. if (!this.get$hasUnits())
  52393. return;
  52394. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  52395. },
  52396. convertValueToMatch$3(other, $name, otherName) {
  52397. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  52398. },
  52399. coerce$3(newNumerators, newDenominators, $name) {
  52400. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  52401. },
  52402. coerce$2(newNumerators, newDenominators) {
  52403. return this.coerce$3(newNumerators, newDenominators, null);
  52404. },
  52405. coerceValue$3(newNumerators, newDenominators, $name) {
  52406. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  52407. },
  52408. coerceValueToUnit$2(unit, $name) {
  52409. var t1 = type$.JSArray_String;
  52410. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  52411. },
  52412. coerceValueToUnit$1(unit) {
  52413. return this.coerceValueToUnit$2(unit, null);
  52414. },
  52415. coerceValueToMatch$3(other, $name, otherName) {
  52416. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  52417. },
  52418. coerceValueToMatch$1(other) {
  52419. return this.coerceValueToMatch$3(other, null, null);
  52420. },
  52421. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  52422. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  52423. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  52424. return _this._number$_value;
  52425. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  52426. if (coerceUnitless)
  52427. t1 = !_this.get$hasUnits() || !otherHasUnits;
  52428. else
  52429. t1 = false;
  52430. if (t1)
  52431. return _this._number$_value;
  52432. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  52433. _box_0.value = _this._number$_value;
  52434. t1 = _this.get$numeratorUnits(_this);
  52435. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  52436. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  52437. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  52438. t1 = _this.get$denominatorUnits(_this);
  52439. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  52440. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  52441. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  52442. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  52443. throw A.wrapException(compatibilityException.call$0());
  52444. return _box_0.value;
  52445. },
  52446. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  52447. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  52448. },
  52449. isComparableTo$1(other) {
  52450. var exception;
  52451. if (!this.get$hasUnits() || !other.get$hasUnits())
  52452. return true;
  52453. try {
  52454. this.greaterThan$1(other);
  52455. return true;
  52456. } catch (exception) {
  52457. if (A.unwrapException(exception) instanceof A.SassScriptException)
  52458. return false;
  52459. else
  52460. throw exception;
  52461. }
  52462. },
  52463. greaterThan$1(other) {
  52464. if (other instanceof A.SassNumber)
  52465. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52466. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  52467. },
  52468. greaterThanOrEquals$1(other) {
  52469. if (other instanceof A.SassNumber)
  52470. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52471. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  52472. },
  52473. lessThan$1(other) {
  52474. if (other instanceof A.SassNumber)
  52475. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52476. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  52477. },
  52478. lessThanOrEquals$1(other) {
  52479. if (other instanceof A.SassNumber)
  52480. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  52481. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  52482. },
  52483. modulo$1(other) {
  52484. if (other instanceof A.SassNumber)
  52485. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  52486. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  52487. },
  52488. plus$1(other) {
  52489. var _this = this;
  52490. if (other instanceof A.SassNumber)
  52491. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  52492. if (!(other instanceof A.SassColor))
  52493. return _this.super$Value$plus(other);
  52494. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  52495. },
  52496. minus$1(other) {
  52497. var _this = this;
  52498. if (other instanceof A.SassNumber)
  52499. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  52500. if (!(other instanceof A.SassColor))
  52501. return _this.super$Value$minus(other);
  52502. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  52503. },
  52504. times$1(other) {
  52505. var _this = this;
  52506. if (other instanceof A.SassNumber) {
  52507. if (!other.get$hasUnits())
  52508. return _this.withValue$1(_this._number$_value * other._number$_value);
  52509. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  52510. }
  52511. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  52512. },
  52513. dividedBy$1(other) {
  52514. var _this = this;
  52515. if (other instanceof A.SassNumber) {
  52516. if (!other.get$hasUnits())
  52517. return _this.withValue$1(_this._number$_value / other._number$_value);
  52518. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  52519. }
  52520. return _this.super$Value$dividedBy(other);
  52521. },
  52522. unaryPlus$0() {
  52523. return this;
  52524. },
  52525. _coerceUnits$1$2(other, operation) {
  52526. var t1, exception;
  52527. try {
  52528. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  52529. return t1;
  52530. } catch (exception) {
  52531. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  52532. this.coerceValueToMatch$1(other);
  52533. throw exception;
  52534. } else
  52535. throw exception;
  52536. }
  52537. },
  52538. _coerceUnits$2(other, operation) {
  52539. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  52540. },
  52541. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  52542. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  52543. _box_0.value = value;
  52544. if (_this.get$numeratorUnits(_this).length === 0) {
  52545. if (otherDenominators.length === 0 && !_this._areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  52546. return A.SassNumber_SassNumber$withUnits(value, _this.get$denominatorUnits(_this), otherNumerators);
  52547. else if (_this.get$denominatorUnits(_this).length === 0)
  52548. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, otherNumerators);
  52549. } else if (otherNumerators.length === 0)
  52550. if (otherDenominators.length === 0)
  52551. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  52552. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  52553. return A.SassNumber_SassNumber$withUnits(value, otherDenominators, _this.get$numeratorUnits(_this));
  52554. newNumerators = A._setArrayType([], type$.JSArray_String);
  52555. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  52556. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  52557. numerator = t1[_i];
  52558. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  52559. }
  52560. t1 = _this.get$denominatorUnits(_this);
  52561. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  52562. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  52563. numerator = otherNumerators[_i];
  52564. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  52565. }
  52566. t1 = _box_0.value;
  52567. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  52568. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  52569. },
  52570. _areAnyConvertible$2(units1, units2) {
  52571. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  52572. },
  52573. _unitString$2(numerators, denominators) {
  52574. var t1;
  52575. if (numerators.length === 0) {
  52576. t1 = denominators.length;
  52577. if (t1 === 0)
  52578. return "no units";
  52579. if (t1 === 1)
  52580. return J.$add$ansx(B.JSArray_methods.get$single(denominators), "^-1");
  52581. return "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  52582. }
  52583. if (denominators.length === 0)
  52584. return B.JSArray_methods.join$1(numerators, "*");
  52585. return B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  52586. },
  52587. $eq(_, other) {
  52588. var _this = this;
  52589. if (other == null)
  52590. return false;
  52591. if (other instanceof A.SassNumber) {
  52592. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  52593. return false;
  52594. if (!_this.get$hasUnits())
  52595. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  52596. 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))))
  52597. return false;
  52598. 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)));
  52599. } else
  52600. return false;
  52601. },
  52602. get$hashCode(_) {
  52603. var _this = this,
  52604. t1 = _this.hashCache;
  52605. 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;
  52606. },
  52607. _canonicalizeUnitList$1(units) {
  52608. var type,
  52609. t1 = units.length;
  52610. if (t1 === 0)
  52611. return units;
  52612. if (t1 === 1) {
  52613. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  52614. if (type == null)
  52615. t1 = units;
  52616. else {
  52617. t1 = B.Map_U8AHF.$index(0, type);
  52618. t1.toString;
  52619. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  52620. }
  52621. return t1;
  52622. }
  52623. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  52624. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  52625. B.JSArray_methods.sort$0(t1);
  52626. return t1;
  52627. },
  52628. _canonicalMultiplier$1(units) {
  52629. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  52630. },
  52631. canonicalMultiplierForUnit$1(unit) {
  52632. var t1,
  52633. innerMap = B.Map_K2BWj.$index(0, unit);
  52634. if (innerMap == null)
  52635. t1 = 1;
  52636. else {
  52637. t1 = innerMap.get$values(innerMap);
  52638. t1 = 1 / t1.get$first(t1);
  52639. }
  52640. return t1;
  52641. },
  52642. unitSuggestion$2($name, unit) {
  52643. var t2, t3, result, _this = this,
  52644. t1 = _this.get$denominatorUnits(_this);
  52645. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  52646. t2 = _this.get$numeratorUnits(_this);
  52647. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  52648. t3 = unit == null ? "" : " * 1" + unit;
  52649. result = "$" + $name + t1 + t2 + t3;
  52650. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  52651. },
  52652. unitSuggestion$1($name) {
  52653. return this.unitSuggestion$2($name, null);
  52654. }
  52655. };
  52656. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  52657. call$0() {
  52658. var t2, t3, message, t4, type, unit, _this = this,
  52659. t1 = _this.other;
  52660. if (t1 != null) {
  52661. t2 = _this.$this;
  52662. t3 = t2.toString$0(0) + " and";
  52663. message = new A.StringBuffer(t3);
  52664. t4 = _this.otherName;
  52665. if (t4 != null)
  52666. t3 = message._contents = t3 + (" $" + t4 + ":");
  52667. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  52668. message._contents = t1;
  52669. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  52670. message._contents = t1 + " (one has units and the other doesn't)";
  52671. t1 = message.toString$0(0) + ".";
  52672. t2 = _this.name;
  52673. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  52674. } else if (!_this.otherHasUnits) {
  52675. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  52676. t2 = _this.name;
  52677. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  52678. } else {
  52679. t1 = _this.newNumerators;
  52680. if (t1.length === 1 && _this.newDenominators.length === 0) {
  52681. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  52682. if (type != null) {
  52683. t1 = _this.$this.toString$0(0);
  52684. 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;
  52685. t3 = B.Map_U8AHF.$index(0, type);
  52686. t3.toString;
  52687. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  52688. t2 = _this.name;
  52689. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  52690. }
  52691. }
  52692. t2 = _this.newDenominators;
  52693. unit = A.pluralize("unit", t1.length + t2.length, null);
  52694. t3 = _this.$this;
  52695. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  52696. t1 = _this.name;
  52697. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  52698. }
  52699. },
  52700. $signature: 343
  52701. };
  52702. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  52703. call$1(oldNumerator) {
  52704. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  52705. if (factor == null)
  52706. return false;
  52707. this._box_0.value *= factor;
  52708. return true;
  52709. },
  52710. $signature: 8
  52711. };
  52712. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  52713. call$0() {
  52714. return A.throwExpression(this.compatibilityException.call$0());
  52715. },
  52716. $signature: 0
  52717. };
  52718. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  52719. call$1(oldDenominator) {
  52720. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  52721. if (factor == null)
  52722. return false;
  52723. this._box_0.value /= factor;
  52724. return true;
  52725. },
  52726. $signature: 8
  52727. };
  52728. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  52729. call$0() {
  52730. return A.throwExpression(this.compatibilityException.call$0());
  52731. },
  52732. $signature: 0
  52733. };
  52734. A.SassNumber_plus_closure.prototype = {
  52735. call$2(num1, num2) {
  52736. return num1 + num2;
  52737. },
  52738. $signature: 57
  52739. };
  52740. A.SassNumber_minus_closure.prototype = {
  52741. call$2(num1, num2) {
  52742. return num1 - num2;
  52743. },
  52744. $signature: 57
  52745. };
  52746. A.SassNumber_multiplyUnits_closure.prototype = {
  52747. call$1(denominator) {
  52748. var factor = A.conversionFactor(this.numerator, denominator);
  52749. if (factor == null)
  52750. return false;
  52751. this._box_0.value /= factor;
  52752. return true;
  52753. },
  52754. $signature: 8
  52755. };
  52756. A.SassNumber_multiplyUnits_closure0.prototype = {
  52757. call$0() {
  52758. return this.newNumerators.push(this.numerator);
  52759. },
  52760. $signature: 0
  52761. };
  52762. A.SassNumber_multiplyUnits_closure1.prototype = {
  52763. call$1(denominator) {
  52764. var factor = A.conversionFactor(this.numerator, denominator);
  52765. if (factor == null)
  52766. return false;
  52767. this._box_0.value /= factor;
  52768. return true;
  52769. },
  52770. $signature: 8
  52771. };
  52772. A.SassNumber_multiplyUnits_closure2.prototype = {
  52773. call$0() {
  52774. return this.newNumerators.push(this.numerator);
  52775. },
  52776. $signature: 0
  52777. };
  52778. A.SassNumber__areAnyConvertible_closure.prototype = {
  52779. call$1(unit1) {
  52780. var innerMap = B.Map_K2BWj.$index(0, unit1);
  52781. if (innerMap == null)
  52782. return B.JSArray_methods.contains$1(this.units2, unit1);
  52783. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  52784. },
  52785. $signature: 8
  52786. };
  52787. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  52788. call$1(unit) {
  52789. var t1,
  52790. type = $.$get$_typesByUnit().$index(0, unit);
  52791. if (type == null)
  52792. t1 = unit;
  52793. else {
  52794. t1 = B.Map_U8AHF.$index(0, type);
  52795. t1.toString;
  52796. t1 = B.JSArray_methods.get$first(t1);
  52797. }
  52798. return t1;
  52799. },
  52800. $signature: 5
  52801. };
  52802. A.SassNumber__canonicalMultiplier_closure.prototype = {
  52803. call$2(multiplier, unit) {
  52804. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  52805. },
  52806. $signature: 163
  52807. };
  52808. A.SassNumber_unitSuggestion_closure.prototype = {
  52809. call$1(unit) {
  52810. return " * 1" + unit;
  52811. },
  52812. $signature: 5
  52813. };
  52814. A.SassNumber_unitSuggestion_closure0.prototype = {
  52815. call$1(unit) {
  52816. return " / 1" + unit;
  52817. },
  52818. $signature: 5
  52819. };
  52820. A.ComplexSassNumber.prototype = {
  52821. get$numeratorUnits(_) {
  52822. return this._numeratorUnits;
  52823. },
  52824. get$denominatorUnits(_) {
  52825. return this._denominatorUnits;
  52826. },
  52827. get$hasUnits() {
  52828. return true;
  52829. },
  52830. hasUnit$1(unit) {
  52831. return false;
  52832. },
  52833. compatibleWithUnit$1(unit) {
  52834. return false;
  52835. },
  52836. hasPossiblyCompatibleUnits$1(other) {
  52837. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  52838. },
  52839. withValue$1(value) {
  52840. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  52841. },
  52842. withSlash$2(numerator, denominator) {
  52843. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  52844. }
  52845. };
  52846. A.SingleUnitSassNumber.prototype = {
  52847. get$numeratorUnits(_) {
  52848. return A.List_List$unmodifiable([this._unit], type$.String);
  52849. },
  52850. get$denominatorUnits(_) {
  52851. return B.List_empty;
  52852. },
  52853. get$hasUnits() {
  52854. return true;
  52855. },
  52856. withValue$1(value) {
  52857. return new A.SingleUnitSassNumber(this._unit, value, null);
  52858. },
  52859. withSlash$2(numerator, denominator) {
  52860. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  52861. },
  52862. hasUnit$1(unit) {
  52863. return unit === this._unit;
  52864. },
  52865. hasCompatibleUnits$1(other) {
  52866. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  52867. },
  52868. hasPossiblyCompatibleUnits$1(other) {
  52869. var t1, knownCompatibilities, otherUnit;
  52870. if (!(other instanceof A.SingleUnitSassNumber))
  52871. return false;
  52872. t1 = $.$get$_knownCompatibilitiesByUnit();
  52873. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  52874. if (knownCompatibilities == null)
  52875. return true;
  52876. otherUnit = other._unit.toLowerCase();
  52877. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  52878. },
  52879. compatibleWithUnit$1(unit) {
  52880. return A.conversionFactor(this._unit, unit) != null;
  52881. },
  52882. coerceValueToMatch$1(other) {
  52883. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  52884. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, null, null) : t1;
  52885. },
  52886. convertValueToMatch$3(other, $name, otherName) {
  52887. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  52888. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  52889. },
  52890. coerce$2(newNumerators, newDenominators) {
  52891. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  52892. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  52893. },
  52894. coerceValue$3(newNumerators, newDenominators, $name) {
  52895. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  52896. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  52897. },
  52898. coerceValueToUnit$2(unit, $name) {
  52899. var t1 = this._coerceValueToUnit$1(unit);
  52900. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  52901. },
  52902. coerceValueToUnit$1(unit) {
  52903. return this.coerceValueToUnit$2(unit, null);
  52904. },
  52905. _coerceToUnit$1(unit) {
  52906. var t1 = this._unit;
  52907. if (t1 === unit)
  52908. return this;
  52909. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  52910. },
  52911. _coerceValueToUnit$1(unit) {
  52912. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  52913. },
  52914. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  52915. var mutableOtherDenominators, t1 = {};
  52916. t1.value = value;
  52917. t1.newNumerators = otherNumerators;
  52918. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  52919. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  52920. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  52921. },
  52922. unaryMinus$0() {
  52923. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  52924. },
  52925. $eq(_, other) {
  52926. var factor;
  52927. if (other == null)
  52928. return false;
  52929. if (other instanceof A.SingleUnitSassNumber) {
  52930. factor = A.conversionFactor(other._unit, this._unit);
  52931. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  52932. } else
  52933. return false;
  52934. },
  52935. get$hashCode(_) {
  52936. var _this = this,
  52937. t1 = _this.hashCache;
  52938. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  52939. }
  52940. };
  52941. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  52942. call$1(factor) {
  52943. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  52944. },
  52945. $signature: 346
  52946. };
  52947. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  52948. call$1(factor) {
  52949. return this.$this._number$_value * factor;
  52950. },
  52951. $signature: 31
  52952. };
  52953. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  52954. call$1(denominator) {
  52955. var factor = A.conversionFactor(denominator, this.$this._unit);
  52956. if (factor == null)
  52957. return false;
  52958. this._box_0.value *= factor;
  52959. return true;
  52960. },
  52961. $signature: 8
  52962. };
  52963. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  52964. call$0() {
  52965. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  52966. t2 = this._box_0;
  52967. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  52968. t2.newNumerators = t1;
  52969. },
  52970. $signature: 0
  52971. };
  52972. A.UnitlessSassNumber.prototype = {
  52973. get$numeratorUnits(_) {
  52974. return B.List_empty;
  52975. },
  52976. get$denominatorUnits(_) {
  52977. return B.List_empty;
  52978. },
  52979. get$hasUnits() {
  52980. return false;
  52981. },
  52982. withValue$1(value) {
  52983. return new A.UnitlessSassNumber(value, null);
  52984. },
  52985. withSlash$2(numerator, denominator) {
  52986. return new A.UnitlessSassNumber(this._number$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber));
  52987. },
  52988. hasUnit$1(unit) {
  52989. return false;
  52990. },
  52991. hasCompatibleUnits$1(other) {
  52992. return other instanceof A.UnitlessSassNumber;
  52993. },
  52994. hasPossiblyCompatibleUnits$1(other) {
  52995. return other instanceof A.UnitlessSassNumber;
  52996. },
  52997. compatibleWithUnit$1(unit) {
  52998. return true;
  52999. },
  53000. coerceValueToMatch$1(other) {
  53001. return this._number$_value;
  53002. },
  53003. convertValueToMatch$3(other, $name, otherName) {
  53004. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  53005. },
  53006. coerce$2(newNumerators, newDenominators) {
  53007. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  53008. },
  53009. coerceValue$3(newNumerators, newDenominators, $name) {
  53010. return this._number$_value;
  53011. },
  53012. coerceValueToUnit$2(unit, $name) {
  53013. return this._number$_value;
  53014. },
  53015. coerceValueToUnit$1(unit) {
  53016. return this.coerceValueToUnit$2(unit, null);
  53017. },
  53018. greaterThan$1(other) {
  53019. var t1, t2;
  53020. if (other instanceof A.SassNumber) {
  53021. t1 = this._number$_value;
  53022. t2 = other._number$_value;
  53023. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  53024. }
  53025. return this.super$SassNumber$greaterThan(other);
  53026. },
  53027. greaterThanOrEquals$1(other) {
  53028. var t1, t2;
  53029. if (other instanceof A.SassNumber) {
  53030. t1 = this._number$_value;
  53031. t2 = other._number$_value;
  53032. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  53033. }
  53034. return this.super$SassNumber$greaterThanOrEquals(other);
  53035. },
  53036. lessThan$1(other) {
  53037. var t1, t2;
  53038. if (other instanceof A.SassNumber) {
  53039. t1 = this._number$_value;
  53040. t2 = other._number$_value;
  53041. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  53042. }
  53043. return this.super$SassNumber$lessThan(other);
  53044. },
  53045. lessThanOrEquals$1(other) {
  53046. var t1, t2;
  53047. if (other instanceof A.SassNumber) {
  53048. t1 = this._number$_value;
  53049. t2 = other._number$_value;
  53050. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  53051. }
  53052. return this.super$SassNumber$lessThanOrEquals(other);
  53053. },
  53054. modulo$1(other) {
  53055. if (other instanceof A.SassNumber)
  53056. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  53057. return this.super$SassNumber$modulo(other);
  53058. },
  53059. plus$1(other) {
  53060. if (other instanceof A.SassNumber)
  53061. return other.withValue$1(this._number$_value + other._number$_value);
  53062. return this.super$SassNumber$plus(other);
  53063. },
  53064. minus$1(other) {
  53065. if (other instanceof A.SassNumber)
  53066. return other.withValue$1(this._number$_value - other._number$_value);
  53067. return this.super$SassNumber$minus(other);
  53068. },
  53069. times$1(other) {
  53070. if (other instanceof A.SassNumber)
  53071. return other.withValue$1(this._number$_value * other._number$_value);
  53072. return this.super$SassNumber$times(other);
  53073. },
  53074. dividedBy$1(other) {
  53075. var t1, t2;
  53076. if (other instanceof A.SassNumber) {
  53077. t1 = this._number$_value / other._number$_value;
  53078. if (other.get$hasUnits()) {
  53079. t2 = other.get$denominatorUnits(other);
  53080. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  53081. t1 = t2;
  53082. } else
  53083. t1 = new A.UnitlessSassNumber(t1, null);
  53084. return t1;
  53085. }
  53086. return this.super$SassNumber$dividedBy(other);
  53087. },
  53088. unaryMinus$0() {
  53089. return new A.UnitlessSassNumber(-this._number$_value, null);
  53090. },
  53091. $eq(_, other) {
  53092. if (other == null)
  53093. return false;
  53094. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  53095. },
  53096. get$hashCode(_) {
  53097. var t1 = this.hashCache;
  53098. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  53099. }
  53100. };
  53101. A.SassString.prototype = {
  53102. get$_sassLength() {
  53103. var t1, result, _this = this,
  53104. value = _this.__SassString__sassLength_FI;
  53105. if (value === $) {
  53106. t1 = new A.Runes(_this._string$_text);
  53107. result = t1.get$length(t1);
  53108. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  53109. _this.__SassString__sassLength_FI = result;
  53110. value = result;
  53111. }
  53112. return value;
  53113. },
  53114. get$isSpecialNumber() {
  53115. var t1, t2;
  53116. if (this._hasQuotes)
  53117. return false;
  53118. t1 = this._string$_text;
  53119. if (t1.length < 6)
  53120. return false;
  53121. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  53122. if (t2 === 99) {
  53123. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  53124. if (t2 === 108) {
  53125. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  53126. return false;
  53127. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  53128. return false;
  53129. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  53130. return false;
  53131. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  53132. } else if (t2 === 97) {
  53133. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  53134. return false;
  53135. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  53136. return false;
  53137. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  53138. } else
  53139. return false;
  53140. } else if (t2 === 118) {
  53141. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  53142. return false;
  53143. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  53144. return false;
  53145. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53146. } else if (t2 === 101) {
  53147. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  53148. return false;
  53149. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  53150. return false;
  53151. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53152. } else if (t2 === 109) {
  53153. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  53154. if (t2 === 97) {
  53155. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  53156. return false;
  53157. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53158. } else if (t2 === 105) {
  53159. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  53160. return false;
  53161. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  53162. } else
  53163. return false;
  53164. } else
  53165. return false;
  53166. },
  53167. get$isVar() {
  53168. if (this._hasQuotes)
  53169. return false;
  53170. var t1 = this._string$_text;
  53171. if (t1.length < 8)
  53172. return false;
  53173. 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;
  53174. },
  53175. get$isBlank() {
  53176. return !this._hasQuotes && this._string$_text.length === 0;
  53177. },
  53178. accept$1$1(visitor) {
  53179. var t1 = visitor._quote && this._hasQuotes,
  53180. t2 = this._string$_text;
  53181. if (t1)
  53182. visitor._visitQuotedString$1(t2);
  53183. else
  53184. visitor._visitUnquotedString$1(t2);
  53185. return null;
  53186. },
  53187. accept$1(visitor) {
  53188. return this.accept$1$1(visitor, type$.dynamic);
  53189. },
  53190. assertString$1($name) {
  53191. return this;
  53192. },
  53193. plus$1(other) {
  53194. var t1 = this._string$_text,
  53195. t2 = this._hasQuotes;
  53196. if (other instanceof A.SassString)
  53197. return new A.SassString(t1 + other._string$_text, t2);
  53198. else
  53199. return new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  53200. },
  53201. $eq(_, other) {
  53202. if (other == null)
  53203. return false;
  53204. return other instanceof A.SassString && this._string$_text === other._string$_text;
  53205. },
  53206. get$hashCode(_) {
  53207. var t1 = this._hashCache;
  53208. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  53209. }
  53210. };
  53211. A.AnySelectorVisitor.prototype = {
  53212. visitComplexSelector$1(complex) {
  53213. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  53214. },
  53215. visitCompoundSelector$1(compound) {
  53216. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  53217. },
  53218. visitPseudoSelector$1(pseudo) {
  53219. var selector = pseudo.selector;
  53220. return selector == null ? false : this.visitSelectorList$1(selector);
  53221. },
  53222. visitSelectorList$1(list) {
  53223. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  53224. },
  53225. visitAttributeSelector$1(attribute) {
  53226. return false;
  53227. },
  53228. visitClassSelector$1(klass) {
  53229. return false;
  53230. },
  53231. visitIDSelector$1(id) {
  53232. return false;
  53233. },
  53234. visitParentSelector$1($parent) {
  53235. return false;
  53236. },
  53237. visitPlaceholderSelector$1(placeholder) {
  53238. return false;
  53239. },
  53240. visitTypeSelector$1(type) {
  53241. return false;
  53242. },
  53243. visitUniversalSelector$1(universal) {
  53244. return false;
  53245. }
  53246. };
  53247. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  53248. call$1(component) {
  53249. return this.$this.visitCompoundSelector$1(component.selector);
  53250. },
  53251. $signature: 50
  53252. };
  53253. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  53254. call$1(simple) {
  53255. return simple.accept$1(this.$this);
  53256. },
  53257. $signature: 14
  53258. };
  53259. A._EvaluateVisitor0.prototype = {
  53260. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  53261. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  53262. _s20_ = "$name, $module: null",
  53263. _s9_ = "sass:meta",
  53264. t1 = type$.JSArray_AsyncBuiltInCallable,
  53265. 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),
  53266. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure18(_this), _s9_)], t1);
  53267. t1 = type$.AsyncBuiltInCallable;
  53268. t2 = A.List_List$of($.$get$global(), true, t1);
  53269. B.JSArray_methods.addAll$1(t2, $.$get$local());
  53270. B.JSArray_methods.addAll$1(t2, metaFunctions);
  53271. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  53272. 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) {
  53273. module = t1[_i];
  53274. t3.$indexSet(0, module.url, module);
  53275. }
  53276. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  53277. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  53278. B.JSArray_methods.addAll$1(t1, metaFunctions);
  53279. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  53280. $function = t1[_i];
  53281. t4 = J.get$name$x($function);
  53282. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  53283. }
  53284. },
  53285. run$2(_, importer, node) {
  53286. return this.run$body$_EvaluateVisitor(0, importer, node);
  53287. },
  53288. run$body$_EvaluateVisitor(_, importer, node) {
  53289. var $async$goto = 0,
  53290. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  53291. $async$returnValue, $async$self = this, t1;
  53292. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53293. if ($async$errorCode === 1)
  53294. return A._asyncRethrow($async$result, $async$completer);
  53295. while (true)
  53296. switch ($async$goto) {
  53297. case 0:
  53298. // Function start
  53299. t1 = type$.nullable_Object;
  53300. $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure0($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext0($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult);
  53301. // goto return
  53302. $async$goto = 1;
  53303. break;
  53304. case 1:
  53305. // return
  53306. return A._asyncReturn($async$returnValue, $async$completer);
  53307. }
  53308. });
  53309. return A._asyncStartSync($async$run$2, $async$completer);
  53310. },
  53311. _async_evaluate$_assertInModule$1$2(value, $name) {
  53312. if (value != null)
  53313. return value;
  53314. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  53315. },
  53316. _async_evaluate$_assertInModule$2(value, $name) {
  53317. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  53318. },
  53319. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  53320. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  53321. },
  53322. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  53323. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  53324. },
  53325. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  53326. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  53327. },
  53328. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  53329. var $async$goto = 0,
  53330. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  53331. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  53332. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53333. if ($async$errorCode === 1)
  53334. return A._asyncRethrow($async$result, $async$completer);
  53335. while (true)
  53336. switch ($async$goto) {
  53337. case 0:
  53338. // Function start
  53339. builtInModule = $async$self._async_evaluate$_builtInModules.$index(0, url);
  53340. $async$goto = builtInModule != null ? 3 : 4;
  53341. break;
  53342. case 3:
  53343. // then
  53344. if (configuration instanceof A.ExplicitConfiguration) {
  53345. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  53346. t2 = configuration.nodeWithSpan;
  53347. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  53348. }
  53349. $async$goto = 5;
  53350. 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);
  53351. case 5:
  53352. // returning from await.
  53353. // goto return
  53354. $async$goto = 1;
  53355. break;
  53356. case 4:
  53357. // join
  53358. $async$goto = 6;
  53359. 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);
  53360. case 6:
  53361. // returning from await.
  53362. case 1:
  53363. // return
  53364. return A._asyncReturn($async$returnValue, $async$completer);
  53365. }
  53366. });
  53367. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  53368. },
  53369. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  53370. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  53371. },
  53372. _async_evaluate$_execute$2(importer, stylesheet) {
  53373. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  53374. },
  53375. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  53376. var $async$goto = 0,
  53377. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  53378. $async$returnValue, $async$self = this, alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, t1, url;
  53379. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53380. if ($async$errorCode === 1)
  53381. return A._asyncRethrow($async$result, $async$completer);
  53382. while (true)
  53383. switch ($async$goto) {
  53384. case 0:
  53385. // Function start
  53386. t1 = stylesheet.span;
  53387. url = t1.get$sourceUrl(t1);
  53388. t1 = $async$self._async_evaluate$_modules;
  53389. alreadyLoaded = t1.$index(0, url);
  53390. if (alreadyLoaded != null) {
  53391. t1 = configuration == null;
  53392. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  53393. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  53394. t3 = t2.__originalConfiguration;
  53395. t2 = t3 == null ? t2 : t3;
  53396. t3 = currentConfiguration.__originalConfiguration;
  53397. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  53398. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  53399. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  53400. existingSpan = t2 == null ? null : J.get$span$z(t2);
  53401. if (t1) {
  53402. t1 = currentConfiguration.nodeWithSpan;
  53403. configurationSpan = t1.get$span(t1);
  53404. } else
  53405. configurationSpan = null;
  53406. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  53407. if (existingSpan != null)
  53408. t1.$indexSet(0, existingSpan, "original load");
  53409. if (configurationSpan != null)
  53410. t1.$indexSet(0, configurationSpan, "configuration");
  53411. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  53412. }
  53413. $async$returnValue = alreadyLoaded;
  53414. // goto return
  53415. $async$goto = 1;
  53416. break;
  53417. }
  53418. environment = A.AsyncEnvironment$();
  53419. css = A._Cell$();
  53420. extensionStore = A.ExtensionStore$();
  53421. $async$goto = 3;
  53422. 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);
  53423. case 3:
  53424. // returning from await.
  53425. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  53426. if (url != null) {
  53427. t1.$indexSet(0, url, module);
  53428. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  53429. if (nodeWithSpan != null)
  53430. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  53431. }
  53432. $async$returnValue = module;
  53433. // goto return
  53434. $async$goto = 1;
  53435. break;
  53436. case 1:
  53437. // return
  53438. return A._asyncReturn($async$returnValue, $async$completer);
  53439. }
  53440. });
  53441. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  53442. },
  53443. _async_evaluate$_addOutOfOrderImports$0() {
  53444. var t1, t2, _this = this, _s5_ = "_root",
  53445. _s13_ = "_endOfImports",
  53446. outOfOrderImports = _this._async_evaluate$_outOfOrderImports;
  53447. if (outOfOrderImports == null)
  53448. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  53449. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  53450. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
  53451. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  53452. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  53453. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  53454. return t1;
  53455. },
  53456. _async_evaluate$_combineCss$2$clone(root, clone) {
  53457. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  53458. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure2())) {
  53459. selectors = root.get$extensionStore().get$simpleSelectors();
  53460. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure3(selectors)));
  53461. if (unsatisfiedExtension != null)
  53462. _this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  53463. return root.get$css(root);
  53464. }
  53465. sortedModules = _this._async_evaluate$_topologicalModules$1(root);
  53466. if (clone) {
  53467. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<AsyncCallable>>");
  53468. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure4(), t1), true, t1._eval$1("ListIterable.E"));
  53469. }
  53470. _this._async_evaluate$_extendModules$1(sortedModules);
  53471. t1 = type$.JSArray_CssNode;
  53472. imports = A._setArrayType([], t1);
  53473. css = A._setArrayType([], t1);
  53474. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  53475. t3 = t1.__internal$_current;
  53476. if (t3 == null)
  53477. t3 = t2._as(t3);
  53478. t3 = t3.get$css(t3);
  53479. statements = t3.get$children(t3);
  53480. index = _this._async_evaluate$_indexAfterImports$1(statements);
  53481. t3 = J.getInterceptor$ax(statements);
  53482. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  53483. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  53484. }
  53485. t1 = B.JSArray_methods.$add(imports, css);
  53486. t2 = root.get$css(root);
  53487. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  53488. },
  53489. _async_evaluate$_combineCss$1(root) {
  53490. return this._async_evaluate$_combineCss$2$clone(root, false);
  53491. },
  53492. _async_evaluate$_extendModules$1(sortedModules) {
  53493. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  53494. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  53495. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  53496. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  53497. t2 = t1.get$current(t1);
  53498. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  53499. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  53500. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  53501. t3 = t2.get$extensionStore().get$addExtensions();
  53502. if ($self != null)
  53503. t3.call$1($self);
  53504. t3 = t2.get$extensionStore();
  53505. if (t3.get$isEmpty(t3))
  53506. continue;
  53507. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  53508. upstream = t3[_i];
  53509. url = upstream.get$url(upstream);
  53510. if (url == null)
  53511. continue;
  53512. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t2.get$extensionStore());
  53513. }
  53514. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  53515. }
  53516. if (unsatisfiedExtensions._collection$_length !== 0)
  53517. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  53518. },
  53519. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  53520. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  53521. },
  53522. _async_evaluate$_topologicalModules$1(root) {
  53523. var t1 = type$.Module_AsyncCallable,
  53524. sorted = A.QueueList$(null, t1);
  53525. new A._EvaluateVisitor__topologicalModules_visitModule0(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  53526. return sorted;
  53527. },
  53528. _async_evaluate$_indexAfterImports$1(statements) {
  53529. var t1, t2, t3, lastImport, i, statement;
  53530. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  53531. statement = t1.$index(statements, i);
  53532. if (t3._is(statement))
  53533. lastImport = i;
  53534. else if (!t2._is(statement))
  53535. break;
  53536. }
  53537. return lastImport + 1;
  53538. },
  53539. visitStylesheet$1(node) {
  53540. return this.visitStylesheet$body$_EvaluateVisitor(node);
  53541. },
  53542. visitStylesheet$body$_EvaluateVisitor(node) {
  53543. var $async$goto = 0,
  53544. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53545. $async$returnValue, $async$self = this, t1, t2, _i;
  53546. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53547. if ($async$errorCode === 1)
  53548. return A._asyncRethrow($async$result, $async$completer);
  53549. while (true)
  53550. switch ($async$goto) {
  53551. case 0:
  53552. // Function start
  53553. t1 = node.children, t2 = t1.length, _i = 0;
  53554. case 3:
  53555. // for condition
  53556. if (!(_i < t2)) {
  53557. // goto after for
  53558. $async$goto = 5;
  53559. break;
  53560. }
  53561. $async$goto = 6;
  53562. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  53563. case 6:
  53564. // returning from await.
  53565. case 4:
  53566. // for update
  53567. ++_i;
  53568. // goto for condition
  53569. $async$goto = 3;
  53570. break;
  53571. case 5:
  53572. // after for
  53573. $async$returnValue = null;
  53574. // goto return
  53575. $async$goto = 1;
  53576. break;
  53577. case 1:
  53578. // return
  53579. return A._asyncReturn($async$returnValue, $async$completer);
  53580. }
  53581. });
  53582. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  53583. },
  53584. visitAtRootRule$1(node) {
  53585. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  53586. },
  53587. visitAtRootRule$body$_EvaluateVisitor(node) {
  53588. var $async$goto = 0,
  53589. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53590. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
  53591. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53592. if ($async$errorCode === 1)
  53593. return A._asyncRethrow($async$result, $async$completer);
  53594. while (true)
  53595. switch ($async$goto) {
  53596. case 0:
  53597. // Function start
  53598. unparsedQuery = node.query;
  53599. $async$goto = unparsedQuery != null ? 3 : 5;
  53600. break;
  53601. case 3:
  53602. // then
  53603. $async$temp1 = unparsedQuery;
  53604. $async$temp2 = A;
  53605. $async$goto = 6;
  53606. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  53607. case 6:
  53608. // returning from await.
  53609. $async$result = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure2($async$self, $async$result));
  53610. // goto join
  53611. $async$goto = 4;
  53612. break;
  53613. case 5:
  53614. // else
  53615. $async$result = B.AtRootQuery_UsS;
  53616. case 4:
  53617. // join
  53618. query = $async$result;
  53619. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  53620. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  53621. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  53622. if (!query.excludes$1($parent))
  53623. included.push($parent);
  53624. grandparent = $parent._parent;
  53625. if (grandparent == null)
  53626. throw A.wrapException(A.StateError$(string$.CssNod));
  53627. }
  53628. root = $async$self._async_evaluate$_trimIncluded$1(included);
  53629. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  53630. break;
  53631. case 7:
  53632. // then
  53633. $async$goto = 9;
  53634. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  53635. case 9:
  53636. // returning from await.
  53637. $async$returnValue = null;
  53638. // goto return
  53639. $async$goto = 1;
  53640. break;
  53641. case 8:
  53642. // join
  53643. if (included.length !== 0) {
  53644. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  53645. 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) {
  53646. t3 = t1.__internal$_current;
  53647. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  53648. copy.addChild$1(outerCopy);
  53649. }
  53650. root.addChild$1(outerCopy);
  53651. } else
  53652. innerCopy = root;
  53653. $async$goto = 10;
  53654. return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4($async$self, node)), $async$visitAtRootRule$1);
  53655. case 10:
  53656. // returning from await.
  53657. $async$returnValue = null;
  53658. // goto return
  53659. $async$goto = 1;
  53660. break;
  53661. case 1:
  53662. // return
  53663. return A._asyncReturn($async$returnValue, $async$completer);
  53664. }
  53665. });
  53666. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  53667. },
  53668. _async_evaluate$_trimIncluded$1(nodes) {
  53669. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  53670. _s22_ = " to be an ancestor of ";
  53671. if (nodes.length === 0)
  53672. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  53673. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  53674. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  53675. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  53676. grandparent = $parent._parent;
  53677. if (grandparent == null)
  53678. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  53679. }
  53680. if (innermostContiguous == null)
  53681. innermostContiguous = i;
  53682. grandparent = $parent._parent;
  53683. if (grandparent == null)
  53684. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  53685. }
  53686. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  53687. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  53688. innermostContiguous.toString;
  53689. root = nodes[innermostContiguous];
  53690. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  53691. return root;
  53692. },
  53693. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  53694. var _this = this,
  53695. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  53696. t1 = query._all || query._at_root_query$_rule;
  53697. if (t1 !== query.include)
  53698. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  53699. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  53700. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  53701. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  53702. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  53703. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  53704. },
  53705. visitContentBlock$1(node) {
  53706. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  53707. },
  53708. visitContentRule$1(node) {
  53709. return this.visitContentRule$body$_EvaluateVisitor(node);
  53710. },
  53711. visitContentRule$body$_EvaluateVisitor(node) {
  53712. var $async$goto = 0,
  53713. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53714. $async$returnValue, $async$self = this, $content;
  53715. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53716. if ($async$errorCode === 1)
  53717. return A._asyncRethrow($async$result, $async$completer);
  53718. while (true)
  53719. switch ($async$goto) {
  53720. case 0:
  53721. // Function start
  53722. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  53723. if ($content == null) {
  53724. $async$returnValue = null;
  53725. // goto return
  53726. $async$goto = 1;
  53727. break;
  53728. }
  53729. $async$goto = 3;
  53730. 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);
  53731. case 3:
  53732. // returning from await.
  53733. $async$returnValue = null;
  53734. // goto return
  53735. $async$goto = 1;
  53736. break;
  53737. case 1:
  53738. // return
  53739. return A._asyncReturn($async$returnValue, $async$completer);
  53740. }
  53741. });
  53742. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  53743. },
  53744. visitDebugRule$1(node) {
  53745. return this.visitDebugRule$body$_EvaluateVisitor(node);
  53746. },
  53747. visitDebugRule$body$_EvaluateVisitor(node) {
  53748. var $async$goto = 0,
  53749. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53750. $async$returnValue, $async$self = this, value, t1;
  53751. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53752. if ($async$errorCode === 1)
  53753. return A._asyncRethrow($async$result, $async$completer);
  53754. while (true)
  53755. switch ($async$goto) {
  53756. case 0:
  53757. // Function start
  53758. $async$goto = 3;
  53759. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  53760. case 3:
  53761. // returning from await.
  53762. value = $async$result;
  53763. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  53764. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  53765. $async$returnValue = null;
  53766. // goto return
  53767. $async$goto = 1;
  53768. break;
  53769. case 1:
  53770. // return
  53771. return A._asyncReturn($async$returnValue, $async$completer);
  53772. }
  53773. });
  53774. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  53775. },
  53776. visitDeclaration$1(node) {
  53777. return this.visitDeclaration$body$_EvaluateVisitor(node);
  53778. },
  53779. visitDeclaration$body$_EvaluateVisitor(node) {
  53780. var $async$goto = 0,
  53781. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53782. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  53783. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53784. if ($async$errorCode === 1)
  53785. return A._asyncRethrow($async$result, $async$completer);
  53786. while (true)
  53787. switch ($async$goto) {
  53788. case 0:
  53789. // Function start
  53790. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  53791. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  53792. t1 = node.name;
  53793. $async$goto = 3;
  53794. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  53795. case 3:
  53796. // returning from await.
  53797. $name = $async$result;
  53798. t2 = $async$self._async_evaluate$_declarationName;
  53799. if (t2 != null)
  53800. $name = new A.CssValue(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String);
  53801. t2 = node.value;
  53802. $async$goto = 4;
  53803. return A._asyncAwait(A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure1($async$self)), $async$visitDeclaration$1);
  53804. case 4:
  53805. // returning from await.
  53806. cssValue = $async$result;
  53807. t3 = cssValue != null;
  53808. if (t3)
  53809. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  53810. else
  53811. t4 = false;
  53812. if (t4) {
  53813. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  53814. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  53815. if ($async$self._async_evaluate$_sourceMap) {
  53816. t2 = A.NullableExtension_andThen(t2, $async$self.get$_async_evaluate$_expressionNode());
  53817. t2 = t2 == null ? null : J.get$span$z(t2);
  53818. } else
  53819. t2 = null;
  53820. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  53821. } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
  53822. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  53823. children = node.children;
  53824. $async$goto = children != null ? 5 : 6;
  53825. break;
  53826. case 5:
  53827. // then
  53828. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  53829. $async$self._async_evaluate$_declarationName = $name.get$value($name);
  53830. $async$goto = 7;
  53831. 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);
  53832. case 7:
  53833. // returning from await.
  53834. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  53835. case 6:
  53836. // join
  53837. $async$returnValue = null;
  53838. // goto return
  53839. $async$goto = 1;
  53840. break;
  53841. case 1:
  53842. // return
  53843. return A._asyncReturn($async$returnValue, $async$completer);
  53844. }
  53845. });
  53846. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  53847. },
  53848. visitEachRule$1(node) {
  53849. return this.visitEachRule$body$_EvaluateVisitor(node);
  53850. },
  53851. visitEachRule$body$_EvaluateVisitor(node) {
  53852. var $async$goto = 0,
  53853. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53854. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  53855. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53856. if ($async$errorCode === 1)
  53857. return A._asyncRethrow($async$result, $async$completer);
  53858. while (true)
  53859. switch ($async$goto) {
  53860. case 0:
  53861. // Function start
  53862. t1 = node.list;
  53863. $async$goto = 3;
  53864. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  53865. case 3:
  53866. // returning from await.
  53867. list = $async$result;
  53868. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  53869. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure2($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure3($async$self, node, nodeWithSpan);
  53870. $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);
  53871. // goto return
  53872. $async$goto = 1;
  53873. break;
  53874. case 1:
  53875. // return
  53876. return A._asyncReturn($async$returnValue, $async$completer);
  53877. }
  53878. });
  53879. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  53880. },
  53881. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  53882. var i,
  53883. list = value.get$asList(),
  53884. t1 = variables.length,
  53885. minLength = Math.min(t1, list.length);
  53886. for (i = 0; i < minLength; ++i)
  53887. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  53888. for (i = minLength; i < t1; ++i)
  53889. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  53890. },
  53891. visitErrorRule$1(node) {
  53892. return this.visitErrorRule$body$_EvaluateVisitor(node);
  53893. },
  53894. visitErrorRule$body$_EvaluateVisitor(node) {
  53895. var $async$goto = 0,
  53896. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  53897. $async$self = this, $async$temp1, $async$temp2;
  53898. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53899. if ($async$errorCode === 1)
  53900. return A._asyncRethrow($async$result, $async$completer);
  53901. while (true)
  53902. switch ($async$goto) {
  53903. case 0:
  53904. // Function start
  53905. $async$temp1 = A;
  53906. $async$temp2 = J;
  53907. $async$goto = 2;
  53908. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  53909. case 2:
  53910. // returning from await.
  53911. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  53912. // implicit return
  53913. return A._asyncReturn(null, $async$completer);
  53914. }
  53915. });
  53916. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  53917. },
  53918. visitExtendRule$1(node) {
  53919. return this.visitExtendRule$body$_EvaluateVisitor(node);
  53920. },
  53921. visitExtendRule$body$_EvaluateVisitor(node) {
  53922. var $async$goto = 0,
  53923. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53924. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, styleRule;
  53925. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53926. if ($async$errorCode === 1)
  53927. return A._asyncRethrow($async$result, $async$completer);
  53928. while (true)
  53929. switch ($async$goto) {
  53930. case 0:
  53931. // Function start
  53932. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  53933. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  53934. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  53935. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  53936. complex = t1[_i];
  53937. if (!complex.accept$1(B._IsBogusVisitor_true))
  53938. continue;
  53939. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  53940. complex.accept$1(visitor);
  53941. t8 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  53942. t9 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  53943. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  53944. }
  53945. $async$goto = 3;
  53946. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  53947. case 3:
  53948. // returning from await.
  53949. targetText = $async$result;
  53950. for (t1 = $async$self._async_evaluate$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure0($async$self, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  53951. complex = t1[_i];
  53952. if (complex.leadingCombinators.length === 0) {
  53953. t4 = complex.components;
  53954. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  53955. } else
  53956. t4 = false;
  53957. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  53958. if (compound == null)
  53959. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.get$span(targetText)));
  53960. t4 = compound.components;
  53961. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  53962. if (t5 == null)
  53963. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
  53964. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, $async$self._async_evaluate$_mediaQueries);
  53965. }
  53966. $async$returnValue = null;
  53967. // goto return
  53968. $async$goto = 1;
  53969. break;
  53970. case 1:
  53971. // return
  53972. return A._asyncReturn($async$returnValue, $async$completer);
  53973. }
  53974. });
  53975. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  53976. },
  53977. visitAtRule$1(node) {
  53978. return this.visitAtRule$body$_EvaluateVisitor(node);
  53979. },
  53980. visitAtRule$body$_EvaluateVisitor(node) {
  53981. var $async$goto = 0,
  53982. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  53983. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  53984. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  53985. if ($async$errorCode === 1)
  53986. return A._asyncRethrow($async$result, $async$completer);
  53987. while (true)
  53988. switch ($async$goto) {
  53989. case 0:
  53990. // Function start
  53991. if ($async$self._async_evaluate$_declarationName != null)
  53992. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  53993. $async$goto = 3;
  53994. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  53995. case 3:
  53996. // returning from await.
  53997. $name = $async$result;
  53998. $async$goto = 4;
  53999. return A._asyncAwait(A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self)), $async$visitAtRule$1);
  54000. case 4:
  54001. // returning from await.
  54002. value = $async$result;
  54003. children = node.children;
  54004. if (children == null) {
  54005. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  54006. $async$returnValue = null;
  54007. // goto return
  54008. $async$goto = 1;
  54009. break;
  54010. }
  54011. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  54012. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  54013. if (A.unvendor($name.get$value($name)) === "keyframes")
  54014. $async$self._async_evaluate$_inKeyframes = true;
  54015. else
  54016. $async$self._async_evaluate$_inUnknownAtRule = true;
  54017. $async$goto = 5;
  54018. 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, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
  54019. case 5:
  54020. // returning from await.
  54021. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  54022. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  54023. $async$returnValue = null;
  54024. // goto return
  54025. $async$goto = 1;
  54026. break;
  54027. case 1:
  54028. // return
  54029. return A._asyncReturn($async$returnValue, $async$completer);
  54030. }
  54031. });
  54032. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  54033. },
  54034. visitForRule$1(node) {
  54035. return this.visitForRule$body$_EvaluateVisitor(node);
  54036. },
  54037. visitForRule$body$_EvaluateVisitor(node) {
  54038. var $async$goto = 0,
  54039. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54040. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  54041. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54042. if ($async$errorCode === 1)
  54043. return A._asyncRethrow($async$result, $async$completer);
  54044. while (true)
  54045. switch ($async$goto) {
  54046. case 0:
  54047. // Function start
  54048. t1 = {};
  54049. t2 = node.from;
  54050. t3 = type$.SassNumber;
  54051. $async$goto = 3;
  54052. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  54053. case 3:
  54054. // returning from await.
  54055. fromNumber = $async$result;
  54056. t4 = node.to;
  54057. $async$goto = 4;
  54058. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  54059. case 4:
  54060. // returning from await.
  54061. toNumber = $async$result;
  54062. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  54063. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  54064. direction = from > to ? -1 : 1;
  54065. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  54066. $async$returnValue = null;
  54067. // goto return
  54068. $async$goto = 1;
  54069. break;
  54070. }
  54071. $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);
  54072. // goto return
  54073. $async$goto = 1;
  54074. break;
  54075. case 1:
  54076. // return
  54077. return A._asyncReturn($async$returnValue, $async$completer);
  54078. }
  54079. });
  54080. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  54081. },
  54082. visitForwardRule$1(node) {
  54083. return this.visitForwardRule$body$_EvaluateVisitor(node);
  54084. },
  54085. visitForwardRule$body$_EvaluateVisitor(node) {
  54086. var $async$goto = 0,
  54087. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54088. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  54089. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54090. if ($async$errorCode === 1)
  54091. return A._asyncRethrow($async$result, $async$completer);
  54092. while (true)
  54093. switch ($async$goto) {
  54094. case 0:
  54095. // Function start
  54096. oldConfiguration = $async$self._async_evaluate$_configuration;
  54097. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  54098. t1 = node.configuration;
  54099. t2 = t1.length;
  54100. t3 = node.url;
  54101. $async$goto = t2 !== 0 ? 3 : 5;
  54102. break;
  54103. case 3:
  54104. // then
  54105. $async$goto = 6;
  54106. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  54107. case 6:
  54108. // returning from await.
  54109. newConfiguration = $async$result;
  54110. $async$goto = 7;
  54111. 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);
  54112. case 7:
  54113. // returning from await.
  54114. t3 = type$.String;
  54115. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  54116. for (_i = 0; _i < t2; ++_i) {
  54117. variable = t1[_i];
  54118. if (!variable.isGuarded)
  54119. t4.add$1(0, variable.name);
  54120. }
  54121. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  54122. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  54123. for (_i = 0; _i < t2; ++_i)
  54124. t3.add$1(0, t1[_i].name);
  54125. 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) {
  54126. $name = t2[_i];
  54127. if (!t3.contains$1(0, $name))
  54128. if (!t1.get$isEmpty(t1))
  54129. t1.remove$1(0, $name);
  54130. }
  54131. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  54132. // goto join
  54133. $async$goto = 4;
  54134. break;
  54135. case 5:
  54136. // else
  54137. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  54138. $async$goto = 8;
  54139. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  54140. case 8:
  54141. // returning from await.
  54142. $async$self._async_evaluate$_configuration = oldConfiguration;
  54143. case 4:
  54144. // join
  54145. $async$returnValue = null;
  54146. // goto return
  54147. $async$goto = 1;
  54148. break;
  54149. case 1:
  54150. // return
  54151. return A._asyncReturn($async$returnValue, $async$completer);
  54152. }
  54153. });
  54154. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  54155. },
  54156. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  54157. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  54158. },
  54159. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  54160. var $async$goto = 0,
  54161. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  54162. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  54163. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54164. if ($async$errorCode === 1)
  54165. return A._asyncRethrow($async$result, $async$completer);
  54166. while (true)
  54167. switch ($async$goto) {
  54168. case 0:
  54169. // Function start
  54170. t1 = configuration._values;
  54171. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  54172. t2 = node.configuration, t3 = t2.length, _i = 0;
  54173. case 3:
  54174. // for condition
  54175. if (!(_i < t3)) {
  54176. // goto after for
  54177. $async$goto = 5;
  54178. break;
  54179. }
  54180. variable = t2[_i];
  54181. if (variable.isGuarded) {
  54182. t4 = variable.name;
  54183. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  54184. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  54185. newValues.$indexSet(0, t4, t5);
  54186. // goto for update
  54187. $async$goto = 4;
  54188. break;
  54189. }
  54190. }
  54191. t4 = variable.expression;
  54192. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t4);
  54193. $async$temp1 = newValues;
  54194. $async$temp2 = variable.name;
  54195. $async$temp3 = A;
  54196. $async$goto = 6;
  54197. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate$_addForwardConfiguration$2);
  54198. case 6:
  54199. // returning from await.
  54200. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  54201. case 4:
  54202. // for update
  54203. ++_i;
  54204. // goto for condition
  54205. $async$goto = 3;
  54206. break;
  54207. case 5:
  54208. // after for
  54209. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  54210. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  54211. // goto return
  54212. $async$goto = 1;
  54213. break;
  54214. } else {
  54215. $async$returnValue = new A.Configuration(newValues, null);
  54216. // goto return
  54217. $async$goto = 1;
  54218. break;
  54219. }
  54220. case 1:
  54221. // return
  54222. return A._asyncReturn($async$returnValue, $async$completer);
  54223. }
  54224. });
  54225. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  54226. },
  54227. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  54228. var t1, t2, t3, t4, _i, $name;
  54229. 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) {
  54230. $name = t2[_i];
  54231. if (except.contains$1(0, $name))
  54232. continue;
  54233. if (!t4.containsKey$1($name))
  54234. if (!t1.get$isEmpty(t1))
  54235. t1.remove$1(0, $name);
  54236. }
  54237. },
  54238. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  54239. var t1, entry;
  54240. if (!(configuration instanceof A.ExplicitConfiguration))
  54241. return;
  54242. t1 = configuration._values;
  54243. if (t1.get$isEmpty(t1))
  54244. return;
  54245. t1 = t1.get$entries(t1);
  54246. entry = t1.get$first(t1);
  54247. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  54248. throw A.wrapException(this._async_evaluate$_exception$2(t1, entry.value.configurationSpan));
  54249. },
  54250. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  54251. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  54252. },
  54253. visitFunctionRule$1(node) {
  54254. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  54255. },
  54256. visitFunctionRule$body$_EvaluateVisitor(node) {
  54257. var $async$goto = 0,
  54258. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54259. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  54260. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54261. if ($async$errorCode === 1)
  54262. return A._asyncRethrow($async$result, $async$completer);
  54263. while (true)
  54264. switch ($async$goto) {
  54265. case 0:
  54266. // Function start
  54267. t1 = $async$self._async_evaluate$_environment;
  54268. t2 = t1.closure$0();
  54269. t3 = $async$self._async_evaluate$_inDependency;
  54270. t4 = t1._async_environment$_functions;
  54271. index = t4.length - 1;
  54272. t5 = node.name;
  54273. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  54274. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  54275. $async$returnValue = null;
  54276. // goto return
  54277. $async$goto = 1;
  54278. break;
  54279. case 1:
  54280. // return
  54281. return A._asyncReturn($async$returnValue, $async$completer);
  54282. }
  54283. });
  54284. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  54285. },
  54286. visitIfRule$1(node) {
  54287. return this.visitIfRule$body$_EvaluateVisitor(node);
  54288. },
  54289. visitIfRule$body$_EvaluateVisitor(node) {
  54290. var $async$goto = 0,
  54291. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54292. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  54293. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54294. if ($async$errorCode === 1)
  54295. return A._asyncRethrow($async$result, $async$completer);
  54296. while (true)
  54297. switch ($async$goto) {
  54298. case 0:
  54299. // Function start
  54300. _box_0 = {};
  54301. _box_0.clause = node.lastClause;
  54302. t1 = node.clauses, t2 = t1.length, _i = 0;
  54303. case 3:
  54304. // for condition
  54305. if (!(_i < t2)) {
  54306. // goto after for
  54307. $async$goto = 5;
  54308. break;
  54309. }
  54310. clauseToCheck = t1[_i];
  54311. $async$goto = 6;
  54312. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  54313. case 6:
  54314. // returning from await.
  54315. if ($async$result.get$isTruthy()) {
  54316. _box_0.clause = clauseToCheck;
  54317. // goto after for
  54318. $async$goto = 5;
  54319. break;
  54320. }
  54321. case 4:
  54322. // for update
  54323. ++_i;
  54324. // goto for condition
  54325. $async$goto = 3;
  54326. break;
  54327. case 5:
  54328. // after for
  54329. t1 = _box_0.clause;
  54330. if (t1 == null) {
  54331. $async$returnValue = null;
  54332. // goto return
  54333. $async$goto = 1;
  54334. break;
  54335. }
  54336. $async$goto = 7;
  54337. 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);
  54338. case 7:
  54339. // returning from await.
  54340. $async$returnValue = $async$result;
  54341. // goto return
  54342. $async$goto = 1;
  54343. break;
  54344. case 1:
  54345. // return
  54346. return A._asyncReturn($async$returnValue, $async$completer);
  54347. }
  54348. });
  54349. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  54350. },
  54351. visitImportRule$1(node) {
  54352. return this.visitImportRule$body$_EvaluateVisitor(node);
  54353. },
  54354. visitImportRule$body$_EvaluateVisitor(node) {
  54355. var $async$goto = 0,
  54356. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54357. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  54358. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54359. if ($async$errorCode === 1)
  54360. return A._asyncRethrow($async$result, $async$completer);
  54361. while (true)
  54362. switch ($async$goto) {
  54363. case 0:
  54364. // Function start
  54365. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  54366. case 3:
  54367. // for condition
  54368. if (!(_i < t2)) {
  54369. // goto after for
  54370. $async$goto = 5;
  54371. break;
  54372. }
  54373. $import = t1[_i];
  54374. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  54375. break;
  54376. case 6:
  54377. // then
  54378. $async$goto = 9;
  54379. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  54380. case 9:
  54381. // returning from await.
  54382. // goto join
  54383. $async$goto = 7;
  54384. break;
  54385. case 8:
  54386. // else
  54387. $async$goto = 10;
  54388. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  54389. case 10:
  54390. // returning from await.
  54391. case 7:
  54392. // join
  54393. case 4:
  54394. // for update
  54395. ++_i;
  54396. // goto for condition
  54397. $async$goto = 3;
  54398. break;
  54399. case 5:
  54400. // after for
  54401. $async$returnValue = null;
  54402. // goto return
  54403. $async$goto = 1;
  54404. break;
  54405. case 1:
  54406. // return
  54407. return A._asyncReturn($async$returnValue, $async$completer);
  54408. }
  54409. });
  54410. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  54411. },
  54412. _async_evaluate$_visitDynamicImport$1($import) {
  54413. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  54414. },
  54415. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  54416. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  54417. },
  54418. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  54419. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  54420. },
  54421. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  54422. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  54423. },
  54424. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  54425. var $async$goto = 0,
  54426. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet),
  54427. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, t1, t2, t3, t4, exception, message0, $async$exception;
  54428. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54429. if ($async$errorCode === 1) {
  54430. $async$currentError = $async$result;
  54431. $async$goto = $async$handler;
  54432. }
  54433. while (true)
  54434. switch ($async$goto) {
  54435. case 0:
  54436. // Function start
  54437. baseUrl = baseUrl;
  54438. $async$handler = 4;
  54439. $async$self._async_evaluate$_importSpan = span;
  54440. importCache = $async$self._async_evaluate$_importCache;
  54441. $async$goto = importCache != null ? 7 : 9;
  54442. break;
  54443. case 7:
  54444. // then
  54445. if (baseUrl == null) {
  54446. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  54447. baseUrl = t1.get$sourceUrl(t1);
  54448. }
  54449. $async$goto = 10;
  54450. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate$_importer, baseUrl, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  54451. case 10:
  54452. // returning from await.
  54453. tuple = $async$result;
  54454. $async$goto = tuple != null ? 11 : 12;
  54455. break;
  54456. case 11:
  54457. // then
  54458. isDependency = $async$self._async_evaluate$_inDependency || tuple.item1 !== $async$self._async_evaluate$_importer;
  54459. t1 = tuple.item1;
  54460. t2 = tuple.item2;
  54461. t3 = tuple.item3;
  54462. t4 = $async$self._async_evaluate$_quietDeps && isDependency;
  54463. $async$goto = 13;
  54464. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  54465. case 13:
  54466. // returning from await.
  54467. stylesheet = $async$result;
  54468. if (stylesheet != null) {
  54469. $async$self._async_evaluate$_loadedUrls.add$1(0, tuple.item2);
  54470. t1 = tuple.item1;
  54471. $async$returnValue = new A._LoadedStylesheet0(stylesheet, t1, isDependency);
  54472. $async$next = [1];
  54473. // goto finally
  54474. $async$goto = 5;
  54475. break;
  54476. }
  54477. case 12:
  54478. // join
  54479. // goto join
  54480. $async$goto = 8;
  54481. break;
  54482. case 9:
  54483. // else
  54484. t1 = baseUrl;
  54485. if (t1 == null) {
  54486. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  54487. t1 = t1.get$sourceUrl(t1);
  54488. }
  54489. $async$goto = 14;
  54490. return A._asyncAwait($async$self._async_evaluate$_importLikeNode$3(url, t1, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  54491. case 14:
  54492. // returning from await.
  54493. result = $async$result;
  54494. if (result != null) {
  54495. t1 = result.stylesheet.span;
  54496. t2 = $async$self._async_evaluate$_loadedUrls;
  54497. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  54498. $async$returnValue = result;
  54499. $async$next = [1];
  54500. // goto finally
  54501. $async$goto = 5;
  54502. break;
  54503. }
  54504. case 8:
  54505. // join
  54506. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  54507. throw A.wrapException(string$.x22packa);
  54508. else
  54509. throw A.wrapException("Can't find stylesheet to import.");
  54510. $async$next.push(6);
  54511. // goto finally
  54512. $async$goto = 5;
  54513. break;
  54514. case 4:
  54515. // catch
  54516. $async$handler = 3;
  54517. $async$exception = $async$currentError;
  54518. t1 = A.unwrapException($async$exception);
  54519. if (t1 instanceof A.SassException) {
  54520. error = t1;
  54521. stackTrace = A.getTraceFromException($async$exception);
  54522. t1 = error;
  54523. t2 = J.getInterceptor$z(t1);
  54524. A.throwWithTrace($async$self._async_evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  54525. } else if (t1 instanceof A.ArgumentError) {
  54526. error0 = t1;
  54527. stackTrace0 = A.getTraceFromException($async$exception);
  54528. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error0)), stackTrace0);
  54529. } else {
  54530. error1 = t1;
  54531. stackTrace1 = A.getTraceFromException($async$exception);
  54532. message = null;
  54533. try {
  54534. message = A._asString(J.get$message$x(error1));
  54535. } catch (exception) {
  54536. message0 = J.toString$0$(error1);
  54537. message = message0;
  54538. }
  54539. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), stackTrace1);
  54540. }
  54541. $async$next.push(6);
  54542. // goto finally
  54543. $async$goto = 5;
  54544. break;
  54545. case 3:
  54546. // uncaught
  54547. $async$next = [2];
  54548. case 5:
  54549. // finally
  54550. $async$handler = 2;
  54551. $async$self._async_evaluate$_importSpan = null;
  54552. // goto the next finally handler
  54553. $async$goto = $async$next.pop();
  54554. break;
  54555. case 6:
  54556. // after finally
  54557. case 1:
  54558. // return
  54559. return A._asyncReturn($async$returnValue, $async$completer);
  54560. case 2:
  54561. // rethrow
  54562. return A._asyncRethrow($async$currentError, $async$completer);
  54563. }
  54564. });
  54565. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  54566. },
  54567. _async_evaluate$_importLikeNode$3(originalUrl, previous, forImport) {
  54568. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  54569. },
  54570. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  54571. var $async$goto = 0,
  54572. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet),
  54573. $async$returnValue, $async$self = this, result, isDependency, url, t1, t2;
  54574. var $async$_async_evaluate$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54575. if ($async$errorCode === 1)
  54576. return A._asyncRethrow($async$result, $async$completer);
  54577. while (true)
  54578. switch ($async$goto) {
  54579. case 0:
  54580. // Function start
  54581. result = $async$self._async_evaluate$_nodeImporter.loadRelative$3(originalUrl, previous, forImport);
  54582. isDependency = $async$self._async_evaluate$_inDependency;
  54583. url = result.item2;
  54584. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  54585. t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
  54586. $async$returnValue = new A._LoadedStylesheet0(A.Stylesheet_Stylesheet$parse(result.item1, t1, t2, url), null, isDependency);
  54587. // goto return
  54588. $async$goto = 1;
  54589. break;
  54590. case 1:
  54591. // return
  54592. return A._asyncReturn($async$returnValue, $async$completer);
  54593. }
  54594. });
  54595. return A._asyncStartSync($async$_async_evaluate$_importLikeNode$3, $async$completer);
  54596. },
  54597. _visitStaticImport$1($import) {
  54598. return this._visitStaticImport$body$_EvaluateVisitor($import);
  54599. },
  54600. _visitStaticImport$body$_EvaluateVisitor($import) {
  54601. var $async$goto = 0,
  54602. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  54603. $async$self = this, t1, node, $async$temp1, $async$temp2;
  54604. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54605. if ($async$errorCode === 1)
  54606. return A._asyncRethrow($async$result, $async$completer);
  54607. while (true)
  54608. switch ($async$goto) {
  54609. case 0:
  54610. // Function start
  54611. $async$temp1 = A;
  54612. $async$goto = 2;
  54613. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  54614. case 2:
  54615. // returning from await.
  54616. $async$temp2 = $async$result;
  54617. $async$goto = 3;
  54618. return A._asyncAwait(A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue()), $async$_visitStaticImport$1);
  54619. case 3:
  54620. // returning from await.
  54621. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  54622. 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"))
  54623. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  54624. 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)) {
  54625. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  54626. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  54627. } else {
  54628. t1 = $async$self._async_evaluate$_outOfOrderImports;
  54629. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  54630. }
  54631. // implicit return
  54632. return A._asyncReturn(null, $async$completer);
  54633. }
  54634. });
  54635. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  54636. },
  54637. visitIncludeRule$1(node) {
  54638. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  54639. },
  54640. visitIncludeRule$body$_EvaluateVisitor(node) {
  54641. var $async$goto = 0,
  54642. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54643. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  54644. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54645. if ($async$errorCode === 1)
  54646. return A._asyncRethrow($async$result, $async$completer);
  54647. while (true)
  54648. switch ($async$goto) {
  54649. case 0:
  54650. // Function start
  54651. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self, node));
  54652. if (mixin == null)
  54653. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", node.span));
  54654. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node));
  54655. $async$goto = type$.AsyncBuiltInCallable._is(mixin) ? 3 : 5;
  54656. break;
  54657. case 3:
  54658. // then
  54659. if (node.content != null)
  54660. throw A.wrapException($async$self._async_evaluate$_exception$2("Mixin doesn't accept a content block.", node.span));
  54661. $async$goto = 6;
  54662. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  54663. case 6:
  54664. // returning from await.
  54665. // goto join
  54666. $async$goto = 4;
  54667. break;
  54668. case 5:
  54669. // else
  54670. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(mixin) ? 7 : 9;
  54671. break;
  54672. case 7:
  54673. // then
  54674. t1 = node.content;
  54675. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  54676. 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())));
  54677. $async$goto = 10;
  54678. 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);
  54679. case 10:
  54680. // returning from await.
  54681. // goto join
  54682. $async$goto = 8;
  54683. break;
  54684. case 9:
  54685. // else
  54686. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  54687. case 8:
  54688. // join
  54689. case 4:
  54690. // join
  54691. $async$returnValue = null;
  54692. // goto return
  54693. $async$goto = 1;
  54694. break;
  54695. case 1:
  54696. // return
  54697. return A._asyncReturn($async$returnValue, $async$completer);
  54698. }
  54699. });
  54700. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  54701. },
  54702. visitMixinRule$1(node) {
  54703. return this.visitMixinRule$body$_EvaluateVisitor(node);
  54704. },
  54705. visitMixinRule$body$_EvaluateVisitor(node) {
  54706. var $async$goto = 0,
  54707. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54708. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  54709. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54710. if ($async$errorCode === 1)
  54711. return A._asyncRethrow($async$result, $async$completer);
  54712. while (true)
  54713. switch ($async$goto) {
  54714. case 0:
  54715. // Function start
  54716. t1 = $async$self._async_evaluate$_environment;
  54717. t2 = t1.closure$0();
  54718. t3 = $async$self._async_evaluate$_inDependency;
  54719. t4 = t1._async_environment$_mixins;
  54720. index = t4.length - 1;
  54721. t5 = node.name;
  54722. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  54723. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  54724. $async$returnValue = null;
  54725. // goto return
  54726. $async$goto = 1;
  54727. break;
  54728. case 1:
  54729. // return
  54730. return A._asyncReturn($async$returnValue, $async$completer);
  54731. }
  54732. });
  54733. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  54734. },
  54735. visitLoudComment$1(node) {
  54736. return this.visitLoudComment$body$_EvaluateVisitor(node);
  54737. },
  54738. visitLoudComment$body$_EvaluateVisitor(node) {
  54739. var $async$goto = 0,
  54740. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54741. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  54742. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54743. if ($async$errorCode === 1)
  54744. return A._asyncRethrow($async$result, $async$completer);
  54745. while (true)
  54746. switch ($async$goto) {
  54747. case 0:
  54748. // Function start
  54749. if ($async$self._async_evaluate$_inFunction) {
  54750. $async$returnValue = null;
  54751. // goto return
  54752. $async$goto = 1;
  54753. break;
  54754. }
  54755. 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))
  54756. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  54757. t1 = node.text;
  54758. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  54759. $async$temp2 = A;
  54760. $async$goto = 3;
  54761. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  54762. case 3:
  54763. // returning from await.
  54764. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  54765. $async$returnValue = null;
  54766. // goto return
  54767. $async$goto = 1;
  54768. break;
  54769. case 1:
  54770. // return
  54771. return A._asyncReturn($async$returnValue, $async$completer);
  54772. }
  54773. });
  54774. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  54775. },
  54776. visitMediaRule$1(node) {
  54777. return this.visitMediaRule$body$_EvaluateVisitor(node);
  54778. },
  54779. visitMediaRule$body$_EvaluateVisitor(node) {
  54780. var $async$goto = 0,
  54781. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54782. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  54783. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54784. if ($async$errorCode === 1)
  54785. return A._asyncRethrow($async$result, $async$completer);
  54786. while (true)
  54787. switch ($async$goto) {
  54788. case 0:
  54789. // Function start
  54790. if ($async$self._async_evaluate$_declarationName != null)
  54791. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  54792. $async$goto = 3;
  54793. return A._asyncAwait($async$self._async_evaluate$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  54794. case 3:
  54795. // returning from await.
  54796. queries = $async$result;
  54797. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  54798. t1 = mergedQueries == null;
  54799. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  54800. $async$returnValue = null;
  54801. // goto return
  54802. $async$goto = 1;
  54803. break;
  54804. }
  54805. if (t1)
  54806. mergedSources = B.Set_empty0;
  54807. else {
  54808. t2 = $async$self._async_evaluate$_mediaQuerySources;
  54809. t2.toString;
  54810. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  54811. t3 = $async$self._async_evaluate$_mediaQueries;
  54812. t3.toString;
  54813. t2.addAll$1(0, t3);
  54814. t2.addAll$1(0, queries);
  54815. mergedSources = t2;
  54816. }
  54817. t1 = t1 ? queries : mergedQueries;
  54818. $async$goto = 4;
  54819. 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);
  54820. case 4:
  54821. // returning from await.
  54822. $async$returnValue = null;
  54823. // goto return
  54824. $async$goto = 1;
  54825. break;
  54826. case 1:
  54827. // return
  54828. return A._asyncReturn($async$returnValue, $async$completer);
  54829. }
  54830. });
  54831. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  54832. },
  54833. _async_evaluate$_visitMediaQueries$1(interpolation) {
  54834. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  54835. },
  54836. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  54837. var $async$goto = 0,
  54838. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  54839. $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
  54840. var $async$_async_evaluate$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54841. if ($async$errorCode === 1)
  54842. return A._asyncRethrow($async$result, $async$completer);
  54843. while (true)
  54844. switch ($async$goto) {
  54845. case 0:
  54846. // Function start
  54847. $async$temp1 = interpolation;
  54848. $async$temp2 = A;
  54849. $async$goto = 3;
  54850. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate$_visitMediaQueries$1);
  54851. case 3:
  54852. // returning from await.
  54853. $async$returnValue = $async$self._async_evaluate$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure0($async$self, $async$result));
  54854. // goto return
  54855. $async$goto = 1;
  54856. break;
  54857. case 1:
  54858. // return
  54859. return A._asyncReturn($async$returnValue, $async$completer);
  54860. }
  54861. });
  54862. return A._asyncStartSync($async$_async_evaluate$_visitMediaQueries$1, $async$completer);
  54863. },
  54864. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  54865. var t1, t2, t3, t4, t5, result,
  54866. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  54867. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  54868. t4 = t1.get$current(t1);
  54869. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  54870. result = t4.merge$1(t5.get$current(t5));
  54871. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  54872. continue;
  54873. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  54874. return null;
  54875. queries.push(t3._as(result).query);
  54876. }
  54877. }
  54878. return queries;
  54879. },
  54880. visitReturnRule$1(node) {
  54881. return this.visitReturnRule$body$_EvaluateVisitor(node);
  54882. },
  54883. visitReturnRule$body$_EvaluateVisitor(node) {
  54884. var $async$goto = 0,
  54885. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  54886. $async$returnValue, $async$self = this, t1;
  54887. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54888. if ($async$errorCode === 1)
  54889. return A._asyncRethrow($async$result, $async$completer);
  54890. while (true)
  54891. switch ($async$goto) {
  54892. case 0:
  54893. // Function start
  54894. t1 = node.expression;
  54895. $async$goto = 3;
  54896. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  54897. case 3:
  54898. // returning from await.
  54899. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  54900. // goto return
  54901. $async$goto = 1;
  54902. break;
  54903. case 1:
  54904. // return
  54905. return A._asyncReturn($async$returnValue, $async$completer);
  54906. }
  54907. });
  54908. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  54909. },
  54910. visitSilentComment$1(node) {
  54911. return this.visitSilentComment$body$_EvaluateVisitor(node);
  54912. },
  54913. visitSilentComment$body$_EvaluateVisitor(node) {
  54914. var $async$goto = 0,
  54915. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54916. $async$returnValue;
  54917. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54918. if ($async$errorCode === 1)
  54919. return A._asyncRethrow($async$result, $async$completer);
  54920. while (true)
  54921. switch ($async$goto) {
  54922. case 0:
  54923. // Function start
  54924. $async$returnValue = null;
  54925. // goto return
  54926. $async$goto = 1;
  54927. break;
  54928. case 1:
  54929. // return
  54930. return A._asyncReturn($async$returnValue, $async$completer);
  54931. }
  54932. });
  54933. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  54934. },
  54935. visitStyleRule$1(node) {
  54936. return this.visitStyleRule$body$_EvaluateVisitor(node);
  54937. },
  54938. visitStyleRule$body$_EvaluateVisitor(node) {
  54939. var $async$goto = 0,
  54940. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  54941. $async$returnValue, $async$self = this, t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _box_0;
  54942. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  54943. if ($async$errorCode === 1)
  54944. return A._asyncRethrow($async$result, $async$completer);
  54945. while (true)
  54946. switch ($async$goto) {
  54947. case 0:
  54948. // Function start
  54949. _box_0 = {};
  54950. if ($async$self._async_evaluate$_declarationName != null)
  54951. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  54952. t1 = node.selector;
  54953. $async$goto = 3;
  54954. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$3$trim$warnForColor(t1, true, true), $async$visitStyleRule$1);
  54955. case 3:
  54956. // returning from await.
  54957. selectorText = $async$result;
  54958. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  54959. break;
  54960. case 4:
  54961. // then
  54962. $async$goto = 6;
  54963. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable($async$self._async_evaluate$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure7($async$self, selectorText)), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure8($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure9(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  54964. case 6:
  54965. // returning from await.
  54966. $async$returnValue = null;
  54967. // goto return
  54968. $async$goto = 1;
  54969. break;
  54970. case 5:
  54971. // join
  54972. _box_0.parsedSelector = $async$self._async_evaluate$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure10($async$self, selectorText));
  54973. _box_0.parsedSelector = $async$self._async_evaluate$_addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure11(_box_0, $async$self));
  54974. t1 = t1.span;
  54975. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, $async$self._async_evaluate$_mediaQueries), node.span, _box_0.parsedSelector);
  54976. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  54977. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  54978. $async$goto = 7;
  54979. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure12($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure13(), type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  54980. case 7:
  54981. // returning from await.
  54982. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  54983. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  54984. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  54985. complex = t2[_i];
  54986. if (!complex.accept$1(B._IsBogusVisitor_true))
  54987. continue;
  54988. if (complex.accept$1(B.C__IsUselessVisitor)) {
  54989. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  54990. complex.accept$1(visitor);
  54991. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  54992. } else if (complex.leadingCombinators.length !== 0) {
  54993. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  54994. complex.accept$1(visitor);
  54995. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  54996. } else {
  54997. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  54998. complex.accept$1(visitor);
  54999. t7 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  55000. t8 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  55001. if (t6.get$length(t6) === 0)
  55002. A.throwExpression(A.IterableElementError_noElement());
  55003. t9 = J.get$span$z(t6.$index(0, 0));
  55004. $async$self._async_evaluate$_warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure14()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  55005. }
  55006. }
  55007. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  55008. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  55009. t1 = !t1.get$isEmpty(t1);
  55010. } else
  55011. t1 = false;
  55012. if (t1) {
  55013. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  55014. t1.get$last(t1).isGroupEnd = true;
  55015. }
  55016. $async$returnValue = null;
  55017. // goto return
  55018. $async$goto = 1;
  55019. break;
  55020. case 1:
  55021. // return
  55022. return A._asyncReturn($async$returnValue, $async$completer);
  55023. }
  55024. });
  55025. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  55026. },
  55027. visitSupportsRule$1(node) {
  55028. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  55029. },
  55030. visitSupportsRule$body$_EvaluateVisitor(node) {
  55031. var $async$goto = 0,
  55032. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55033. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  55034. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55035. if ($async$errorCode === 1)
  55036. return A._asyncRethrow($async$result, $async$completer);
  55037. while (true)
  55038. switch ($async$goto) {
  55039. case 0:
  55040. // Function start
  55041. if ($async$self._async_evaluate$_declarationName != null)
  55042. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  55043. t1 = node.condition;
  55044. $async$temp1 = A;
  55045. $async$temp2 = A;
  55046. $async$goto = 4;
  55047. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  55048. case 4:
  55049. // returning from await.
  55050. $async$goto = 3;
  55051. 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);
  55052. case 3:
  55053. // returning from await.
  55054. $async$returnValue = null;
  55055. // goto return
  55056. $async$goto = 1;
  55057. break;
  55058. case 1:
  55059. // return
  55060. return A._asyncReturn($async$returnValue, $async$completer);
  55061. }
  55062. });
  55063. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  55064. },
  55065. _async_evaluate$_visitSupportsCondition$1(condition) {
  55066. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  55067. },
  55068. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  55069. var $async$goto = 0,
  55070. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  55071. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  55072. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55073. if ($async$errorCode === 1)
  55074. return A._asyncRethrow($async$result, $async$completer);
  55075. while (true)
  55076. switch ($async$goto) {
  55077. case 0:
  55078. // Function start
  55079. $async$goto = condition instanceof A.SupportsOperation ? 3 : 5;
  55080. break;
  55081. case 3:
  55082. // then
  55083. t1 = condition.operator;
  55084. $async$temp1 = A;
  55085. $async$goto = 6;
  55086. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  55087. case 6:
  55088. // returning from await.
  55089. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  55090. $async$temp2 = A;
  55091. $async$goto = 7;
  55092. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  55093. case 7:
  55094. // returning from await.
  55095. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  55096. // goto return
  55097. $async$goto = 1;
  55098. break;
  55099. // goto join
  55100. $async$goto = 4;
  55101. break;
  55102. case 5:
  55103. // else
  55104. $async$goto = condition instanceof A.SupportsNegation ? 8 : 10;
  55105. break;
  55106. case 8:
  55107. // then
  55108. $async$temp1 = A;
  55109. $async$goto = 11;
  55110. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  55111. case 11:
  55112. // returning from await.
  55113. $async$returnValue = "not " + $async$temp1.S($async$result);
  55114. // goto return
  55115. $async$goto = 1;
  55116. break;
  55117. // goto join
  55118. $async$goto = 9;
  55119. break;
  55120. case 10:
  55121. // else
  55122. $async$goto = condition instanceof A.SupportsInterpolation ? 12 : 14;
  55123. break;
  55124. case 12:
  55125. // then
  55126. $async$goto = 15;
  55127. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  55128. case 15:
  55129. // returning from await.
  55130. $async$returnValue = $async$result;
  55131. // goto return
  55132. $async$goto = 1;
  55133. break;
  55134. // goto join
  55135. $async$goto = 13;
  55136. break;
  55137. case 14:
  55138. // else
  55139. $async$goto = condition instanceof A.SupportsDeclaration ? 16 : 18;
  55140. break;
  55141. case 16:
  55142. // then
  55143. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  55144. $async$self._async_evaluate$_inSupportsDeclaration = true;
  55145. $async$temp1 = A;
  55146. $async$goto = 19;
  55147. return A._asyncAwait($async$self._evaluateToCss$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  55148. case 19:
  55149. // returning from await.
  55150. t1 = $async$temp1.S($async$result);
  55151. t2 = condition.get$isCustomProperty() ? "" : " ";
  55152. $async$temp1 = A;
  55153. $async$goto = 20;
  55154. return A._asyncAwait($async$self._evaluateToCss$1(condition.value), $async$_async_evaluate$_visitSupportsCondition$1);
  55155. case 20:
  55156. // returning from await.
  55157. t3 = $async$temp1.S($async$result);
  55158. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  55159. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  55160. // goto return
  55161. $async$goto = 1;
  55162. break;
  55163. // goto join
  55164. $async$goto = 17;
  55165. break;
  55166. case 18:
  55167. // else
  55168. $async$goto = condition instanceof A.SupportsFunction ? 21 : 23;
  55169. break;
  55170. case 21:
  55171. // then
  55172. $async$temp1 = A;
  55173. $async$goto = 24;
  55174. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  55175. case 24:
  55176. // returning from await.
  55177. $async$temp1 = $async$temp1.S($async$result) + "(";
  55178. $async$temp2 = A;
  55179. $async$goto = 25;
  55180. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  55181. case 25:
  55182. // returning from await.
  55183. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  55184. // goto return
  55185. $async$goto = 1;
  55186. break;
  55187. // goto join
  55188. $async$goto = 22;
  55189. break;
  55190. case 23:
  55191. // else
  55192. $async$goto = condition instanceof A.SupportsAnything ? 26 : 28;
  55193. break;
  55194. case 26:
  55195. // then
  55196. $async$temp1 = A;
  55197. $async$goto = 29;
  55198. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  55199. case 29:
  55200. // returning from await.
  55201. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  55202. // goto return
  55203. $async$goto = 1;
  55204. break;
  55205. // goto join
  55206. $async$goto = 27;
  55207. break;
  55208. case 28:
  55209. // else
  55210. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  55211. case 27:
  55212. // join
  55213. case 22:
  55214. // join
  55215. case 17:
  55216. // join
  55217. case 13:
  55218. // join
  55219. case 9:
  55220. // join
  55221. case 4:
  55222. // join
  55223. case 1:
  55224. // return
  55225. return A._asyncReturn($async$returnValue, $async$completer);
  55226. }
  55227. });
  55228. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  55229. },
  55230. _async_evaluate$_parenthesize$2(condition, operator) {
  55231. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  55232. },
  55233. _async_evaluate$_parenthesize$1(condition) {
  55234. return this._async_evaluate$_parenthesize$2(condition, null);
  55235. },
  55236. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  55237. var $async$goto = 0,
  55238. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  55239. $async$returnValue, $async$self = this, t1, $async$temp1;
  55240. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55241. if ($async$errorCode === 1)
  55242. return A._asyncRethrow($async$result, $async$completer);
  55243. while (true)
  55244. switch ($async$goto) {
  55245. case 0:
  55246. // Function start
  55247. if (!(condition instanceof A.SupportsNegation))
  55248. if (condition instanceof A.SupportsOperation)
  55249. t1 = operator == null || operator !== condition.operator;
  55250. else
  55251. t1 = false;
  55252. else
  55253. t1 = true;
  55254. $async$goto = t1 ? 3 : 5;
  55255. break;
  55256. case 3:
  55257. // then
  55258. $async$temp1 = A;
  55259. $async$goto = 6;
  55260. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  55261. case 6:
  55262. // returning from await.
  55263. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  55264. // goto return
  55265. $async$goto = 1;
  55266. break;
  55267. // goto join
  55268. $async$goto = 4;
  55269. break;
  55270. case 5:
  55271. // else
  55272. $async$goto = 7;
  55273. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  55274. case 7:
  55275. // returning from await.
  55276. $async$returnValue = $async$result;
  55277. // goto return
  55278. $async$goto = 1;
  55279. break;
  55280. case 4:
  55281. // join
  55282. case 1:
  55283. // return
  55284. return A._asyncReturn($async$returnValue, $async$completer);
  55285. }
  55286. });
  55287. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  55288. },
  55289. visitVariableDeclaration$1(node) {
  55290. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  55291. },
  55292. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  55293. var $async$goto = 0,
  55294. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55295. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  55296. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55297. if ($async$errorCode === 1)
  55298. return A._asyncRethrow($async$result, $async$completer);
  55299. while (true)
  55300. switch ($async$goto) {
  55301. case 0:
  55302. // Function start
  55303. if (node.isGuarded) {
  55304. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  55305. t1 = $async$self._async_evaluate$_configuration._values;
  55306. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  55307. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  55308. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2($async$self, node, t1));
  55309. $async$returnValue = null;
  55310. // goto return
  55311. $async$goto = 1;
  55312. break;
  55313. }
  55314. }
  55315. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  55316. if (value != null && !value.$eq(0, B.C__SassNull)) {
  55317. $async$returnValue = null;
  55318. // goto return
  55319. $async$goto = 1;
  55320. break;
  55321. }
  55322. }
  55323. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  55324. 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.";
  55325. $async$self._async_evaluate$_warn$3$deprecation(t1, node.span, true);
  55326. }
  55327. t1 = node.expression;
  55328. $async$temp1 = node;
  55329. $async$temp2 = A;
  55330. $async$temp3 = node;
  55331. $async$goto = 3;
  55332. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  55333. case 3:
  55334. // returning from await.
  55335. $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)));
  55336. $async$returnValue = null;
  55337. // goto return
  55338. $async$goto = 1;
  55339. break;
  55340. case 1:
  55341. // return
  55342. return A._asyncReturn($async$returnValue, $async$completer);
  55343. }
  55344. });
  55345. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  55346. },
  55347. visitUseRule$1(node) {
  55348. return this.visitUseRule$body$_EvaluateVisitor(node);
  55349. },
  55350. visitUseRule$body$_EvaluateVisitor(node) {
  55351. var $async$goto = 0,
  55352. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55353. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  55354. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55355. if ($async$errorCode === 1)
  55356. return A._asyncRethrow($async$result, $async$completer);
  55357. while (true)
  55358. switch ($async$goto) {
  55359. case 0:
  55360. // Function start
  55361. t1 = node.configuration;
  55362. t2 = t1.length;
  55363. $async$goto = t2 !== 0 ? 3 : 5;
  55364. break;
  55365. case 3:
  55366. // then
  55367. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  55368. _i = 0;
  55369. case 6:
  55370. // for condition
  55371. if (!(_i < t2)) {
  55372. // goto after for
  55373. $async$goto = 8;
  55374. break;
  55375. }
  55376. variable = t1[_i];
  55377. t3 = variable.expression;
  55378. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t3);
  55379. $async$temp1 = values;
  55380. $async$temp2 = variable.name;
  55381. $async$temp3 = A;
  55382. $async$goto = 9;
  55383. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  55384. case 9:
  55385. // returning from await.
  55386. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  55387. case 7:
  55388. // for update
  55389. ++_i;
  55390. // goto for condition
  55391. $async$goto = 6;
  55392. break;
  55393. case 8:
  55394. // after for
  55395. configuration = new A.ExplicitConfiguration(node, values, null);
  55396. // goto join
  55397. $async$goto = 4;
  55398. break;
  55399. case 5:
  55400. // else
  55401. configuration = B.Configuration_Map_empty_null;
  55402. case 4:
  55403. // join
  55404. $async$goto = 10;
  55405. 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);
  55406. case 10:
  55407. // returning from await.
  55408. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  55409. $async$returnValue = null;
  55410. // goto return
  55411. $async$goto = 1;
  55412. break;
  55413. case 1:
  55414. // return
  55415. return A._asyncReturn($async$returnValue, $async$completer);
  55416. }
  55417. });
  55418. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  55419. },
  55420. visitWarnRule$1(node) {
  55421. return this.visitWarnRule$body$_EvaluateVisitor(node);
  55422. },
  55423. visitWarnRule$body$_EvaluateVisitor(node) {
  55424. var $async$goto = 0,
  55425. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  55426. $async$returnValue, $async$self = this, value, t1;
  55427. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55428. if ($async$errorCode === 1)
  55429. return A._asyncRethrow($async$result, $async$completer);
  55430. while (true)
  55431. switch ($async$goto) {
  55432. case 0:
  55433. // Function start
  55434. $async$goto = 3;
  55435. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  55436. case 3:
  55437. // returning from await.
  55438. value = $async$result;
  55439. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  55440. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  55441. $async$returnValue = null;
  55442. // goto return
  55443. $async$goto = 1;
  55444. break;
  55445. case 1:
  55446. // return
  55447. return A._asyncReturn($async$returnValue, $async$completer);
  55448. }
  55449. });
  55450. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  55451. },
  55452. visitWhileRule$1(node) {
  55453. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  55454. },
  55455. visitBinaryOperationExpression$1(node) {
  55456. return this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(this, node), type$.Value);
  55457. },
  55458. visitValueExpression$1(node) {
  55459. return this.visitValueExpression$body$_EvaluateVisitor(node);
  55460. },
  55461. visitValueExpression$body$_EvaluateVisitor(node) {
  55462. var $async$goto = 0,
  55463. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55464. $async$returnValue;
  55465. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55466. if ($async$errorCode === 1)
  55467. return A._asyncRethrow($async$result, $async$completer);
  55468. while (true)
  55469. switch ($async$goto) {
  55470. case 0:
  55471. // Function start
  55472. $async$returnValue = node.value;
  55473. // goto return
  55474. $async$goto = 1;
  55475. break;
  55476. case 1:
  55477. // return
  55478. return A._asyncReturn($async$returnValue, $async$completer);
  55479. }
  55480. });
  55481. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  55482. },
  55483. visitVariableExpression$1(node) {
  55484. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  55485. },
  55486. visitVariableExpression$body$_EvaluateVisitor(node) {
  55487. var $async$goto = 0,
  55488. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55489. $async$returnValue, $async$self = this, result;
  55490. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55491. if ($async$errorCode === 1)
  55492. return A._asyncRethrow($async$result, $async$completer);
  55493. while (true)
  55494. switch ($async$goto) {
  55495. case 0:
  55496. // Function start
  55497. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  55498. if (result != null) {
  55499. $async$returnValue = result;
  55500. // goto return
  55501. $async$goto = 1;
  55502. break;
  55503. }
  55504. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  55505. case 1:
  55506. // return
  55507. return A._asyncReturn($async$returnValue, $async$completer);
  55508. }
  55509. });
  55510. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  55511. },
  55512. visitUnaryOperationExpression$1(node) {
  55513. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  55514. },
  55515. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  55516. var $async$goto = 0,
  55517. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55518. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  55519. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55520. if ($async$errorCode === 1)
  55521. return A._asyncRethrow($async$result, $async$completer);
  55522. while (true)
  55523. switch ($async$goto) {
  55524. case 0:
  55525. // Function start
  55526. $async$temp1 = node;
  55527. $async$temp2 = A;
  55528. $async$temp3 = node;
  55529. $async$goto = 3;
  55530. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  55531. case 3:
  55532. // returning from await.
  55533. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  55534. // goto return
  55535. $async$goto = 1;
  55536. break;
  55537. case 1:
  55538. // return
  55539. return A._asyncReturn($async$returnValue, $async$completer);
  55540. }
  55541. });
  55542. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  55543. },
  55544. visitBooleanExpression$1(node) {
  55545. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  55546. },
  55547. visitBooleanExpression$body$_EvaluateVisitor(node) {
  55548. var $async$goto = 0,
  55549. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  55550. $async$returnValue;
  55551. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55552. if ($async$errorCode === 1)
  55553. return A._asyncRethrow($async$result, $async$completer);
  55554. while (true)
  55555. switch ($async$goto) {
  55556. case 0:
  55557. // Function start
  55558. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  55559. // goto return
  55560. $async$goto = 1;
  55561. break;
  55562. case 1:
  55563. // return
  55564. return A._asyncReturn($async$returnValue, $async$completer);
  55565. }
  55566. });
  55567. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  55568. },
  55569. visitIfExpression$1(node) {
  55570. return this.visitIfExpression$body$_EvaluateVisitor(node);
  55571. },
  55572. visitIfExpression$body$_EvaluateVisitor(node) {
  55573. var $async$goto = 0,
  55574. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55575. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  55576. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55577. if ($async$errorCode === 1)
  55578. return A._asyncRethrow($async$result, $async$completer);
  55579. while (true)
  55580. switch ($async$goto) {
  55581. case 0:
  55582. // Function start
  55583. $async$goto = 3;
  55584. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  55585. case 3:
  55586. // returning from await.
  55587. pair = $async$result;
  55588. positional = pair.item1;
  55589. named = pair.item2;
  55590. t1 = J.getInterceptor$asx(positional);
  55591. $async$self._async_evaluate$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  55592. if (t1.get$length(positional) > 0)
  55593. condition = t1.$index(positional, 0);
  55594. else {
  55595. t2 = named.$index(0, "condition");
  55596. t2.toString;
  55597. condition = t2;
  55598. }
  55599. if (t1.get$length(positional) > 1)
  55600. ifTrue = t1.$index(positional, 1);
  55601. else {
  55602. t2 = named.$index(0, "if-true");
  55603. t2.toString;
  55604. ifTrue = t2;
  55605. }
  55606. if (t1.get$length(positional) > 2)
  55607. ifFalse = t1.$index(positional, 2);
  55608. else {
  55609. t1 = named.$index(0, "if-false");
  55610. t1.toString;
  55611. ifFalse = t1;
  55612. }
  55613. $async$goto = 4;
  55614. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  55615. case 4:
  55616. // returning from await.
  55617. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  55618. $async$goto = 5;
  55619. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  55620. case 5:
  55621. // returning from await.
  55622. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  55623. // goto return
  55624. $async$goto = 1;
  55625. break;
  55626. case 1:
  55627. // return
  55628. return A._asyncReturn($async$returnValue, $async$completer);
  55629. }
  55630. });
  55631. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  55632. },
  55633. visitNullExpression$1(node) {
  55634. return this.visitNullExpression$body$_EvaluateVisitor(node);
  55635. },
  55636. visitNullExpression$body$_EvaluateVisitor(node) {
  55637. var $async$goto = 0,
  55638. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55639. $async$returnValue;
  55640. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55641. if ($async$errorCode === 1)
  55642. return A._asyncRethrow($async$result, $async$completer);
  55643. while (true)
  55644. switch ($async$goto) {
  55645. case 0:
  55646. // Function start
  55647. $async$returnValue = B.C__SassNull;
  55648. // goto return
  55649. $async$goto = 1;
  55650. break;
  55651. case 1:
  55652. // return
  55653. return A._asyncReturn($async$returnValue, $async$completer);
  55654. }
  55655. });
  55656. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  55657. },
  55658. visitNumberExpression$1(node) {
  55659. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  55660. },
  55661. visitNumberExpression$body$_EvaluateVisitor(node) {
  55662. var $async$goto = 0,
  55663. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  55664. $async$returnValue;
  55665. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55666. if ($async$errorCode === 1)
  55667. return A._asyncRethrow($async$result, $async$completer);
  55668. while (true)
  55669. switch ($async$goto) {
  55670. case 0:
  55671. // Function start
  55672. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  55673. // goto return
  55674. $async$goto = 1;
  55675. break;
  55676. case 1:
  55677. // return
  55678. return A._asyncReturn($async$returnValue, $async$completer);
  55679. }
  55680. });
  55681. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  55682. },
  55683. visitParenthesizedExpression$1(node) {
  55684. return node.expression.accept$1(this);
  55685. },
  55686. visitCalculationExpression$1(node) {
  55687. return this.visitCalculationExpression$body$_EvaluateVisitor(node);
  55688. },
  55689. visitCalculationExpression$body$_EvaluateVisitor(node) {
  55690. var $async$goto = 0,
  55691. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  55692. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  55693. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55694. if ($async$errorCode === 1)
  55695. return A._asyncRethrow($async$result, $async$completer);
  55696. while (true)
  55697. $async$outer:
  55698. switch ($async$goto) {
  55699. case 0:
  55700. // Function start
  55701. t1 = A._setArrayType([], type$.JSArray_Object);
  55702. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  55703. case 3:
  55704. // for condition
  55705. if (!(_i < t3)) {
  55706. // goto after for
  55707. $async$goto = 5;
  55708. break;
  55709. }
  55710. argument = t2[_i];
  55711. $async$temp1 = t1;
  55712. $async$goto = 6;
  55713. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  55714. case 6:
  55715. // returning from await.
  55716. $async$temp1.push($async$result);
  55717. case 4:
  55718. // for update
  55719. ++_i;
  55720. // goto for condition
  55721. $async$goto = 3;
  55722. break;
  55723. case 5:
  55724. // after for
  55725. $arguments = t1;
  55726. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  55727. $async$returnValue = new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  55728. // goto return
  55729. $async$goto = 1;
  55730. break;
  55731. }
  55732. try {
  55733. switch (t4) {
  55734. case "calc":
  55735. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  55736. $async$returnValue = t1;
  55737. // goto return
  55738. $async$goto = 1;
  55739. break $async$outer;
  55740. case "min":
  55741. t1 = A.SassCalculation_min($arguments);
  55742. $async$returnValue = t1;
  55743. // goto return
  55744. $async$goto = 1;
  55745. break $async$outer;
  55746. case "max":
  55747. t1 = A.SassCalculation_max($arguments);
  55748. $async$returnValue = t1;
  55749. // goto return
  55750. $async$goto = 1;
  55751. break $async$outer;
  55752. case "clamp":
  55753. t1 = J.$index$asx($arguments, 0);
  55754. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  55755. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  55756. $async$returnValue = t1;
  55757. // goto return
  55758. $async$goto = 1;
  55759. break $async$outer;
  55760. default:
  55761. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  55762. throw A.wrapException(t1);
  55763. }
  55764. } catch (exception) {
  55765. t1 = A.unwrapException(exception);
  55766. if (t1 instanceof A.SassScriptException) {
  55767. error = t1;
  55768. stackTrace = A.getTraceFromException(exception);
  55769. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  55770. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), stackTrace);
  55771. } else
  55772. throw exception;
  55773. }
  55774. case 1:
  55775. // return
  55776. return A._asyncReturn($async$returnValue, $async$completer);
  55777. }
  55778. });
  55779. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  55780. },
  55781. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  55782. var i, t1, arg, number1, j, number2;
  55783. for (i = 0; t1 = args.length, i < t1; ++i) {
  55784. arg = args[i];
  55785. if (!(arg instanceof A.SassNumber))
  55786. continue;
  55787. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  55788. 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])));
  55789. }
  55790. for (i = 0; i < t1 - 1; ++i) {
  55791. number1 = args[i];
  55792. if (!(number1 instanceof A.SassNumber))
  55793. continue;
  55794. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  55795. number2 = args[j];
  55796. if (!(number2 instanceof A.SassNumber))
  55797. continue;
  55798. if (number1.hasPossiblyCompatibleUnits$1(number2))
  55799. continue;
  55800. 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]))));
  55801. }
  55802. }
  55803. },
  55804. _async_evaluate$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  55805. return this._visitCalculationValue$body$_EvaluateVisitor(node, inMinMax);
  55806. },
  55807. _visitCalculationValue$body$_EvaluateVisitor(node, inMinMax) {
  55808. var $async$goto = 0,
  55809. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  55810. $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
  55811. var $async$_async_evaluate$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55812. if ($async$errorCode === 1)
  55813. return A._asyncRethrow($async$result, $async$completer);
  55814. while (true)
  55815. switch ($async$goto) {
  55816. case 0:
  55817. // Function start
  55818. $async$goto = node instanceof A.ParenthesizedExpression ? 3 : 5;
  55819. break;
  55820. case 3:
  55821. // then
  55822. inner = node.expression;
  55823. $async$goto = 6;
  55824. return A._asyncAwait($async$self._async_evaluate$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55825. case 6:
  55826. // returning from await.
  55827. result = $async$result;
  55828. if (inner instanceof A.FunctionExpression)
  55829. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  55830. else
  55831. t1 = false;
  55832. $async$returnValue = t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  55833. // goto return
  55834. $async$goto = 1;
  55835. break;
  55836. // goto join
  55837. $async$goto = 4;
  55838. break;
  55839. case 5:
  55840. // else
  55841. $async$goto = node instanceof A.StringExpression ? 7 : 9;
  55842. break;
  55843. case 7:
  55844. // then
  55845. $async$temp1 = A;
  55846. $async$goto = 10;
  55847. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.text), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55848. case 10:
  55849. // returning from await.
  55850. $async$returnValue = new $async$temp1.CalculationInterpolation($async$result);
  55851. // goto return
  55852. $async$goto = 1;
  55853. break;
  55854. // goto join
  55855. $async$goto = 8;
  55856. break;
  55857. case 9:
  55858. // else
  55859. $async$goto = node instanceof A.BinaryOperationExpression ? 11 : 13;
  55860. break;
  55861. case 11:
  55862. // then
  55863. $async$goto = 14;
  55864. 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);
  55865. case 14:
  55866. // returning from await.
  55867. $async$returnValue = $async$result;
  55868. // goto return
  55869. $async$goto = 1;
  55870. break;
  55871. // goto join
  55872. $async$goto = 12;
  55873. break;
  55874. case 13:
  55875. // else
  55876. $async$goto = 15;
  55877. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationValue$2$inMinMax);
  55878. case 15:
  55879. // returning from await.
  55880. result = $async$result;
  55881. if (result instanceof A.SassNumber || result instanceof A.SassCalculation) {
  55882. $async$returnValue = result;
  55883. // goto return
  55884. $async$goto = 1;
  55885. break;
  55886. }
  55887. if (result instanceof A.SassString && !result._hasQuotes) {
  55888. $async$returnValue = result;
  55889. // goto return
  55890. $async$goto = 1;
  55891. break;
  55892. }
  55893. 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)));
  55894. case 12:
  55895. // join
  55896. case 8:
  55897. // join
  55898. case 4:
  55899. // join
  55900. case 1:
  55901. // return
  55902. return A._asyncReturn($async$returnValue, $async$completer);
  55903. }
  55904. });
  55905. return A._asyncStartSync($async$_async_evaluate$_visitCalculationValue$2$inMinMax, $async$completer);
  55906. },
  55907. _async_evaluate$_binaryOperatorToCalculationOperator$1(operator) {
  55908. switch (operator) {
  55909. case B.BinaryOperator_qbf:
  55910. return B.CalculationOperator_IyK;
  55911. case B.BinaryOperator_KlB:
  55912. return B.CalculationOperator_2bx;
  55913. case B.BinaryOperator_6pl:
  55914. return B.CalculationOperator_jFr;
  55915. case B.BinaryOperator_qpm:
  55916. return B.CalculationOperator_OvN;
  55917. default:
  55918. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  55919. }
  55920. },
  55921. visitColorExpression$1(node) {
  55922. return this.visitColorExpression$body$_EvaluateVisitor(node);
  55923. },
  55924. visitColorExpression$body$_EvaluateVisitor(node) {
  55925. var $async$goto = 0,
  55926. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  55927. $async$returnValue;
  55928. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55929. if ($async$errorCode === 1)
  55930. return A._asyncRethrow($async$result, $async$completer);
  55931. while (true)
  55932. switch ($async$goto) {
  55933. case 0:
  55934. // Function start
  55935. $async$returnValue = node.value;
  55936. // goto return
  55937. $async$goto = 1;
  55938. break;
  55939. case 1:
  55940. // return
  55941. return A._asyncReturn($async$returnValue, $async$completer);
  55942. }
  55943. });
  55944. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  55945. },
  55946. visitListExpression$1(node) {
  55947. return this.visitListExpression$body$_EvaluateVisitor(node);
  55948. },
  55949. visitListExpression$body$_EvaluateVisitor(node) {
  55950. var $async$goto = 0,
  55951. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  55952. $async$returnValue, $async$self = this, $async$temp1;
  55953. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55954. if ($async$errorCode === 1)
  55955. return A._asyncRethrow($async$result, $async$completer);
  55956. while (true)
  55957. switch ($async$goto) {
  55958. case 0:
  55959. // Function start
  55960. $async$temp1 = A;
  55961. $async$goto = 3;
  55962. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  55963. case 3:
  55964. // returning from await.
  55965. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  55966. // goto return
  55967. $async$goto = 1;
  55968. break;
  55969. case 1:
  55970. // return
  55971. return A._asyncReturn($async$returnValue, $async$completer);
  55972. }
  55973. });
  55974. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  55975. },
  55976. visitMapExpression$1(node) {
  55977. return this.visitMapExpression$body$_EvaluateVisitor(node);
  55978. },
  55979. visitMapExpression$body$_EvaluateVisitor(node) {
  55980. var $async$goto = 0,
  55981. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  55982. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  55983. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  55984. if ($async$errorCode === 1)
  55985. return A._asyncRethrow($async$result, $async$completer);
  55986. while (true)
  55987. switch ($async$goto) {
  55988. case 0:
  55989. // Function start
  55990. t1 = type$.Value;
  55991. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55992. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  55993. t2 = node.pairs, t3 = t2.length, _i = 0;
  55994. case 3:
  55995. // for condition
  55996. if (!(_i < t3)) {
  55997. // goto after for
  55998. $async$goto = 5;
  55999. break;
  56000. }
  56001. pair = t2[_i];
  56002. t4 = pair.item1;
  56003. $async$goto = 6;
  56004. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  56005. case 6:
  56006. // returning from await.
  56007. keyValue = $async$result;
  56008. $async$goto = 7;
  56009. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  56010. case 7:
  56011. // returning from await.
  56012. valueValue = $async$result;
  56013. if (map.$index(0, keyValue) != null) {
  56014. t1 = keyNodes.$index(0, keyValue);
  56015. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  56016. t1 = J.getInterceptor$z(t4);
  56017. t2 = t1.get$span(t4);
  56018. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  56019. if (oldValueSpan != null)
  56020. t3.$indexSet(0, oldValueSpan, "first key");
  56021. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate$_stackTrace$1(t1.get$span(t4))));
  56022. }
  56023. map.$indexSet(0, keyValue, valueValue);
  56024. keyNodes.$indexSet(0, keyValue, t4);
  56025. case 4:
  56026. // for update
  56027. ++_i;
  56028. // goto for condition
  56029. $async$goto = 3;
  56030. break;
  56031. case 5:
  56032. // after for
  56033. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  56034. // goto return
  56035. $async$goto = 1;
  56036. break;
  56037. case 1:
  56038. // return
  56039. return A._asyncReturn($async$returnValue, $async$completer);
  56040. }
  56041. });
  56042. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  56043. },
  56044. visitFunctionExpression$1(node) {
  56045. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  56046. },
  56047. visitFunctionExpression$body$_EvaluateVisitor(node) {
  56048. var $async$goto = 0,
  56049. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56050. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  56051. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56052. if ($async$errorCode === 1)
  56053. return A._asyncRethrow($async$result, $async$completer);
  56054. while (true)
  56055. switch ($async$goto) {
  56056. case 0:
  56057. // Function start
  56058. t1 = {};
  56059. $function = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1($async$self, node));
  56060. t1.$function = $function;
  56061. if ($function == null) {
  56062. if (node.namespace != null)
  56063. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  56064. t1.$function = new A.PlainCssCallable(node.originalName);
  56065. }
  56066. oldInFunction = $async$self._async_evaluate$_inFunction;
  56067. $async$self._async_evaluate$_inFunction = true;
  56068. $async$goto = 3;
  56069. 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);
  56070. case 3:
  56071. // returning from await.
  56072. result = $async$result;
  56073. $async$self._async_evaluate$_inFunction = oldInFunction;
  56074. $async$returnValue = result;
  56075. // goto return
  56076. $async$goto = 1;
  56077. break;
  56078. case 1:
  56079. // return
  56080. return A._asyncReturn($async$returnValue, $async$completer);
  56081. }
  56082. });
  56083. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  56084. },
  56085. visitInterpolatedFunctionExpression$1(node) {
  56086. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  56087. },
  56088. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  56089. var $async$goto = 0,
  56090. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56091. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  56092. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56093. if ($async$errorCode === 1)
  56094. return A._asyncRethrow($async$result, $async$completer);
  56095. while (true)
  56096. switch ($async$goto) {
  56097. case 0:
  56098. // Function start
  56099. $async$goto = 3;
  56100. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  56101. case 3:
  56102. // returning from await.
  56103. t1 = $async$result;
  56104. oldInFunction = $async$self._async_evaluate$_inFunction;
  56105. $async$self._async_evaluate$_inFunction = true;
  56106. $async$goto = 4;
  56107. 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);
  56108. case 4:
  56109. // returning from await.
  56110. result = $async$result;
  56111. $async$self._async_evaluate$_inFunction = oldInFunction;
  56112. $async$returnValue = result;
  56113. // goto return
  56114. $async$goto = 1;
  56115. break;
  56116. case 1:
  56117. // return
  56118. return A._asyncReturn($async$returnValue, $async$completer);
  56119. }
  56120. });
  56121. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  56122. },
  56123. _async_evaluate$_getFunction$2$namespace($name, namespace) {
  56124. var local = this._async_evaluate$_environment.getFunction$2$namespace($name, namespace);
  56125. if (local != null || namespace != null)
  56126. return local;
  56127. return this._async_evaluate$_builtInFunctions.$index(0, $name);
  56128. },
  56129. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  56130. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  56131. },
  56132. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  56133. var $async$goto = 0,
  56134. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  56135. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  56136. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56137. if ($async$errorCode === 1)
  56138. return A._asyncRethrow($async$result, $async$completer);
  56139. while (true)
  56140. switch ($async$goto) {
  56141. case 0:
  56142. // Function start
  56143. $async$goto = 3;
  56144. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  56145. case 3:
  56146. // returning from await.
  56147. evaluated = $async$result;
  56148. $name = callable.declaration.name;
  56149. if ($name !== "@content")
  56150. $name += "()";
  56151. oldCallable = $async$self._async_evaluate$_currentCallable;
  56152. $async$self._async_evaluate$_currentCallable = callable;
  56153. $async$goto = 4;
  56154. 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);
  56155. case 4:
  56156. // returning from await.
  56157. result = $async$result;
  56158. $async$self._async_evaluate$_currentCallable = oldCallable;
  56159. $async$returnValue = result;
  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$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  56169. },
  56170. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  56171. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  56172. },
  56173. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  56174. var $async$goto = 0,
  56175. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56176. $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
  56177. var $async$_async_evaluate$_runFunctionCallable$3 = 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. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  56185. break;
  56186. case 3:
  56187. // then
  56188. $async$goto = 6;
  56189. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  56190. case 6:
  56191. // returning from await.
  56192. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  56193. // goto return
  56194. $async$goto = 1;
  56195. break;
  56196. // goto join
  56197. $async$goto = 4;
  56198. break;
  56199. case 5:
  56200. // else
  56201. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  56202. break;
  56203. case 7:
  56204. // then
  56205. $async$goto = 10;
  56206. 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);
  56207. case 10:
  56208. // returning from await.
  56209. $async$returnValue = $async$result;
  56210. // goto return
  56211. $async$goto = 1;
  56212. break;
  56213. // goto join
  56214. $async$goto = 8;
  56215. break;
  56216. case 9:
  56217. // else
  56218. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  56219. break;
  56220. case 11:
  56221. // then
  56222. t1 = $arguments.named;
  56223. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  56224. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  56225. t1 = callable.name + "(";
  56226. t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
  56227. case 14:
  56228. // for condition
  56229. if (!(_i < t3)) {
  56230. // goto after for
  56231. $async$goto = 16;
  56232. break;
  56233. }
  56234. argument = t2[_i];
  56235. if (first)
  56236. first = false;
  56237. else
  56238. t1 += ", ";
  56239. $async$temp1 = A;
  56240. $async$goto = 17;
  56241. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  56242. case 17:
  56243. // returning from await.
  56244. t1 += $async$temp1.S($async$result);
  56245. case 15:
  56246. // for update
  56247. ++_i;
  56248. // goto for condition
  56249. $async$goto = 14;
  56250. break;
  56251. case 16:
  56252. // after for
  56253. restArg = $arguments.rest;
  56254. $async$goto = restArg != null ? 18 : 19;
  56255. break;
  56256. case 18:
  56257. // then
  56258. $async$goto = 20;
  56259. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  56260. case 20:
  56261. // returning from await.
  56262. rest = $async$result;
  56263. if (!first)
  56264. t1 += ", ";
  56265. t1 += $async$self._async_evaluate$_serialize$2(rest, restArg);
  56266. case 19:
  56267. // join
  56268. t1 += A.Primitives_stringFromCharCode(41);
  56269. $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  56270. // goto return
  56271. $async$goto = 1;
  56272. break;
  56273. // goto join
  56274. $async$goto = 12;
  56275. break;
  56276. case 13:
  56277. // else
  56278. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  56279. case 12:
  56280. // join
  56281. case 8:
  56282. // join
  56283. case 4:
  56284. // join
  56285. case 1:
  56286. // return
  56287. return A._asyncReturn($async$returnValue, $async$completer);
  56288. }
  56289. });
  56290. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  56291. },
  56292. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  56293. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  56294. },
  56295. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  56296. var $async$goto = 0,
  56297. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56298. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
  56299. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56300. if ($async$errorCode === 1) {
  56301. $async$currentError = $async$result;
  56302. $async$goto = $async$handler;
  56303. }
  56304. while (true)
  56305. switch ($async$goto) {
  56306. case 0:
  56307. // Function start
  56308. $async$goto = 3;
  56309. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  56310. case 3:
  56311. // returning from await.
  56312. evaluated = $async$result;
  56313. oldCallableNode = $async$self._async_evaluate$_callableNode;
  56314. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  56315. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  56316. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  56317. overload = tuple.item1;
  56318. callback = tuple.item2;
  56319. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure1(overload, evaluated, namedSet));
  56320. declaredArguments = overload.$arguments;
  56321. i = evaluated.positional.length, t1 = declaredArguments.length;
  56322. case 4:
  56323. // for condition
  56324. if (!(i < t1)) {
  56325. // goto after for
  56326. $async$goto = 6;
  56327. break;
  56328. }
  56329. argument = declaredArguments[i];
  56330. t2 = evaluated.positional;
  56331. t3 = evaluated.named.remove$1(0, argument.name);
  56332. $async$goto = t3 == null ? 7 : 8;
  56333. break;
  56334. case 7:
  56335. // then
  56336. t3 = argument.defaultValue;
  56337. $async$goto = 9;
  56338. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate$_runBuiltInCallable$3);
  56339. case 9:
  56340. // returning from await.
  56341. t3 = $async$self._async_evaluate$_withoutSlash$2($async$result, t3);
  56342. case 8:
  56343. // join
  56344. t2.push(t3);
  56345. case 5:
  56346. // for update
  56347. ++i;
  56348. // goto for condition
  56349. $async$goto = 4;
  56350. break;
  56351. case 6:
  56352. // after for
  56353. if (overload.restArgument != null) {
  56354. if (evaluated.positional.length > t1) {
  56355. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  56356. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  56357. } else
  56358. rest = B.List_empty7;
  56359. t1 = evaluated.named;
  56360. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  56361. evaluated.positional.push(argumentList);
  56362. } else
  56363. argumentList = null;
  56364. result = null;
  56365. $async$handler = 11;
  56366. $async$goto = 14;
  56367. return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate$_runBuiltInCallable$3);
  56368. case 14:
  56369. // returning from await.
  56370. result = $async$result;
  56371. $async$handler = 2;
  56372. // goto after finally
  56373. $async$goto = 13;
  56374. break;
  56375. case 11:
  56376. // catch
  56377. $async$handler = 10;
  56378. $async$exception = $async$currentError;
  56379. t1 = A.unwrapException($async$exception);
  56380. if (type$.SassRuntimeException._is(t1))
  56381. throw $async$exception;
  56382. else if (t1 instanceof A.MultiSpanSassScriptException) {
  56383. error = t1;
  56384. stackTrace = A.getTraceFromException($async$exception);
  56385. t1 = error.message;
  56386. t2 = nodeWithSpan.get$span(nodeWithSpan);
  56387. t3 = error.primaryLabel;
  56388. t4 = error.secondarySpans;
  56389. A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  56390. } else if (t1 instanceof A.MultiSpanSassException) {
  56391. error0 = t1;
  56392. stackTrace0 = A.getTraceFromException($async$exception);
  56393. t1 = error0._span_exception$_message;
  56394. t2 = error0;
  56395. t3 = J.getInterceptor$z(t2);
  56396. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  56397. t3 = error0.primaryLabel;
  56398. t4 = error0.secondarySpans;
  56399. t5 = error0;
  56400. t6 = J.getInterceptor$z(t5);
  56401. A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  56402. } else {
  56403. error1 = t1;
  56404. stackTrace1 = A.getTraceFromException($async$exception);
  56405. message = null;
  56406. try {
  56407. message = A._asString(J.get$message$x(error1));
  56408. } catch (exception) {
  56409. message0 = J.toString$0$(error1);
  56410. message = message0;
  56411. }
  56412. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  56413. }
  56414. // goto after finally
  56415. $async$goto = 13;
  56416. break;
  56417. case 10:
  56418. // uncaught
  56419. // goto rethrow
  56420. $async$goto = 2;
  56421. break;
  56422. case 13:
  56423. // after finally
  56424. $async$self._async_evaluate$_callableNode = oldCallableNode;
  56425. if (argumentList == null) {
  56426. $async$returnValue = result;
  56427. // goto return
  56428. $async$goto = 1;
  56429. break;
  56430. }
  56431. if (evaluated.named.__js_helper$_length === 0) {
  56432. $async$returnValue = result;
  56433. // goto return
  56434. $async$goto = 1;
  56435. break;
  56436. }
  56437. if (argumentList._wereKeywordsAccessed) {
  56438. $async$returnValue = result;
  56439. // goto return
  56440. $async$goto = 1;
  56441. break;
  56442. }
  56443. t1 = evaluated.named;
  56444. t1 = t1.get$keys(t1);
  56445. t1 = A.pluralize("argument", t1.get$length(t1), null);
  56446. t2 = evaluated.named;
  56447. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure2(), 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))));
  56448. case 1:
  56449. // return
  56450. return A._asyncReturn($async$returnValue, $async$completer);
  56451. case 2:
  56452. // rethrow
  56453. return A._asyncRethrow($async$currentError, $async$completer);
  56454. }
  56455. });
  56456. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  56457. },
  56458. _async_evaluate$_evaluateArguments$1($arguments) {
  56459. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  56460. },
  56461. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  56462. var $async$goto = 0,
  56463. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults),
  56464. $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;
  56465. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56466. if ($async$errorCode === 1)
  56467. return A._asyncRethrow($async$result, $async$completer);
  56468. while (true)
  56469. switch ($async$goto) {
  56470. case 0:
  56471. // Function start
  56472. positional = A._setArrayType([], type$.JSArray_Value);
  56473. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  56474. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  56475. case 3:
  56476. // for condition
  56477. if (!(_i < t2)) {
  56478. // goto after for
  56479. $async$goto = 5;
  56480. break;
  56481. }
  56482. expression = t1[_i];
  56483. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  56484. $async$temp1 = positional;
  56485. $async$goto = 6;
  56486. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56487. case 6:
  56488. // returning from await.
  56489. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  56490. positionalNodes.push(nodeForSpan);
  56491. case 4:
  56492. // for update
  56493. ++_i;
  56494. // goto for condition
  56495. $async$goto = 3;
  56496. break;
  56497. case 5:
  56498. // after for
  56499. t1 = type$.String;
  56500. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  56501. t2 = type$.AstNode;
  56502. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  56503. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  56504. case 7:
  56505. // for condition
  56506. if (!t3.moveNext$0()) {
  56507. // goto after for
  56508. $async$goto = 8;
  56509. break;
  56510. }
  56511. t4 = t3.get$current(t3);
  56512. t5 = t4.value;
  56513. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  56514. t4 = t4.key;
  56515. $async$temp1 = named;
  56516. $async$temp2 = t4;
  56517. $async$goto = 9;
  56518. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56519. case 9:
  56520. // returning from await.
  56521. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  56522. namedNodes.$indexSet(0, t4, nodeForSpan);
  56523. // goto for condition
  56524. $async$goto = 7;
  56525. break;
  56526. case 8:
  56527. // after for
  56528. restArgs = $arguments.rest;
  56529. if (restArgs == null) {
  56530. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  56531. // goto return
  56532. $async$goto = 1;
  56533. break;
  56534. }
  56535. $async$goto = 10;
  56536. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56537. case 10:
  56538. // returning from await.
  56539. rest = $async$result;
  56540. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  56541. if (rest instanceof A.SassMap) {
  56542. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  56543. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  56544. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  56545. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  56546. namedNodes.addAll$1(0, t3);
  56547. separator = B.ListSeparator_undecided_null_undecided;
  56548. } else if (rest instanceof A.SassList) {
  56549. t3 = rest._list$_contents;
  56550. 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>")));
  56551. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  56552. separator = rest._separator;
  56553. if (rest instanceof A.SassArgumentList) {
  56554. rest._wereKeywordsAccessed = true;
  56555. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  56556. }
  56557. } else {
  56558. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  56559. positionalNodes.push(restNodeForSpan);
  56560. separator = B.ListSeparator_undecided_null_undecided;
  56561. }
  56562. keywordRestArgs = $arguments.keywordRest;
  56563. if (keywordRestArgs == null) {
  56564. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  56565. // goto return
  56566. $async$goto = 1;
  56567. break;
  56568. }
  56569. $async$goto = 11;
  56570. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  56571. case 11:
  56572. // returning from await.
  56573. keywordRest = $async$result;
  56574. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  56575. if (keywordRest instanceof A.SassMap) {
  56576. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  56577. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  56578. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  56579. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  56580. namedNodes.addAll$1(0, t1);
  56581. $async$returnValue = new A._ArgumentResults0(positional, positionalNodes, named, namedNodes, separator);
  56582. // goto return
  56583. $async$goto = 1;
  56584. break;
  56585. } else
  56586. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  56587. case 1:
  56588. // return
  56589. return A._asyncReturn($async$returnValue, $async$completer);
  56590. }
  56591. });
  56592. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  56593. },
  56594. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  56595. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  56596. },
  56597. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  56598. var $async$goto = 0,
  56599. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression),
  56600. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  56601. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56602. if ($async$errorCode === 1)
  56603. return A._asyncRethrow($async$result, $async$completer);
  56604. while (true)
  56605. switch ($async$goto) {
  56606. case 0:
  56607. // Function start
  56608. t1 = invocation.$arguments;
  56609. restArgs_ = t1.rest;
  56610. if (restArgs_ == null) {
  56611. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  56612. // goto return
  56613. $async$goto = 1;
  56614. break;
  56615. }
  56616. t2 = t1.positional;
  56617. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  56618. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  56619. $async$goto = 3;
  56620. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  56621. case 3:
  56622. // returning from await.
  56623. rest = $async$result;
  56624. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  56625. if (rest instanceof A.SassMap)
  56626. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  56627. else if (rest instanceof A.SassList) {
  56628. t2 = rest._list$_contents;
  56629. 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>")));
  56630. if (rest instanceof A.SassArgumentList) {
  56631. rest._wereKeywordsAccessed = true;
  56632. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  56633. }
  56634. } else
  56635. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  56636. keywordRestArgs_ = t1.keywordRest;
  56637. if (keywordRestArgs_ == null) {
  56638. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  56639. // goto return
  56640. $async$goto = 1;
  56641. break;
  56642. }
  56643. $async$goto = 4;
  56644. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  56645. case 4:
  56646. // returning from await.
  56647. keywordRest = $async$result;
  56648. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  56649. if (keywordRest instanceof A.SassMap) {
  56650. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  56651. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  56652. // goto return
  56653. $async$goto = 1;
  56654. break;
  56655. } else
  56656. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  56657. case 1:
  56658. // return
  56659. return A._asyncReturn($async$returnValue, $async$completer);
  56660. }
  56661. });
  56662. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  56663. },
  56664. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  56665. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  56666. },
  56667. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  56668. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  56669. },
  56670. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  56671. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  56672. },
  56673. visitSelectorExpression$1(node) {
  56674. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  56675. },
  56676. visitSelectorExpression$body$_EvaluateVisitor(node) {
  56677. var $async$goto = 0,
  56678. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  56679. $async$returnValue, $async$self = this, t1;
  56680. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56681. if ($async$errorCode === 1)
  56682. return A._asyncRethrow($async$result, $async$completer);
  56683. while (true)
  56684. switch ($async$goto) {
  56685. case 0:
  56686. // Function start
  56687. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  56688. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  56689. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  56690. // goto return
  56691. $async$goto = 1;
  56692. break;
  56693. case 1:
  56694. // return
  56695. return A._asyncReturn($async$returnValue, $async$completer);
  56696. }
  56697. });
  56698. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  56699. },
  56700. visitStringExpression$1(node) {
  56701. return this.visitStringExpression$body$_EvaluateVisitor(node);
  56702. },
  56703. visitStringExpression$body$_EvaluateVisitor(node) {
  56704. var $async$goto = 0,
  56705. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  56706. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  56707. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56708. if ($async$errorCode === 1)
  56709. return A._asyncRethrow($async$result, $async$completer);
  56710. while (true)
  56711. switch ($async$goto) {
  56712. case 0:
  56713. // Function start
  56714. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  56715. $async$self._async_evaluate$_inSupportsDeclaration = false;
  56716. $async$temp1 = J;
  56717. $async$goto = 3;
  56718. return A._asyncAwait(A.mapAsync(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure0($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  56719. case 3:
  56720. // returning from await.
  56721. t1 = $async$temp1.join$0$ax($async$result);
  56722. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  56723. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  56724. // goto return
  56725. $async$goto = 1;
  56726. break;
  56727. case 1:
  56728. // return
  56729. return A._asyncReturn($async$returnValue, $async$completer);
  56730. }
  56731. });
  56732. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  56733. },
  56734. visitSupportsExpression$1(expression) {
  56735. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  56736. },
  56737. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  56738. var $async$goto = 0,
  56739. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  56740. $async$returnValue, $async$self = this, $async$temp1;
  56741. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56742. if ($async$errorCode === 1)
  56743. return A._asyncRethrow($async$result, $async$completer);
  56744. while (true)
  56745. switch ($async$goto) {
  56746. case 0:
  56747. // Function start
  56748. $async$temp1 = A;
  56749. $async$goto = 3;
  56750. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  56751. case 3:
  56752. // returning from await.
  56753. $async$returnValue = new $async$temp1.SassString($async$result, false);
  56754. // goto return
  56755. $async$goto = 1;
  56756. break;
  56757. case 1:
  56758. // return
  56759. return A._asyncReturn($async$returnValue, $async$completer);
  56760. }
  56761. });
  56762. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  56763. },
  56764. visitCssAtRule$1(node) {
  56765. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  56766. },
  56767. visitCssAtRule$body$_EvaluateVisitor(node) {
  56768. var $async$goto = 0,
  56769. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56770. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  56771. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56772. if ($async$errorCode === 1)
  56773. return A._asyncRethrow($async$result, $async$completer);
  56774. while (true)
  56775. switch ($async$goto) {
  56776. case 0:
  56777. // Function start
  56778. if ($async$self._async_evaluate$_declarationName != null)
  56779. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  56780. if (node.isChildless) {
  56781. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  56782. // goto return
  56783. $async$goto = 1;
  56784. break;
  56785. }
  56786. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  56787. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  56788. t1 = node.name;
  56789. if (A.unvendor(t1.get$value(t1)) === "keyframes")
  56790. $async$self._async_evaluate$_inKeyframes = true;
  56791. else
  56792. $async$self._async_evaluate$_inUnknownAtRule = true;
  56793. $async$goto = 3;
  56794. 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);
  56795. case 3:
  56796. // returning from await.
  56797. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  56798. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  56799. case 1:
  56800. // return
  56801. return A._asyncReturn($async$returnValue, $async$completer);
  56802. }
  56803. });
  56804. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  56805. },
  56806. visitCssComment$1(node) {
  56807. return this.visitCssComment$body$_EvaluateVisitor(node);
  56808. },
  56809. visitCssComment$body$_EvaluateVisitor(node) {
  56810. var $async$goto = 0,
  56811. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56812. $async$self = this;
  56813. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56814. if ($async$errorCode === 1)
  56815. return A._asyncRethrow($async$result, $async$completer);
  56816. while (true)
  56817. switch ($async$goto) {
  56818. case 0:
  56819. // Function start
  56820. 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))
  56821. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56822. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  56823. // implicit return
  56824. return A._asyncReturn(null, $async$completer);
  56825. }
  56826. });
  56827. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  56828. },
  56829. visitCssDeclaration$1(node) {
  56830. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  56831. },
  56832. visitCssDeclaration$body$_EvaluateVisitor(node) {
  56833. var $async$goto = 0,
  56834. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56835. $async$self = this, t1;
  56836. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56837. if ($async$errorCode === 1)
  56838. return A._asyncRethrow($async$result, $async$completer);
  56839. while (true)
  56840. switch ($async$goto) {
  56841. case 0:
  56842. // Function start
  56843. t1 = node.name;
  56844. $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.get$value(t1), "--"), node.valueSpanForMap));
  56845. // implicit return
  56846. return A._asyncReturn(null, $async$completer);
  56847. }
  56848. });
  56849. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  56850. },
  56851. visitCssImport$1(node) {
  56852. return this.visitCssImport$body$_EvaluateVisitor(node);
  56853. },
  56854. visitCssImport$body$_EvaluateVisitor(node) {
  56855. var $async$goto = 0,
  56856. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56857. $async$self = this, t1, modifiableNode;
  56858. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56859. if ($async$errorCode === 1)
  56860. return A._asyncRethrow($async$result, $async$completer);
  56861. while (true)
  56862. switch ($async$goto) {
  56863. case 0:
  56864. // Function start
  56865. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  56866. 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"))
  56867. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  56868. 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)) {
  56869. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  56870. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  56871. } else {
  56872. t1 = $async$self._async_evaluate$_outOfOrderImports;
  56873. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  56874. }
  56875. // implicit return
  56876. return A._asyncReturn(null, $async$completer);
  56877. }
  56878. });
  56879. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  56880. },
  56881. visitCssKeyframeBlock$1(node) {
  56882. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  56883. },
  56884. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  56885. var $async$goto = 0,
  56886. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56887. $async$self = this;
  56888. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56889. if ($async$errorCode === 1)
  56890. return A._asyncRethrow($async$result, $async$completer);
  56891. while (true)
  56892. switch ($async$goto) {
  56893. case 0:
  56894. // Function start
  56895. $async$goto = 2;
  56896. 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);
  56897. case 2:
  56898. // returning from await.
  56899. // implicit return
  56900. return A._asyncReturn(null, $async$completer);
  56901. }
  56902. });
  56903. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  56904. },
  56905. visitCssMediaRule$1(node) {
  56906. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  56907. },
  56908. visitCssMediaRule$body$_EvaluateVisitor(node) {
  56909. var $async$goto = 0,
  56910. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56911. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  56912. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56913. if ($async$errorCode === 1)
  56914. return A._asyncRethrow($async$result, $async$completer);
  56915. while (true)
  56916. switch ($async$goto) {
  56917. case 0:
  56918. // Function start
  56919. if ($async$self._async_evaluate$_declarationName != null)
  56920. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  56921. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  56922. t1 = mergedQueries == null;
  56923. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  56924. // goto return
  56925. $async$goto = 1;
  56926. break;
  56927. }
  56928. if (t1)
  56929. mergedSources = B.Set_empty0;
  56930. else {
  56931. t2 = $async$self._async_evaluate$_mediaQuerySources;
  56932. t2.toString;
  56933. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  56934. t3 = $async$self._async_evaluate$_mediaQueries;
  56935. t3.toString;
  56936. t2.addAll$1(0, t3);
  56937. t2.addAll$1(0, node.queries);
  56938. mergedSources = t2;
  56939. }
  56940. t1 = t1 ? node.queries : mergedQueries;
  56941. $async$goto = 3;
  56942. 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);
  56943. case 3:
  56944. // returning from await.
  56945. case 1:
  56946. // return
  56947. return A._asyncReturn($async$returnValue, $async$completer);
  56948. }
  56949. });
  56950. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  56951. },
  56952. visitCssStyleRule$1(node) {
  56953. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  56954. },
  56955. visitCssStyleRule$body$_EvaluateVisitor(node) {
  56956. var $async$goto = 0,
  56957. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  56958. $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
  56959. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  56960. if ($async$errorCode === 1)
  56961. return A._asyncRethrow($async$result, $async$completer);
  56962. while (true)
  56963. switch ($async$goto) {
  56964. case 0:
  56965. // Function start
  56966. if ($async$self._async_evaluate$_declarationName != null)
  56967. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  56968. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  56969. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  56970. t2 = node.selector;
  56971. t3 = t2.value;
  56972. t4 = styleRule == null;
  56973. t5 = t4 ? null : styleRule.originalSelector;
  56974. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  56975. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate$_mediaQueries), node.span, originalSelector);
  56976. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  56977. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  56978. $async$goto = 2;
  56979. 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);
  56980. case 2:
  56981. // returning from await.
  56982. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  56983. if (t4) {
  56984. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56985. t1 = !t1.get$isEmpty(t1);
  56986. } else
  56987. t1 = false;
  56988. if (t1) {
  56989. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  56990. t1.get$last(t1).isGroupEnd = true;
  56991. }
  56992. // implicit return
  56993. return A._asyncReturn(null, $async$completer);
  56994. }
  56995. });
  56996. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  56997. },
  56998. visitCssStylesheet$1(node) {
  56999. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  57000. },
  57001. visitCssStylesheet$body$_EvaluateVisitor(node) {
  57002. var $async$goto = 0,
  57003. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  57004. $async$self = this, t1;
  57005. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57006. if ($async$errorCode === 1)
  57007. return A._asyncRethrow($async$result, $async$completer);
  57008. while (true)
  57009. switch ($async$goto) {
  57010. case 0:
  57011. // Function start
  57012. t1 = J.get$iterator$ax(node.get$children(node));
  57013. case 2:
  57014. // for condition
  57015. if (!t1.moveNext$0()) {
  57016. // goto after for
  57017. $async$goto = 3;
  57018. break;
  57019. }
  57020. $async$goto = 4;
  57021. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  57022. case 4:
  57023. // returning from await.
  57024. // goto for condition
  57025. $async$goto = 2;
  57026. break;
  57027. case 3:
  57028. // after for
  57029. // implicit return
  57030. return A._asyncReturn(null, $async$completer);
  57031. }
  57032. });
  57033. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  57034. },
  57035. visitCssSupportsRule$1(node) {
  57036. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  57037. },
  57038. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  57039. var $async$goto = 0,
  57040. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  57041. $async$self = this;
  57042. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57043. if ($async$errorCode === 1)
  57044. return A._asyncRethrow($async$result, $async$completer);
  57045. while (true)
  57046. switch ($async$goto) {
  57047. case 0:
  57048. // Function start
  57049. if ($async$self._async_evaluate$_declarationName != null)
  57050. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  57051. $async$goto = 2;
  57052. 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);
  57053. case 2:
  57054. // returning from await.
  57055. // implicit return
  57056. return A._asyncReturn(null, $async$completer);
  57057. }
  57058. });
  57059. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  57060. },
  57061. _async_evaluate$_handleReturn$1$2(list, callback) {
  57062. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  57063. },
  57064. _async_evaluate$_handleReturn$2(list, callback) {
  57065. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  57066. },
  57067. _handleReturn$body$_EvaluateVisitor(list, callback) {
  57068. var $async$goto = 0,
  57069. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  57070. $async$returnValue, t1, _i, result;
  57071. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57072. if ($async$errorCode === 1)
  57073. return A._asyncRethrow($async$result, $async$completer);
  57074. while (true)
  57075. switch ($async$goto) {
  57076. case 0:
  57077. // Function start
  57078. t1 = list.length, _i = 0;
  57079. case 3:
  57080. // for condition
  57081. if (!(_i < list.length)) {
  57082. // goto after for
  57083. $async$goto = 5;
  57084. break;
  57085. }
  57086. $async$goto = 6;
  57087. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  57088. case 6:
  57089. // returning from await.
  57090. result = $async$result;
  57091. if (result != null) {
  57092. $async$returnValue = result;
  57093. // goto return
  57094. $async$goto = 1;
  57095. break;
  57096. }
  57097. case 4:
  57098. // for update
  57099. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  57100. // goto for condition
  57101. $async$goto = 3;
  57102. break;
  57103. case 5:
  57104. // after for
  57105. $async$returnValue = null;
  57106. // goto return
  57107. $async$goto = 1;
  57108. break;
  57109. case 1:
  57110. // return
  57111. return A._asyncReturn($async$returnValue, $async$completer);
  57112. }
  57113. });
  57114. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  57115. },
  57116. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  57117. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  57118. },
  57119. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  57120. var $async$goto = 0,
  57121. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57122. $async$returnValue, $async$self = this, result, oldEnvironment;
  57123. var $async$_async_evaluate$_withEnvironment$1$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. oldEnvironment = $async$self._async_evaluate$_environment;
  57131. $async$self._async_evaluate$_environment = environment;
  57132. $async$goto = 3;
  57133. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  57134. case 3:
  57135. // returning from await.
  57136. result = $async$result;
  57137. $async$self._async_evaluate$_environment = oldEnvironment;
  57138. $async$returnValue = result;
  57139. // goto return
  57140. $async$goto = 1;
  57141. break;
  57142. case 1:
  57143. // return
  57144. return A._asyncReturn($async$returnValue, $async$completer);
  57145. }
  57146. });
  57147. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  57148. },
  57149. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  57150. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  57151. },
  57152. _async_evaluate$_interpolationToValue$1(interpolation) {
  57153. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  57154. },
  57155. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  57156. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  57157. },
  57158. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  57159. var $async$goto = 0,
  57160. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  57161. $async$returnValue, $async$self = this, result, t1;
  57162. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57163. if ($async$errorCode === 1)
  57164. return A._asyncRethrow($async$result, $async$completer);
  57165. while (true)
  57166. switch ($async$goto) {
  57167. case 0:
  57168. // Function start
  57169. $async$goto = 3;
  57170. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  57171. case 3:
  57172. // returning from await.
  57173. result = $async$result;
  57174. t1 = trim ? A.trimAscii(result, true) : result;
  57175. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  57176. // goto return
  57177. $async$goto = 1;
  57178. break;
  57179. case 1:
  57180. // return
  57181. return A._asyncReturn($async$returnValue, $async$completer);
  57182. }
  57183. });
  57184. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  57185. },
  57186. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  57187. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  57188. },
  57189. _async_evaluate$_performInterpolation$1(interpolation) {
  57190. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  57191. },
  57192. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  57193. var $async$goto = 0,
  57194. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  57195. $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
  57196. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57197. if ($async$errorCode === 1)
  57198. return A._asyncRethrow($async$result, $async$completer);
  57199. while (true)
  57200. switch ($async$goto) {
  57201. case 0:
  57202. // Function start
  57203. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  57204. $async$self._async_evaluate$_inSupportsDeclaration = false;
  57205. $async$temp1 = J;
  57206. $async$goto = 3;
  57207. return A._asyncAwait(A.mapAsync(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure0($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  57208. case 3:
  57209. // returning from await.
  57210. result = $async$temp1.join$0$ax($async$result);
  57211. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  57212. $async$returnValue = result;
  57213. // goto return
  57214. $async$goto = 1;
  57215. break;
  57216. case 1:
  57217. // return
  57218. return A._asyncReturn($async$returnValue, $async$completer);
  57219. }
  57220. });
  57221. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  57222. },
  57223. _evaluateToCss$2$quote(expression, quote) {
  57224. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  57225. },
  57226. _evaluateToCss$1(expression) {
  57227. return this._evaluateToCss$2$quote(expression, true);
  57228. },
  57229. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  57230. var $async$goto = 0,
  57231. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  57232. $async$returnValue, $async$self = this;
  57233. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57234. if ($async$errorCode === 1)
  57235. return A._asyncRethrow($async$result, $async$completer);
  57236. while (true)
  57237. switch ($async$goto) {
  57238. case 0:
  57239. // Function start
  57240. $async$goto = 3;
  57241. return A._asyncAwait(expression.accept$1($async$self), $async$_evaluateToCss$2$quote);
  57242. case 3:
  57243. // returning from await.
  57244. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  57245. // goto return
  57246. $async$goto = 1;
  57247. break;
  57248. case 1:
  57249. // return
  57250. return A._asyncReturn($async$returnValue, $async$completer);
  57251. }
  57252. });
  57253. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  57254. },
  57255. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  57256. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  57257. },
  57258. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  57259. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  57260. },
  57261. _async_evaluate$_expressionNode$1(expression) {
  57262. var t1;
  57263. if (expression instanceof A.VariableExpression) {
  57264. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  57265. return t1 == null ? expression : t1;
  57266. } else
  57267. return expression;
  57268. },
  57269. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  57270. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  57271. },
  57272. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  57273. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  57274. },
  57275. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  57276. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  57277. },
  57278. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  57279. var $async$goto = 0,
  57280. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57281. $async$returnValue, $async$self = this, t1, result;
  57282. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57283. if ($async$errorCode === 1)
  57284. return A._asyncRethrow($async$result, $async$completer);
  57285. while (true)
  57286. switch ($async$goto) {
  57287. case 0:
  57288. // Function start
  57289. $async$self._async_evaluate$_addChild$2$through(node, through);
  57290. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  57291. $async$self._async_evaluate$__parent = node;
  57292. $async$goto = 3;
  57293. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  57294. case 3:
  57295. // returning from await.
  57296. result = $async$result;
  57297. $async$self._async_evaluate$__parent = t1;
  57298. $async$returnValue = result;
  57299. // goto return
  57300. $async$goto = 1;
  57301. break;
  57302. case 1:
  57303. // return
  57304. return A._asyncReturn($async$returnValue, $async$completer);
  57305. }
  57306. });
  57307. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  57308. },
  57309. _async_evaluate$_addChild$2$through(node, through) {
  57310. var grandparent, t1,
  57311. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  57312. if (through != null) {
  57313. for (; through.call$1($parent); $parent = grandparent) {
  57314. grandparent = $parent._parent;
  57315. if (grandparent == null)
  57316. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  57317. }
  57318. if ($parent.get$hasFollowingSibling()) {
  57319. t1 = $parent._parent;
  57320. t1.toString;
  57321. $parent = $parent.copyWithoutChildren$0();
  57322. t1.addChild$1($parent);
  57323. }
  57324. }
  57325. $parent.addChild$1(node);
  57326. },
  57327. _async_evaluate$_addChild$1(node) {
  57328. return this._async_evaluate$_addChild$2$through(node, null);
  57329. },
  57330. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  57331. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  57332. },
  57333. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  57334. var $async$goto = 0,
  57335. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57336. $async$returnValue, $async$self = this, result, oldRule;
  57337. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57338. if ($async$errorCode === 1)
  57339. return A._asyncRethrow($async$result, $async$completer);
  57340. while (true)
  57341. switch ($async$goto) {
  57342. case 0:
  57343. // Function start
  57344. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  57345. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  57346. $async$goto = 3;
  57347. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  57348. case 3:
  57349. // returning from await.
  57350. result = $async$result;
  57351. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  57352. $async$returnValue = result;
  57353. // goto return
  57354. $async$goto = 1;
  57355. break;
  57356. case 1:
  57357. // return
  57358. return A._asyncReturn($async$returnValue, $async$completer);
  57359. }
  57360. });
  57361. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  57362. },
  57363. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  57364. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  57365. },
  57366. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  57367. var $async$goto = 0,
  57368. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57369. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  57370. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57371. if ($async$errorCode === 1)
  57372. return A._asyncRethrow($async$result, $async$completer);
  57373. while (true)
  57374. switch ($async$goto) {
  57375. case 0:
  57376. // Function start
  57377. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  57378. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  57379. $async$self._async_evaluate$_mediaQueries = queries;
  57380. $async$self._async_evaluate$_mediaQuerySources = sources;
  57381. $async$goto = 3;
  57382. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  57383. case 3:
  57384. // returning from await.
  57385. result = $async$result;
  57386. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  57387. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  57388. $async$returnValue = result;
  57389. // goto return
  57390. $async$goto = 1;
  57391. break;
  57392. case 1:
  57393. // return
  57394. return A._asyncReturn($async$returnValue, $async$completer);
  57395. }
  57396. });
  57397. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  57398. },
  57399. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  57400. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  57401. },
  57402. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  57403. var $async$goto = 0,
  57404. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57405. $async$returnValue, $async$self = this, oldMember, result, t1;
  57406. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57407. if ($async$errorCode === 1)
  57408. return A._asyncRethrow($async$result, $async$completer);
  57409. while (true)
  57410. switch ($async$goto) {
  57411. case 0:
  57412. // Function start
  57413. t1 = $async$self._async_evaluate$_stack;
  57414. t1.push(new A.Tuple2($async$self._async_evaluate$_member, nodeWithSpan, type$.Tuple2_String_AstNode));
  57415. oldMember = $async$self._async_evaluate$_member;
  57416. $async$self._async_evaluate$_member = member;
  57417. $async$goto = 3;
  57418. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  57419. case 3:
  57420. // returning from await.
  57421. result = $async$result;
  57422. $async$self._async_evaluate$_member = oldMember;
  57423. t1.pop();
  57424. $async$returnValue = result;
  57425. // goto return
  57426. $async$goto = 1;
  57427. break;
  57428. case 1:
  57429. // return
  57430. return A._asyncReturn($async$returnValue, $async$completer);
  57431. }
  57432. });
  57433. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  57434. },
  57435. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  57436. if (value instanceof A.SassNumber && value.asSlash != null)
  57437. this._async_evaluate$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), true);
  57438. return value.withoutSlash$0();
  57439. },
  57440. _async_evaluate$_stackFrame$2(member, span) {
  57441. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  57442. },
  57443. _async_evaluate$_stackTrace$1(span) {
  57444. var _this = this,
  57445. t1 = _this._async_evaluate$_stack;
  57446. 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);
  57447. if (span != null)
  57448. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  57449. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  57450. },
  57451. _async_evaluate$_stackTrace$0() {
  57452. return this._async_evaluate$_stackTrace$1(null);
  57453. },
  57454. _async_evaluate$_warn$3$deprecation(message, span, deprecation) {
  57455. var t1, _this = this;
  57456. if (_this._async_evaluate$_quietDeps)
  57457. if (!_this._async_evaluate$_inDependency) {
  57458. t1 = _this._async_evaluate$_currentCallable;
  57459. t1 = t1 == null ? null : t1.inDependency;
  57460. t1 = t1 === true;
  57461. } else
  57462. t1 = true;
  57463. else
  57464. t1 = false;
  57465. if (t1)
  57466. return;
  57467. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  57468. return;
  57469. _this._async_evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate$_stackTrace$1(span));
  57470. },
  57471. _async_evaluate$_warn$2(message, span) {
  57472. return this._async_evaluate$_warn$3$deprecation(message, span, false);
  57473. },
  57474. _async_evaluate$_exception$2(message, span) {
  57475. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2) : span;
  57476. return new A.SassRuntimeException(this._async_evaluate$_stackTrace$1(span), message, t1);
  57477. },
  57478. _async_evaluate$_exception$1(message) {
  57479. return this._async_evaluate$_exception$2(message, null);
  57480. },
  57481. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  57482. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate$_stack).item2);
  57483. return new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  57484. },
  57485. _async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback) {
  57486. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  57487. try {
  57488. t1 = callback.call$0();
  57489. return t1;
  57490. } catch (exception) {
  57491. t1 = A.unwrapException(exception);
  57492. if (t1 instanceof A.SassFormatException) {
  57493. error = t1;
  57494. stackTrace = A.getTraceFromException(exception);
  57495. t1 = error;
  57496. t2 = J.getInterceptor$z(t1);
  57497. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  57498. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  57499. span = nodeWithSpan.get$span(nodeWithSpan);
  57500. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  57501. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  57502. t2 = J.get$start$z(span);
  57503. t3 = error;
  57504. t4 = J.getInterceptor$z(t3);
  57505. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  57506. t3 = t3.get$start(t3);
  57507. t4 = J.get$start$z(span);
  57508. t5 = error;
  57509. t6 = J.getInterceptor$z(t5);
  57510. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  57511. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  57512. A.throwWithTrace(this._async_evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  57513. } else
  57514. throw exception;
  57515. }
  57516. },
  57517. _async_evaluate$_adjustParseError$2(nodeWithSpan, callback) {
  57518. return this._async_evaluate$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  57519. },
  57520. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  57521. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  57522. try {
  57523. t1 = callback.call$0();
  57524. return t1;
  57525. } catch (exception) {
  57526. t1 = A.unwrapException(exception);
  57527. if (t1 instanceof A.MultiSpanSassScriptException) {
  57528. error = t1;
  57529. stackTrace = A.getTraceFromException(exception);
  57530. t1 = error.message;
  57531. t2 = nodeWithSpan.get$span(nodeWithSpan);
  57532. t3 = error.primaryLabel;
  57533. t4 = error.secondarySpans;
  57534. A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  57535. } else if (t1 instanceof A.SassScriptException) {
  57536. error0 = t1;
  57537. stackTrace0 = A.getTraceFromException(exception);
  57538. A.throwWithTrace(this._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  57539. } else
  57540. throw exception;
  57541. }
  57542. },
  57543. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  57544. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  57545. },
  57546. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  57547. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  57548. },
  57549. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  57550. var $async$goto = 0,
  57551. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57552. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
  57553. var $async$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57554. if ($async$errorCode === 1) {
  57555. $async$currentError = $async$result;
  57556. $async$goto = $async$handler;
  57557. }
  57558. while (true)
  57559. switch ($async$goto) {
  57560. case 0:
  57561. // Function start
  57562. $async$handler = 4;
  57563. $async$goto = 7;
  57564. return A._asyncAwait(callback.call$0(), $async$_addExceptionSpanAsync$1$2);
  57565. case 7:
  57566. // returning from await.
  57567. t1 = $async$result;
  57568. $async$returnValue = t1;
  57569. // goto return
  57570. $async$goto = 1;
  57571. break;
  57572. $async$handler = 2;
  57573. // goto after finally
  57574. $async$goto = 6;
  57575. break;
  57576. case 4:
  57577. // catch
  57578. $async$handler = 3;
  57579. $async$exception = $async$currentError;
  57580. t1 = A.unwrapException($async$exception);
  57581. if (t1 instanceof A.MultiSpanSassScriptException) {
  57582. error = t1;
  57583. stackTrace = A.getTraceFromException($async$exception);
  57584. t1 = error.message;
  57585. t2 = nodeWithSpan.get$span(nodeWithSpan);
  57586. t3 = error.primaryLabel;
  57587. t4 = error.secondarySpans;
  57588. A.throwWithTrace(new A.MultiSpanSassRuntimeException($async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  57589. } else if (t1 instanceof A.SassScriptException) {
  57590. error0 = t1;
  57591. stackTrace0 = A.getTraceFromException($async$exception);
  57592. A.throwWithTrace($async$self._async_evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  57593. } else
  57594. throw $async$exception;
  57595. // goto after finally
  57596. $async$goto = 6;
  57597. break;
  57598. case 3:
  57599. // uncaught
  57600. // goto rethrow
  57601. $async$goto = 2;
  57602. break;
  57603. case 6:
  57604. // after finally
  57605. case 1:
  57606. // return
  57607. return A._asyncReturn($async$returnValue, $async$completer);
  57608. case 2:
  57609. // rethrow
  57610. return A._asyncRethrow($async$currentError, $async$completer);
  57611. }
  57612. });
  57613. return A._asyncStartSync($async$_addExceptionSpanAsync$1$2, $async$completer);
  57614. },
  57615. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  57616. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  57617. },
  57618. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  57619. var $async$goto = 0,
  57620. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  57621. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  57622. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57623. if ($async$errorCode === 1) {
  57624. $async$currentError = $async$result;
  57625. $async$goto = $async$handler;
  57626. }
  57627. while (true)
  57628. switch ($async$goto) {
  57629. case 0:
  57630. // Function start
  57631. $async$handler = 4;
  57632. $async$goto = 7;
  57633. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  57634. case 7:
  57635. // returning from await.
  57636. t1 = $async$result;
  57637. $async$returnValue = t1;
  57638. // goto return
  57639. $async$goto = 1;
  57640. break;
  57641. $async$handler = 2;
  57642. // goto after finally
  57643. $async$goto = 6;
  57644. break;
  57645. case 4:
  57646. // catch
  57647. $async$handler = 3;
  57648. $async$exception = $async$currentError;
  57649. t1 = A.unwrapException($async$exception);
  57650. if (type$.SassRuntimeException._is(t1)) {
  57651. error = t1;
  57652. stackTrace = A.getTraceFromException($async$exception);
  57653. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  57654. throw $async$exception;
  57655. t1 = error._span_exception$_message;
  57656. t2 = nodeWithSpan.get$span(nodeWithSpan);
  57657. A.throwWithTrace(new A.SassRuntimeException($async$self._async_evaluate$_stackTrace$0(), t1, t2), stackTrace);
  57658. } else
  57659. throw $async$exception;
  57660. // goto after finally
  57661. $async$goto = 6;
  57662. break;
  57663. case 3:
  57664. // uncaught
  57665. // goto rethrow
  57666. $async$goto = 2;
  57667. break;
  57668. case 6:
  57669. // after finally
  57670. case 1:
  57671. // return
  57672. return A._asyncReturn($async$returnValue, $async$completer);
  57673. case 2:
  57674. // rethrow
  57675. return A._asyncRethrow($async$currentError, $async$completer);
  57676. }
  57677. });
  57678. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  57679. }
  57680. };
  57681. A._EvaluateVisitor_closure9.prototype = {
  57682. call$1($arguments) {
  57683. var module, t2,
  57684. t1 = J.getInterceptor$asx($arguments),
  57685. variable = t1.$index($arguments, 0).assertString$1("name");
  57686. t1 = t1.$index($arguments, 1).get$realNull();
  57687. module = t1 == null ? null : t1.assertString$1("module");
  57688. t1 = this.$this._async_evaluate$_environment;
  57689. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  57690. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  57691. },
  57692. $signature: 20
  57693. };
  57694. A._EvaluateVisitor_closure10.prototype = {
  57695. call$1($arguments) {
  57696. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  57697. t1 = this.$this._async_evaluate$_environment;
  57698. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  57699. },
  57700. $signature: 20
  57701. };
  57702. A._EvaluateVisitor_closure11.prototype = {
  57703. call$1($arguments) {
  57704. var module, t2, t3, t4,
  57705. t1 = J.getInterceptor$asx($arguments),
  57706. variable = t1.$index($arguments, 0).assertString$1("name");
  57707. t1 = t1.$index($arguments, 1).get$realNull();
  57708. module = t1 == null ? null : t1.assertString$1("module");
  57709. t1 = this.$this;
  57710. t2 = t1._async_evaluate$_environment;
  57711. t3 = variable._string$_text;
  57712. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  57713. 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;
  57714. },
  57715. $signature: 20
  57716. };
  57717. A._EvaluateVisitor_closure12.prototype = {
  57718. call$1($arguments) {
  57719. var module, t2,
  57720. t1 = J.getInterceptor$asx($arguments),
  57721. variable = t1.$index($arguments, 0).assertString$1("name");
  57722. t1 = t1.$index($arguments, 1).get$realNull();
  57723. module = t1 == null ? null : t1.assertString$1("module");
  57724. t1 = this.$this._async_evaluate$_environment;
  57725. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  57726. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  57727. },
  57728. $signature: 20
  57729. };
  57730. A._EvaluateVisitor_closure13.prototype = {
  57731. call$1($arguments) {
  57732. var t1 = this.$this._async_evaluate$_environment;
  57733. if (!t1._async_environment$_inMixin)
  57734. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  57735. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  57736. },
  57737. $signature: 20
  57738. };
  57739. A._EvaluateVisitor_closure14.prototype = {
  57740. call$1($arguments) {
  57741. var t2, t3, t4,
  57742. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  57743. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  57744. if (module == null)
  57745. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  57746. t1 = type$.Value;
  57747. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  57748. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  57749. t4 = t3.get$current(t3);
  57750. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  57751. }
  57752. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  57753. },
  57754. $signature: 37
  57755. };
  57756. A._EvaluateVisitor_closure15.prototype = {
  57757. call$1($arguments) {
  57758. var t2, t3, t4,
  57759. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  57760. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  57761. if (module == null)
  57762. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  57763. t1 = type$.Value;
  57764. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  57765. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  57766. t4 = t3.get$current(t3);
  57767. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  57768. }
  57769. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  57770. },
  57771. $signature: 37
  57772. };
  57773. A._EvaluateVisitor_closure16.prototype = {
  57774. call$1($arguments) {
  57775. var module, callable, t2,
  57776. t1 = J.getInterceptor$asx($arguments),
  57777. $name = t1.$index($arguments, 0).assertString$1("name"),
  57778. css = t1.$index($arguments, 1).get$isTruthy();
  57779. t1 = t1.$index($arguments, 2).get$realNull();
  57780. module = t1 == null ? null : t1.assertString$1("module");
  57781. if (css && module != null)
  57782. throw A.wrapException(string$.x24css_a);
  57783. if (css)
  57784. callable = new A.PlainCssCallable($name._string$_text);
  57785. else {
  57786. t1 = this.$this;
  57787. t2 = t1._async_evaluate$_callableNode;
  57788. t2.toString;
  57789. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure4(t1, $name, module));
  57790. }
  57791. if (callable != null)
  57792. return new A.SassFunction(callable);
  57793. throw A.wrapException("Function not found: " + $name.toString$0(0));
  57794. },
  57795. $signature: 165
  57796. };
  57797. A._EvaluateVisitor__closure4.prototype = {
  57798. call$0() {
  57799. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  57800. t2 = this.module;
  57801. t2 = t2 == null ? null : t2._string$_text;
  57802. return this.$this._async_evaluate$_getFunction$2$namespace(t1, t2);
  57803. },
  57804. $signature: 110
  57805. };
  57806. A._EvaluateVisitor_closure17.prototype = {
  57807. call$1($arguments) {
  57808. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  57809. },
  57810. $call$body$_EvaluateVisitor_closure0($arguments) {
  57811. var $async$goto = 0,
  57812. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  57813. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  57814. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57815. if ($async$errorCode === 1)
  57816. return A._asyncRethrow($async$result, $async$completer);
  57817. while (true)
  57818. switch ($async$goto) {
  57819. case 0:
  57820. // Function start
  57821. t1 = J.getInterceptor$asx($arguments);
  57822. $function = t1.$index($arguments, 0);
  57823. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  57824. t1 = $async$self.$this;
  57825. t2 = t1._async_evaluate$_callableNode;
  57826. t2.toString;
  57827. t3 = A._setArrayType([], type$.JSArray_Expression);
  57828. t4 = type$.String;
  57829. t5 = type$.Expression;
  57830. t6 = t2.get$span(t2);
  57831. t7 = t2.get$span(t2);
  57832. args._wereKeywordsAccessed = true;
  57833. t8 = args._keywords;
  57834. if (t8.get$isEmpty(t8))
  57835. t2 = null;
  57836. else {
  57837. t9 = type$.Value;
  57838. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  57839. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  57840. t11 = t8.get$current(t8);
  57841. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  57842. }
  57843. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  57844. }
  57845. 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);
  57846. $async$goto = $function instanceof A.SassString ? 3 : 4;
  57847. break;
  57848. case 3:
  57849. // then
  57850. t2 = $function.toString$0(0);
  57851. A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  57852. callableNode = t1._async_evaluate$_callableNode;
  57853. $async$goto = 5;
  57854. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  57855. case 5:
  57856. // returning from await.
  57857. $async$returnValue = $async$result;
  57858. // goto return
  57859. $async$goto = 1;
  57860. break;
  57861. case 4:
  57862. // join
  57863. t2 = $function.assertFunction$1("function");
  57864. t3 = t1._async_evaluate$_callableNode;
  57865. t3.toString;
  57866. $async$goto = 6;
  57867. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  57868. case 6:
  57869. // returning from await.
  57870. t3 = $async$result;
  57871. $async$returnValue = t3;
  57872. // goto return
  57873. $async$goto = 1;
  57874. break;
  57875. case 1:
  57876. // return
  57877. return A._asyncReturn($async$returnValue, $async$completer);
  57878. }
  57879. });
  57880. return A._asyncStartSync($async$call$1, $async$completer);
  57881. },
  57882. $signature: 184
  57883. };
  57884. A._EvaluateVisitor_closure18.prototype = {
  57885. call$1($arguments) {
  57886. return this.$call$body$_EvaluateVisitor_closure($arguments);
  57887. },
  57888. $call$body$_EvaluateVisitor_closure($arguments) {
  57889. var $async$goto = 0,
  57890. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  57891. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  57892. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57893. if ($async$errorCode === 1)
  57894. return A._asyncRethrow($async$result, $async$completer);
  57895. while (true)
  57896. switch ($async$goto) {
  57897. case 0:
  57898. // Function start
  57899. t1 = J.getInterceptor$asx($arguments);
  57900. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  57901. t1 = t1.$index($arguments, 1).get$realNull();
  57902. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  57903. t1 = $async$self.$this;
  57904. t2 = t1._async_evaluate$_callableNode;
  57905. t2.toString;
  57906. if (withMap != null) {
  57907. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  57908. withMap.forEach$1(0, new A._EvaluateVisitor__closure2(values, t2.get$span(t2), t2));
  57909. configuration = new A.ExplicitConfiguration(t2, values, null);
  57910. } else
  57911. configuration = B.Configuration_Map_empty_null;
  57912. t3 = t2.get$span(t2);
  57913. $async$goto = 2;
  57914. 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);
  57915. case 2:
  57916. // returning from await.
  57917. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  57918. // implicit return
  57919. return A._asyncReturn(null, $async$completer);
  57920. }
  57921. });
  57922. return A._asyncStartSync($async$call$1, $async$completer);
  57923. },
  57924. $signature: 370
  57925. };
  57926. A._EvaluateVisitor__closure2.prototype = {
  57927. call$2(variable, value) {
  57928. var t1 = variable.assertString$1("with key"),
  57929. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  57930. t1 = this.values;
  57931. if (t1.containsKey$1($name))
  57932. throw A.wrapException("The variable $" + $name + " was configured twice.");
  57933. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  57934. },
  57935. $signature: 55
  57936. };
  57937. A._EvaluateVisitor__closure3.prototype = {
  57938. call$1(module) {
  57939. var t1 = this.$this;
  57940. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  57941. },
  57942. $signature: 166
  57943. };
  57944. A._EvaluateVisitor_run_closure0.prototype = {
  57945. call$0() {
  57946. var $async$goto = 0,
  57947. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult),
  57948. $async$returnValue, $async$self = this, t1, t2, url, $async$temp1, $async$temp2;
  57949. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57950. if ($async$errorCode === 1)
  57951. return A._asyncRethrow($async$result, $async$completer);
  57952. while (true)
  57953. switch ($async$goto) {
  57954. case 0:
  57955. // Function start
  57956. t1 = $async$self.node;
  57957. t2 = t1.span;
  57958. url = t2.get$sourceUrl(t2);
  57959. if (url != null) {
  57960. t2 = $async$self.$this;
  57961. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  57962. t2._async_evaluate$_loadedUrls.add$1(0, url);
  57963. }
  57964. t2 = $async$self.$this;
  57965. $async$temp1 = A;
  57966. $async$temp2 = t2;
  57967. $async$goto = 3;
  57968. return A._asyncAwait(t2._async_evaluate$_execute$2($async$self.importer, t1), $async$call$0);
  57969. case 3:
  57970. // returning from await.
  57971. $async$returnValue = new $async$temp1.EvaluateResult($async$temp2._async_evaluate$_combineCss$1($async$result));
  57972. // goto return
  57973. $async$goto = 1;
  57974. break;
  57975. case 1:
  57976. // return
  57977. return A._asyncReturn($async$returnValue, $async$completer);
  57978. }
  57979. });
  57980. return A._asyncStartSync($async$call$0, $async$completer);
  57981. },
  57982. $signature: 379
  57983. };
  57984. A._EvaluateVisitor__loadModule_closure1.prototype = {
  57985. call$0() {
  57986. return this.callback.call$1(this.builtInModule);
  57987. },
  57988. $signature: 0
  57989. };
  57990. A._EvaluateVisitor__loadModule_closure2.prototype = {
  57991. call$0() {
  57992. var $async$goto = 0,
  57993. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  57994. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t4, t5, t6, t7, t1, t2, result, stylesheet, t3, canonicalUrl, $async$exception;
  57995. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  57996. if ($async$errorCode === 1) {
  57997. $async$currentError = $async$result;
  57998. $async$goto = $async$handler;
  57999. }
  58000. while (true)
  58001. switch ($async$goto) {
  58002. case 0:
  58003. // Function start
  58004. t1 = $async$self.$this;
  58005. t2 = $async$self.nodeWithSpan;
  58006. $async$goto = 2;
  58007. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
  58008. case 2:
  58009. // returning from await.
  58010. result = $async$result;
  58011. stylesheet = result.stylesheet;
  58012. t3 = stylesheet.span;
  58013. canonicalUrl = t3.get$sourceUrl(t3);
  58014. if (canonicalUrl != null && t1._async_evaluate$_activeModules.containsKey$1(canonicalUrl)) {
  58015. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  58016. t2 = A.NullableExtension_andThen(t1._async_evaluate$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure0(t1, message));
  58017. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1(message) : t2);
  58018. }
  58019. if (canonicalUrl != null)
  58020. t1._async_evaluate$_activeModules.$indexSet(0, canonicalUrl, t2);
  58021. oldInDependency = t1._async_evaluate$_inDependency;
  58022. t1._async_evaluate$_inDependency = result.isDependency;
  58023. module = null;
  58024. $async$handler = 3;
  58025. $async$goto = 6;
  58026. return A._asyncAwait(t1._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
  58027. case 6:
  58028. // returning from await.
  58029. module = $async$result;
  58030. $async$next.push(5);
  58031. // goto finally
  58032. $async$goto = 4;
  58033. break;
  58034. case 3:
  58035. // uncaught
  58036. $async$next = [1];
  58037. case 4:
  58038. // finally
  58039. $async$handler = 1;
  58040. t1._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  58041. t1._async_evaluate$_inDependency = oldInDependency;
  58042. // goto the next finally handler
  58043. $async$goto = $async$next.pop();
  58044. break;
  58045. case 5:
  58046. // after finally
  58047. $async$handler = 8;
  58048. $async$goto = 11;
  58049. return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
  58050. case 11:
  58051. // returning from await.
  58052. $async$handler = 1;
  58053. // goto after finally
  58054. $async$goto = 10;
  58055. break;
  58056. case 8:
  58057. // catch
  58058. $async$handler = 7;
  58059. $async$exception = $async$currentError;
  58060. t2 = A.unwrapException($async$exception);
  58061. if (type$.SassRuntimeException._is(t2))
  58062. throw $async$exception;
  58063. else if (t2 instanceof A.MultiSpanSassException) {
  58064. error = t2;
  58065. stackTrace = A.getTraceFromException($async$exception);
  58066. t2 = error._span_exception$_message;
  58067. t3 = error;
  58068. t4 = J.getInterceptor$z(t3);
  58069. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  58070. t4 = error.primaryLabel;
  58071. t5 = error.secondarySpans;
  58072. t6 = error;
  58073. t7 = J.getInterceptor$z(t6);
  58074. A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  58075. } else if (t2 instanceof A.SassException) {
  58076. error0 = t2;
  58077. stackTrace0 = A.getTraceFromException($async$exception);
  58078. t2 = error0;
  58079. t3 = J.getInterceptor$z(t2);
  58080. A.throwWithTrace(t1._async_evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  58081. } else if (t2 instanceof A.MultiSpanSassScriptException) {
  58082. error1 = t2;
  58083. stackTrace1 = A.getTraceFromException($async$exception);
  58084. A.throwWithTrace(t1._async_evaluate$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  58085. } else if (t2 instanceof A.SassScriptException) {
  58086. error2 = t2;
  58087. stackTrace2 = A.getTraceFromException($async$exception);
  58088. A.throwWithTrace(t1._async_evaluate$_exception$1(error2.message), stackTrace2);
  58089. } else
  58090. throw $async$exception;
  58091. // goto after finally
  58092. $async$goto = 10;
  58093. break;
  58094. case 7:
  58095. // uncaught
  58096. // goto rethrow
  58097. $async$goto = 1;
  58098. break;
  58099. case 10:
  58100. // after finally
  58101. // implicit return
  58102. return A._asyncReturn(null, $async$completer);
  58103. case 1:
  58104. // rethrow
  58105. return A._asyncRethrow($async$currentError, $async$completer);
  58106. }
  58107. });
  58108. return A._asyncStartSync($async$call$0, $async$completer);
  58109. },
  58110. $signature: 2
  58111. };
  58112. A._EvaluateVisitor__loadModule__closure0.prototype = {
  58113. call$1(previousLoad) {
  58114. 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));
  58115. },
  58116. $signature: 79
  58117. };
  58118. A._EvaluateVisitor__execute_closure0.prototype = {
  58119. call$0() {
  58120. var $async$goto = 0,
  58121. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58122. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  58123. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58124. if ($async$errorCode === 1)
  58125. return A._asyncRethrow($async$result, $async$completer);
  58126. while (true)
  58127. switch ($async$goto) {
  58128. case 0:
  58129. // Function start
  58130. t1 = $async$self.$this;
  58131. oldImporter = t1._async_evaluate$_importer;
  58132. oldStylesheet = t1._async_evaluate$__stylesheet;
  58133. oldRoot = t1._async_evaluate$__root;
  58134. oldParent = t1._async_evaluate$__parent;
  58135. oldEndOfImports = t1._async_evaluate$__endOfImports;
  58136. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  58137. oldExtensionStore = t1._async_evaluate$__extensionStore;
  58138. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  58139. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  58140. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  58141. oldDeclarationName = t1._async_evaluate$_declarationName;
  58142. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  58143. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  58144. oldConfiguration = t1._async_evaluate$_configuration;
  58145. t1._async_evaluate$_importer = $async$self.importer;
  58146. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  58147. t4 = t3.span;
  58148. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  58149. t1._async_evaluate$__endOfImports = 0;
  58150. t1._async_evaluate$_outOfOrderImports = null;
  58151. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  58152. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  58153. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  58154. t6 = $async$self.configuration;
  58155. if (t6 != null)
  58156. t1._async_evaluate$_configuration = t6;
  58157. $async$goto = 2;
  58158. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  58159. case 2:
  58160. // returning from await.
  58161. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  58162. $async$self.css._value = t3;
  58163. t1._async_evaluate$_importer = oldImporter;
  58164. t1._async_evaluate$__stylesheet = oldStylesheet;
  58165. t1._async_evaluate$__root = oldRoot;
  58166. t1._async_evaluate$__parent = oldParent;
  58167. t1._async_evaluate$__endOfImports = oldEndOfImports;
  58168. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  58169. t1._async_evaluate$__extensionStore = oldExtensionStore;
  58170. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  58171. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  58172. t1._async_evaluate$_declarationName = oldDeclarationName;
  58173. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  58174. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  58175. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  58176. t1._async_evaluate$_configuration = oldConfiguration;
  58177. // implicit return
  58178. return A._asyncReturn(null, $async$completer);
  58179. }
  58180. });
  58181. return A._asyncStartSync($async$call$0, $async$completer);
  58182. },
  58183. $signature: 2
  58184. };
  58185. A._EvaluateVisitor__combineCss_closure2.prototype = {
  58186. call$1(module) {
  58187. return module.get$transitivelyContainsCss();
  58188. },
  58189. $signature: 130
  58190. };
  58191. A._EvaluateVisitor__combineCss_closure3.prototype = {
  58192. call$1(target) {
  58193. return !this.selectors.contains$1(0, target);
  58194. },
  58195. $signature: 14
  58196. };
  58197. A._EvaluateVisitor__combineCss_closure4.prototype = {
  58198. call$1(module) {
  58199. return module.cloneCss$0();
  58200. },
  58201. $signature: 384
  58202. };
  58203. A._EvaluateVisitor__extendModules_closure1.prototype = {
  58204. call$1(target) {
  58205. return !this.originalSelectors.contains$1(0, target);
  58206. },
  58207. $signature: 14
  58208. };
  58209. A._EvaluateVisitor__extendModules_closure2.prototype = {
  58210. call$0() {
  58211. return A._setArrayType([], type$.JSArray_ExtensionStore);
  58212. },
  58213. $signature: 168
  58214. };
  58215. A._EvaluateVisitor__topologicalModules_visitModule0.prototype = {
  58216. call$1(module) {
  58217. var t1, t2, t3, _i, upstream;
  58218. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  58219. upstream = t1[_i];
  58220. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  58221. this.call$1(upstream);
  58222. }
  58223. this.sorted.addFirst$1(module);
  58224. },
  58225. $signature: 166
  58226. };
  58227. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  58228. call$0() {
  58229. var t1 = A.SpanScanner$(this.resolved, null);
  58230. return new A.AtRootQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
  58231. },
  58232. $signature: 116
  58233. };
  58234. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  58235. call$0() {
  58236. var $async$goto = 0,
  58237. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58238. $async$self = this, t1, t2, t3, _i;
  58239. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58240. if ($async$errorCode === 1)
  58241. return A._asyncRethrow($async$result, $async$completer);
  58242. while (true)
  58243. switch ($async$goto) {
  58244. case 0:
  58245. // Function start
  58246. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58247. case 2:
  58248. // for condition
  58249. if (!(_i < t2)) {
  58250. // goto after for
  58251. $async$goto = 4;
  58252. break;
  58253. }
  58254. $async$goto = 5;
  58255. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58256. case 5:
  58257. // returning from await.
  58258. case 3:
  58259. // for update
  58260. ++_i;
  58261. // goto for condition
  58262. $async$goto = 2;
  58263. break;
  58264. case 4:
  58265. // after for
  58266. // implicit return
  58267. return A._asyncReturn(null, $async$completer);
  58268. }
  58269. });
  58270. return A._asyncStartSync($async$call$0, $async$completer);
  58271. },
  58272. $signature: 2
  58273. };
  58274. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  58275. call$0() {
  58276. var $async$goto = 0,
  58277. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58278. $async$self = this, t1, t2, t3, _i;
  58279. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58280. if ($async$errorCode === 1)
  58281. return A._asyncRethrow($async$result, $async$completer);
  58282. while (true)
  58283. switch ($async$goto) {
  58284. case 0:
  58285. // Function start
  58286. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58287. case 2:
  58288. // for condition
  58289. if (!(_i < t2)) {
  58290. // goto after for
  58291. $async$goto = 4;
  58292. break;
  58293. }
  58294. $async$goto = 5;
  58295. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58296. case 5:
  58297. // returning from await.
  58298. case 3:
  58299. // for update
  58300. ++_i;
  58301. // goto for condition
  58302. $async$goto = 2;
  58303. break;
  58304. case 4:
  58305. // after for
  58306. // implicit return
  58307. return A._asyncReturn(null, $async$completer);
  58308. }
  58309. });
  58310. return A._asyncStartSync($async$call$0, $async$completer);
  58311. },
  58312. $signature: 38
  58313. };
  58314. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  58315. call$1(callback) {
  58316. var $async$goto = 0,
  58317. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58318. $async$self = this, t1, t2;
  58319. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58320. if ($async$errorCode === 1)
  58321. return A._asyncRethrow($async$result, $async$completer);
  58322. while (true)
  58323. switch ($async$goto) {
  58324. case 0:
  58325. // Function start
  58326. t1 = $async$self.$this;
  58327. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  58328. t1._async_evaluate$__parent = $async$self.newParent;
  58329. $async$goto = 2;
  58330. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  58331. case 2:
  58332. // returning from await.
  58333. t1._async_evaluate$__parent = t2;
  58334. // implicit return
  58335. return A._asyncReturn(null, $async$completer);
  58336. }
  58337. });
  58338. return A._asyncStartSync($async$call$1, $async$completer);
  58339. },
  58340. $signature: 29
  58341. };
  58342. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  58343. call$1(callback) {
  58344. var $async$goto = 0,
  58345. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58346. $async$self = this, t1, oldAtRootExcludingStyleRule;
  58347. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58348. if ($async$errorCode === 1)
  58349. return A._asyncRethrow($async$result, $async$completer);
  58350. while (true)
  58351. switch ($async$goto) {
  58352. case 0:
  58353. // Function start
  58354. t1 = $async$self.$this;
  58355. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  58356. t1._async_evaluate$_atRootExcludingStyleRule = true;
  58357. $async$goto = 2;
  58358. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  58359. case 2:
  58360. // returning from await.
  58361. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  58362. // implicit return
  58363. return A._asyncReturn(null, $async$completer);
  58364. }
  58365. });
  58366. return A._asyncStartSync($async$call$1, $async$completer);
  58367. },
  58368. $signature: 29
  58369. };
  58370. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  58371. call$1(callback) {
  58372. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  58373. },
  58374. $signature: 29
  58375. };
  58376. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  58377. call$0() {
  58378. return this.innerScope.call$1(this.callback);
  58379. },
  58380. $signature: 2
  58381. };
  58382. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  58383. call$1(callback) {
  58384. var $async$goto = 0,
  58385. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58386. $async$self = this, t1, wasInKeyframes;
  58387. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58388. if ($async$errorCode === 1)
  58389. return A._asyncRethrow($async$result, $async$completer);
  58390. while (true)
  58391. switch ($async$goto) {
  58392. case 0:
  58393. // Function start
  58394. t1 = $async$self.$this;
  58395. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  58396. t1._async_evaluate$_inKeyframes = false;
  58397. $async$goto = 2;
  58398. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  58399. case 2:
  58400. // returning from await.
  58401. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  58402. // implicit return
  58403. return A._asyncReturn(null, $async$completer);
  58404. }
  58405. });
  58406. return A._asyncStartSync($async$call$1, $async$completer);
  58407. },
  58408. $signature: 29
  58409. };
  58410. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  58411. call$1($parent) {
  58412. return type$.CssAtRule._is($parent);
  58413. },
  58414. $signature: 170
  58415. };
  58416. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  58417. call$1(callback) {
  58418. var $async$goto = 0,
  58419. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58420. $async$self = this, t1, wasInUnknownAtRule;
  58421. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58422. if ($async$errorCode === 1)
  58423. return A._asyncRethrow($async$result, $async$completer);
  58424. while (true)
  58425. switch ($async$goto) {
  58426. case 0:
  58427. // Function start
  58428. t1 = $async$self.$this;
  58429. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  58430. t1._async_evaluate$_inUnknownAtRule = false;
  58431. $async$goto = 2;
  58432. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  58433. case 2:
  58434. // returning from await.
  58435. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  58436. // implicit return
  58437. return A._asyncReturn(null, $async$completer);
  58438. }
  58439. });
  58440. return A._asyncStartSync($async$call$1, $async$completer);
  58441. },
  58442. $signature: 29
  58443. };
  58444. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  58445. call$0() {
  58446. var $async$goto = 0,
  58447. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58448. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  58449. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58450. if ($async$errorCode === 1)
  58451. return A._asyncRethrow($async$result, $async$completer);
  58452. while (true)
  58453. switch ($async$goto) {
  58454. case 0:
  58455. // Function start
  58456. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58457. case 3:
  58458. // for condition
  58459. if (!(_i < t2)) {
  58460. // goto after for
  58461. $async$goto = 5;
  58462. break;
  58463. }
  58464. $async$goto = 6;
  58465. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58466. case 6:
  58467. // returning from await.
  58468. case 4:
  58469. // for update
  58470. ++_i;
  58471. // goto for condition
  58472. $async$goto = 3;
  58473. break;
  58474. case 5:
  58475. // after for
  58476. $async$returnValue = null;
  58477. // goto return
  58478. $async$goto = 1;
  58479. break;
  58480. case 1:
  58481. // return
  58482. return A._asyncReturn($async$returnValue, $async$completer);
  58483. }
  58484. });
  58485. return A._asyncStartSync($async$call$0, $async$completer);
  58486. },
  58487. $signature: 2
  58488. };
  58489. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  58490. call$1(value) {
  58491. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure(value);
  58492. },
  58493. $call$body$_EvaluateVisitor_visitDeclaration_closure(value) {
  58494. var $async$goto = 0,
  58495. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value),
  58496. $async$returnValue, $async$self = this, $async$temp1;
  58497. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58498. if ($async$errorCode === 1)
  58499. return A._asyncRethrow($async$result, $async$completer);
  58500. while (true)
  58501. switch ($async$goto) {
  58502. case 0:
  58503. // Function start
  58504. $async$temp1 = A;
  58505. $async$goto = 3;
  58506. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  58507. case 3:
  58508. // returning from await.
  58509. $async$returnValue = new $async$temp1.CssValue($async$result, value.get$span(value), type$.CssValue_Value);
  58510. // goto return
  58511. $async$goto = 1;
  58512. break;
  58513. case 1:
  58514. // return
  58515. return A._asyncReturn($async$returnValue, $async$completer);
  58516. }
  58517. });
  58518. return A._asyncStartSync($async$call$1, $async$completer);
  58519. },
  58520. $signature: 397
  58521. };
  58522. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  58523. call$0() {
  58524. var $async$goto = 0,
  58525. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58526. $async$self = this, t1, t2, t3, _i;
  58527. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58528. if ($async$errorCode === 1)
  58529. return A._asyncRethrow($async$result, $async$completer);
  58530. while (true)
  58531. switch ($async$goto) {
  58532. case 0:
  58533. // Function start
  58534. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58535. case 2:
  58536. // for condition
  58537. if (!(_i < t2)) {
  58538. // goto after for
  58539. $async$goto = 4;
  58540. break;
  58541. }
  58542. $async$goto = 5;
  58543. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58544. case 5:
  58545. // returning from await.
  58546. case 3:
  58547. // for update
  58548. ++_i;
  58549. // goto for condition
  58550. $async$goto = 2;
  58551. break;
  58552. case 4:
  58553. // after for
  58554. // implicit return
  58555. return A._asyncReturn(null, $async$completer);
  58556. }
  58557. });
  58558. return A._asyncStartSync($async$call$0, $async$completer);
  58559. },
  58560. $signature: 2
  58561. };
  58562. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  58563. call$1(value) {
  58564. var t1 = this.$this,
  58565. t2 = this.nodeWithSpan;
  58566. return t1._async_evaluate$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  58567. },
  58568. $signature: 59
  58569. };
  58570. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  58571. call$1(value) {
  58572. return this.$this._async_evaluate$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  58573. },
  58574. $signature: 59
  58575. };
  58576. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  58577. call$0() {
  58578. var _this = this,
  58579. t1 = _this.$this;
  58580. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  58581. },
  58582. $signature: 71
  58583. };
  58584. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  58585. call$1(element) {
  58586. var t1;
  58587. this.setVariables.call$1(element);
  58588. t1 = this.$this;
  58589. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  58590. },
  58591. $signature: 403
  58592. };
  58593. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  58594. call$1(child) {
  58595. return child.accept$1(this.$this);
  58596. },
  58597. $signature: 77
  58598. };
  58599. A._EvaluateVisitor_visitExtendRule_closure0.prototype = {
  58600. call$0() {
  58601. var t1 = this.targetText;
  58602. return A.SelectorList_SelectorList$parse(A.trimAscii(t1.get$value(t1), true), false, true, this.$this._async_evaluate$_logger);
  58603. },
  58604. $signature: 47
  58605. };
  58606. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  58607. call$1(value) {
  58608. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  58609. },
  58610. $signature: 408
  58611. };
  58612. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  58613. call$0() {
  58614. var $async$goto = 0,
  58615. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58616. $async$self = this, t2, t3, _i, t1, styleRule;
  58617. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58618. if ($async$errorCode === 1)
  58619. return A._asyncRethrow($async$result, $async$completer);
  58620. while (true)
  58621. switch ($async$goto) {
  58622. case 0:
  58623. // Function start
  58624. t1 = $async$self.$this;
  58625. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  58626. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes ? 2 : 4;
  58627. break;
  58628. case 2:
  58629. // then
  58630. t2 = $async$self.children, t3 = t2.length, _i = 0;
  58631. case 5:
  58632. // for condition
  58633. if (!(_i < t3)) {
  58634. // goto after for
  58635. $async$goto = 7;
  58636. break;
  58637. }
  58638. $async$goto = 8;
  58639. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  58640. case 8:
  58641. // returning from await.
  58642. case 6:
  58643. // for update
  58644. ++_i;
  58645. // goto for condition
  58646. $async$goto = 5;
  58647. break;
  58648. case 7:
  58649. // after for
  58650. // goto join
  58651. $async$goto = 3;
  58652. break;
  58653. case 4:
  58654. // else
  58655. $async$goto = 9;
  58656. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  58657. case 9:
  58658. // returning from await.
  58659. case 3:
  58660. // join
  58661. // implicit return
  58662. return A._asyncReturn(null, $async$completer);
  58663. }
  58664. });
  58665. return A._asyncStartSync($async$call$0, $async$completer);
  58666. },
  58667. $signature: 2
  58668. };
  58669. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  58670. call$0() {
  58671. var $async$goto = 0,
  58672. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  58673. $async$self = this, t1, t2, t3, _i;
  58674. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58675. if ($async$errorCode === 1)
  58676. return A._asyncRethrow($async$result, $async$completer);
  58677. while (true)
  58678. switch ($async$goto) {
  58679. case 0:
  58680. // Function start
  58681. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  58682. case 2:
  58683. // for condition
  58684. if (!(_i < t2)) {
  58685. // goto after for
  58686. $async$goto = 4;
  58687. break;
  58688. }
  58689. $async$goto = 5;
  58690. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  58691. case 5:
  58692. // returning from await.
  58693. case 3:
  58694. // for update
  58695. ++_i;
  58696. // goto for condition
  58697. $async$goto = 2;
  58698. break;
  58699. case 4:
  58700. // after for
  58701. // implicit return
  58702. return A._asyncReturn(null, $async$completer);
  58703. }
  58704. });
  58705. return A._asyncStartSync($async$call$0, $async$completer);
  58706. },
  58707. $signature: 2
  58708. };
  58709. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  58710. call$1(node) {
  58711. return type$.CssStyleRule._is(node);
  58712. },
  58713. $signature: 6
  58714. };
  58715. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  58716. call$0() {
  58717. var $async$goto = 0,
  58718. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  58719. $async$returnValue, $async$self = this;
  58720. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58721. if ($async$errorCode === 1)
  58722. return A._asyncRethrow($async$result, $async$completer);
  58723. while (true)
  58724. switch ($async$goto) {
  58725. case 0:
  58726. // Function start
  58727. $async$goto = 3;
  58728. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  58729. case 3:
  58730. // returning from await.
  58731. $async$returnValue = $async$result.assertNumber$0();
  58732. // goto return
  58733. $async$goto = 1;
  58734. break;
  58735. case 1:
  58736. // return
  58737. return A._asyncReturn($async$returnValue, $async$completer);
  58738. }
  58739. });
  58740. return A._asyncStartSync($async$call$0, $async$completer);
  58741. },
  58742. $signature: 172
  58743. };
  58744. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  58745. call$0() {
  58746. var $async$goto = 0,
  58747. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  58748. $async$returnValue, $async$self = this;
  58749. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58750. if ($async$errorCode === 1)
  58751. return A._asyncRethrow($async$result, $async$completer);
  58752. while (true)
  58753. switch ($async$goto) {
  58754. case 0:
  58755. // Function start
  58756. $async$goto = 3;
  58757. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  58758. case 3:
  58759. // returning from await.
  58760. $async$returnValue = $async$result.assertNumber$0();
  58761. // goto return
  58762. $async$goto = 1;
  58763. break;
  58764. case 1:
  58765. // return
  58766. return A._asyncReturn($async$returnValue, $async$completer);
  58767. }
  58768. });
  58769. return A._asyncStartSync($async$call$0, $async$completer);
  58770. },
  58771. $signature: 172
  58772. };
  58773. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  58774. call$0() {
  58775. return this.fromNumber.assertInt$0();
  58776. },
  58777. $signature: 12
  58778. };
  58779. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  58780. call$0() {
  58781. var t1 = this.fromNumber;
  58782. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  58783. },
  58784. $signature: 12
  58785. };
  58786. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  58787. call$0() {
  58788. var $async$goto = 0,
  58789. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  58790. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  58791. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58792. if ($async$errorCode === 1)
  58793. return A._asyncRethrow($async$result, $async$completer);
  58794. while (true)
  58795. switch ($async$goto) {
  58796. case 0:
  58797. // Function start
  58798. t1 = $async$self.$this;
  58799. t2 = $async$self.node;
  58800. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  58801. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  58802. case 3:
  58803. // for condition
  58804. if (!(i !== t3.to)) {
  58805. // goto after for
  58806. $async$goto = 5;
  58807. break;
  58808. }
  58809. t7 = t1._async_evaluate$_environment;
  58810. t8 = t6.get$numeratorUnits(t6);
  58811. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  58812. $async$goto = 6;
  58813. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  58814. case 6:
  58815. // returning from await.
  58816. result = $async$result;
  58817. if (result != null) {
  58818. $async$returnValue = result;
  58819. // goto return
  58820. $async$goto = 1;
  58821. break;
  58822. }
  58823. case 4:
  58824. // for update
  58825. i += t4;
  58826. // goto for condition
  58827. $async$goto = 3;
  58828. break;
  58829. case 5:
  58830. // after for
  58831. $async$returnValue = null;
  58832. // goto return
  58833. $async$goto = 1;
  58834. break;
  58835. case 1:
  58836. // return
  58837. return A._asyncReturn($async$returnValue, $async$completer);
  58838. }
  58839. });
  58840. return A._asyncStartSync($async$call$0, $async$completer);
  58841. },
  58842. $signature: 71
  58843. };
  58844. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  58845. call$1(child) {
  58846. return child.accept$1(this.$this);
  58847. },
  58848. $signature: 77
  58849. };
  58850. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  58851. call$1(module) {
  58852. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  58853. },
  58854. $signature: 109
  58855. };
  58856. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  58857. call$1(module) {
  58858. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  58859. },
  58860. $signature: 109
  58861. };
  58862. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  58863. call$0() {
  58864. var t1 = this.$this;
  58865. return t1._async_evaluate$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure0(t1));
  58866. },
  58867. $signature: 71
  58868. };
  58869. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  58870. call$1(child) {
  58871. return child.accept$1(this.$this);
  58872. },
  58873. $signature: 77
  58874. };
  58875. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  58876. call$0() {
  58877. var $async$goto = 0,
  58878. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  58879. $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;
  58880. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  58881. if ($async$errorCode === 1)
  58882. return A._asyncRethrow($async$result, $async$completer);
  58883. while (true)
  58884. switch ($async$goto) {
  58885. case 0:
  58886. // Function start
  58887. t1 = $async$self.$this;
  58888. t2 = $async$self.$import;
  58889. $async$goto = 3;
  58890. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  58891. case 3:
  58892. // returning from await.
  58893. result = $async$result;
  58894. stylesheet = result.stylesheet;
  58895. t3 = stylesheet.span;
  58896. url = t3.get$sourceUrl(t3);
  58897. if (url != null) {
  58898. t3 = t1._async_evaluate$_activeModules;
  58899. if (t3.containsKey$1(url)) {
  58900. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  58901. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  58902. }
  58903. t3.$indexSet(0, url, t2);
  58904. }
  58905. t2 = stylesheet._uses;
  58906. t3 = type$.UnmodifiableListView_UseRule;
  58907. t4 = new A.UnmodifiableListView(t2, t3);
  58908. if (t4.get$length(t4) === 0) {
  58909. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  58910. t4 = t4.get$length(t4) === 0;
  58911. } else
  58912. t4 = false;
  58913. $async$goto = t4 ? 4 : 5;
  58914. break;
  58915. case 4:
  58916. // then
  58917. oldImporter = t1._async_evaluate$_importer;
  58918. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  58919. oldInDependency = t1._async_evaluate$_inDependency;
  58920. t1._async_evaluate$_importer = result.importer;
  58921. t1._async_evaluate$__stylesheet = stylesheet;
  58922. t1._async_evaluate$_inDependency = result.isDependency;
  58923. $async$goto = 6;
  58924. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  58925. case 6:
  58926. // returning from await.
  58927. t1._async_evaluate$_importer = oldImporter;
  58928. t1._async_evaluate$__stylesheet = t2;
  58929. t1._async_evaluate$_inDependency = oldInDependency;
  58930. t1._async_evaluate$_activeModules.remove$1(0, url);
  58931. // goto return
  58932. $async$goto = 1;
  58933. break;
  58934. case 5:
  58935. // join
  58936. t2 = new A.UnmodifiableListView(t2, t3);
  58937. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  58938. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  58939. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  58940. } else
  58941. loadsUserDefinedModules = true;
  58942. children = A._Cell$();
  58943. t2 = t1._async_evaluate$_environment;
  58944. t3 = type$.String;
  58945. t4 = type$.Module_AsyncCallable;
  58946. t5 = type$.AstNode;
  58947. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  58948. t7 = t2._async_environment$_variables;
  58949. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  58950. t8 = t2._async_environment$_variableNodes;
  58951. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  58952. t9 = t2._async_environment$_functions;
  58953. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  58954. t10 = t2._async_environment$_mixins;
  58955. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  58956. 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);
  58957. $async$goto = 7;
  58958. 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);
  58959. case 7:
  58960. // returning from await.
  58961. module = environment.toDummyModule$0();
  58962. t1._async_evaluate$_environment.importForwards$1(module);
  58963. $async$goto = loadsUserDefinedModules ? 8 : 9;
  58964. break;
  58965. case 8:
  58966. // then
  58967. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  58968. break;
  58969. case 10:
  58970. // then
  58971. $async$goto = 12;
  58972. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  58973. case 12:
  58974. // returning from await.
  58975. case 11:
  58976. // join
  58977. visitor = new A._ImportedCssVisitor0(t1);
  58978. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  58979. t2.get$current(t2).accept$1(visitor);
  58980. case 9:
  58981. // join
  58982. t1._async_evaluate$_activeModules.remove$1(0, url);
  58983. case 1:
  58984. // return
  58985. return A._asyncReturn($async$returnValue, $async$completer);
  58986. }
  58987. });
  58988. return A._asyncStartSync($async$call$0, $async$completer);
  58989. },
  58990. $signature: 38
  58991. };
  58992. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  58993. call$1(previousLoad) {
  58994. 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));
  58995. },
  58996. $signature: 79
  58997. };
  58998. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  58999. call$1(rule) {
  59000. return rule.url.get$scheme() !== "sass";
  59001. },
  59002. $signature: 174
  59003. };
  59004. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  59005. call$1(rule) {
  59006. return rule.url.get$scheme() !== "sass";
  59007. },
  59008. $signature: 175
  59009. };
  59010. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  59011. call$0() {
  59012. var $async$goto = 0,
  59013. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59014. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  59015. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59016. if ($async$errorCode === 1)
  59017. return A._asyncRethrow($async$result, $async$completer);
  59018. while (true)
  59019. switch ($async$goto) {
  59020. case 0:
  59021. // Function start
  59022. t1 = $async$self.$this;
  59023. oldImporter = t1._async_evaluate$_importer;
  59024. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  59025. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  59026. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  59027. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  59028. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  59029. oldConfiguration = t1._async_evaluate$_configuration;
  59030. oldInDependency = t1._async_evaluate$_inDependency;
  59031. t6 = $async$self.result;
  59032. t1._async_evaluate$_importer = t6.importer;
  59033. t7 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  59034. t8 = $async$self.loadsUserDefinedModules;
  59035. if (t8) {
  59036. t9 = A.ModifiableCssStylesheet$(t7.span);
  59037. t1._async_evaluate$__root = t9;
  59038. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t9, "_root");
  59039. t1._async_evaluate$__endOfImports = 0;
  59040. t1._async_evaluate$_outOfOrderImports = null;
  59041. }
  59042. t1._async_evaluate$_inDependency = t6.isDependency;
  59043. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  59044. if (!t6.get$isEmpty(t6))
  59045. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  59046. $async$goto = 2;
  59047. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  59048. case 2:
  59049. // returning from await.
  59050. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  59051. $async$self.children._value = t6;
  59052. t1._async_evaluate$_importer = oldImporter;
  59053. t1._async_evaluate$__stylesheet = t2;
  59054. if (t8) {
  59055. t1._async_evaluate$__root = t3;
  59056. t1._async_evaluate$__parent = t4;
  59057. t1._async_evaluate$__endOfImports = t5;
  59058. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  59059. }
  59060. t1._async_evaluate$_configuration = oldConfiguration;
  59061. t1._async_evaluate$_inDependency = oldInDependency;
  59062. // implicit return
  59063. return A._asyncReturn(null, $async$completer);
  59064. }
  59065. });
  59066. return A._asyncStartSync($async$call$0, $async$completer);
  59067. },
  59068. $signature: 2
  59069. };
  59070. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  59071. call$0() {
  59072. var t1 = this.node;
  59073. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  59074. },
  59075. $signature: 110
  59076. };
  59077. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  59078. call$0() {
  59079. return this.node.get$spanWithoutContent();
  59080. },
  59081. $signature: 30
  59082. };
  59083. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  59084. call$1($content) {
  59085. var t1 = this.$this;
  59086. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  59087. },
  59088. $signature: 450
  59089. };
  59090. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  59091. call$0() {
  59092. var $async$goto = 0,
  59093. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59094. $async$self = this, t1;
  59095. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59096. if ($async$errorCode === 1)
  59097. return A._asyncRethrow($async$result, $async$completer);
  59098. while (true)
  59099. switch ($async$goto) {
  59100. case 0:
  59101. // Function start
  59102. t1 = $async$self.$this;
  59103. $async$goto = 2;
  59104. 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);
  59105. case 2:
  59106. // returning from await.
  59107. // implicit return
  59108. return A._asyncReturn(null, $async$completer);
  59109. }
  59110. });
  59111. return A._asyncStartSync($async$call$0, $async$completer);
  59112. },
  59113. $signature: 2
  59114. };
  59115. A._EvaluateVisitor_visitIncludeRule__closure0.prototype = {
  59116. call$0() {
  59117. var $async$goto = 0,
  59118. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59119. $async$self = this, t1;
  59120. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59121. if ($async$errorCode === 1)
  59122. return A._asyncRethrow($async$result, $async$completer);
  59123. while (true)
  59124. switch ($async$goto) {
  59125. case 0:
  59126. // Function start
  59127. t1 = $async$self.$this;
  59128. $async$goto = 2;
  59129. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure0(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  59130. case 2:
  59131. // returning from await.
  59132. // implicit return
  59133. return A._asyncReturn(null, $async$completer);
  59134. }
  59135. });
  59136. return A._asyncStartSync($async$call$0, $async$completer);
  59137. },
  59138. $signature: 38
  59139. };
  59140. A._EvaluateVisitor_visitIncludeRule___closure0.prototype = {
  59141. call$0() {
  59142. var $async$goto = 0,
  59143. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  59144. $async$self = this, t1, t2, t3, t4, t5, _i;
  59145. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59146. if ($async$errorCode === 1)
  59147. return A._asyncRethrow($async$result, $async$completer);
  59148. while (true)
  59149. switch ($async$goto) {
  59150. case 0:
  59151. // Function start
  59152. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value, _i = 0;
  59153. case 2:
  59154. // for condition
  59155. if (!(_i < t2)) {
  59156. // goto after for
  59157. $async$goto = 4;
  59158. break;
  59159. }
  59160. $async$goto = 5;
  59161. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure0(t3, t1[_i]), t5), $async$call$0);
  59162. case 5:
  59163. // returning from await.
  59164. case 3:
  59165. // for update
  59166. ++_i;
  59167. // goto for condition
  59168. $async$goto = 2;
  59169. break;
  59170. case 4:
  59171. // after for
  59172. // implicit return
  59173. return A._asyncReturn(null, $async$completer);
  59174. }
  59175. });
  59176. return A._asyncStartSync($async$call$0, $async$completer);
  59177. },
  59178. $signature: 38
  59179. };
  59180. A._EvaluateVisitor_visitIncludeRule____closure0.prototype = {
  59181. call$0() {
  59182. return this.statement.accept$1(this.$this);
  59183. },
  59184. $signature: 71
  59185. };
  59186. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  59187. call$1(mediaQueries) {
  59188. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  59189. },
  59190. $signature: 101
  59191. };
  59192. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  59193. call$0() {
  59194. var $async$goto = 0,
  59195. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59196. $async$self = this, t1, t2;
  59197. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59198. if ($async$errorCode === 1)
  59199. return A._asyncRethrow($async$result, $async$completer);
  59200. while (true)
  59201. switch ($async$goto) {
  59202. case 0:
  59203. // Function start
  59204. t1 = $async$self.$this;
  59205. t2 = $async$self.mergedQueries;
  59206. if (t2 == null)
  59207. t2 = $async$self.queries;
  59208. $async$goto = 2;
  59209. 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);
  59210. case 2:
  59211. // returning from await.
  59212. // implicit return
  59213. return A._asyncReturn(null, $async$completer);
  59214. }
  59215. });
  59216. return A._asyncStartSync($async$call$0, $async$completer);
  59217. },
  59218. $signature: 2
  59219. };
  59220. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  59221. call$0() {
  59222. var $async$goto = 0,
  59223. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59224. $async$self = this, t2, t3, _i, t1, styleRule;
  59225. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59226. if ($async$errorCode === 1)
  59227. return A._asyncRethrow($async$result, $async$completer);
  59228. while (true)
  59229. switch ($async$goto) {
  59230. case 0:
  59231. // Function start
  59232. t1 = $async$self.$this;
  59233. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  59234. $async$goto = styleRule == null ? 2 : 4;
  59235. break;
  59236. case 2:
  59237. // then
  59238. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  59239. case 5:
  59240. // for condition
  59241. if (!(_i < t3)) {
  59242. // goto after for
  59243. $async$goto = 7;
  59244. break;
  59245. }
  59246. $async$goto = 8;
  59247. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  59248. case 8:
  59249. // returning from await.
  59250. case 6:
  59251. // for update
  59252. ++_i;
  59253. // goto for condition
  59254. $async$goto = 5;
  59255. break;
  59256. case 7:
  59257. // after for
  59258. // goto join
  59259. $async$goto = 3;
  59260. break;
  59261. case 4:
  59262. // else
  59263. $async$goto = 9;
  59264. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  59265. case 9:
  59266. // returning from await.
  59267. case 3:
  59268. // join
  59269. // implicit return
  59270. return A._asyncReturn(null, $async$completer);
  59271. }
  59272. });
  59273. return A._asyncStartSync($async$call$0, $async$completer);
  59274. },
  59275. $signature: 2
  59276. };
  59277. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  59278. call$0() {
  59279. var $async$goto = 0,
  59280. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59281. $async$self = this, t1, t2, t3, _i;
  59282. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59283. if ($async$errorCode === 1)
  59284. return A._asyncRethrow($async$result, $async$completer);
  59285. while (true)
  59286. switch ($async$goto) {
  59287. case 0:
  59288. // Function start
  59289. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59290. case 2:
  59291. // for condition
  59292. if (!(_i < t2)) {
  59293. // goto after for
  59294. $async$goto = 4;
  59295. break;
  59296. }
  59297. $async$goto = 5;
  59298. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59299. case 5:
  59300. // returning from await.
  59301. case 3:
  59302. // for update
  59303. ++_i;
  59304. // goto for condition
  59305. $async$goto = 2;
  59306. break;
  59307. case 4:
  59308. // after for
  59309. // implicit return
  59310. return A._asyncReturn(null, $async$completer);
  59311. }
  59312. });
  59313. return A._asyncStartSync($async$call$0, $async$completer);
  59314. },
  59315. $signature: 2
  59316. };
  59317. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  59318. call$1(node) {
  59319. var t1;
  59320. if (!type$.CssStyleRule._is(node)) {
  59321. t1 = this.mergedSources;
  59322. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  59323. } else
  59324. t1 = true;
  59325. return t1;
  59326. },
  59327. $signature: 6
  59328. };
  59329. A._EvaluateVisitor__visitMediaQueries_closure0.prototype = {
  59330. call$0() {
  59331. var t1 = A.SpanScanner$(this.resolved, null);
  59332. return new A.MediaQueryParser(t1, this.$this._async_evaluate$_logger).parse$0();
  59333. },
  59334. $signature: 103
  59335. };
  59336. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  59337. call$0() {
  59338. var t1 = this.selectorText;
  59339. return A.KeyframeSelectorParser$(t1.get$value(t1), this.$this._async_evaluate$_logger).parse$0();
  59340. },
  59341. $signature: 48
  59342. };
  59343. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  59344. call$0() {
  59345. var $async$goto = 0,
  59346. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59347. $async$self = this, t1, t2, t3, _i;
  59348. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59349. if ($async$errorCode === 1)
  59350. return A._asyncRethrow($async$result, $async$completer);
  59351. while (true)
  59352. switch ($async$goto) {
  59353. case 0:
  59354. // Function start
  59355. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59356. case 2:
  59357. // for condition
  59358. if (!(_i < t2)) {
  59359. // goto after for
  59360. $async$goto = 4;
  59361. break;
  59362. }
  59363. $async$goto = 5;
  59364. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59365. case 5:
  59366. // returning from await.
  59367. case 3:
  59368. // for update
  59369. ++_i;
  59370. // goto for condition
  59371. $async$goto = 2;
  59372. break;
  59373. case 4:
  59374. // after for
  59375. // implicit return
  59376. return A._asyncReturn(null, $async$completer);
  59377. }
  59378. });
  59379. return A._asyncStartSync($async$call$0, $async$completer);
  59380. },
  59381. $signature: 2
  59382. };
  59383. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  59384. call$1(node) {
  59385. return type$.CssStyleRule._is(node);
  59386. },
  59387. $signature: 6
  59388. };
  59389. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  59390. call$0() {
  59391. var _s11_ = "_stylesheet",
  59392. t1 = this.selectorText,
  59393. t2 = this.$this;
  59394. return A.SelectorList_SelectorList$parse(t1.get$value(t1), !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, !t2._async_evaluate$_assertInModule$2(t2._async_evaluate$__stylesheet, _s11_).plainCss, t2._async_evaluate$_logger);
  59395. },
  59396. $signature: 47
  59397. };
  59398. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  59399. call$0() {
  59400. var t1 = this._box_0.parsedSelector,
  59401. t2 = this.$this,
  59402. t3 = t2._async_evaluate$_styleRuleIgnoringAtRoot;
  59403. t3 = t3 == null ? null : t3.originalSelector;
  59404. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate$_atRootExcludingStyleRule);
  59405. },
  59406. $signature: 47
  59407. };
  59408. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  59409. call$0() {
  59410. var $async$goto = 0,
  59411. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59412. $async$self = this, t1;
  59413. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59414. if ($async$errorCode === 1)
  59415. return A._asyncRethrow($async$result, $async$completer);
  59416. while (true)
  59417. switch ($async$goto) {
  59418. case 0:
  59419. // Function start
  59420. t1 = $async$self.$this;
  59421. $async$goto = 2;
  59422. 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);
  59423. case 2:
  59424. // returning from await.
  59425. // implicit return
  59426. return A._asyncReturn(null, $async$completer);
  59427. }
  59428. });
  59429. return A._asyncStartSync($async$call$0, $async$completer);
  59430. },
  59431. $signature: 2
  59432. };
  59433. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  59434. call$0() {
  59435. var $async$goto = 0,
  59436. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59437. $async$self = this, t1, t2, t3, _i;
  59438. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59439. if ($async$errorCode === 1)
  59440. return A._asyncRethrow($async$result, $async$completer);
  59441. while (true)
  59442. switch ($async$goto) {
  59443. case 0:
  59444. // Function start
  59445. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59446. case 2:
  59447. // for condition
  59448. if (!(_i < t2)) {
  59449. // goto after for
  59450. $async$goto = 4;
  59451. break;
  59452. }
  59453. $async$goto = 5;
  59454. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59455. case 5:
  59456. // returning from await.
  59457. case 3:
  59458. // for update
  59459. ++_i;
  59460. // goto for condition
  59461. $async$goto = 2;
  59462. break;
  59463. case 4:
  59464. // after for
  59465. // implicit return
  59466. return A._asyncReturn(null, $async$completer);
  59467. }
  59468. });
  59469. return A._asyncStartSync($async$call$0, $async$completer);
  59470. },
  59471. $signature: 2
  59472. };
  59473. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  59474. call$1(node) {
  59475. return type$.CssStyleRule._is(node);
  59476. },
  59477. $signature: 6
  59478. };
  59479. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  59480. call$1(child) {
  59481. return type$.CssComment._is(child);
  59482. },
  59483. $signature: 134
  59484. };
  59485. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  59486. call$0() {
  59487. var $async$goto = 0,
  59488. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59489. $async$self = this, t2, t3, _i, t1, styleRule;
  59490. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59491. if ($async$errorCode === 1)
  59492. return A._asyncRethrow($async$result, $async$completer);
  59493. while (true)
  59494. switch ($async$goto) {
  59495. case 0:
  59496. // Function start
  59497. t1 = $async$self.$this;
  59498. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  59499. $async$goto = styleRule == null ? 2 : 4;
  59500. break;
  59501. case 2:
  59502. // then
  59503. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  59504. case 5:
  59505. // for condition
  59506. if (!(_i < t3)) {
  59507. // goto after for
  59508. $async$goto = 7;
  59509. break;
  59510. }
  59511. $async$goto = 8;
  59512. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  59513. case 8:
  59514. // returning from await.
  59515. case 6:
  59516. // for update
  59517. ++_i;
  59518. // goto for condition
  59519. $async$goto = 5;
  59520. break;
  59521. case 7:
  59522. // after for
  59523. // goto join
  59524. $async$goto = 3;
  59525. break;
  59526. case 4:
  59527. // else
  59528. $async$goto = 9;
  59529. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  59530. case 9:
  59531. // returning from await.
  59532. case 3:
  59533. // join
  59534. // implicit return
  59535. return A._asyncReturn(null, $async$completer);
  59536. }
  59537. });
  59538. return A._asyncStartSync($async$call$0, $async$completer);
  59539. },
  59540. $signature: 2
  59541. };
  59542. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  59543. call$0() {
  59544. var $async$goto = 0,
  59545. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  59546. $async$self = this, t1, t2, t3, _i;
  59547. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59548. if ($async$errorCode === 1)
  59549. return A._asyncRethrow($async$result, $async$completer);
  59550. while (true)
  59551. switch ($async$goto) {
  59552. case 0:
  59553. // Function start
  59554. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  59555. case 2:
  59556. // for condition
  59557. if (!(_i < t2)) {
  59558. // goto after for
  59559. $async$goto = 4;
  59560. break;
  59561. }
  59562. $async$goto = 5;
  59563. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  59564. case 5:
  59565. // returning from await.
  59566. case 3:
  59567. // for update
  59568. ++_i;
  59569. // goto for condition
  59570. $async$goto = 2;
  59571. break;
  59572. case 4:
  59573. // after for
  59574. // implicit return
  59575. return A._asyncReturn(null, $async$completer);
  59576. }
  59577. });
  59578. return A._asyncStartSync($async$call$0, $async$completer);
  59579. },
  59580. $signature: 2
  59581. };
  59582. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  59583. call$1(node) {
  59584. return type$.CssStyleRule._is(node);
  59585. },
  59586. $signature: 6
  59587. };
  59588. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  59589. call$0() {
  59590. var t1 = this.override;
  59591. this.$this._async_evaluate$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  59592. },
  59593. $signature: 1
  59594. };
  59595. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  59596. call$0() {
  59597. var t1 = this.node;
  59598. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  59599. },
  59600. $signature: 39
  59601. };
  59602. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  59603. call$0() {
  59604. var t1 = this.$this,
  59605. t2 = this.node;
  59606. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  59607. },
  59608. $signature: 1
  59609. };
  59610. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  59611. call$1(module) {
  59612. var t1 = this.node;
  59613. this.$this._async_evaluate$_environment.addModule$3$namespace(module, t1, t1.namespace);
  59614. },
  59615. $signature: 109
  59616. };
  59617. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  59618. call$0() {
  59619. return this.node.expression.accept$1(this.$this);
  59620. },
  59621. $signature: 72
  59622. };
  59623. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  59624. call$0() {
  59625. var $async$goto = 0,
  59626. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  59627. $async$returnValue, $async$self = this, t1, t2, t3, result;
  59628. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59629. if ($async$errorCode === 1)
  59630. return A._asyncRethrow($async$result, $async$completer);
  59631. while (true)
  59632. switch ($async$goto) {
  59633. case 0:
  59634. // Function start
  59635. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  59636. case 3:
  59637. // for condition
  59638. $async$goto = 5;
  59639. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  59640. case 5:
  59641. // returning from await.
  59642. if (!$async$result.get$isTruthy()) {
  59643. // goto after for
  59644. $async$goto = 4;
  59645. break;
  59646. }
  59647. $async$goto = 6;
  59648. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  59649. case 6:
  59650. // returning from await.
  59651. result = $async$result;
  59652. if (result != null) {
  59653. $async$returnValue = result;
  59654. // goto return
  59655. $async$goto = 1;
  59656. break;
  59657. }
  59658. // goto for condition
  59659. $async$goto = 3;
  59660. break;
  59661. case 4:
  59662. // after for
  59663. $async$returnValue = null;
  59664. // goto return
  59665. $async$goto = 1;
  59666. break;
  59667. case 1:
  59668. // return
  59669. return A._asyncReturn($async$returnValue, $async$completer);
  59670. }
  59671. });
  59672. return A._asyncStartSync($async$call$0, $async$completer);
  59673. },
  59674. $signature: 71
  59675. };
  59676. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  59677. call$1(child) {
  59678. return child.accept$1(this.$this);
  59679. },
  59680. $signature: 77
  59681. };
  59682. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  59683. call$0() {
  59684. var $async$goto = 0,
  59685. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  59686. $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
  59687. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  59688. if ($async$errorCode === 1)
  59689. return A._asyncRethrow($async$result, $async$completer);
  59690. while (true)
  59691. switch ($async$goto) {
  59692. case 0:
  59693. // Function start
  59694. t1 = $async$self.node;
  59695. t2 = $async$self.$this;
  59696. $async$goto = 3;
  59697. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  59698. case 3:
  59699. // returning from await.
  59700. left = $async$result;
  59701. t3 = t1.operator;
  59702. case 4:
  59703. // switch
  59704. switch (t3) {
  59705. case B.BinaryOperator_axY:
  59706. // goto case
  59707. $async$goto = 6;
  59708. break;
  59709. case B.BinaryOperator_or_or_1_or:
  59710. // goto case
  59711. $async$goto = 7;
  59712. break;
  59713. case B.BinaryOperator_and_and_2_and:
  59714. // goto case
  59715. $async$goto = 8;
  59716. break;
  59717. case B.BinaryOperator_nZh:
  59718. // goto case
  59719. $async$goto = 9;
  59720. break;
  59721. case B.BinaryOperator_Vr9:
  59722. // goto case
  59723. $async$goto = 10;
  59724. break;
  59725. case B.BinaryOperator_cw1:
  59726. // goto case
  59727. $async$goto = 11;
  59728. break;
  59729. case B.BinaryOperator_Wma:
  59730. // goto case
  59731. $async$goto = 12;
  59732. break;
  59733. case B.BinaryOperator_apg:
  59734. // goto case
  59735. $async$goto = 13;
  59736. break;
  59737. case B.BinaryOperator_oqF:
  59738. // goto case
  59739. $async$goto = 14;
  59740. break;
  59741. case B.BinaryOperator_qbf:
  59742. // goto case
  59743. $async$goto = 15;
  59744. break;
  59745. case B.BinaryOperator_KlB:
  59746. // goto case
  59747. $async$goto = 16;
  59748. break;
  59749. case B.BinaryOperator_6pl:
  59750. // goto case
  59751. $async$goto = 17;
  59752. break;
  59753. case B.BinaryOperator_qpm:
  59754. // goto case
  59755. $async$goto = 18;
  59756. break;
  59757. case B.BinaryOperator_PHH:
  59758. // goto case
  59759. $async$goto = 19;
  59760. break;
  59761. default:
  59762. // goto default
  59763. $async$goto = 20;
  59764. break;
  59765. }
  59766. break;
  59767. case 6:
  59768. // case
  59769. $async$goto = 21;
  59770. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59771. case 21:
  59772. // returning from await.
  59773. right = $async$result;
  59774. $async$returnValue = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  59775. // goto return
  59776. $async$goto = 1;
  59777. break;
  59778. case 7:
  59779. // case
  59780. $async$goto = left.get$isTruthy() ? 22 : 24;
  59781. break;
  59782. case 22:
  59783. // then
  59784. $async$result = left;
  59785. // goto join
  59786. $async$goto = 23;
  59787. break;
  59788. case 24:
  59789. // else
  59790. $async$goto = 25;
  59791. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59792. case 25:
  59793. // returning from await.
  59794. case 23:
  59795. // join
  59796. $async$returnValue = $async$result;
  59797. // goto return
  59798. $async$goto = 1;
  59799. break;
  59800. case 8:
  59801. // case
  59802. $async$goto = left.get$isTruthy() ? 26 : 28;
  59803. break;
  59804. case 26:
  59805. // then
  59806. $async$goto = 29;
  59807. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59808. case 29:
  59809. // returning from await.
  59810. // goto join
  59811. $async$goto = 27;
  59812. break;
  59813. case 28:
  59814. // else
  59815. $async$result = left;
  59816. case 27:
  59817. // join
  59818. $async$returnValue = $async$result;
  59819. // goto return
  59820. $async$goto = 1;
  59821. break;
  59822. case 9:
  59823. // case
  59824. $async$temp1 = left;
  59825. $async$goto = 30;
  59826. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59827. case 30:
  59828. // returning from await.
  59829. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  59830. // goto return
  59831. $async$goto = 1;
  59832. break;
  59833. case 10:
  59834. // case
  59835. $async$temp1 = left;
  59836. $async$goto = 31;
  59837. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59838. case 31:
  59839. // returning from await.
  59840. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  59841. // goto return
  59842. $async$goto = 1;
  59843. break;
  59844. case 11:
  59845. // case
  59846. $async$temp1 = left;
  59847. $async$goto = 32;
  59848. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59849. case 32:
  59850. // returning from await.
  59851. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  59852. // goto return
  59853. $async$goto = 1;
  59854. break;
  59855. case 12:
  59856. // case
  59857. $async$temp1 = left;
  59858. $async$goto = 33;
  59859. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59860. case 33:
  59861. // returning from await.
  59862. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  59863. // goto return
  59864. $async$goto = 1;
  59865. break;
  59866. case 13:
  59867. // case
  59868. $async$temp1 = left;
  59869. $async$goto = 34;
  59870. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59871. case 34:
  59872. // returning from await.
  59873. $async$returnValue = $async$temp1.lessThan$1($async$result);
  59874. // goto return
  59875. $async$goto = 1;
  59876. break;
  59877. case 14:
  59878. // case
  59879. $async$temp1 = left;
  59880. $async$goto = 35;
  59881. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59882. case 35:
  59883. // returning from await.
  59884. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  59885. // goto return
  59886. $async$goto = 1;
  59887. break;
  59888. case 15:
  59889. // case
  59890. $async$temp1 = left;
  59891. $async$goto = 36;
  59892. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59893. case 36:
  59894. // returning from await.
  59895. $async$returnValue = $async$temp1.plus$1($async$result);
  59896. // goto return
  59897. $async$goto = 1;
  59898. break;
  59899. case 16:
  59900. // case
  59901. $async$temp1 = left;
  59902. $async$goto = 37;
  59903. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59904. case 37:
  59905. // returning from await.
  59906. $async$returnValue = $async$temp1.minus$1($async$result);
  59907. // goto return
  59908. $async$goto = 1;
  59909. break;
  59910. case 17:
  59911. // case
  59912. $async$temp1 = left;
  59913. $async$goto = 38;
  59914. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59915. case 38:
  59916. // returning from await.
  59917. $async$returnValue = $async$temp1.times$1($async$result);
  59918. // goto return
  59919. $async$goto = 1;
  59920. break;
  59921. case 18:
  59922. // case
  59923. $async$goto = 39;
  59924. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59925. case 39:
  59926. // returning from await.
  59927. right = $async$result;
  59928. result = left.dividedBy$1(right);
  59929. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber) {
  59930. $async$returnValue = type$.SassNumber._as(result).withSlash$2(left, right);
  59931. // goto return
  59932. $async$goto = 1;
  59933. break;
  59934. } else {
  59935. if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  59936. t2._async_evaluate$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  59937. $async$returnValue = result;
  59938. // goto return
  59939. $async$goto = 1;
  59940. break;
  59941. }
  59942. case 19:
  59943. // case
  59944. $async$temp1 = left;
  59945. $async$goto = 40;
  59946. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  59947. case 40:
  59948. // returning from await.
  59949. $async$returnValue = $async$temp1.modulo$1($async$result);
  59950. // goto return
  59951. $async$goto = 1;
  59952. break;
  59953. case 20:
  59954. // default
  59955. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  59956. case 5:
  59957. // after switch
  59958. case 1:
  59959. // return
  59960. return A._asyncReturn($async$returnValue, $async$completer);
  59961. }
  59962. });
  59963. return A._asyncStartSync($async$call$0, $async$completer);
  59964. },
  59965. $signature: 72
  59966. };
  59967. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation0.prototype = {
  59968. call$1(expression) {
  59969. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_qpm)
  59970. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  59971. else if (expression instanceof A.ParenthesizedExpression)
  59972. return expression.expression.toString$0(0);
  59973. else
  59974. return expression.toString$0(0);
  59975. },
  59976. $signature: 133
  59977. };
  59978. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  59979. call$0() {
  59980. var t1 = this.node;
  59981. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  59982. },
  59983. $signature: 39
  59984. };
  59985. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  59986. call$0() {
  59987. var _this = this,
  59988. t1 = _this.node.operator;
  59989. switch (t1) {
  59990. case B.UnaryOperator_gg4:
  59991. return _this.operand.unaryPlus$0();
  59992. case B.UnaryOperator_TLI:
  59993. return _this.operand.unaryMinus$0();
  59994. case B.UnaryOperator_Ix1:
  59995. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  59996. case B.UnaryOperator_not_not_not:
  59997. return _this.operand.unaryNot$0();
  59998. default:
  59999. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  60000. }
  60001. },
  60002. $signature: 35
  60003. };
  60004. A._EvaluateVisitor__visitCalculationValue_closure0.prototype = {
  60005. call$0() {
  60006. var $async$goto = 0,
  60007. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  60008. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  60009. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60010. if ($async$errorCode === 1)
  60011. return A._asyncRethrow($async$result, $async$completer);
  60012. while (true)
  60013. switch ($async$goto) {
  60014. case 0:
  60015. // Function start
  60016. t1 = $async$self.$this;
  60017. t2 = $async$self.node;
  60018. t3 = $async$self.inMinMax;
  60019. $async$temp1 = A;
  60020. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$1(t2.operator);
  60021. $async$goto = 3;
  60022. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  60023. case 3:
  60024. // returning from await.
  60025. $async$temp3 = $async$result;
  60026. $async$goto = 4;
  60027. return A._asyncAwait(t1._async_evaluate$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  60028. case 4:
  60029. // returning from await.
  60030. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  60031. // goto return
  60032. $async$goto = 1;
  60033. break;
  60034. case 1:
  60035. // return
  60036. return A._asyncReturn($async$returnValue, $async$completer);
  60037. }
  60038. });
  60039. return A._asyncStartSync($async$call$0, $async$completer);
  60040. },
  60041. $signature: 177
  60042. };
  60043. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  60044. call$1(expression) {
  60045. return expression.accept$1(this.$this);
  60046. },
  60047. $signature: 487
  60048. };
  60049. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  60050. call$0() {
  60051. var t1 = this.node;
  60052. return this.$this._async_evaluate$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  60053. },
  60054. $signature: 110
  60055. };
  60056. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  60057. call$0() {
  60058. var t1 = this.node;
  60059. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  60060. },
  60061. $signature: 72
  60062. };
  60063. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  60064. call$0() {
  60065. var t1 = this.node;
  60066. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  60067. },
  60068. $signature: 72
  60069. };
  60070. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  60071. call$0() {
  60072. var _this = this,
  60073. t1 = _this.$this,
  60074. t2 = _this.callable,
  60075. t3 = _this.V;
  60076. 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);
  60077. },
  60078. $signature() {
  60079. return this.V._eval$1("Future<0>()");
  60080. }
  60081. };
  60082. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  60083. call$0() {
  60084. var _this = this,
  60085. t1 = _this.$this,
  60086. t2 = _this.V;
  60087. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  60088. },
  60089. $signature() {
  60090. return this.V._eval$1("Future<0>()");
  60091. }
  60092. };
  60093. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  60094. call$0() {
  60095. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  60096. },
  60097. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  60098. var $async$goto = 0,
  60099. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  60100. $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;
  60101. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60102. if ($async$errorCode === 1)
  60103. return A._asyncRethrow($async$result, $async$completer);
  60104. while (true)
  60105. switch ($async$goto) {
  60106. case 0:
  60107. // Function start
  60108. t1 = $async$self.$this;
  60109. t2 = $async$self.evaluated;
  60110. t3 = t2.positional;
  60111. t4 = t2.named;
  60112. t5 = $async$self.callable.declaration.$arguments;
  60113. t6 = $async$self.nodeWithSpan;
  60114. t1._async_evaluate$_verifyArguments$4(t3.length, t4, t5, t6);
  60115. declaredArguments = t5.$arguments;
  60116. t7 = declaredArguments.length;
  60117. minLength = Math.min(t3.length, t7);
  60118. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  60119. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  60120. i = t3.length, t8 = t2.namedNodes;
  60121. case 3:
  60122. // for condition
  60123. if (!(i < t7)) {
  60124. // goto after for
  60125. $async$goto = 5;
  60126. break;
  60127. }
  60128. argument = declaredArguments[i];
  60129. t9 = argument.name;
  60130. value = t4.remove$1(0, t9);
  60131. $async$goto = value == null ? 6 : 7;
  60132. break;
  60133. case 6:
  60134. // then
  60135. t10 = argument.defaultValue;
  60136. $async$temp1 = t1;
  60137. $async$goto = 8;
  60138. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  60139. case 8:
  60140. // returning from await.
  60141. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t10));
  60142. case 7:
  60143. // join
  60144. t10 = t1._async_evaluate$_environment;
  60145. t11 = t8.$index(0, t9);
  60146. if (t11 == null) {
  60147. t11 = argument.defaultValue;
  60148. t11.toString;
  60149. t11 = t1._async_evaluate$_expressionNode$1(t11);
  60150. }
  60151. t10.setLocalVariable$3(t9, value, t11);
  60152. case 4:
  60153. // for update
  60154. ++i;
  60155. // goto for condition
  60156. $async$goto = 3;
  60157. break;
  60158. case 5:
  60159. // after for
  60160. restArgument = t5.restArgument;
  60161. if (restArgument != null) {
  60162. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty7;
  60163. t2 = t2.separator;
  60164. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  60165. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  60166. } else
  60167. argumentList = null;
  60168. $async$goto = 9;
  60169. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  60170. case 9:
  60171. // returning from await.
  60172. result = $async$result;
  60173. if (argumentList == null) {
  60174. $async$returnValue = result;
  60175. // goto return
  60176. $async$goto = 1;
  60177. break;
  60178. }
  60179. t2 = t4.__js_helper$_length;
  60180. if (t2 === 0) {
  60181. $async$returnValue = result;
  60182. // goto return
  60183. $async$goto = 1;
  60184. break;
  60185. }
  60186. if (argumentList._wereKeywordsAccessed) {
  60187. $async$returnValue = result;
  60188. // goto return
  60189. $async$goto = 1;
  60190. break;
  60191. }
  60192. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  60193. 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))));
  60194. case 1:
  60195. // return
  60196. return A._asyncReturn($async$returnValue, $async$completer);
  60197. }
  60198. });
  60199. return A._asyncStartSync($async$call$0, $async$completer);
  60200. },
  60201. $signature() {
  60202. return this.V._eval$1("Future<0>()");
  60203. }
  60204. };
  60205. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  60206. call$1($name) {
  60207. return "$" + $name;
  60208. },
  60209. $signature: 5
  60210. };
  60211. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  60212. call$0() {
  60213. var $async$goto = 0,
  60214. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  60215. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  60216. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60217. if ($async$errorCode === 1)
  60218. return A._asyncRethrow($async$result, $async$completer);
  60219. while (true)
  60220. switch ($async$goto) {
  60221. case 0:
  60222. // Function start
  60223. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  60224. case 3:
  60225. // for condition
  60226. if (!(_i < t3)) {
  60227. // goto after for
  60228. $async$goto = 5;
  60229. break;
  60230. }
  60231. $async$goto = 6;
  60232. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  60233. case 6:
  60234. // returning from await.
  60235. $returnValue = $async$result;
  60236. if ($returnValue instanceof A.Value) {
  60237. $async$returnValue = $returnValue;
  60238. // goto return
  60239. $async$goto = 1;
  60240. break;
  60241. }
  60242. case 4:
  60243. // for update
  60244. ++_i;
  60245. // goto for condition
  60246. $async$goto = 3;
  60247. break;
  60248. case 5:
  60249. // after for
  60250. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  60251. case 1:
  60252. // return
  60253. return A._asyncReturn($async$returnValue, $async$completer);
  60254. }
  60255. });
  60256. return A._asyncStartSync($async$call$0, $async$completer);
  60257. },
  60258. $signature: 72
  60259. };
  60260. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  60261. call$0() {
  60262. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  60263. },
  60264. $signature: 0
  60265. };
  60266. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  60267. call$1($name) {
  60268. return "$" + $name;
  60269. },
  60270. $signature: 5
  60271. };
  60272. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  60273. call$1(value) {
  60274. return value;
  60275. },
  60276. $signature: 36
  60277. };
  60278. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  60279. call$1(value) {
  60280. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  60281. },
  60282. $signature: 36
  60283. };
  60284. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  60285. call$2(key, value) {
  60286. var _this = this,
  60287. t1 = _this.restNodeForSpan;
  60288. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  60289. _this.namedNodes.$indexSet(0, key, t1);
  60290. },
  60291. $signature: 78
  60292. };
  60293. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  60294. call$1(value) {
  60295. return value;
  60296. },
  60297. $signature: 36
  60298. };
  60299. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  60300. call$1(value) {
  60301. var t1 = this.restArgs;
  60302. return new A.ValueExpression(value, t1.get$span(t1));
  60303. },
  60304. $signature: 58
  60305. };
  60306. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  60307. call$1(value) {
  60308. var t1 = this.restArgs;
  60309. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  60310. },
  60311. $signature: 58
  60312. };
  60313. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  60314. call$2(key, value) {
  60315. var _this = this,
  60316. t1 = _this.restArgs;
  60317. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  60318. },
  60319. $signature: 78
  60320. };
  60321. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  60322. call$1(value) {
  60323. var t1 = this.keywordRestArgs;
  60324. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  60325. },
  60326. $signature: 58
  60327. };
  60328. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  60329. call$2(key, value) {
  60330. var t2, _this = this,
  60331. t1 = _this.$this;
  60332. if (key instanceof A.SassString)
  60333. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  60334. else {
  60335. t2 = _this.nodeWithSpan;
  60336. 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)));
  60337. }
  60338. },
  60339. $signature: 55
  60340. };
  60341. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  60342. call$0() {
  60343. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  60344. },
  60345. $signature: 0
  60346. };
  60347. A._EvaluateVisitor_visitStringExpression_closure0.prototype = {
  60348. call$1(value) {
  60349. var $async$goto = 0,
  60350. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  60351. $async$returnValue, $async$self = this, t1, result;
  60352. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60353. if ($async$errorCode === 1)
  60354. return A._asyncRethrow($async$result, $async$completer);
  60355. while (true)
  60356. switch ($async$goto) {
  60357. case 0:
  60358. // Function start
  60359. if (typeof value == "string") {
  60360. $async$returnValue = value;
  60361. // goto return
  60362. $async$goto = 1;
  60363. break;
  60364. }
  60365. type$.Expression._as(value);
  60366. t1 = $async$self.$this;
  60367. $async$goto = 3;
  60368. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  60369. case 3:
  60370. // returning from await.
  60371. result = $async$result;
  60372. $async$returnValue = result instanceof A.SassString ? result._string$_text : t1._async_evaluate$_serialize$3$quote(result, value, false);
  60373. // goto return
  60374. $async$goto = 1;
  60375. break;
  60376. case 1:
  60377. // return
  60378. return A._asyncReturn($async$returnValue, $async$completer);
  60379. }
  60380. });
  60381. return A._asyncStartSync($async$call$1, $async$completer);
  60382. },
  60383. $signature: 80
  60384. };
  60385. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  60386. call$0() {
  60387. var $async$goto = 0,
  60388. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60389. $async$self = this, t1, t2, t3, t4;
  60390. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60391. if ($async$errorCode === 1)
  60392. return A._asyncRethrow($async$result, $async$completer);
  60393. while (true)
  60394. switch ($async$goto) {
  60395. case 0:
  60396. // Function start
  60397. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60398. case 2:
  60399. // for condition
  60400. if (!t1.moveNext$0()) {
  60401. // goto after for
  60402. $async$goto = 3;
  60403. break;
  60404. }
  60405. t4 = t1.__internal$_current;
  60406. $async$goto = 4;
  60407. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60408. case 4:
  60409. // returning from await.
  60410. // goto for condition
  60411. $async$goto = 2;
  60412. break;
  60413. case 3:
  60414. // after for
  60415. // implicit return
  60416. return A._asyncReturn(null, $async$completer);
  60417. }
  60418. });
  60419. return A._asyncStartSync($async$call$0, $async$completer);
  60420. },
  60421. $signature: 2
  60422. };
  60423. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  60424. call$1(node) {
  60425. return type$.CssStyleRule._is(node);
  60426. },
  60427. $signature: 6
  60428. };
  60429. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  60430. call$0() {
  60431. var $async$goto = 0,
  60432. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60433. $async$self = this, t1, t2, t3, t4;
  60434. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60435. if ($async$errorCode === 1)
  60436. return A._asyncRethrow($async$result, $async$completer);
  60437. while (true)
  60438. switch ($async$goto) {
  60439. case 0:
  60440. // Function start
  60441. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60442. case 2:
  60443. // for condition
  60444. if (!t1.moveNext$0()) {
  60445. // goto after for
  60446. $async$goto = 3;
  60447. break;
  60448. }
  60449. t4 = t1.__internal$_current;
  60450. $async$goto = 4;
  60451. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60452. case 4:
  60453. // returning from await.
  60454. // goto for condition
  60455. $async$goto = 2;
  60456. break;
  60457. case 3:
  60458. // after for
  60459. // implicit return
  60460. return A._asyncReturn(null, $async$completer);
  60461. }
  60462. });
  60463. return A._asyncStartSync($async$call$0, $async$completer);
  60464. },
  60465. $signature: 2
  60466. };
  60467. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  60468. call$1(node) {
  60469. return type$.CssStyleRule._is(node);
  60470. },
  60471. $signature: 6
  60472. };
  60473. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  60474. call$1(mediaQueries) {
  60475. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  60476. },
  60477. $signature: 101
  60478. };
  60479. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  60480. call$0() {
  60481. var $async$goto = 0,
  60482. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60483. $async$self = this, t1, t2;
  60484. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60485. if ($async$errorCode === 1)
  60486. return A._asyncRethrow($async$result, $async$completer);
  60487. while (true)
  60488. switch ($async$goto) {
  60489. case 0:
  60490. // Function start
  60491. t1 = $async$self.$this;
  60492. t2 = $async$self.mergedQueries;
  60493. if (t2 == null)
  60494. t2 = $async$self.node.queries;
  60495. $async$goto = 2;
  60496. 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);
  60497. case 2:
  60498. // returning from await.
  60499. // implicit return
  60500. return A._asyncReturn(null, $async$completer);
  60501. }
  60502. });
  60503. return A._asyncStartSync($async$call$0, $async$completer);
  60504. },
  60505. $signature: 2
  60506. };
  60507. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  60508. call$0() {
  60509. var $async$goto = 0,
  60510. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60511. $async$self = this, t2, t3, t4, t1, styleRule;
  60512. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60513. if ($async$errorCode === 1)
  60514. return A._asyncRethrow($async$result, $async$completer);
  60515. while (true)
  60516. switch ($async$goto) {
  60517. case 0:
  60518. // Function start
  60519. t1 = $async$self.$this;
  60520. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60521. $async$goto = styleRule == null ? 2 : 4;
  60522. break;
  60523. case 2:
  60524. // then
  60525. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  60526. case 5:
  60527. // for condition
  60528. if (!t2.moveNext$0()) {
  60529. // goto after for
  60530. $async$goto = 6;
  60531. break;
  60532. }
  60533. t4 = t2.__internal$_current;
  60534. $async$goto = 7;
  60535. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  60536. case 7:
  60537. // returning from await.
  60538. // goto for condition
  60539. $async$goto = 5;
  60540. break;
  60541. case 6:
  60542. // after for
  60543. // goto join
  60544. $async$goto = 3;
  60545. break;
  60546. case 4:
  60547. // else
  60548. $async$goto = 8;
  60549. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  60550. case 8:
  60551. // returning from await.
  60552. case 3:
  60553. // join
  60554. // implicit return
  60555. return A._asyncReturn(null, $async$completer);
  60556. }
  60557. });
  60558. return A._asyncStartSync($async$call$0, $async$completer);
  60559. },
  60560. $signature: 2
  60561. };
  60562. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  60563. call$0() {
  60564. var $async$goto = 0,
  60565. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60566. $async$self = this, t1, t2, t3, t4;
  60567. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60568. if ($async$errorCode === 1)
  60569. return A._asyncRethrow($async$result, $async$completer);
  60570. while (true)
  60571. switch ($async$goto) {
  60572. case 0:
  60573. // Function start
  60574. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60575. case 2:
  60576. // for condition
  60577. if (!t1.moveNext$0()) {
  60578. // goto after for
  60579. $async$goto = 3;
  60580. break;
  60581. }
  60582. t4 = t1.__internal$_current;
  60583. $async$goto = 4;
  60584. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60585. case 4:
  60586. // returning from await.
  60587. // goto for condition
  60588. $async$goto = 2;
  60589. break;
  60590. case 3:
  60591. // after for
  60592. // implicit return
  60593. return A._asyncReturn(null, $async$completer);
  60594. }
  60595. });
  60596. return A._asyncStartSync($async$call$0, $async$completer);
  60597. },
  60598. $signature: 2
  60599. };
  60600. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  60601. call$1(node) {
  60602. var t1;
  60603. if (!type$.CssStyleRule._is(node)) {
  60604. t1 = this.mergedSources;
  60605. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  60606. } else
  60607. t1 = true;
  60608. return t1;
  60609. },
  60610. $signature: 6
  60611. };
  60612. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  60613. call$0() {
  60614. var $async$goto = 0,
  60615. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60616. $async$self = this, t1;
  60617. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60618. if ($async$errorCode === 1)
  60619. return A._asyncRethrow($async$result, $async$completer);
  60620. while (true)
  60621. switch ($async$goto) {
  60622. case 0:
  60623. // Function start
  60624. t1 = $async$self.$this;
  60625. $async$goto = 2;
  60626. 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);
  60627. case 2:
  60628. // returning from await.
  60629. // implicit return
  60630. return A._asyncReturn(null, $async$completer);
  60631. }
  60632. });
  60633. return A._asyncStartSync($async$call$0, $async$completer);
  60634. },
  60635. $signature: 2
  60636. };
  60637. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  60638. call$0() {
  60639. var $async$goto = 0,
  60640. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60641. $async$self = this, t1, t2, t3, t4;
  60642. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60643. if ($async$errorCode === 1)
  60644. return A._asyncRethrow($async$result, $async$completer);
  60645. while (true)
  60646. switch ($async$goto) {
  60647. case 0:
  60648. // Function start
  60649. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60650. case 2:
  60651. // for condition
  60652. if (!t1.moveNext$0()) {
  60653. // goto after for
  60654. $async$goto = 3;
  60655. break;
  60656. }
  60657. t4 = t1.__internal$_current;
  60658. $async$goto = 4;
  60659. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60660. case 4:
  60661. // returning from await.
  60662. // goto for condition
  60663. $async$goto = 2;
  60664. break;
  60665. case 3:
  60666. // after for
  60667. // implicit return
  60668. return A._asyncReturn(null, $async$completer);
  60669. }
  60670. });
  60671. return A._asyncStartSync($async$call$0, $async$completer);
  60672. },
  60673. $signature: 2
  60674. };
  60675. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  60676. call$1(node) {
  60677. return type$.CssStyleRule._is(node);
  60678. },
  60679. $signature: 6
  60680. };
  60681. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  60682. call$0() {
  60683. var $async$goto = 0,
  60684. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60685. $async$self = this, t2, t3, t4, t1, styleRule;
  60686. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60687. if ($async$errorCode === 1)
  60688. return A._asyncRethrow($async$result, $async$completer);
  60689. while (true)
  60690. switch ($async$goto) {
  60691. case 0:
  60692. // Function start
  60693. t1 = $async$self.$this;
  60694. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  60695. $async$goto = styleRule == null ? 2 : 4;
  60696. break;
  60697. case 2:
  60698. // then
  60699. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  60700. case 5:
  60701. // for condition
  60702. if (!t2.moveNext$0()) {
  60703. // goto after for
  60704. $async$goto = 6;
  60705. break;
  60706. }
  60707. t4 = t2.__internal$_current;
  60708. $async$goto = 7;
  60709. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  60710. case 7:
  60711. // returning from await.
  60712. // goto for condition
  60713. $async$goto = 5;
  60714. break;
  60715. case 6:
  60716. // after for
  60717. // goto join
  60718. $async$goto = 3;
  60719. break;
  60720. case 4:
  60721. // else
  60722. $async$goto = 8;
  60723. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  60724. case 8:
  60725. // returning from await.
  60726. case 3:
  60727. // join
  60728. // implicit return
  60729. return A._asyncReturn(null, $async$completer);
  60730. }
  60731. });
  60732. return A._asyncStartSync($async$call$0, $async$completer);
  60733. },
  60734. $signature: 2
  60735. };
  60736. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  60737. call$0() {
  60738. var $async$goto = 0,
  60739. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  60740. $async$self = this, t1, t2, t3, t4;
  60741. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60742. if ($async$errorCode === 1)
  60743. return A._asyncRethrow($async$result, $async$completer);
  60744. while (true)
  60745. switch ($async$goto) {
  60746. case 0:
  60747. // Function start
  60748. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  60749. case 2:
  60750. // for condition
  60751. if (!t1.moveNext$0()) {
  60752. // goto after for
  60753. $async$goto = 3;
  60754. break;
  60755. }
  60756. t4 = t1.__internal$_current;
  60757. $async$goto = 4;
  60758. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  60759. case 4:
  60760. // returning from await.
  60761. // goto for condition
  60762. $async$goto = 2;
  60763. break;
  60764. case 3:
  60765. // after for
  60766. // implicit return
  60767. return A._asyncReturn(null, $async$completer);
  60768. }
  60769. });
  60770. return A._asyncStartSync($async$call$0, $async$completer);
  60771. },
  60772. $signature: 2
  60773. };
  60774. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  60775. call$1(node) {
  60776. return type$.CssStyleRule._is(node);
  60777. },
  60778. $signature: 6
  60779. };
  60780. A._EvaluateVisitor__performInterpolation_closure0.prototype = {
  60781. call$1(value) {
  60782. var $async$goto = 0,
  60783. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  60784. $async$returnValue, $async$self = this, t1, result, t2, t3;
  60785. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  60786. if ($async$errorCode === 1)
  60787. return A._asyncRethrow($async$result, $async$completer);
  60788. while (true)
  60789. switch ($async$goto) {
  60790. case 0:
  60791. // Function start
  60792. if (typeof value == "string") {
  60793. $async$returnValue = value;
  60794. // goto return
  60795. $async$goto = 1;
  60796. break;
  60797. }
  60798. type$.Expression._as(value);
  60799. t1 = $async$self.$this;
  60800. $async$goto = 3;
  60801. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  60802. case 3:
  60803. // returning from await.
  60804. result = $async$result;
  60805. if ($async$self.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  60806. t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
  60807. t3 = $.$get$namesByColor();
  60808. t1._async_evaluate$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_qbf, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  60809. }
  60810. $async$returnValue = t1._async_evaluate$_serialize$3$quote(result, value, false);
  60811. // goto return
  60812. $async$goto = 1;
  60813. break;
  60814. case 1:
  60815. // return
  60816. return A._asyncReturn($async$returnValue, $async$completer);
  60817. }
  60818. });
  60819. return A._asyncStartSync($async$call$1, $async$completer);
  60820. },
  60821. $signature: 80
  60822. };
  60823. A._EvaluateVisitor__serialize_closure0.prototype = {
  60824. call$0() {
  60825. return A.serializeValue(this.value, false, this.quote);
  60826. },
  60827. $signature: 32
  60828. };
  60829. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  60830. call$0() {
  60831. var t1 = this.expression;
  60832. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  60833. },
  60834. $signature: 180
  60835. };
  60836. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  60837. call$1(number) {
  60838. var asSlash = number.asSlash;
  60839. if (asSlash != null)
  60840. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  60841. else
  60842. return A.serializeValue(number, true, true);
  60843. },
  60844. $signature: 181
  60845. };
  60846. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  60847. call$1(url) {
  60848. var t1 = this.$this._async_evaluate$_importCache;
  60849. t1 = t1 == null ? null : t1.humanize$1(url);
  60850. return t1 == null ? url : t1;
  60851. },
  60852. $signature: 81
  60853. };
  60854. A._EvaluateVisitor__stackTrace_closure0.prototype = {
  60855. call$1(tuple) {
  60856. return this.$this._async_evaluate$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  60857. },
  60858. $signature: 182
  60859. };
  60860. A._ImportedCssVisitor0.prototype = {
  60861. visitCssAtRule$1(node) {
  60862. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  60863. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  60864. },
  60865. visitCssComment$1(node) {
  60866. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  60867. },
  60868. visitCssDeclaration$1(node) {
  60869. },
  60870. visitCssImport$1(node) {
  60871. var t2,
  60872. _s13_ = "_endOfImports",
  60873. t1 = this._async_evaluate$_visitor;
  60874. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  60875. t1._async_evaluate$_addChild$1(node);
  60876. 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)) {
  60877. t1._async_evaluate$_addChild$1(node);
  60878. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  60879. } else {
  60880. t2 = t1._async_evaluate$_outOfOrderImports;
  60881. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  60882. }
  60883. },
  60884. visitCssKeyframeBlock$1(node) {
  60885. },
  60886. visitCssMediaRule$1(node) {
  60887. var t1 = this._async_evaluate$_visitor,
  60888. mediaQueries = t1._async_evaluate$_mediaQueries;
  60889. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  60890. },
  60891. visitCssStyleRule$1(node) {
  60892. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  60893. },
  60894. visitCssStylesheet$1(node) {
  60895. var t1, t2, t3;
  60896. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  60897. t3 = t1.__internal$_current;
  60898. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  60899. }
  60900. },
  60901. visitCssSupportsRule$1(node) {
  60902. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  60903. }
  60904. };
  60905. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  60906. call$1(node) {
  60907. return type$.CssStyleRule._is(node);
  60908. },
  60909. $signature: 6
  60910. };
  60911. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  60912. call$1(node) {
  60913. var t1;
  60914. if (!type$.CssStyleRule._is(node))
  60915. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  60916. else
  60917. t1 = true;
  60918. return t1;
  60919. },
  60920. $signature: 6
  60921. };
  60922. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  60923. call$1(node) {
  60924. return type$.CssStyleRule._is(node);
  60925. },
  60926. $signature: 6
  60927. };
  60928. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  60929. call$1(node) {
  60930. return type$.CssStyleRule._is(node);
  60931. },
  60932. $signature: 6
  60933. };
  60934. A.EvaluateResult.prototype = {};
  60935. A._EvaluationContext0.prototype = {
  60936. get$currentCallableSpan() {
  60937. var callableNode = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  60938. if (callableNode != null)
  60939. return callableNode.get$span(callableNode);
  60940. throw A.wrapException(A.StateError$(string$.No_Sasc));
  60941. },
  60942. warn$2$deprecation(_, message, deprecation) {
  60943. var t1 = this._async_evaluate$_visitor,
  60944. t2 = t1._async_evaluate$_importSpan;
  60945. if (t2 == null) {
  60946. t2 = t1._async_evaluate$_callableNode;
  60947. t2 = t2 == null ? null : t2.get$span(t2);
  60948. }
  60949. t1._async_evaluate$_warn$3$deprecation(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  60950. },
  60951. $isEvaluationContext: 1
  60952. };
  60953. A._ArgumentResults0.prototype = {};
  60954. A._LoadedStylesheet0.prototype = {};
  60955. A._CloneCssVisitor.prototype = {
  60956. visitCssAtRule$1(node) {
  60957. var t1 = node.isChildless,
  60958. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  60959. return t1 ? rule : this._visitChildren$2(rule, node);
  60960. },
  60961. visitCssComment$1(node) {
  60962. return new A.ModifiableCssComment(node.text, node.span);
  60963. },
  60964. visitCssDeclaration$1(node) {
  60965. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  60966. },
  60967. visitCssImport$1(node) {
  60968. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  60969. },
  60970. visitCssKeyframeBlock$1(node) {
  60971. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  60972. },
  60973. visitCssMediaRule$1(node) {
  60974. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  60975. },
  60976. visitCssStyleRule$1(node) {
  60977. var newSelector = this._oldToNewSelectors.$index(0, node.selector);
  60978. if (newSelector == null)
  60979. throw A.wrapException(A.StateError$(string$.The_Ex));
  60980. return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
  60981. },
  60982. visitCssStylesheet$1(node) {
  60983. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  60984. },
  60985. visitCssSupportsRule$1(node) {
  60986. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  60987. },
  60988. _visitChildren$1$2(newParent, oldParent) {
  60989. var t1, t2, newChild;
  60990. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  60991. t2 = t1.get$current(t1);
  60992. newChild = t2.accept$1(this);
  60993. newChild.isGroupEnd = t2.get$isGroupEnd();
  60994. newParent.addChild$1(newChild);
  60995. }
  60996. return newParent;
  60997. },
  60998. _visitChildren$2(newParent, oldParent) {
  60999. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  61000. }
  61001. };
  61002. A.Evaluator.prototype = {};
  61003. A._EvaluateVisitor.prototype = {
  61004. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  61005. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  61006. _s20_ = "$name, $module: null",
  61007. _s9_ = "sass:meta",
  61008. t1 = type$.JSArray_BuiltInCallable,
  61009. 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),
  61010. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure8(_this), _s9_)], t1);
  61011. t1 = type$.BuiltInCallable;
  61012. t2 = A.List_List$of($.$get$global(), true, t1);
  61013. B.JSArray_methods.addAll$1(t2, $.$get$local());
  61014. B.JSArray_methods.addAll$1(t2, metaFunctions);
  61015. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  61016. 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) {
  61017. module = t1[_i];
  61018. t3.$indexSet(0, module.url, module);
  61019. }
  61020. t1 = A._setArrayType([], type$.JSArray_Callable);
  61021. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  61022. B.JSArray_methods.addAll$1(t1, metaFunctions);
  61023. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  61024. $function = t1[_i];
  61025. t4 = J.get$name$x($function);
  61026. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  61027. }
  61028. },
  61029. run$2(_, importer, node) {
  61030. var t1 = type$.nullable_Object;
  61031. return A.runZoned(new A._EvaluateVisitor_run_closure(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext(this, node)], t1, t1), type$.EvaluateResult);
  61032. },
  61033. runExpression$2(importer, expression) {
  61034. var t1 = type$.nullable_Object;
  61035. 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);
  61036. },
  61037. runStatement$2(importer, statement) {
  61038. var t1 = type$.nullable_Object;
  61039. 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);
  61040. },
  61041. _assertInModule$1$2(value, $name) {
  61042. if (value != null)
  61043. return value;
  61044. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  61045. },
  61046. _assertInModule$2(value, $name) {
  61047. return this._assertInModule$1$2(value, $name, type$.dynamic);
  61048. },
  61049. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  61050. var t1, _this = this,
  61051. oldImporter = _this._importer;
  61052. _this._importer = importer;
  61053. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  61054. try {
  61055. t1 = callback.call$0();
  61056. return t1;
  61057. } finally {
  61058. _this._importer = oldImporter;
  61059. _this.__stylesheet = null;
  61060. }
  61061. },
  61062. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  61063. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  61064. },
  61065. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  61066. var t1, t2, _this = this,
  61067. builtInModule = _this._builtInModules.$index(0, url);
  61068. if (builtInModule != null) {
  61069. if (configuration instanceof A.ExplicitConfiguration) {
  61070. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  61071. t2 = configuration.nodeWithSpan;
  61072. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  61073. }
  61074. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(callback, builtInModule));
  61075. return;
  61076. }
  61077. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  61078. },
  61079. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  61080. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  61081. },
  61082. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  61083. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  61084. },
  61085. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  61086. var alreadyLoaded, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  61087. t1 = stylesheet.span,
  61088. url = t1.get$sourceUrl(t1);
  61089. t1 = _this._modules;
  61090. alreadyLoaded = t1.$index(0, url);
  61091. if (alreadyLoaded != null) {
  61092. t1 = configuration == null;
  61093. currentConfiguration = t1 ? _this._configuration : configuration;
  61094. t2 = _this._moduleConfigurations.$index(0, url);
  61095. t3 = t2.__originalConfiguration;
  61096. t2 = t3 == null ? t2 : t3;
  61097. t3 = currentConfiguration.__originalConfiguration;
  61098. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  61099. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  61100. t2 = _this._moduleNodes.$index(0, url);
  61101. existingSpan = t2 == null ? null : J.get$span$z(t2);
  61102. if (t1) {
  61103. t1 = currentConfiguration.nodeWithSpan;
  61104. configurationSpan = t1.get$span(t1);
  61105. } else
  61106. configurationSpan = null;
  61107. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  61108. if (existingSpan != null)
  61109. t1.$indexSet(0, existingSpan, "original load");
  61110. if (configurationSpan != null)
  61111. t1.$indexSet(0, configurationSpan, "configuration");
  61112. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  61113. }
  61114. return alreadyLoaded;
  61115. }
  61116. environment = A.Environment$();
  61117. css = A._Cell$();
  61118. extensionStore = A.ExtensionStore$();
  61119. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css));
  61120. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  61121. if (url != null) {
  61122. t1.$indexSet(0, url, module);
  61123. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  61124. if (nodeWithSpan != null)
  61125. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  61126. }
  61127. return module;
  61128. },
  61129. _execute$2(importer, stylesheet) {
  61130. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  61131. },
  61132. _addOutOfOrderImports$0() {
  61133. var t1, t2, _this = this, _s5_ = "_root",
  61134. _s13_ = "_endOfImports",
  61135. outOfOrderImports = _this._outOfOrderImports;
  61136. if (outOfOrderImports == null)
  61137. return _this._assertInModule$2(_this.__root, _s5_).children;
  61138. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  61139. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode);
  61140. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  61141. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  61142. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  61143. return t1;
  61144. },
  61145. _combineCss$2$clone(root, clone) {
  61146. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  61147. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  61148. selectors = root.get$extensionStore().get$simpleSelectors();
  61149. unsatisfiedExtension = A.firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  61150. if (unsatisfiedExtension != null)
  61151. _this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  61152. return root.get$css(root);
  61153. }
  61154. sortedModules = _this._topologicalModules$1(root);
  61155. if (clone) {
  61156. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module<Callable>>");
  61157. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure1(), t1), true, t1._eval$1("ListIterable.E"));
  61158. }
  61159. _this._extendModules$1(sortedModules);
  61160. t1 = type$.JSArray_CssNode;
  61161. imports = A._setArrayType([], t1);
  61162. css = A._setArrayType([], t1);
  61163. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  61164. t3 = t1.__internal$_current;
  61165. if (t3 == null)
  61166. t3 = t2._as(t3);
  61167. t3 = t3.get$css(t3);
  61168. statements = t3.get$children(t3);
  61169. index = _this._indexAfterImports$1(statements);
  61170. t3 = J.getInterceptor$ax(statements);
  61171. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  61172. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  61173. }
  61174. t1 = B.JSArray_methods.$add(imports, css);
  61175. t2 = root.get$css(root);
  61176. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  61177. },
  61178. _combineCss$1(root) {
  61179. return this._combineCss$2$clone(root, false);
  61180. },
  61181. _extendModules$1(sortedModules) {
  61182. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  61183. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  61184. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  61185. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  61186. t2 = t1.get$current(t1);
  61187. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  61188. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  61189. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  61190. t3 = t2.get$extensionStore().get$addExtensions();
  61191. if ($self != null)
  61192. t3.call$1($self);
  61193. t3 = t2.get$extensionStore();
  61194. if (t3.get$isEmpty(t3))
  61195. continue;
  61196. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  61197. upstream = t3[_i];
  61198. url = upstream.get$url(upstream);
  61199. if (url == null)
  61200. continue;
  61201. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t2.get$extensionStore());
  61202. }
  61203. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  61204. }
  61205. if (unsatisfiedExtensions._collection$_length !== 0)
  61206. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  61207. },
  61208. _throwForUnsatisfiedExtension$1(extension) {
  61209. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  61210. },
  61211. _topologicalModules$1(root) {
  61212. var t1 = type$.Module_Callable,
  61213. sorted = A.QueueList$(null, t1);
  61214. new A._EvaluateVisitor__topologicalModules_visitModule(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  61215. return sorted;
  61216. },
  61217. _indexAfterImports$1(statements) {
  61218. var t1, t2, t3, lastImport, i, statement;
  61219. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment, t3 = type$.CssImport, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  61220. statement = t1.$index(statements, i);
  61221. if (t3._is(statement))
  61222. lastImport = i;
  61223. else if (!t2._is(statement))
  61224. break;
  61225. }
  61226. return lastImport + 1;
  61227. },
  61228. visitStylesheet$1(node) {
  61229. var t1, t2, _i;
  61230. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  61231. t1[_i].accept$1(this);
  61232. return null;
  61233. },
  61234. visitAtRootRule$1(node) {
  61235. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
  61236. _s8_ = "__parent",
  61237. unparsedQuery = node.query,
  61238. query = unparsedQuery != null ? _this._adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure(_this, _this._performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS,
  61239. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  61240. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  61241. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  61242. if (!query.excludes$1($parent))
  61243. included.push($parent);
  61244. grandparent = $parent._parent;
  61245. if (grandparent == null)
  61246. throw A.wrapException(A.StateError$(string$.CssNod));
  61247. }
  61248. root = _this._trimIncluded$1(included);
  61249. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  61250. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node), node.hasDeclarations, type$.Null);
  61251. return null;
  61252. }
  61253. if (included.length !== 0) {
  61254. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  61255. 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) {
  61256. t3 = t1.__internal$_current;
  61257. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  61258. copy.addChild$1(outerCopy);
  61259. }
  61260. root.addChild$1(outerCopy);
  61261. } else
  61262. innerCopy = root;
  61263. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure1(_this, node));
  61264. return null;
  61265. },
  61266. _trimIncluded$1(nodes) {
  61267. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  61268. _s22_ = " to be an ancestor of ";
  61269. if (nodes.length === 0)
  61270. return _this._assertInModule$2(_this.__root, _s5_);
  61271. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  61272. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  61273. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  61274. grandparent = $parent._parent;
  61275. if (grandparent == null)
  61276. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  61277. }
  61278. if (innermostContiguous == null)
  61279. innermostContiguous = i;
  61280. grandparent = $parent._parent;
  61281. if (grandparent == null)
  61282. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  61283. }
  61284. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  61285. return _this._assertInModule$2(_this.__root, _s5_);
  61286. innermostContiguous.toString;
  61287. root = nodes[innermostContiguous];
  61288. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  61289. return root;
  61290. },
  61291. _scopeForAtRoot$4(node, newParent, query, included) {
  61292. var _this = this,
  61293. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  61294. t1 = query._all || query._at_root_query$_rule;
  61295. if (t1 !== query.include)
  61296. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  61297. if (_this._mediaQueries != null && query.excludesName$1("media"))
  61298. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  61299. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  61300. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  61301. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  61302. },
  61303. visitContentBlock$1(node) {
  61304. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  61305. },
  61306. visitContentRule$1(node) {
  61307. var $content = this._environment._content;
  61308. if ($content == null)
  61309. return null;
  61310. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  61311. return null;
  61312. },
  61313. visitDebugRule$1(node) {
  61314. var value = node.expression.accept$1(this),
  61315. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  61316. this._evaluate$_logger.debug$2(0, t1, node.span);
  61317. return null;
  61318. },
  61319. visitDeclaration$1(node) {
  61320. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  61321. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  61322. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  61323. t1 = node.name;
  61324. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  61325. t2 = _this._declarationName;
  61326. if (t2 != null)
  61327. $name = new A.CssValue(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  61328. t2 = node.value;
  61329. cssValue = A.NullableExtension_andThen(t2, new A._EvaluateVisitor_visitDeclaration_closure(_this));
  61330. t3 = cssValue != null;
  61331. if (t3)
  61332. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  61333. else
  61334. t4 = false;
  61335. if (t4) {
  61336. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  61337. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  61338. if (_this._sourceMap) {
  61339. t2 = A.NullableExtension_andThen(t2, _this.get$_expressionNode());
  61340. t2 = t2 == null ? _null : J.get$span$z(t2);
  61341. } else
  61342. t2 = _null;
  61343. t3.addChild$1(A.ModifiableCssDeclaration$($name, cssValue, node.span, t1, t2));
  61344. } else if (J.startsWith$1$s($name.value, "--") && t3)
  61345. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  61346. children = node.children;
  61347. if (children != null) {
  61348. oldDeclarationName = _this._declarationName;
  61349. _this._declarationName = $name.value;
  61350. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(_this, children), node.hasDeclarations, type$.Null);
  61351. _this._declarationName = oldDeclarationName;
  61352. }
  61353. return _null;
  61354. },
  61355. visitEachRule$1(node) {
  61356. var _this = this,
  61357. t1 = node.list,
  61358. list = t1.accept$1(_this),
  61359. nodeWithSpan = _this._expressionNode$1(t1),
  61360. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure0(_this, node, nodeWithSpan);
  61361. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, setVariables, node), true, type$.nullable_Value);
  61362. },
  61363. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  61364. var i,
  61365. list = value.get$asList(),
  61366. t1 = variables.length,
  61367. minLength = Math.min(t1, list.length);
  61368. for (i = 0; i < minLength; ++i)
  61369. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  61370. for (i = minLength; i < t1; ++i)
  61371. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  61372. },
  61373. visitErrorRule$1(node) {
  61374. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  61375. },
  61376. visitExtendRule$1(node) {
  61377. var t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, _this = this, _null = null,
  61378. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  61379. if (styleRule == null || _this._declarationName != null)
  61380. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  61381. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  61382. complex = t1[_i];
  61383. if (!complex.accept$1(B._IsBogusVisitor_true))
  61384. continue;
  61385. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61386. complex.accept$1(visitor);
  61387. t8 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  61388. t9 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  61389. _this._warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  61390. }
  61391. targetText = _this._interpolationToValue$2$warnForColor(node.selector, true);
  61392. for (t1 = _this._adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure(_this, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  61393. complex = t1[_i];
  61394. if (complex.leadingCombinators.length === 0) {
  61395. t4 = complex.components;
  61396. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  61397. } else
  61398. t4 = false;
  61399. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  61400. if (compound == null)
  61401. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", targetText.span));
  61402. t4 = compound.components;
  61403. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  61404. if (t5 == null)
  61405. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
  61406. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, _this._mediaQueries);
  61407. }
  61408. return _null;
  61409. },
  61410. visitAtRule$1(node) {
  61411. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  61412. if (_this._declarationName != null)
  61413. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  61414. $name = _this._interpolationToValue$1(node.name);
  61415. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  61416. children = node.children;
  61417. if (children == null) {
  61418. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  61419. return null;
  61420. }
  61421. wasInKeyframes = _this._inKeyframes;
  61422. wasInUnknownAtRule = _this._inUnknownAtRule;
  61423. if (A.unvendor($name.value) === "keyframes")
  61424. _this._inKeyframes = true;
  61425. else
  61426. _this._inUnknownAtRule = true;
  61427. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
  61428. _this._inUnknownAtRule = wasInUnknownAtRule;
  61429. _this._inKeyframes = wasInKeyframes;
  61430. return null;
  61431. },
  61432. visitForRule$1(node) {
  61433. var _this = this, t1 = {},
  61434. t2 = node.from,
  61435. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  61436. t3 = node.to,
  61437. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  61438. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  61439. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  61440. direction = from > to ? -1 : 1;
  61441. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  61442. return null;
  61443. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  61444. },
  61445. visitForwardRule$1(node) {
  61446. var newConfiguration, t4, _i, variable, $name, _this = this,
  61447. _s8_ = "@forward",
  61448. oldConfiguration = _this._configuration,
  61449. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  61450. t1 = node.configuration,
  61451. t2 = t1.length,
  61452. t3 = node.url;
  61453. if (t2 !== 0) {
  61454. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  61455. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  61456. t3 = type$.String;
  61457. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  61458. for (_i = 0; _i < t2; ++_i) {
  61459. variable = t1[_i];
  61460. if (!variable.isGuarded)
  61461. t4.add$1(0, variable.name);
  61462. }
  61463. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  61464. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  61465. for (_i = 0; _i < t2; ++_i)
  61466. t3.add$1(0, t1[_i].name);
  61467. 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) {
  61468. $name = t2[_i];
  61469. if (!t3.contains$1(0, $name))
  61470. if (!t1.get$isEmpty(t1))
  61471. t1.remove$1(0, $name);
  61472. }
  61473. _this._assertConfigurationIsEmpty$1(newConfiguration);
  61474. } else {
  61475. _this._configuration = adjustedConfiguration;
  61476. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  61477. _this._configuration = oldConfiguration;
  61478. }
  61479. return null;
  61480. },
  61481. _addForwardConfiguration$2(configuration, node) {
  61482. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  61483. t1 = configuration._values,
  61484. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  61485. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  61486. variable = t2[_i];
  61487. if (variable.isGuarded) {
  61488. t4 = variable.name;
  61489. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  61490. if (t5 != null && !t5.value.$eq(0, B.C__SassNull)) {
  61491. newValues.$indexSet(0, t4, t5);
  61492. continue;
  61493. }
  61494. }
  61495. t4 = variable.expression;
  61496. variableNodeWithSpan = this._expressionNode$1(t4);
  61497. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  61498. }
  61499. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  61500. return new A.ExplicitConfiguration(node, newValues, null);
  61501. else
  61502. return new A.Configuration(newValues, null);
  61503. },
  61504. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  61505. var t1, t2, t3, t4, _i, $name;
  61506. 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) {
  61507. $name = t2[_i];
  61508. if (except.contains$1(0, $name))
  61509. continue;
  61510. if (!t4.containsKey$1($name))
  61511. if (!t1.get$isEmpty(t1))
  61512. t1.remove$1(0, $name);
  61513. }
  61514. },
  61515. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  61516. var t1, entry;
  61517. if (!(configuration instanceof A.ExplicitConfiguration))
  61518. return;
  61519. t1 = configuration._values;
  61520. if (t1.get$isEmpty(t1))
  61521. return;
  61522. t1 = t1.get$entries(t1);
  61523. entry = t1.get$first(t1);
  61524. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  61525. throw A.wrapException(this._evaluate$_exception$2(t1, entry.value.configurationSpan));
  61526. },
  61527. _assertConfigurationIsEmpty$1(configuration) {
  61528. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  61529. },
  61530. visitFunctionRule$1(node) {
  61531. var t1 = this._environment,
  61532. t2 = t1.closure$0(),
  61533. t3 = this._inDependency,
  61534. t4 = t1._functions,
  61535. index = t4.length - 1,
  61536. t5 = node.name;
  61537. t1._functionIndices.$indexSet(0, t5, index);
  61538. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  61539. return null;
  61540. },
  61541. visitIfRule$1(node) {
  61542. var t1, t2, _i, clauseToCheck, _box_0 = {};
  61543. _box_0.clause = node.lastClause;
  61544. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  61545. clauseToCheck = t1[_i];
  61546. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  61547. _box_0.clause = clauseToCheck;
  61548. break;
  61549. }
  61550. }
  61551. t1 = _box_0.clause;
  61552. if (t1 == null)
  61553. return null;
  61554. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value);
  61555. },
  61556. visitImportRule$1(node) {
  61557. var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
  61558. _s8_ = "__parent",
  61559. _s5_ = "_root",
  61560. _s13_ = "_endOfImports";
  61561. 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) {
  61562. $import = t1[_i];
  61563. if ($import instanceof A.DynamicImport)
  61564. _this._visitDynamicImport$1($import);
  61565. else {
  61566. t5._as($import);
  61567. t7 = $import.url;
  61568. result = _this._performInterpolation$2$warnForColor(t7, false);
  61569. $self = $import.modifiers;
  61570. t8 = $self == null ? null : t4.call$1($self);
  61571. node = new A.ModifiableCssImport(new A.CssValue(result, t7.span, t3), t8, $import.span);
  61572. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  61573. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  61574. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  61575. t7 = _this._assertInModule$2(_this.__root, _s5_);
  61576. node._parent = t7;
  61577. t7 = t7._children;
  61578. node._indexInParent = t7.length;
  61579. t7.push(node);
  61580. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  61581. } else {
  61582. t7 = _this._outOfOrderImports;
  61583. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  61584. }
  61585. }
  61586. }
  61587. return null;
  61588. },
  61589. _visitDynamicImport$1($import) {
  61590. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  61591. },
  61592. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  61593. var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, t1, t2, t3, t4, exception, message0, _this = this,
  61594. _s11_ = "_stylesheet";
  61595. baseUrl = baseUrl;
  61596. try {
  61597. _this._importSpan = span;
  61598. importCache = _this._evaluate$_importCache;
  61599. if (importCache != null) {
  61600. if (baseUrl == null) {
  61601. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  61602. baseUrl = t1.get$sourceUrl(t1);
  61603. }
  61604. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  61605. if (tuple != null) {
  61606. isDependency = _this._inDependency || tuple.item1 !== _this._importer;
  61607. t1 = tuple.item1;
  61608. t2 = tuple.item2;
  61609. t3 = tuple.item3;
  61610. t4 = _this._quietDeps && isDependency;
  61611. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  61612. if (stylesheet != null) {
  61613. _this._loadedUrls.add$1(0, tuple.item2);
  61614. t1 = tuple.item1;
  61615. return new A._LoadedStylesheet(stylesheet, t1, isDependency);
  61616. }
  61617. }
  61618. } else {
  61619. t1 = baseUrl;
  61620. if (t1 == null) {
  61621. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  61622. t1 = t1.get$sourceUrl(t1);
  61623. }
  61624. result = _this._importLikeNode$3(url, t1, forImport);
  61625. if (result != null) {
  61626. t1 = result.stylesheet.span;
  61627. t2 = _this._loadedUrls;
  61628. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  61629. return result;
  61630. }
  61631. }
  61632. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  61633. throw A.wrapException(string$.x22packa);
  61634. else
  61635. throw A.wrapException("Can't find stylesheet to import.");
  61636. } catch (exception) {
  61637. t1 = A.unwrapException(exception);
  61638. if (t1 instanceof A.SassException) {
  61639. error = t1;
  61640. stackTrace = A.getTraceFromException(exception);
  61641. t1 = error;
  61642. t2 = J.getInterceptor$z(t1);
  61643. A.throwWithTrace(_this._evaluate$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  61644. } else if (t1 instanceof A.ArgumentError) {
  61645. error0 = t1;
  61646. stackTrace0 = A.getTraceFromException(exception);
  61647. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error0)), stackTrace0);
  61648. } else {
  61649. error1 = t1;
  61650. stackTrace1 = A.getTraceFromException(exception);
  61651. message = null;
  61652. try {
  61653. message = A._asString(J.get$message$x(error1));
  61654. } catch (exception) {
  61655. message0 = J.toString$0$(error1);
  61656. message = message0;
  61657. }
  61658. A.throwWithTrace(_this._evaluate$_exception$1(message), stackTrace1);
  61659. }
  61660. } finally {
  61661. _this._importSpan = null;
  61662. }
  61663. },
  61664. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  61665. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  61666. },
  61667. _loadStylesheet$3$forImport(url, span, forImport) {
  61668. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  61669. },
  61670. _importLikeNode$3(originalUrl, previous, forImport) {
  61671. var _this = this,
  61672. result = _this._nodeImporter.loadRelative$3(originalUrl, previous, forImport),
  61673. isDependency = _this._inDependency,
  61674. contents = result.get$item1(),
  61675. url = result.get$item2(),
  61676. t1 = url.startsWith$1(0, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  61677. return new A._LoadedStylesheet(A.Stylesheet_Stylesheet$parse(contents, t1, _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger, url), null, isDependency);
  61678. },
  61679. visitIncludeRule$1(node) {
  61680. var nodeWithSpan, t1, _this = this,
  61681. _s37_ = "Mixin doesn't accept a content block.",
  61682. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  61683. if (mixin == null)
  61684. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", node.span));
  61685. nodeWithSpan = new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure0(node));
  61686. if (mixin instanceof A.BuiltInCallable) {
  61687. if (node.content != null)
  61688. throw A.wrapException(_this._evaluate$_exception$2(_s37_, node.span));
  61689. _this._runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  61690. } else if (type$.UserDefinedCallable_Environment._is(mixin)) {
  61691. t1 = node.content;
  61692. if (t1 != null && !type$.MixinRule._as(mixin.declaration).get$hasContent())
  61693. 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())));
  61694. _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);
  61695. } else
  61696. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  61697. return null;
  61698. },
  61699. visitMixinRule$1(node) {
  61700. var t1 = this._environment,
  61701. t2 = t1.closure$0(),
  61702. t3 = this._inDependency,
  61703. t4 = t1._mixins,
  61704. index = t4.length - 1,
  61705. t5 = node.name;
  61706. t1._mixinIndices.$indexSet(0, t5, index);
  61707. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  61708. return null;
  61709. },
  61710. visitLoudComment$1(node) {
  61711. var t1, _this = this,
  61712. _s8_ = "__parent",
  61713. _s13_ = "_endOfImports";
  61714. if (_this._inFunction)
  61715. return null;
  61716. 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))
  61717. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  61718. t1 = node.text;
  61719. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  61720. return null;
  61721. },
  61722. visitMediaRule$1(node) {
  61723. var queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  61724. if (_this._declarationName != null)
  61725. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  61726. queries = _this._visitMediaQueries$1(node.query);
  61727. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  61728. t1 = mergedQueries == null;
  61729. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  61730. return null;
  61731. if (t1)
  61732. mergedSources = B.Set_empty0;
  61733. else {
  61734. t2 = _this._mediaQuerySources;
  61735. t2.toString;
  61736. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  61737. t3 = _this._mediaQueries;
  61738. t3.toString;
  61739. t2.addAll$1(0, t3);
  61740. t2.addAll$1(0, queries);
  61741. mergedSources = t2;
  61742. }
  61743. t1 = t1 ? queries : mergedQueries;
  61744. _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);
  61745. return null;
  61746. },
  61747. _visitMediaQueries$1(interpolation) {
  61748. return this._adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure(this, this._performInterpolation$2$warnForColor(interpolation, true)));
  61749. },
  61750. _mergeMediaQueries$2(queries1, queries2) {
  61751. var t1, t2, t3, t4, t5, result,
  61752. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  61753. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult; t1.moveNext$0();) {
  61754. t4 = t1.get$current(t1);
  61755. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  61756. result = t4.merge$1(t5.get$current(t5));
  61757. if (result === B._SingletonCssMediaQueryMergeResult_empty)
  61758. continue;
  61759. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable)
  61760. return null;
  61761. queries.push(t3._as(result).query);
  61762. }
  61763. }
  61764. return queries;
  61765. },
  61766. visitReturnRule$1(node) {
  61767. var t1 = node.expression;
  61768. return this._withoutSlash$2(t1.accept$1(this), t1);
  61769. },
  61770. visitSilentComment$1(node) {
  61771. return null;
  61772. },
  61773. visitStyleRule$1(node) {
  61774. var t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _this = this, _null = null,
  61775. _s8_ = "__parent",
  61776. _box_0 = {};
  61777. if (_this._declarationName != null)
  61778. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  61779. t1 = node.selector;
  61780. selectorText = _this._interpolationToValue$3$trim$warnForColor(t1, true, true);
  61781. if (_this._inKeyframes) {
  61782. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(_this._adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure(_this, selectorText)), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure0(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure1(), type$.ModifiableCssKeyframeBlock, type$.Null);
  61783. return _null;
  61784. }
  61785. _box_0.parsedSelector = _this._adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure2(_this, selectorText));
  61786. _box_0.parsedSelector = _this._addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure3(_box_0, _this));
  61787. t1 = t1.span;
  61788. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, _this._mediaQueries), node.span, _box_0.parsedSelector);
  61789. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  61790. _this._atRootExcludingStyleRule = false;
  61791. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure4(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure5(), type$.ModifiableCssStyleRule, type$.Null);
  61792. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  61793. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  61794. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  61795. complex = t2[_i];
  61796. if (!complex.accept$1(B._IsBogusVisitor_true))
  61797. continue;
  61798. if (complex.accept$1(B.C__IsUselessVisitor)) {
  61799. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61800. complex.accept$1(visitor);
  61801. _this._warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  61802. } else if (complex.leadingCombinators.length !== 0) {
  61803. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61804. complex.accept$1(visitor);
  61805. _this._warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  61806. } else {
  61807. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  61808. complex.accept$1(visitor);
  61809. t7 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  61810. t8 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  61811. if (t6.get$length(t6) === 0)
  61812. A.throwExpression(A.IterableElementError_noElement());
  61813. t9 = J.get$span$z(t6.$index(0, 0));
  61814. _this._warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure6()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  61815. }
  61816. }
  61817. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  61818. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  61819. t1 = !t1.get$isEmpty(t1);
  61820. } else
  61821. t1 = false;
  61822. if (t1) {
  61823. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  61824. t1.get$last(t1).isGroupEnd = true;
  61825. }
  61826. return _null;
  61827. },
  61828. visitSupportsRule$1(node) {
  61829. var t1, _this = this;
  61830. if (_this._declarationName != null)
  61831. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  61832. t1 = node.condition;
  61833. _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);
  61834. return null;
  61835. },
  61836. _visitSupportsCondition$1(condition) {
  61837. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  61838. if (condition instanceof A.SupportsOperation) {
  61839. t1 = condition.operator;
  61840. return _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  61841. } else if (condition instanceof A.SupportsNegation)
  61842. return "not " + _this._parenthesize$1(condition.condition);
  61843. else if (condition instanceof A.SupportsInterpolation) {
  61844. t1 = condition.expression;
  61845. return _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  61846. } else if (condition instanceof A.SupportsDeclaration) {
  61847. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  61848. _this._inSupportsDeclaration = true;
  61849. t1 = condition.name;
  61850. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, true);
  61851. t2 = condition.get$isCustomProperty() ? "" : " ";
  61852. t3 = condition.value;
  61853. t3 = _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  61854. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  61855. return "(" + t1 + ":" + t2 + t3 + ")";
  61856. } else if (condition instanceof A.SupportsFunction)
  61857. return _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  61858. else if (condition instanceof A.SupportsAnything)
  61859. return "(" + _this._performInterpolation$1(condition.contents) + ")";
  61860. else
  61861. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  61862. },
  61863. _parenthesize$2(condition, operator) {
  61864. var t1;
  61865. if (!(condition instanceof A.SupportsNegation))
  61866. if (condition instanceof A.SupportsOperation)
  61867. t1 = operator == null || operator !== condition.operator;
  61868. else
  61869. t1 = false;
  61870. else
  61871. t1 = true;
  61872. if (t1)
  61873. return "(" + this._visitSupportsCondition$1(condition) + ")";
  61874. else
  61875. return this._visitSupportsCondition$1(condition);
  61876. },
  61877. _parenthesize$1(condition) {
  61878. return this._parenthesize$2(condition, null);
  61879. },
  61880. visitVariableDeclaration$1(node) {
  61881. var t1, value, _this = this, _null = null;
  61882. if (node.isGuarded) {
  61883. if (node.namespace == null && _this._environment._variables.length === 1) {
  61884. t1 = _this._configuration._values;
  61885. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  61886. if (t1 != null && !t1.value.$eq(0, B.C__SassNull)) {
  61887. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(_this, node, t1));
  61888. return _null;
  61889. }
  61890. }
  61891. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  61892. if (value != null && !value.$eq(0, B.C__SassNull))
  61893. return _null;
  61894. }
  61895. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  61896. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  61897. _this._warn$3$deprecation(t1, node.span, true);
  61898. }
  61899. t1 = node.expression;
  61900. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  61901. return _null;
  61902. },
  61903. visitUseRule$1(node) {
  61904. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  61905. t1 = node.configuration,
  61906. t2 = t1.length;
  61907. if (t2 !== 0) {
  61908. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  61909. for (_i = 0; _i < t2; ++_i) {
  61910. variable = t1[_i];
  61911. t3 = variable.expression;
  61912. variableNodeWithSpan = _this._expressionNode$1(t3);
  61913. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  61914. }
  61915. configuration = new A.ExplicitConfiguration(node, values, null);
  61916. } else
  61917. configuration = B.Configuration_Map_empty_null;
  61918. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  61919. _this._assertConfigurationIsEmpty$1(configuration);
  61920. return null;
  61921. },
  61922. visitWarnRule$1(node) {
  61923. var _this = this,
  61924. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  61925. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  61926. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  61927. return null;
  61928. },
  61929. visitWhileRule$1(node) {
  61930. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  61931. },
  61932. visitBinaryOperationExpression$1(node) {
  61933. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(this, node));
  61934. },
  61935. visitValueExpression$1(node) {
  61936. return node.value;
  61937. },
  61938. visitVariableExpression$1(node) {
  61939. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  61940. if (result != null)
  61941. return result;
  61942. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  61943. },
  61944. visitUnaryOperationExpression$1(node) {
  61945. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  61946. },
  61947. visitBooleanExpression$1(node) {
  61948. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  61949. },
  61950. visitIfExpression$1(node) {
  61951. var condition, t2, ifTrue, ifFalse, result, _this = this,
  61952. pair = _this._evaluateMacroArguments$1(node),
  61953. positional = pair.item1,
  61954. named = pair.item2,
  61955. t1 = J.getInterceptor$asx(positional);
  61956. _this._verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration(), node);
  61957. if (t1.get$length(positional) > 0)
  61958. condition = t1.$index(positional, 0);
  61959. else {
  61960. t2 = named.$index(0, "condition");
  61961. t2.toString;
  61962. condition = t2;
  61963. }
  61964. if (t1.get$length(positional) > 1)
  61965. ifTrue = t1.$index(positional, 1);
  61966. else {
  61967. t2 = named.$index(0, "if-true");
  61968. t2.toString;
  61969. ifTrue = t2;
  61970. }
  61971. if (t1.get$length(positional) > 2)
  61972. ifFalse = t1.$index(positional, 2);
  61973. else {
  61974. t1 = named.$index(0, "if-false");
  61975. t1.toString;
  61976. ifFalse = t1;
  61977. }
  61978. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  61979. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  61980. },
  61981. visitNullExpression$1(node) {
  61982. return B.C__SassNull;
  61983. },
  61984. visitNumberExpression$1(node) {
  61985. return A.SassNumber_SassNumber(node.value, node.unit);
  61986. },
  61987. visitParenthesizedExpression$1(node) {
  61988. return node.expression.accept$1(this);
  61989. },
  61990. visitCalculationExpression$1(node) {
  61991. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  61992. t1 = A._setArrayType([], type$.JSArray_Object);
  61993. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  61994. argument = t2[_i];
  61995. t1.push(_this._visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  61996. }
  61997. $arguments = t1;
  61998. if (_this._inSupportsDeclaration)
  61999. return new A.SassCalculation(t4, A.List_List$unmodifiable($arguments, type$.Object));
  62000. try {
  62001. switch (t4) {
  62002. case "calc":
  62003. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  62004. return t1;
  62005. case "min":
  62006. t1 = A.SassCalculation_min($arguments);
  62007. return t1;
  62008. case "max":
  62009. t1 = A.SassCalculation_max($arguments);
  62010. return t1;
  62011. case "clamp":
  62012. t1 = J.$index$asx($arguments, 0);
  62013. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  62014. t1 = A.SassCalculation_clamp(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  62015. return t1;
  62016. default:
  62017. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  62018. throw A.wrapException(t1);
  62019. }
  62020. } catch (exception) {
  62021. t1 = A.unwrapException(exception);
  62022. if (t1 instanceof A.SassScriptException) {
  62023. error = t1;
  62024. stackTrace = A.getTraceFromException(exception);
  62025. _this._verifyCompatibleNumbers$2($arguments, t2);
  62026. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), stackTrace);
  62027. } else
  62028. throw exception;
  62029. }
  62030. },
  62031. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  62032. var i, t1, arg, number1, j, number2;
  62033. for (i = 0; t1 = args.length, i < t1; ++i) {
  62034. arg = args[i];
  62035. if (!(arg instanceof A.SassNumber))
  62036. continue;
  62037. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  62038. throw A.wrapException(this._evaluate$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  62039. }
  62040. for (i = 0; i < t1 - 1; ++i) {
  62041. number1 = args[i];
  62042. if (!(number1 instanceof A.SassNumber))
  62043. continue;
  62044. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  62045. number2 = args[j];
  62046. if (!(number2 instanceof A.SassNumber))
  62047. continue;
  62048. if (number1.hasPossiblyCompatibleUnits$1(number2))
  62049. continue;
  62050. 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]))));
  62051. }
  62052. }
  62053. },
  62054. _visitCalculationValue$2$inMinMax(node, inMinMax) {
  62055. var inner, result, t1, _this = this;
  62056. if (node instanceof A.ParenthesizedExpression) {
  62057. inner = node.expression;
  62058. result = _this._visitCalculationValue$2$inMinMax(inner, inMinMax);
  62059. if (inner instanceof A.FunctionExpression)
  62060. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString && !result._hasQuotes;
  62061. else
  62062. t1 = false;
  62063. return t1 ? new A.SassString("(" + result._string$_text + ")", false) : result;
  62064. } else if (node instanceof A.StringExpression)
  62065. return new A.CalculationInterpolation(_this._performInterpolation$1(node.text));
  62066. else if (node instanceof A.BinaryOperationExpression)
  62067. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure(_this, node, inMinMax));
  62068. else {
  62069. result = node.accept$1(_this);
  62070. if (result instanceof A.SassNumber || result instanceof A.SassCalculation)
  62071. return result;
  62072. if (result instanceof A.SassString && !result._hasQuotes)
  62073. return result;
  62074. throw A.wrapException(_this._evaluate$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  62075. }
  62076. },
  62077. _binaryOperatorToCalculationOperator$1(operator) {
  62078. switch (operator) {
  62079. case B.BinaryOperator_qbf:
  62080. return B.CalculationOperator_IyK;
  62081. case B.BinaryOperator_KlB:
  62082. return B.CalculationOperator_2bx;
  62083. case B.BinaryOperator_6pl:
  62084. return B.CalculationOperator_jFr;
  62085. case B.BinaryOperator_qpm:
  62086. return B.CalculationOperator_OvN;
  62087. default:
  62088. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  62089. }
  62090. },
  62091. visitColorExpression$1(node) {
  62092. return node.value;
  62093. },
  62094. visitListExpression$1(node) {
  62095. var t1 = node.contents;
  62096. 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);
  62097. },
  62098. visitMapExpression$1(node) {
  62099. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  62100. t1 = type$.Value,
  62101. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  62102. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  62103. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  62104. pair = t2[_i];
  62105. t4 = pair.item1;
  62106. keyValue = t4.accept$1(this);
  62107. valueValue = pair.item2.accept$1(this);
  62108. if (map.$index(0, keyValue) != null) {
  62109. t1 = keyNodes.$index(0, keyValue);
  62110. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  62111. t1 = J.getInterceptor$z(t4);
  62112. t2 = t1.get$span(t4);
  62113. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  62114. if (oldValueSpan != null)
  62115. t3.$indexSet(0, oldValueSpan, "first key");
  62116. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t2, "second key", t3, this._evaluate$_stackTrace$1(t1.get$span(t4))));
  62117. }
  62118. map.$indexSet(0, keyValue, valueValue);
  62119. keyNodes.$indexSet(0, keyValue, t4);
  62120. }
  62121. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  62122. },
  62123. visitFunctionExpression$1(node) {
  62124. var oldInFunction, result, _this = this, t1 = {},
  62125. $function = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  62126. t1.$function = $function;
  62127. if ($function == null) {
  62128. if (node.namespace != null)
  62129. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  62130. t1.$function = new A.PlainCssCallable(node.originalName);
  62131. }
  62132. oldInFunction = _this._inFunction;
  62133. _this._inFunction = true;
  62134. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure0(t1, _this, node));
  62135. _this._inFunction = oldInFunction;
  62136. return result;
  62137. },
  62138. visitInterpolatedFunctionExpression$1(node) {
  62139. var result, _this = this,
  62140. t1 = _this._performInterpolation$1(node.name),
  62141. oldInFunction = _this._inFunction;
  62142. _this._inFunction = true;
  62143. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  62144. _this._inFunction = oldInFunction;
  62145. return result;
  62146. },
  62147. _getFunction$2$namespace($name, namespace) {
  62148. var local = this._environment.getFunction$2$namespace($name, namespace);
  62149. if (local != null || namespace != null)
  62150. return local;
  62151. return this._builtInFunctions.$index(0, $name);
  62152. },
  62153. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  62154. var oldCallable, result, _this = this,
  62155. evaluated = _this._evaluateArguments$1($arguments),
  62156. $name = callable.declaration.name;
  62157. if ($name !== "@content")
  62158. $name += "()";
  62159. oldCallable = _this._currentCallable;
  62160. _this._currentCallable = callable;
  62161. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  62162. _this._currentCallable = oldCallable;
  62163. return result;
  62164. },
  62165. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  62166. var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
  62167. if (callable instanceof A.BuiltInCallable)
  62168. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  62169. else if (type$.UserDefinedCallable_Environment._is(callable))
  62170. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  62171. else if (callable instanceof A.PlainCssCallable) {
  62172. t1 = $arguments.named;
  62173. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  62174. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  62175. t1 = callable.name + "(";
  62176. for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
  62177. argument = t2[_i];
  62178. if (first)
  62179. first = false;
  62180. else
  62181. t1 += ", ";
  62182. t1 += _this._evaluate$_serialize$3$quote(argument.accept$1(_this), argument, true);
  62183. }
  62184. restArg = $arguments.rest;
  62185. if (restArg != null) {
  62186. rest = restArg.accept$1(_this);
  62187. if (!first)
  62188. t1 += ", ";
  62189. t1 += _this._evaluate$_serialize$2(rest, restArg);
  62190. }
  62191. t1 += A.Primitives_stringFromCharCode(41);
  62192. return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  62193. } else
  62194. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  62195. },
  62196. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  62197. var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
  62198. evaluated = _this._evaluateArguments$1($arguments),
  62199. oldCallableNode = _this._callableNode;
  62200. _this._callableNode = nodeWithSpan;
  62201. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  62202. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  62203. overload = tuple.item1;
  62204. callback = tuple.item2;
  62205. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(overload, evaluated, namedSet));
  62206. declaredArguments = overload.$arguments;
  62207. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  62208. argument = declaredArguments[i];
  62209. t2 = evaluated.positional;
  62210. t3 = evaluated.named.remove$1(0, argument.name);
  62211. if (t3 == null) {
  62212. t3 = argument.defaultValue;
  62213. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  62214. }
  62215. t2.push(t3);
  62216. }
  62217. if (overload.restArgument != null) {
  62218. if (evaluated.positional.length > t1) {
  62219. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  62220. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  62221. } else
  62222. rest = B.List_empty7;
  62223. t1 = evaluated.named;
  62224. argumentList = A.SassArgumentList$(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated.separator);
  62225. evaluated.positional.push(argumentList);
  62226. } else
  62227. argumentList = null;
  62228. result = null;
  62229. try {
  62230. result = callback.call$1(evaluated.positional);
  62231. } catch (exception) {
  62232. t1 = A.unwrapException(exception);
  62233. if (type$.SassRuntimeException._is(t1))
  62234. throw exception;
  62235. else if (t1 instanceof A.MultiSpanSassScriptException) {
  62236. error = t1;
  62237. stackTrace = A.getTraceFromException(exception);
  62238. t1 = error.message;
  62239. t2 = nodeWithSpan.get$span(nodeWithSpan);
  62240. t3 = error.primaryLabel;
  62241. t4 = error.secondarySpans;
  62242. A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  62243. } else if (t1 instanceof A.MultiSpanSassException) {
  62244. error0 = t1;
  62245. stackTrace0 = A.getTraceFromException(exception);
  62246. t1 = error0._span_exception$_message;
  62247. t2 = error0;
  62248. t3 = J.getInterceptor$z(t2);
  62249. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  62250. t3 = error0.primaryLabel;
  62251. t4 = error0.secondarySpans;
  62252. t5 = error0;
  62253. t6 = J.getInterceptor$z(t5);
  62254. A.throwWithTrace(new A.MultiSpanSassRuntimeException(_this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  62255. } else {
  62256. error1 = t1;
  62257. stackTrace1 = A.getTraceFromException(exception);
  62258. message = null;
  62259. try {
  62260. message = A._asString(J.get$message$x(error1));
  62261. } catch (exception) {
  62262. message0 = J.toString$0$(error1);
  62263. message = message0;
  62264. }
  62265. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  62266. }
  62267. }
  62268. _this._callableNode = oldCallableNode;
  62269. if (argumentList == null)
  62270. return result;
  62271. if (evaluated.named.__js_helper$_length === 0)
  62272. return result;
  62273. if (argumentList._wereKeywordsAccessed)
  62274. return result;
  62275. t1 = evaluated.named;
  62276. t1 = t1.get$keys(t1);
  62277. t1 = A.pluralize("argument", t1.get$length(t1), null);
  62278. t2 = evaluated.named;
  62279. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.S(A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure0(), 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))));
  62280. },
  62281. _evaluateArguments$1($arguments) {
  62282. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  62283. positional = A._setArrayType([], type$.JSArray_Value),
  62284. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  62285. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  62286. expression = t1[_i];
  62287. nodeForSpan = _this._expressionNode$1(expression);
  62288. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  62289. positionalNodes.push(nodeForSpan);
  62290. }
  62291. t1 = type$.String;
  62292. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  62293. t2 = type$.AstNode;
  62294. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  62295. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  62296. t4 = t3.get$current(t3);
  62297. t5 = t4.value;
  62298. nodeForSpan = _this._expressionNode$1(t5);
  62299. t4 = t4.key;
  62300. named.$indexSet(0, t4, _this._withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  62301. namedNodes.$indexSet(0, t4, nodeForSpan);
  62302. }
  62303. restArgs = $arguments.rest;
  62304. if (restArgs == null)
  62305. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided);
  62306. rest = restArgs.accept$1(_this);
  62307. restNodeForSpan = _this._expressionNode$1(restArgs);
  62308. if (rest instanceof A.SassMap) {
  62309. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  62310. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  62311. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  62312. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  62313. namedNodes.addAll$1(0, t3);
  62314. separator = B.ListSeparator_undecided_null_undecided;
  62315. } else if (rest instanceof A.SassList) {
  62316. t3 = rest._list$_contents;
  62317. 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>")));
  62318. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  62319. separator = rest._separator;
  62320. if (rest instanceof A.SassArgumentList) {
  62321. rest._wereKeywordsAccessed = true;
  62322. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  62323. }
  62324. } else {
  62325. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  62326. positionalNodes.push(restNodeForSpan);
  62327. separator = B.ListSeparator_undecided_null_undecided;
  62328. }
  62329. keywordRestArgs = $arguments.keywordRest;
  62330. if (keywordRestArgs == null)
  62331. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  62332. keywordRest = keywordRestArgs.accept$1(_this);
  62333. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  62334. if (keywordRest instanceof A.SassMap) {
  62335. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  62336. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  62337. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  62338. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  62339. namedNodes.addAll$1(0, t1);
  62340. return new A._ArgumentResults(positional, positionalNodes, named, namedNodes, separator);
  62341. } else
  62342. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  62343. },
  62344. _evaluateMacroArguments$1(invocation) {
  62345. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  62346. t1 = invocation.$arguments,
  62347. restArgs_ = t1.rest;
  62348. if (restArgs_ == null)
  62349. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  62350. t2 = t1.positional;
  62351. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  62352. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  62353. rest = restArgs_.accept$1(_this);
  62354. restNodeForSpan = _this._expressionNode$1(restArgs_);
  62355. if (rest instanceof A.SassMap)
  62356. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  62357. else if (rest instanceof A.SassList) {
  62358. t2 = rest._list$_contents;
  62359. 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>")));
  62360. if (rest instanceof A.SassArgumentList) {
  62361. rest._wereKeywordsAccessed = true;
  62362. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  62363. }
  62364. } else
  62365. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  62366. keywordRestArgs_ = t1.keywordRest;
  62367. if (keywordRestArgs_ == null)
  62368. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  62369. keywordRest = keywordRestArgs_.accept$1(_this);
  62370. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  62371. if (keywordRest instanceof A.SassMap) {
  62372. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  62373. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression);
  62374. } else
  62375. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  62376. },
  62377. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  62378. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  62379. },
  62380. _addRestMap$4(values, map, nodeWithSpan, convert) {
  62381. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  62382. },
  62383. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  62384. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  62385. },
  62386. visitSelectorExpression$1(node) {
  62387. var t1 = this._styleRuleIgnoringAtRoot;
  62388. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  62389. return t1 == null ? B.C__SassNull : t1;
  62390. },
  62391. visitStringExpression$1(node) {
  62392. var t1, _this = this,
  62393. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  62394. _this._inSupportsDeclaration = false;
  62395. t1 = node.text.contents;
  62396. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62397. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  62398. return new A.SassString(t1, node.hasQuotes);
  62399. },
  62400. visitSupportsExpression$1(expression) {
  62401. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  62402. },
  62403. visitCssAtRule$1(node) {
  62404. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  62405. if (_this._declarationName != null)
  62406. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  62407. if (node.isChildless) {
  62408. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  62409. return;
  62410. }
  62411. wasInKeyframes = _this._inKeyframes;
  62412. wasInUnknownAtRule = _this._inUnknownAtRule;
  62413. t1 = node.name;
  62414. if (A.unvendor(t1.get$value(t1)) === "keyframes")
  62415. _this._inKeyframes = true;
  62416. else
  62417. _this._inUnknownAtRule = true;
  62418. _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);
  62419. _this._inUnknownAtRule = wasInUnknownAtRule;
  62420. _this._inKeyframes = wasInKeyframes;
  62421. },
  62422. visitCssComment$1(node) {
  62423. var _this = this,
  62424. _s8_ = "__parent",
  62425. _s13_ = "_endOfImports";
  62426. 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))
  62427. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  62428. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  62429. },
  62430. visitCssDeclaration$1(node) {
  62431. var t1 = node.name;
  62432. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
  62433. },
  62434. visitCssImport$1(node) {
  62435. var t1, _this = this,
  62436. _s8_ = "__parent",
  62437. _s5_ = "_root",
  62438. _s13_ = "_endOfImports",
  62439. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  62440. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  62441. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  62442. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  62443. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  62444. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  62445. } else {
  62446. t1 = _this._outOfOrderImports;
  62447. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  62448. }
  62449. },
  62450. visitCssKeyframeBlock$1(node) {
  62451. 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);
  62452. },
  62453. visitCssMediaRule$1(node) {
  62454. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  62455. if (_this._declarationName != null)
  62456. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  62457. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  62458. t1 = mergedQueries == null;
  62459. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  62460. return;
  62461. if (t1)
  62462. mergedSources = B.Set_empty0;
  62463. else {
  62464. t2 = _this._mediaQuerySources;
  62465. t2.toString;
  62466. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  62467. t3 = _this._mediaQueries;
  62468. t3.toString;
  62469. t2.addAll$1(0, t3);
  62470. t2.addAll$1(0, node.queries);
  62471. mergedSources = t2;
  62472. }
  62473. t1 = t1 ? node.queries : mergedQueries;
  62474. _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);
  62475. },
  62476. visitCssStyleRule$1(node) {
  62477. var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  62478. _s8_ = "__parent";
  62479. if (_this._declarationName != null)
  62480. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  62481. t1 = _this._atRootExcludingStyleRule;
  62482. styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
  62483. t2 = node.selector;
  62484. t3 = t2.value;
  62485. t4 = styleRule == null;
  62486. t5 = t4 ? null : styleRule.originalSelector;
  62487. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  62488. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._mediaQueries), node.span, originalSelector);
  62489. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  62490. _this._atRootExcludingStyleRule = false;
  62491. _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);
  62492. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  62493. if (t4) {
  62494. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  62495. t1 = !t1.get$isEmpty(t1);
  62496. } else
  62497. t1 = false;
  62498. if (t1) {
  62499. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  62500. t1.get$last(t1).isGroupEnd = true;
  62501. }
  62502. },
  62503. visitCssStylesheet$1(node) {
  62504. var t1;
  62505. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  62506. t1.get$current(t1).accept$1(this);
  62507. },
  62508. visitCssSupportsRule$1(node) {
  62509. var _this = this;
  62510. if (_this._declarationName != null)
  62511. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  62512. _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);
  62513. },
  62514. _handleReturn$1$2(list, callback) {
  62515. var t1, _i, result;
  62516. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  62517. result = callback.call$1(list[_i]);
  62518. if (result != null)
  62519. return result;
  62520. }
  62521. return null;
  62522. },
  62523. _handleReturn$2(list, callback) {
  62524. return this._handleReturn$1$2(list, callback, type$.dynamic);
  62525. },
  62526. _withEnvironment$1$2(environment, callback) {
  62527. var result,
  62528. oldEnvironment = this._environment;
  62529. this._environment = environment;
  62530. result = callback.call$0();
  62531. this._environment = oldEnvironment;
  62532. return result;
  62533. },
  62534. _withEnvironment$2(environment, callback) {
  62535. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  62536. },
  62537. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  62538. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  62539. t1 = trim ? A.trimAscii(result, true) : result;
  62540. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  62541. },
  62542. _interpolationToValue$1(interpolation) {
  62543. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  62544. },
  62545. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  62546. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  62547. },
  62548. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  62549. var t1, result, _this = this,
  62550. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  62551. _this._inSupportsDeclaration = false;
  62552. t1 = interpolation.contents;
  62553. result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62554. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  62555. return result;
  62556. },
  62557. _performInterpolation$1(interpolation) {
  62558. return this._performInterpolation$2$warnForColor(interpolation, false);
  62559. },
  62560. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  62561. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  62562. },
  62563. _evaluate$_serialize$2(value, nodeWithSpan) {
  62564. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  62565. },
  62566. _expressionNode$1(expression) {
  62567. var t1;
  62568. if (expression instanceof A.VariableExpression) {
  62569. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  62570. return t1 == null ? expression : t1;
  62571. } else
  62572. return expression;
  62573. },
  62574. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  62575. var t1, result, _this = this;
  62576. _this._addChild$2$through(node, through);
  62577. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  62578. _this.__parent = node;
  62579. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  62580. _this.__parent = t1;
  62581. return result;
  62582. },
  62583. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  62584. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  62585. },
  62586. _withParent$2$2(node, callback, $S, $T) {
  62587. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  62588. },
  62589. _addChild$2$through(node, through) {
  62590. var grandparent, t1,
  62591. $parent = this._assertInModule$2(this.__parent, "__parent");
  62592. if (through != null) {
  62593. for (; through.call$1($parent); $parent = grandparent) {
  62594. grandparent = $parent._parent;
  62595. if (grandparent == null)
  62596. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  62597. }
  62598. if ($parent.get$hasFollowingSibling()) {
  62599. t1 = $parent._parent;
  62600. t1.toString;
  62601. $parent = $parent.copyWithoutChildren$0();
  62602. t1.addChild$1($parent);
  62603. }
  62604. }
  62605. $parent.addChild$1(node);
  62606. },
  62607. _addChild$1(node) {
  62608. return this._addChild$2$through(node, null);
  62609. },
  62610. _withStyleRule$1$2(rule, callback) {
  62611. var result,
  62612. oldRule = this._styleRuleIgnoringAtRoot;
  62613. this._styleRuleIgnoringAtRoot = rule;
  62614. result = callback.call$0();
  62615. this._styleRuleIgnoringAtRoot = oldRule;
  62616. return result;
  62617. },
  62618. _withStyleRule$2(rule, callback) {
  62619. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  62620. },
  62621. _withMediaQueries$1$3(queries, sources, callback) {
  62622. var result, _this = this,
  62623. oldMediaQueries = _this._mediaQueries,
  62624. oldSources = _this._mediaQuerySources;
  62625. _this._mediaQueries = queries;
  62626. _this._mediaQuerySources = sources;
  62627. result = callback.call$0();
  62628. _this._mediaQueries = oldMediaQueries;
  62629. _this._mediaQuerySources = oldSources;
  62630. return result;
  62631. },
  62632. _withMediaQueries$3(queries, sources, callback) {
  62633. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  62634. },
  62635. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  62636. var oldMember, result, _this = this,
  62637. t1 = _this._stack;
  62638. t1.push(new A.Tuple2(_this._member, nodeWithSpan, type$.Tuple2_String_AstNode));
  62639. oldMember = _this._member;
  62640. _this._member = member;
  62641. result = callback.call$0();
  62642. _this._member = oldMember;
  62643. t1.pop();
  62644. return result;
  62645. },
  62646. _withStackFrame$3(member, nodeWithSpan, callback) {
  62647. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  62648. },
  62649. _withoutSlash$2(value, nodeForSpan) {
  62650. if (value instanceof A.SassNumber && value.asSlash != null)
  62651. this._warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), true);
  62652. return value.withoutSlash$0();
  62653. },
  62654. _stackFrame$2(member, span) {
  62655. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  62656. },
  62657. _evaluate$_stackTrace$1(span) {
  62658. var _this = this,
  62659. t1 = _this._stack;
  62660. 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);
  62661. if (span != null)
  62662. t1.push(_this._stackFrame$2(_this._member, span));
  62663. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  62664. },
  62665. _evaluate$_stackTrace$0() {
  62666. return this._evaluate$_stackTrace$1(null);
  62667. },
  62668. _warn$3$deprecation(message, span, deprecation) {
  62669. var t1, _this = this;
  62670. if (_this._quietDeps)
  62671. if (!_this._inDependency) {
  62672. t1 = _this._currentCallable;
  62673. t1 = t1 == null ? null : t1.inDependency;
  62674. t1 = t1 === true;
  62675. } else
  62676. t1 = true;
  62677. else
  62678. t1 = false;
  62679. if (t1)
  62680. return;
  62681. if (!_this._warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  62682. return;
  62683. _this._evaluate$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate$_stackTrace$1(span));
  62684. },
  62685. _warn$2(message, span) {
  62686. return this._warn$3$deprecation(message, span, false);
  62687. },
  62688. _evaluate$_exception$2(message, span) {
  62689. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._stack).item2) : span;
  62690. return new A.SassRuntimeException(this._evaluate$_stackTrace$1(span), message, t1);
  62691. },
  62692. _evaluate$_exception$1(message) {
  62693. return this._evaluate$_exception$2(message, null);
  62694. },
  62695. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  62696. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._stack).item2);
  62697. return new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  62698. },
  62699. _adjustParseError$1$2(nodeWithSpan, callback) {
  62700. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  62701. try {
  62702. t1 = callback.call$0();
  62703. return t1;
  62704. } catch (exception) {
  62705. t1 = A.unwrapException(exception);
  62706. if (t1 instanceof A.SassFormatException) {
  62707. error = t1;
  62708. stackTrace = A.getTraceFromException(exception);
  62709. t1 = error;
  62710. t2 = J.getInterceptor$z(t1);
  62711. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  62712. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  62713. span = nodeWithSpan.get$span(nodeWithSpan);
  62714. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  62715. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  62716. t2 = J.get$start$z(span);
  62717. t3 = error;
  62718. t4 = J.getInterceptor$z(t3);
  62719. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  62720. t3 = t3.get$start(t3);
  62721. t4 = J.get$start$z(span);
  62722. t5 = error;
  62723. t6 = J.getInterceptor$z(t5);
  62724. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  62725. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  62726. A.throwWithTrace(this._evaluate$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  62727. } else
  62728. throw exception;
  62729. }
  62730. },
  62731. _adjustParseError$2(nodeWithSpan, callback) {
  62732. return this._adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  62733. },
  62734. _addExceptionSpan$1$2(nodeWithSpan, callback) {
  62735. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  62736. try {
  62737. t1 = callback.call$0();
  62738. return t1;
  62739. } catch (exception) {
  62740. t1 = A.unwrapException(exception);
  62741. if (t1 instanceof A.MultiSpanSassScriptException) {
  62742. error = t1;
  62743. stackTrace = A.getTraceFromException(exception);
  62744. t1 = error.message;
  62745. t2 = nodeWithSpan.get$span(nodeWithSpan);
  62746. t3 = error.primaryLabel;
  62747. t4 = error.secondarySpans;
  62748. A.throwWithTrace(new A.MultiSpanSassRuntimeException(this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  62749. } else if (t1 instanceof A.SassScriptException) {
  62750. error0 = t1;
  62751. stackTrace0 = A.getTraceFromException(exception);
  62752. A.throwWithTrace(this._evaluate$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  62753. } else
  62754. throw exception;
  62755. }
  62756. },
  62757. _addExceptionSpan$2(nodeWithSpan, callback) {
  62758. return this._addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  62759. },
  62760. _addErrorSpan$1$2(nodeWithSpan, callback) {
  62761. var error, stackTrace, t1, exception, t2;
  62762. try {
  62763. t1 = callback.call$0();
  62764. return t1;
  62765. } catch (exception) {
  62766. t1 = A.unwrapException(exception);
  62767. if (type$.SassRuntimeException._is(t1)) {
  62768. error = t1;
  62769. stackTrace = A.getTraceFromException(exception);
  62770. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  62771. throw exception;
  62772. t1 = error._span_exception$_message;
  62773. t2 = nodeWithSpan.get$span(nodeWithSpan);
  62774. A.throwWithTrace(new A.SassRuntimeException(this._evaluate$_stackTrace$0(), t1, t2), stackTrace);
  62775. } else
  62776. throw exception;
  62777. }
  62778. },
  62779. _addErrorSpan$2(nodeWithSpan, callback) {
  62780. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  62781. }
  62782. };
  62783. A._EvaluateVisitor_closure.prototype = {
  62784. call$1($arguments) {
  62785. var module, t2,
  62786. t1 = J.getInterceptor$asx($arguments),
  62787. variable = t1.$index($arguments, 0).assertString$1("name");
  62788. t1 = t1.$index($arguments, 1).get$realNull();
  62789. module = t1 == null ? null : t1.assertString$1("module");
  62790. t1 = this.$this._environment;
  62791. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  62792. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  62793. },
  62794. $signature: 20
  62795. };
  62796. A._EvaluateVisitor_closure0.prototype = {
  62797. call$1($arguments) {
  62798. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  62799. t1 = this.$this._environment;
  62800. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  62801. },
  62802. $signature: 20
  62803. };
  62804. A._EvaluateVisitor_closure1.prototype = {
  62805. call$1($arguments) {
  62806. var module, t2, t3, t4,
  62807. t1 = J.getInterceptor$asx($arguments),
  62808. variable = t1.$index($arguments, 0).assertString$1("name");
  62809. t1 = t1.$index($arguments, 1).get$realNull();
  62810. module = t1 == null ? null : t1.assertString$1("module");
  62811. t1 = this.$this;
  62812. t2 = t1._environment;
  62813. t3 = variable._string$_text;
  62814. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  62815. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  62816. },
  62817. $signature: 20
  62818. };
  62819. A._EvaluateVisitor_closure2.prototype = {
  62820. call$1($arguments) {
  62821. var module, t2,
  62822. t1 = J.getInterceptor$asx($arguments),
  62823. variable = t1.$index($arguments, 0).assertString$1("name");
  62824. t1 = t1.$index($arguments, 1).get$realNull();
  62825. module = t1 == null ? null : t1.assertString$1("module");
  62826. t1 = this.$this._environment;
  62827. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  62828. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  62829. },
  62830. $signature: 20
  62831. };
  62832. A._EvaluateVisitor_closure3.prototype = {
  62833. call$1($arguments) {
  62834. var t1 = this.$this._environment;
  62835. if (!t1._inMixin)
  62836. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  62837. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  62838. },
  62839. $signature: 20
  62840. };
  62841. A._EvaluateVisitor_closure4.prototype = {
  62842. call$1($arguments) {
  62843. var t2, t3, t4,
  62844. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  62845. module = this.$this._environment._environment$_modules.$index(0, t1);
  62846. if (module == null)
  62847. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  62848. t1 = type$.Value;
  62849. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  62850. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  62851. t4 = t3.get$current(t3);
  62852. t2.$indexSet(0, new A.SassString(t4.key, true), t4.value);
  62853. }
  62854. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  62855. },
  62856. $signature: 37
  62857. };
  62858. A._EvaluateVisitor_closure5.prototype = {
  62859. call$1($arguments) {
  62860. var t2, t3, t4,
  62861. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  62862. module = this.$this._environment._environment$_modules.$index(0, t1);
  62863. if (module == null)
  62864. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  62865. t1 = type$.Value;
  62866. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  62867. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  62868. t4 = t3.get$current(t3);
  62869. t2.$indexSet(0, new A.SassString(t4.key, true), new A.SassFunction(t4.value));
  62870. }
  62871. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  62872. },
  62873. $signature: 37
  62874. };
  62875. A._EvaluateVisitor_closure6.prototype = {
  62876. call$1($arguments) {
  62877. var module, callable, t2,
  62878. t1 = J.getInterceptor$asx($arguments),
  62879. $name = t1.$index($arguments, 0).assertString$1("name"),
  62880. css = t1.$index($arguments, 1).get$isTruthy();
  62881. t1 = t1.$index($arguments, 2).get$realNull();
  62882. module = t1 == null ? null : t1.assertString$1("module");
  62883. if (css && module != null)
  62884. throw A.wrapException(string$.x24css_a);
  62885. if (css)
  62886. callable = new A.PlainCssCallable($name._string$_text);
  62887. else {
  62888. t1 = this.$this;
  62889. t2 = t1._callableNode;
  62890. t2.toString;
  62891. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  62892. }
  62893. if (callable != null)
  62894. return new A.SassFunction(callable);
  62895. throw A.wrapException("Function not found: " + $name.toString$0(0));
  62896. },
  62897. $signature: 165
  62898. };
  62899. A._EvaluateVisitor__closure1.prototype = {
  62900. call$0() {
  62901. var t1 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  62902. t2 = this.module;
  62903. t2 = t2 == null ? null : t2._string$_text;
  62904. return this.$this._getFunction$2$namespace(t1, t2);
  62905. },
  62906. $signature: 106
  62907. };
  62908. A._EvaluateVisitor_closure7.prototype = {
  62909. call$1($arguments) {
  62910. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  62911. t1 = J.getInterceptor$asx($arguments),
  62912. $function = t1.$index($arguments, 0),
  62913. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  62914. t1 = this.$this;
  62915. t2 = t1._callableNode;
  62916. t2.toString;
  62917. t3 = A._setArrayType([], type$.JSArray_Expression);
  62918. t4 = type$.String;
  62919. t5 = type$.Expression;
  62920. t6 = t2.get$span(t2);
  62921. t7 = t2.get$span(t2);
  62922. args._wereKeywordsAccessed = true;
  62923. t8 = args._keywords;
  62924. if (t8.get$isEmpty(t8))
  62925. t2 = null;
  62926. else {
  62927. t9 = type$.Value;
  62928. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  62929. for (args._wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  62930. t11 = t8.get$current(t8);
  62931. t10.$indexSet(0, new A.SassString(t11.key, false), t11.value);
  62932. }
  62933. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  62934. }
  62935. 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);
  62936. if ($function instanceof A.SassString) {
  62937. t2 = $function.toString$0(0);
  62938. A.EvaluationContext_current().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  62939. callableNode = t1._callableNode;
  62940. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  62941. }
  62942. callable = $function.assertFunction$1("function").callable;
  62943. if (type$.Callable._is(callable)) {
  62944. t2 = t1._callableNode;
  62945. t2.toString;
  62946. return t1._runFunctionCallable$3(invocation, callable, t2);
  62947. } else
  62948. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  62949. },
  62950. $signature: 4
  62951. };
  62952. A._EvaluateVisitor_closure8.prototype = {
  62953. call$1($arguments) {
  62954. var withMap, t2, values, configuration, t3,
  62955. t1 = J.getInterceptor$asx($arguments),
  62956. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  62957. t1 = t1.$index($arguments, 1).get$realNull();
  62958. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  62959. t1 = this.$this;
  62960. t2 = t1._callableNode;
  62961. t2.toString;
  62962. if (withMap != null) {
  62963. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  62964. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  62965. configuration = new A.ExplicitConfiguration(t2, values, null);
  62966. } else
  62967. configuration = B.Configuration_Map_empty_null;
  62968. t3 = t2.get$span(t2);
  62969. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  62970. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  62971. },
  62972. $signature: 507
  62973. };
  62974. A._EvaluateVisitor__closure.prototype = {
  62975. call$2(variable, value) {
  62976. var t1 = variable.assertString$1("with key"),
  62977. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  62978. t1 = this.values;
  62979. if (t1.containsKey$1($name))
  62980. throw A.wrapException("The variable $" + $name + " was configured twice.");
  62981. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  62982. },
  62983. $signature: 55
  62984. };
  62985. A._EvaluateVisitor__closure0.prototype = {
  62986. call$1(module) {
  62987. var t1 = this.$this;
  62988. return t1._combineCss$2$clone(module, true).accept$1(t1);
  62989. },
  62990. $signature: 70
  62991. };
  62992. A._EvaluateVisitor_run_closure.prototype = {
  62993. call$0() {
  62994. var _this = this,
  62995. t1 = _this.node,
  62996. t2 = t1.span,
  62997. url = t2.get$sourceUrl(t2);
  62998. if (url != null) {
  62999. t2 = _this.$this;
  63000. t2._activeModules.$indexSet(0, url, null);
  63001. t2._loadedUrls.add$1(0, url);
  63002. }
  63003. t2 = _this.$this;
  63004. return new A.EvaluateResult(t2._combineCss$1(t2._execute$2(_this.importer, t1)));
  63005. },
  63006. $signature: 533
  63007. };
  63008. A._EvaluateVisitor_runExpression_closure.prototype = {
  63009. call$0() {
  63010. var t1 = this.$this,
  63011. t2 = this.expression;
  63012. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  63013. },
  63014. $signature: 35
  63015. };
  63016. A._EvaluateVisitor_runExpression__closure.prototype = {
  63017. call$0() {
  63018. return this.expression.accept$1(this.$this);
  63019. },
  63020. $signature: 35
  63021. };
  63022. A._EvaluateVisitor_runStatement_closure.prototype = {
  63023. call$0() {
  63024. var t1 = this.$this,
  63025. t2 = this.statement;
  63026. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  63027. },
  63028. $signature: 0
  63029. };
  63030. A._EvaluateVisitor_runStatement__closure.prototype = {
  63031. call$0() {
  63032. return this.statement.accept$1(this.$this);
  63033. },
  63034. $signature: 0
  63035. };
  63036. A._EvaluateVisitor__loadModule_closure.prototype = {
  63037. call$0() {
  63038. return this.callback.call$1(this.builtInModule);
  63039. },
  63040. $signature: 0
  63041. };
  63042. A._EvaluateVisitor__loadModule_closure0.prototype = {
  63043. call$0() {
  63044. var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t4, t5, t6, t7, _this = this,
  63045. t1 = _this.$this,
  63046. t2 = _this.nodeWithSpan,
  63047. result = t1._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
  63048. stylesheet = result.stylesheet,
  63049. t3 = stylesheet.span,
  63050. canonicalUrl = t3.get$sourceUrl(t3);
  63051. if (canonicalUrl != null && t1._activeModules.containsKey$1(canonicalUrl)) {
  63052. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  63053. t2 = A.NullableExtension_andThen(t1._activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t1, message));
  63054. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1(message) : t2);
  63055. }
  63056. if (canonicalUrl != null)
  63057. t1._activeModules.$indexSet(0, canonicalUrl, t2);
  63058. oldInDependency = t1._inDependency;
  63059. t1._inDependency = result.isDependency;
  63060. module = null;
  63061. try {
  63062. module = t1._execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
  63063. } finally {
  63064. t1._activeModules.remove$1(0, canonicalUrl);
  63065. t1._inDependency = oldInDependency;
  63066. }
  63067. try {
  63068. _this.callback.call$1(module);
  63069. } catch (exception) {
  63070. t2 = A.unwrapException(exception);
  63071. if (type$.SassRuntimeException._is(t2))
  63072. throw exception;
  63073. else if (t2 instanceof A.MultiSpanSassException) {
  63074. error = t2;
  63075. stackTrace = A.getTraceFromException(exception);
  63076. t2 = error._span_exception$_message;
  63077. t3 = error;
  63078. t4 = J.getInterceptor$z(t3);
  63079. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  63080. t4 = error.primaryLabel;
  63081. t5 = error.secondarySpans;
  63082. t6 = error;
  63083. t7 = J.getInterceptor$z(t6);
  63084. A.throwWithTrace(new A.MultiSpanSassRuntimeException(t1._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  63085. } else if (t2 instanceof A.SassException) {
  63086. error0 = t2;
  63087. stackTrace0 = A.getTraceFromException(exception);
  63088. t2 = error0;
  63089. t3 = J.getInterceptor$z(t2);
  63090. A.throwWithTrace(t1._evaluate$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  63091. } else if (t2 instanceof A.MultiSpanSassScriptException) {
  63092. error1 = t2;
  63093. stackTrace1 = A.getTraceFromException(exception);
  63094. A.throwWithTrace(t1._multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  63095. } else if (t2 instanceof A.SassScriptException) {
  63096. error2 = t2;
  63097. stackTrace2 = A.getTraceFromException(exception);
  63098. A.throwWithTrace(t1._evaluate$_exception$1(error2.message), stackTrace2);
  63099. } else
  63100. throw exception;
  63101. }
  63102. },
  63103. $signature: 1
  63104. };
  63105. A._EvaluateVisitor__loadModule__closure.prototype = {
  63106. call$1(previousLoad) {
  63107. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  63108. },
  63109. $signature: 79
  63110. };
  63111. A._EvaluateVisitor__execute_closure.prototype = {
  63112. call$0() {
  63113. var t3, t4, t5, t6, _this = this,
  63114. t1 = _this.$this,
  63115. oldImporter = t1._importer,
  63116. oldStylesheet = t1.__stylesheet,
  63117. oldRoot = t1.__root,
  63118. oldParent = t1.__parent,
  63119. oldEndOfImports = t1.__endOfImports,
  63120. oldOutOfOrderImports = t1._outOfOrderImports,
  63121. oldExtensionStore = t1.__extensionStore,
  63122. t2 = t1._atRootExcludingStyleRule,
  63123. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  63124. oldMediaQueries = t1._mediaQueries,
  63125. oldDeclarationName = t1._declarationName,
  63126. oldInUnknownAtRule = t1._inUnknownAtRule,
  63127. oldInKeyframes = t1._inKeyframes,
  63128. oldConfiguration = t1._configuration;
  63129. t1._importer = _this.importer;
  63130. t3 = t1.__stylesheet = _this.stylesheet;
  63131. t4 = t3.span;
  63132. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  63133. t1.__endOfImports = 0;
  63134. t1._outOfOrderImports = null;
  63135. t1.__extensionStore = _this.extensionStore;
  63136. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  63137. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  63138. t6 = _this.configuration;
  63139. if (t6 != null)
  63140. t1._configuration = t6;
  63141. t1.visitStylesheet$1(t3);
  63142. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  63143. _this.css._value = t3;
  63144. t1._importer = oldImporter;
  63145. t1.__stylesheet = oldStylesheet;
  63146. t1.__root = oldRoot;
  63147. t1.__parent = oldParent;
  63148. t1.__endOfImports = oldEndOfImports;
  63149. t1._outOfOrderImports = oldOutOfOrderImports;
  63150. t1.__extensionStore = oldExtensionStore;
  63151. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  63152. t1._mediaQueries = oldMediaQueries;
  63153. t1._declarationName = oldDeclarationName;
  63154. t1._inUnknownAtRule = oldInUnknownAtRule;
  63155. t1._atRootExcludingStyleRule = t2;
  63156. t1._inKeyframes = oldInKeyframes;
  63157. t1._configuration = oldConfiguration;
  63158. },
  63159. $signature: 1
  63160. };
  63161. A._EvaluateVisitor__combineCss_closure.prototype = {
  63162. call$1(module) {
  63163. return module.get$transitivelyContainsCss();
  63164. },
  63165. $signature: 123
  63166. };
  63167. A._EvaluateVisitor__combineCss_closure0.prototype = {
  63168. call$1(target) {
  63169. return !this.selectors.contains$1(0, target);
  63170. },
  63171. $signature: 14
  63172. };
  63173. A._EvaluateVisitor__combineCss_closure1.prototype = {
  63174. call$1(module) {
  63175. return module.cloneCss$0();
  63176. },
  63177. $signature: 552
  63178. };
  63179. A._EvaluateVisitor__extendModules_closure.prototype = {
  63180. call$1(target) {
  63181. return !this.originalSelectors.contains$1(0, target);
  63182. },
  63183. $signature: 14
  63184. };
  63185. A._EvaluateVisitor__extendModules_closure0.prototype = {
  63186. call$0() {
  63187. return A._setArrayType([], type$.JSArray_ExtensionStore);
  63188. },
  63189. $signature: 168
  63190. };
  63191. A._EvaluateVisitor__topologicalModules_visitModule.prototype = {
  63192. call$1(module) {
  63193. var t1, t2, t3, _i, upstream;
  63194. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63195. upstream = t1[_i];
  63196. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  63197. this.call$1(upstream);
  63198. }
  63199. this.sorted.addFirst$1(module);
  63200. },
  63201. $signature: 70
  63202. };
  63203. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  63204. call$0() {
  63205. var t1 = A.SpanScanner$(this.resolved, null);
  63206. return new A.AtRootQueryParser(t1, this.$this._evaluate$_logger).parse$0();
  63207. },
  63208. $signature: 116
  63209. };
  63210. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  63211. call$0() {
  63212. var t1, t2, t3, _i;
  63213. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63214. t1[_i].accept$1(t3);
  63215. },
  63216. $signature: 1
  63217. };
  63218. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  63219. call$0() {
  63220. var t1, t2, t3, _i;
  63221. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63222. t1[_i].accept$1(t3);
  63223. },
  63224. $signature: 0
  63225. };
  63226. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  63227. call$1(callback) {
  63228. var t1 = this.$this,
  63229. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  63230. t1.__parent = this.newParent;
  63231. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  63232. t1.__parent = t2;
  63233. },
  63234. $signature: 28
  63235. };
  63236. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  63237. call$1(callback) {
  63238. var t1 = this.$this,
  63239. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  63240. t1._atRootExcludingStyleRule = true;
  63241. this.innerScope.call$1(callback);
  63242. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  63243. },
  63244. $signature: 28
  63245. };
  63246. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  63247. call$1(callback) {
  63248. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  63249. },
  63250. $signature: 28
  63251. };
  63252. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  63253. call$0() {
  63254. return this.innerScope.call$1(this.callback);
  63255. },
  63256. $signature: 1
  63257. };
  63258. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  63259. call$1(callback) {
  63260. var t1 = this.$this,
  63261. wasInKeyframes = t1._inKeyframes;
  63262. t1._inKeyframes = false;
  63263. this.innerScope.call$1(callback);
  63264. t1._inKeyframes = wasInKeyframes;
  63265. },
  63266. $signature: 28
  63267. };
  63268. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  63269. call$1($parent) {
  63270. return type$.CssAtRule._is($parent);
  63271. },
  63272. $signature: 170
  63273. };
  63274. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  63275. call$1(callback) {
  63276. var t1 = this.$this,
  63277. wasInUnknownAtRule = t1._inUnknownAtRule;
  63278. t1._inUnknownAtRule = false;
  63279. this.innerScope.call$1(callback);
  63280. t1._inUnknownAtRule = wasInUnknownAtRule;
  63281. },
  63282. $signature: 28
  63283. };
  63284. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  63285. call$0() {
  63286. var t1, t2, t3, _i;
  63287. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63288. t1[_i].accept$1(t3);
  63289. return null;
  63290. },
  63291. $signature: 1
  63292. };
  63293. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  63294. call$1(value) {
  63295. return new A.CssValue(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value);
  63296. },
  63297. $signature: 568
  63298. };
  63299. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  63300. call$0() {
  63301. var t1, t2, t3, _i;
  63302. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63303. t1[_i].accept$1(t3);
  63304. },
  63305. $signature: 1
  63306. };
  63307. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  63308. call$1(value) {
  63309. var t1 = this.$this,
  63310. t2 = this.nodeWithSpan;
  63311. return t1._environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._withoutSlash$2(value, t2), t2);
  63312. },
  63313. $signature: 59
  63314. };
  63315. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  63316. call$1(value) {
  63317. return this.$this._setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  63318. },
  63319. $signature: 59
  63320. };
  63321. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  63322. call$0() {
  63323. var _this = this,
  63324. t1 = _this.$this;
  63325. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  63326. },
  63327. $signature: 39
  63328. };
  63329. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  63330. call$1(element) {
  63331. var t1;
  63332. this.setVariables.call$1(element);
  63333. t1 = this.$this;
  63334. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  63335. },
  63336. $signature: 570
  63337. };
  63338. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  63339. call$1(child) {
  63340. return child.accept$1(this.$this);
  63341. },
  63342. $signature: 84
  63343. };
  63344. A._EvaluateVisitor_visitExtendRule_closure.prototype = {
  63345. call$0() {
  63346. return A.SelectorList_SelectorList$parse(A.trimAscii(this.targetText.value, true), false, true, this.$this._evaluate$_logger);
  63347. },
  63348. $signature: 47
  63349. };
  63350. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  63351. call$1(value) {
  63352. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  63353. },
  63354. $signature: 257
  63355. };
  63356. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  63357. call$0() {
  63358. var t2, t3, _i,
  63359. t1 = this.$this,
  63360. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  63361. if (styleRule == null || t1._inKeyframes)
  63362. for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  63363. t2[_i].accept$1(t1);
  63364. else
  63365. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  63366. },
  63367. $signature: 1
  63368. };
  63369. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  63370. call$0() {
  63371. var t1, t2, t3, _i;
  63372. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63373. t1[_i].accept$1(t3);
  63374. },
  63375. $signature: 1
  63376. };
  63377. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  63378. call$1(node) {
  63379. return type$.CssStyleRule._is(node);
  63380. },
  63381. $signature: 6
  63382. };
  63383. A._EvaluateVisitor_visitForRule_closure.prototype = {
  63384. call$0() {
  63385. return this.node.from.accept$1(this.$this).assertNumber$0();
  63386. },
  63387. $signature: 183
  63388. };
  63389. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  63390. call$0() {
  63391. return this.node.to.accept$1(this.$this).assertNumber$0();
  63392. },
  63393. $signature: 183
  63394. };
  63395. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  63396. call$0() {
  63397. return this.fromNumber.assertInt$0();
  63398. },
  63399. $signature: 12
  63400. };
  63401. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  63402. call$0() {
  63403. var t1 = this.fromNumber;
  63404. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  63405. },
  63406. $signature: 12
  63407. };
  63408. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  63409. call$0() {
  63410. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  63411. t1 = _this.$this,
  63412. t2 = _this.node,
  63413. nodeWithSpan = t1._expressionNode$1(t2.from);
  63414. 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) {
  63415. t7 = t1._environment;
  63416. t8 = t6.get$numeratorUnits(t6);
  63417. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  63418. result = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  63419. if (result != null)
  63420. return result;
  63421. }
  63422. return null;
  63423. },
  63424. $signature: 39
  63425. };
  63426. A._EvaluateVisitor_visitForRule__closure.prototype = {
  63427. call$1(child) {
  63428. return child.accept$1(this.$this);
  63429. },
  63430. $signature: 84
  63431. };
  63432. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  63433. call$1(module) {
  63434. this.$this._environment.forwardModule$2(module, this.node);
  63435. },
  63436. $signature: 70
  63437. };
  63438. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  63439. call$1(module) {
  63440. this.$this._environment.forwardModule$2(module, this.node);
  63441. },
  63442. $signature: 70
  63443. };
  63444. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  63445. call$0() {
  63446. var t1 = this.$this;
  63447. return t1._handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure(t1));
  63448. },
  63449. $signature: 39
  63450. };
  63451. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  63452. call$1(child) {
  63453. return child.accept$1(this.$this);
  63454. },
  63455. $signature: 84
  63456. };
  63457. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  63458. call$0() {
  63459. var t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  63460. t1 = this.$this,
  63461. t2 = this.$import,
  63462. result = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  63463. stylesheet = result.stylesheet,
  63464. t3 = stylesheet.span,
  63465. url = t3.get$sourceUrl(t3);
  63466. if (url != null) {
  63467. t3 = t1._activeModules;
  63468. if (t3.containsKey$1(url)) {
  63469. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  63470. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  63471. }
  63472. t3.$indexSet(0, url, t2);
  63473. }
  63474. t2 = stylesheet._uses;
  63475. t3 = type$.UnmodifiableListView_UseRule;
  63476. t4 = new A.UnmodifiableListView(t2, t3);
  63477. if (t4.get$length(t4) === 0) {
  63478. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  63479. t4 = t4.get$length(t4) === 0;
  63480. } else
  63481. t4 = false;
  63482. if (t4) {
  63483. oldImporter = t1._importer;
  63484. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  63485. oldInDependency = t1._inDependency;
  63486. t1._importer = result.importer;
  63487. t1.__stylesheet = stylesheet;
  63488. t1._inDependency = result.isDependency;
  63489. t1.visitStylesheet$1(stylesheet);
  63490. t1._importer = oldImporter;
  63491. t1.__stylesheet = t2;
  63492. t1._inDependency = oldInDependency;
  63493. t1._activeModules.remove$1(0, url);
  63494. return;
  63495. }
  63496. t2 = new A.UnmodifiableListView(t2, t3);
  63497. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  63498. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  63499. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  63500. } else
  63501. loadsUserDefinedModules = true;
  63502. children = A._Cell$();
  63503. t2 = t1._environment;
  63504. t3 = type$.String;
  63505. t4 = type$.Module_Callable;
  63506. t5 = type$.AstNode;
  63507. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  63508. t7 = t2._variables;
  63509. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  63510. t8 = t2._variableNodes;
  63511. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  63512. t9 = t2._functions;
  63513. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  63514. t10 = t2._mixins;
  63515. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  63516. 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);
  63517. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  63518. module = environment.toDummyModule$0();
  63519. t1._environment.importForwards$1(module);
  63520. if (loadsUserDefinedModules) {
  63521. if (module.transitivelyContainsCss)
  63522. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  63523. visitor = new A._ImportedCssVisitor(t1);
  63524. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  63525. t2.get$current(t2).accept$1(visitor);
  63526. }
  63527. t1._activeModules.remove$1(0, url);
  63528. },
  63529. $signature: 0
  63530. };
  63531. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  63532. call$1(previousLoad) {
  63533. 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));
  63534. },
  63535. $signature: 79
  63536. };
  63537. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  63538. call$1(rule) {
  63539. return rule.url.get$scheme() !== "sass";
  63540. },
  63541. $signature: 174
  63542. };
  63543. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  63544. call$1(rule) {
  63545. return rule.url.get$scheme() !== "sass";
  63546. },
  63547. $signature: 175
  63548. };
  63549. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  63550. call$0() {
  63551. var t7, t8, t9, _this = this,
  63552. t1 = _this.$this,
  63553. oldImporter = t1._importer,
  63554. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  63555. t3 = t1._assertInModule$2(t1.__root, "_root"),
  63556. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  63557. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  63558. oldOutOfOrderImports = t1._outOfOrderImports,
  63559. oldConfiguration = t1._configuration,
  63560. oldInDependency = t1._inDependency,
  63561. t6 = _this.result;
  63562. t1._importer = t6.importer;
  63563. t7 = t1.__stylesheet = _this.stylesheet;
  63564. t8 = _this.loadsUserDefinedModules;
  63565. if (t8) {
  63566. t9 = A.ModifiableCssStylesheet$(t7.span);
  63567. t1.__root = t9;
  63568. t1.__parent = t1._assertInModule$2(t9, "_root");
  63569. t1.__endOfImports = 0;
  63570. t1._outOfOrderImports = null;
  63571. }
  63572. t1._inDependency = t6.isDependency;
  63573. t6 = new A.UnmodifiableListView(t7._forwards, type$.UnmodifiableListView_ForwardRule);
  63574. if (!t6.get$isEmpty(t6))
  63575. t1._configuration = _this.environment.toImplicitConfiguration$0();
  63576. t1.visitStylesheet$1(t7);
  63577. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  63578. _this.children._value = t6;
  63579. t1._importer = oldImporter;
  63580. t1.__stylesheet = t2;
  63581. if (t8) {
  63582. t1.__root = t3;
  63583. t1.__parent = t4;
  63584. t1.__endOfImports = t5;
  63585. t1._outOfOrderImports = oldOutOfOrderImports;
  63586. }
  63587. t1._configuration = oldConfiguration;
  63588. t1._inDependency = oldInDependency;
  63589. },
  63590. $signature: 1
  63591. };
  63592. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  63593. call$0() {
  63594. var t1 = this.node;
  63595. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  63596. },
  63597. $signature: 106
  63598. };
  63599. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  63600. call$0() {
  63601. return this.node.get$spanWithoutContent();
  63602. },
  63603. $signature: 30
  63604. };
  63605. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  63606. call$1($content) {
  63607. var t1 = this.$this;
  63608. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  63609. },
  63610. $signature: 259
  63611. };
  63612. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  63613. call$0() {
  63614. var _this = this,
  63615. t1 = _this.$this,
  63616. t2 = t1._environment,
  63617. oldContent = t2._content;
  63618. t2._content = _this.contentCallable;
  63619. new A._EvaluateVisitor_visitIncludeRule__closure(t1, _this.mixin, _this.nodeWithSpan).call$0();
  63620. t2._content = oldContent;
  63621. },
  63622. $signature: 1
  63623. };
  63624. A._EvaluateVisitor_visitIncludeRule__closure.prototype = {
  63625. call$0() {
  63626. var t1 = this.$this,
  63627. t2 = t1._environment,
  63628. oldInMixin = t2._inMixin;
  63629. t2._inMixin = true;
  63630. new A._EvaluateVisitor_visitIncludeRule___closure(t1, this.mixin, this.nodeWithSpan).call$0();
  63631. t2._inMixin = oldInMixin;
  63632. },
  63633. $signature: 0
  63634. };
  63635. A._EvaluateVisitor_visitIncludeRule___closure.prototype = {
  63636. call$0() {
  63637. var t1, t2, t3, t4, _i;
  63638. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  63639. t3._addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure(t3, t1[_i]));
  63640. },
  63641. $signature: 0
  63642. };
  63643. A._EvaluateVisitor_visitIncludeRule____closure.prototype = {
  63644. call$0() {
  63645. return this.statement.accept$1(this.$this);
  63646. },
  63647. $signature: 39
  63648. };
  63649. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  63650. call$1(mediaQueries) {
  63651. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  63652. },
  63653. $signature: 101
  63654. };
  63655. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  63656. call$0() {
  63657. var _this = this,
  63658. t1 = _this.$this,
  63659. t2 = _this.mergedQueries;
  63660. if (t2 == null)
  63661. t2 = _this.queries;
  63662. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  63663. },
  63664. $signature: 1
  63665. };
  63666. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  63667. call$0() {
  63668. var t2, t3, _i,
  63669. t1 = this.$this,
  63670. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  63671. if (styleRule == null)
  63672. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  63673. t2[_i].accept$1(t1);
  63674. else
  63675. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  63676. },
  63677. $signature: 1
  63678. };
  63679. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  63680. call$0() {
  63681. var t1, t2, t3, _i;
  63682. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63683. t1[_i].accept$1(t3);
  63684. },
  63685. $signature: 1
  63686. };
  63687. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  63688. call$1(node) {
  63689. var t1;
  63690. if (!type$.CssStyleRule._is(node)) {
  63691. t1 = this.mergedSources;
  63692. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  63693. } else
  63694. t1 = true;
  63695. return t1;
  63696. },
  63697. $signature: 6
  63698. };
  63699. A._EvaluateVisitor__visitMediaQueries_closure.prototype = {
  63700. call$0() {
  63701. var t1 = A.SpanScanner$(this.resolved, null);
  63702. return new A.MediaQueryParser(t1, this.$this._evaluate$_logger).parse$0();
  63703. },
  63704. $signature: 103
  63705. };
  63706. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  63707. call$0() {
  63708. return A.KeyframeSelectorParser$(this.selectorText.value, this.$this._evaluate$_logger).parse$0();
  63709. },
  63710. $signature: 48
  63711. };
  63712. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  63713. call$0() {
  63714. var t1, t2, t3, _i;
  63715. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63716. t1[_i].accept$1(t3);
  63717. },
  63718. $signature: 1
  63719. };
  63720. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  63721. call$1(node) {
  63722. return type$.CssStyleRule._is(node);
  63723. },
  63724. $signature: 6
  63725. };
  63726. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  63727. call$0() {
  63728. var _s11_ = "_stylesheet",
  63729. t1 = this.$this;
  63730. return A.SelectorList_SelectorList$parse(this.selectorText.value, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, !t1._assertInModule$2(t1.__stylesheet, _s11_).plainCss, t1._evaluate$_logger);
  63731. },
  63732. $signature: 47
  63733. };
  63734. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  63735. call$0() {
  63736. var t1 = this._box_0.parsedSelector,
  63737. t2 = this.$this,
  63738. t3 = t2._styleRuleIgnoringAtRoot;
  63739. t3 = t3 == null ? null : t3.originalSelector;
  63740. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._atRootExcludingStyleRule);
  63741. },
  63742. $signature: 47
  63743. };
  63744. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  63745. call$0() {
  63746. var t1 = this.$this;
  63747. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  63748. },
  63749. $signature: 1
  63750. };
  63751. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  63752. call$0() {
  63753. var t1, t2, t3, _i;
  63754. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63755. t1[_i].accept$1(t3);
  63756. },
  63757. $signature: 1
  63758. };
  63759. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  63760. call$1(node) {
  63761. return type$.CssStyleRule._is(node);
  63762. },
  63763. $signature: 6
  63764. };
  63765. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  63766. call$1(child) {
  63767. return type$.CssComment._is(child);
  63768. },
  63769. $signature: 134
  63770. };
  63771. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  63772. call$0() {
  63773. var t2, t3, _i,
  63774. t1 = this.$this,
  63775. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  63776. if (styleRule == null)
  63777. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  63778. t2[_i].accept$1(t1);
  63779. else
  63780. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  63781. },
  63782. $signature: 1
  63783. };
  63784. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  63785. call$0() {
  63786. var t1, t2, t3, _i;
  63787. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  63788. t1[_i].accept$1(t3);
  63789. },
  63790. $signature: 1
  63791. };
  63792. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  63793. call$1(node) {
  63794. return type$.CssStyleRule._is(node);
  63795. },
  63796. $signature: 6
  63797. };
  63798. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  63799. call$0() {
  63800. var t1 = this.override;
  63801. this.$this._environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  63802. },
  63803. $signature: 1
  63804. };
  63805. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  63806. call$0() {
  63807. var t1 = this.node;
  63808. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  63809. },
  63810. $signature: 39
  63811. };
  63812. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  63813. call$0() {
  63814. var t1 = this.$this,
  63815. t2 = this.node;
  63816. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  63817. },
  63818. $signature: 1
  63819. };
  63820. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  63821. call$1(module) {
  63822. var t1 = this.node;
  63823. this.$this._environment.addModule$3$namespace(module, t1, t1.namespace);
  63824. },
  63825. $signature: 70
  63826. };
  63827. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  63828. call$0() {
  63829. return this.node.expression.accept$1(this.$this);
  63830. },
  63831. $signature: 35
  63832. };
  63833. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  63834. call$0() {
  63835. var t1, t2, t3, result;
  63836. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  63837. result = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  63838. if (result != null)
  63839. return result;
  63840. }
  63841. return null;
  63842. },
  63843. $signature: 39
  63844. };
  63845. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  63846. call$1(child) {
  63847. return child.accept$1(this.$this);
  63848. },
  63849. $signature: 84
  63850. };
  63851. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  63852. call$0() {
  63853. var right, result,
  63854. t1 = this.node,
  63855. t2 = this.$this,
  63856. left = t1.left.accept$1(t2),
  63857. t3 = t1.operator;
  63858. switch (t3) {
  63859. case B.BinaryOperator_axY:
  63860. right = t1.right.accept$1(t2);
  63861. return new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(right, false, true), false);
  63862. case B.BinaryOperator_or_or_1_or:
  63863. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  63864. case B.BinaryOperator_and_and_2_and:
  63865. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  63866. case B.BinaryOperator_nZh:
  63867. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  63868. case B.BinaryOperator_Vr9:
  63869. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  63870. case B.BinaryOperator_cw1:
  63871. return left.greaterThan$1(t1.right.accept$1(t2));
  63872. case B.BinaryOperator_Wma:
  63873. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  63874. case B.BinaryOperator_apg:
  63875. return left.lessThan$1(t1.right.accept$1(t2));
  63876. case B.BinaryOperator_oqF:
  63877. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  63878. case B.BinaryOperator_qbf:
  63879. return left.plus$1(t1.right.accept$1(t2));
  63880. case B.BinaryOperator_KlB:
  63881. return left.minus$1(t1.right.accept$1(t2));
  63882. case B.BinaryOperator_6pl:
  63883. return left.times$1(t1.right.accept$1(t2));
  63884. case B.BinaryOperator_qpm:
  63885. right = t1.right.accept$1(t2);
  63886. result = left.dividedBy$1(right);
  63887. if (t1.allowsSlash && left instanceof A.SassNumber && right instanceof A.SassNumber)
  63888. return type$.SassNumber._as(result).withSlash$2(left, right);
  63889. else {
  63890. if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  63891. t2._warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  63892. return result;
  63893. }
  63894. case B.BinaryOperator_PHH:
  63895. return left.modulo$1(t1.right.accept$1(t2));
  63896. default:
  63897. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  63898. }
  63899. },
  63900. $signature: 35
  63901. };
  63902. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation.prototype = {
  63903. call$1(expression) {
  63904. if (expression instanceof A.BinaryOperationExpression && expression.operator === B.BinaryOperator_qpm)
  63905. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  63906. else if (expression instanceof A.ParenthesizedExpression)
  63907. return expression.expression.toString$0(0);
  63908. else
  63909. return expression.toString$0(0);
  63910. },
  63911. $signature: 133
  63912. };
  63913. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  63914. call$0() {
  63915. var t1 = this.node;
  63916. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  63917. },
  63918. $signature: 39
  63919. };
  63920. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  63921. call$0() {
  63922. var _this = this,
  63923. t1 = _this.node.operator;
  63924. switch (t1) {
  63925. case B.UnaryOperator_gg4:
  63926. return _this.operand.unaryPlus$0();
  63927. case B.UnaryOperator_TLI:
  63928. return _this.operand.unaryMinus$0();
  63929. case B.UnaryOperator_Ix1:
  63930. return new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  63931. case B.UnaryOperator_not_not_not:
  63932. return _this.operand.unaryNot$0();
  63933. default:
  63934. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  63935. }
  63936. },
  63937. $signature: 35
  63938. };
  63939. A._EvaluateVisitor__visitCalculationValue_closure.prototype = {
  63940. call$0() {
  63941. var t1 = this.$this,
  63942. t2 = this.node,
  63943. t3 = this.inMinMax;
  63944. 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);
  63945. },
  63946. $signature: 85
  63947. };
  63948. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  63949. call$1(expression) {
  63950. return expression.accept$1(this.$this);
  63951. },
  63952. $signature: 261
  63953. };
  63954. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  63955. call$0() {
  63956. var t1 = this.node;
  63957. return this.$this._getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  63958. },
  63959. $signature: 106
  63960. };
  63961. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  63962. call$0() {
  63963. var t1 = this.node;
  63964. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  63965. },
  63966. $signature: 35
  63967. };
  63968. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  63969. call$0() {
  63970. var t1 = this.node;
  63971. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  63972. },
  63973. $signature: 35
  63974. };
  63975. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  63976. call$0() {
  63977. var _this = this,
  63978. t1 = _this.$this,
  63979. t2 = _this.callable;
  63980. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  63981. },
  63982. $signature() {
  63983. return this.V._eval$1("0()");
  63984. }
  63985. };
  63986. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  63987. call$0() {
  63988. var _this = this,
  63989. t1 = _this.$this,
  63990. t2 = _this.V;
  63991. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  63992. },
  63993. $signature() {
  63994. return this.V._eval$1("0()");
  63995. }
  63996. };
  63997. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  63998. call$0() {
  63999. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  64000. t1 = _this.$this,
  64001. t2 = _this.evaluated,
  64002. t3 = t2.positional,
  64003. t4 = t2.named,
  64004. t5 = _this.callable.declaration.$arguments,
  64005. t6 = _this.nodeWithSpan;
  64006. t1._verifyArguments$4(t3.length, t4, t5, t6);
  64007. declaredArguments = t5.$arguments;
  64008. t7 = declaredArguments.length;
  64009. minLength = Math.min(t3.length, t7);
  64010. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  64011. t1._environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  64012. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  64013. argument = declaredArguments[i];
  64014. t9 = argument.name;
  64015. value = t4.remove$1(0, t9);
  64016. if (value == null) {
  64017. t10 = argument.defaultValue;
  64018. value = t1._withoutSlash$2(t10.accept$1(t1), t1._expressionNode$1(t10));
  64019. }
  64020. t10 = t1._environment;
  64021. t11 = t8.$index(0, t9);
  64022. if (t11 == null) {
  64023. t11 = argument.defaultValue;
  64024. t11.toString;
  64025. t11 = t1._expressionNode$1(t11);
  64026. }
  64027. t10.setLocalVariable$3(t9, value, t11);
  64028. }
  64029. restArgument = t5.restArgument;
  64030. if (restArgument != null) {
  64031. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty7;
  64032. t2 = t2.separator;
  64033. argumentList = A.SassArgumentList$(rest, t4, t2 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t2);
  64034. t1._environment.setLocalVariable$3(restArgument, argumentList, t6);
  64035. } else
  64036. argumentList = null;
  64037. result = _this.run.call$0();
  64038. if (argumentList == null)
  64039. return result;
  64040. t2 = t4.__js_helper$_length;
  64041. if (t2 === 0)
  64042. return result;
  64043. if (argumentList._wereKeywordsAccessed)
  64044. return result;
  64045. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  64046. 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))));
  64047. },
  64048. $signature() {
  64049. return this.V._eval$1("0()");
  64050. }
  64051. };
  64052. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  64053. call$1($name) {
  64054. return "$" + $name;
  64055. },
  64056. $signature: 5
  64057. };
  64058. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  64059. call$0() {
  64060. var t1, t2, t3, t4, _i, $returnValue;
  64061. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  64062. $returnValue = t2[_i].accept$1(t4);
  64063. if ($returnValue instanceof A.Value)
  64064. return $returnValue;
  64065. }
  64066. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  64067. },
  64068. $signature: 35
  64069. };
  64070. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  64071. call$0() {
  64072. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  64073. },
  64074. $signature: 0
  64075. };
  64076. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  64077. call$1($name) {
  64078. return "$" + $name;
  64079. },
  64080. $signature: 5
  64081. };
  64082. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  64083. call$1(value) {
  64084. return value;
  64085. },
  64086. $signature: 36
  64087. };
  64088. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  64089. call$1(value) {
  64090. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  64091. },
  64092. $signature: 36
  64093. };
  64094. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  64095. call$2(key, value) {
  64096. var _this = this,
  64097. t1 = _this.restNodeForSpan;
  64098. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  64099. _this.namedNodes.$indexSet(0, key, t1);
  64100. },
  64101. $signature: 78
  64102. };
  64103. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  64104. call$1(value) {
  64105. return value;
  64106. },
  64107. $signature: 36
  64108. };
  64109. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  64110. call$1(value) {
  64111. var t1 = this.restArgs;
  64112. return new A.ValueExpression(value, t1.get$span(t1));
  64113. },
  64114. $signature: 58
  64115. };
  64116. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  64117. call$1(value) {
  64118. var t1 = this.restArgs;
  64119. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  64120. },
  64121. $signature: 58
  64122. };
  64123. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  64124. call$2(key, value) {
  64125. var _this = this,
  64126. t1 = _this.restArgs;
  64127. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  64128. },
  64129. $signature: 78
  64130. };
  64131. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  64132. call$1(value) {
  64133. var t1 = this.keywordRestArgs;
  64134. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  64135. },
  64136. $signature: 58
  64137. };
  64138. A._EvaluateVisitor__addRestMap_closure.prototype = {
  64139. call$2(key, value) {
  64140. var t2, _this = this,
  64141. t1 = _this.$this;
  64142. if (key instanceof A.SassString)
  64143. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  64144. else {
  64145. t2 = _this.nodeWithSpan;
  64146. 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)));
  64147. }
  64148. },
  64149. $signature: 55
  64150. };
  64151. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  64152. call$0() {
  64153. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  64154. },
  64155. $signature: 0
  64156. };
  64157. A._EvaluateVisitor_visitStringExpression_closure.prototype = {
  64158. call$1(value) {
  64159. var t1, result;
  64160. if (typeof value == "string")
  64161. return value;
  64162. type$.Expression._as(value);
  64163. t1 = this.$this;
  64164. result = value.accept$1(t1);
  64165. return result instanceof A.SassString ? result._string$_text : t1._evaluate$_serialize$3$quote(result, value, false);
  64166. },
  64167. $signature: 44
  64168. };
  64169. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  64170. call$0() {
  64171. var t1, t2, t3, t4;
  64172. 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();) {
  64173. t4 = t1.__internal$_current;
  64174. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64175. }
  64176. },
  64177. $signature: 1
  64178. };
  64179. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  64180. call$1(node) {
  64181. return type$.CssStyleRule._is(node);
  64182. },
  64183. $signature: 6
  64184. };
  64185. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  64186. call$0() {
  64187. var t1, t2, t3, t4;
  64188. 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();) {
  64189. t4 = t1.__internal$_current;
  64190. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64191. }
  64192. },
  64193. $signature: 1
  64194. };
  64195. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  64196. call$1(node) {
  64197. return type$.CssStyleRule._is(node);
  64198. },
  64199. $signature: 6
  64200. };
  64201. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  64202. call$1(mediaQueries) {
  64203. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  64204. },
  64205. $signature: 101
  64206. };
  64207. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  64208. call$0() {
  64209. var _this = this,
  64210. t1 = _this.$this,
  64211. t2 = _this.mergedQueries;
  64212. if (t2 == null)
  64213. t2 = _this.node.queries;
  64214. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  64215. },
  64216. $signature: 1
  64217. };
  64218. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  64219. call$0() {
  64220. var t2, t3, t4,
  64221. t1 = this.$this,
  64222. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  64223. if (styleRule == null)
  64224. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  64225. t4 = t2.__internal$_current;
  64226. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  64227. }
  64228. else
  64229. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  64230. },
  64231. $signature: 1
  64232. };
  64233. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  64234. call$0() {
  64235. var t1, t2, t3, t4;
  64236. 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();) {
  64237. t4 = t1.__internal$_current;
  64238. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64239. }
  64240. },
  64241. $signature: 1
  64242. };
  64243. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  64244. call$1(node) {
  64245. var t1;
  64246. if (!type$.CssStyleRule._is(node)) {
  64247. t1 = this.mergedSources;
  64248. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  64249. } else
  64250. t1 = true;
  64251. return t1;
  64252. },
  64253. $signature: 6
  64254. };
  64255. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  64256. call$0() {
  64257. var t1 = this.$this;
  64258. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  64259. },
  64260. $signature: 1
  64261. };
  64262. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  64263. call$0() {
  64264. var t1, t2, t3, t4;
  64265. 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();) {
  64266. t4 = t1.__internal$_current;
  64267. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64268. }
  64269. },
  64270. $signature: 1
  64271. };
  64272. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  64273. call$1(node) {
  64274. return type$.CssStyleRule._is(node);
  64275. },
  64276. $signature: 6
  64277. };
  64278. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  64279. call$0() {
  64280. var t2, t3, t4,
  64281. t1 = this.$this,
  64282. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  64283. if (styleRule == null)
  64284. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  64285. t4 = t2.__internal$_current;
  64286. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  64287. }
  64288. else
  64289. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  64290. },
  64291. $signature: 1
  64292. };
  64293. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  64294. call$0() {
  64295. var t1, t2, t3, t4;
  64296. 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();) {
  64297. t4 = t1.__internal$_current;
  64298. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  64299. }
  64300. },
  64301. $signature: 1
  64302. };
  64303. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  64304. call$1(node) {
  64305. return type$.CssStyleRule._is(node);
  64306. },
  64307. $signature: 6
  64308. };
  64309. A._EvaluateVisitor__performInterpolation_closure.prototype = {
  64310. call$1(value) {
  64311. var t1, result, t2, t3;
  64312. if (typeof value == "string")
  64313. return value;
  64314. type$.Expression._as(value);
  64315. t1 = this.$this;
  64316. result = value.accept$1(t1);
  64317. if (this.warnForColor && result instanceof A.SassColor && $.$get$namesByColor().containsKey$1(result)) {
  64318. t2 = A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
  64319. t3 = $.$get$namesByColor();
  64320. t1._warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_qbf, new A.StringExpression(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  64321. }
  64322. return t1._evaluate$_serialize$3$quote(result, value, false);
  64323. },
  64324. $signature: 44
  64325. };
  64326. A._EvaluateVisitor__serialize_closure.prototype = {
  64327. call$0() {
  64328. return A.serializeValue(this.value, false, this.quote);
  64329. },
  64330. $signature: 32
  64331. };
  64332. A._EvaluateVisitor__expressionNode_closure.prototype = {
  64333. call$0() {
  64334. var t1 = this.expression;
  64335. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  64336. },
  64337. $signature: 180
  64338. };
  64339. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  64340. call$1(number) {
  64341. var asSlash = number.asSlash;
  64342. if (asSlash != null)
  64343. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  64344. else
  64345. return A.serializeValue(number, true, true);
  64346. },
  64347. $signature: 181
  64348. };
  64349. A._EvaluateVisitor__stackFrame_closure.prototype = {
  64350. call$1(url) {
  64351. var t1 = this.$this._evaluate$_importCache;
  64352. t1 = t1 == null ? null : t1.humanize$1(url);
  64353. return t1 == null ? url : t1;
  64354. },
  64355. $signature: 81
  64356. };
  64357. A._EvaluateVisitor__stackTrace_closure.prototype = {
  64358. call$1(tuple) {
  64359. return this.$this._stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  64360. },
  64361. $signature: 182
  64362. };
  64363. A._ImportedCssVisitor.prototype = {
  64364. visitCssAtRule$1(node) {
  64365. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  64366. this._visitor._addChild$2$through(node, t1);
  64367. },
  64368. visitCssComment$1(node) {
  64369. return this._visitor._addChild$1(node);
  64370. },
  64371. visitCssDeclaration$1(node) {
  64372. },
  64373. visitCssImport$1(node) {
  64374. var t2,
  64375. _s13_ = "_endOfImports",
  64376. t1 = this._visitor;
  64377. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  64378. t1._addChild$1(node);
  64379. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  64380. t1._addChild$1(node);
  64381. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  64382. } else {
  64383. t2 = t1._outOfOrderImports;
  64384. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  64385. }
  64386. },
  64387. visitCssKeyframeBlock$1(node) {
  64388. },
  64389. visitCssMediaRule$1(node) {
  64390. var t1 = this._visitor,
  64391. mediaQueries = t1._mediaQueries;
  64392. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  64393. },
  64394. visitCssStyleRule$1(node) {
  64395. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  64396. },
  64397. visitCssStylesheet$1(node) {
  64398. var t1, t2, t3;
  64399. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  64400. t3 = t1.__internal$_current;
  64401. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  64402. }
  64403. },
  64404. visitCssSupportsRule$1(node) {
  64405. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  64406. }
  64407. };
  64408. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  64409. call$1(node) {
  64410. return type$.CssStyleRule._is(node);
  64411. },
  64412. $signature: 6
  64413. };
  64414. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  64415. call$1(node) {
  64416. var t1;
  64417. if (!type$.CssStyleRule._is(node))
  64418. t1 = this.hasBeenMerged && type$.CssMediaRule._is(node);
  64419. else
  64420. t1 = true;
  64421. return t1;
  64422. },
  64423. $signature: 6
  64424. };
  64425. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  64426. call$1(node) {
  64427. return type$.CssStyleRule._is(node);
  64428. },
  64429. $signature: 6
  64430. };
  64431. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  64432. call$1(node) {
  64433. return type$.CssStyleRule._is(node);
  64434. },
  64435. $signature: 6
  64436. };
  64437. A._EvaluationContext.prototype = {
  64438. get$currentCallableSpan() {
  64439. var callableNode = this._visitor._callableNode;
  64440. if (callableNode != null)
  64441. return callableNode.get$span(callableNode);
  64442. throw A.wrapException(A.StateError$(string$.No_Sasc));
  64443. },
  64444. warn$2$deprecation(_, message, deprecation) {
  64445. var t1 = this._visitor,
  64446. t2 = t1._importSpan;
  64447. if (t2 == null) {
  64448. t2 = t1._callableNode;
  64449. t2 = t2 == null ? null : t2.get$span(t2);
  64450. }
  64451. if (t2 == null) {
  64452. t2 = this._defaultWarnNodeWithSpan;
  64453. t2 = t2.get$span(t2);
  64454. }
  64455. t1._warn$3$deprecation(message, t2, deprecation);
  64456. },
  64457. $isEvaluationContext: 1
  64458. };
  64459. A._ArgumentResults.prototype = {};
  64460. A._LoadedStylesheet.prototype = {};
  64461. A.EveryCssVisitor.prototype = {
  64462. visitCssAtRule$1(node) {
  64463. var t1 = node.children;
  64464. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  64465. },
  64466. visitCssComment$1(node) {
  64467. return false;
  64468. },
  64469. visitCssDeclaration$1(node) {
  64470. return false;
  64471. },
  64472. visitCssImport$1(node) {
  64473. return false;
  64474. },
  64475. visitCssKeyframeBlock$1(node) {
  64476. var t1 = node.children;
  64477. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  64478. },
  64479. visitCssMediaRule$1(node) {
  64480. var t1 = node.children;
  64481. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  64482. },
  64483. visitCssStyleRule$1(node) {
  64484. var t1 = node.children;
  64485. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  64486. },
  64487. visitCssStylesheet$1(node) {
  64488. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  64489. },
  64490. visitCssSupportsRule$1(node) {
  64491. var t1 = node.children;
  64492. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  64493. }
  64494. };
  64495. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  64496. call$1(child) {
  64497. return child.accept$1(this.$this);
  64498. },
  64499. $signature: 6
  64500. };
  64501. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  64502. call$1(child) {
  64503. return child.accept$1(this.$this);
  64504. },
  64505. $signature: 6
  64506. };
  64507. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  64508. call$1(child) {
  64509. return child.accept$1(this.$this);
  64510. },
  64511. $signature: 6
  64512. };
  64513. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  64514. call$1(child) {
  64515. return child.accept$1(this.$this);
  64516. },
  64517. $signature: 6
  64518. };
  64519. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  64520. call$1(child) {
  64521. return child.accept$1(this.$this);
  64522. },
  64523. $signature: 6
  64524. };
  64525. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  64526. call$1(child) {
  64527. return child.accept$1(this.$this);
  64528. },
  64529. $signature: 6
  64530. };
  64531. A._FindDependenciesVisitor.prototype = {
  64532. visitEachRule$1(node) {
  64533. },
  64534. visitForRule$1(node) {
  64535. },
  64536. visitIfRule$1(node) {
  64537. },
  64538. visitWhileRule$1(node) {
  64539. },
  64540. visitUseRule$1(node) {
  64541. var t1 = node.url;
  64542. if (t1.get$scheme() !== "sass")
  64543. this._usesAndForwards.push(t1);
  64544. },
  64545. visitForwardRule$1(node) {
  64546. var t1 = node.url;
  64547. if (t1.get$scheme() !== "sass")
  64548. this._usesAndForwards.push(t1);
  64549. },
  64550. visitImportRule$1(node) {
  64551. var t1, t2, t3, _i, $import;
  64552. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  64553. $import = t1[_i];
  64554. if ($import instanceof A.DynamicImport)
  64555. t3.push(A.Uri_parse($import.urlString));
  64556. }
  64557. }
  64558. };
  64559. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  64560. A.RecursiveStatementVisitor.prototype = {
  64561. visitAtRootRule$1(node) {
  64562. this.visitChildren$1(node.children);
  64563. },
  64564. visitAtRule$1(node) {
  64565. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  64566. },
  64567. visitContentBlock$1(node) {
  64568. return null;
  64569. },
  64570. visitContentRule$1(node) {
  64571. },
  64572. visitDebugRule$1(node) {
  64573. },
  64574. visitDeclaration$1(node) {
  64575. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  64576. },
  64577. visitErrorRule$1(node) {
  64578. },
  64579. visitExtendRule$1(node) {
  64580. },
  64581. visitFunctionRule$1(node) {
  64582. return null;
  64583. },
  64584. visitIncludeRule$1(node) {
  64585. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  64586. },
  64587. visitLoudComment$1(node) {
  64588. },
  64589. visitMediaRule$1(node) {
  64590. return this.visitChildren$1(node.children);
  64591. },
  64592. visitMixinRule$1(node) {
  64593. return null;
  64594. },
  64595. visitReturnRule$1(node) {
  64596. },
  64597. visitSilentComment$1(node) {
  64598. },
  64599. visitStyleRule$1(node) {
  64600. return this.visitChildren$1(node.children);
  64601. },
  64602. visitStylesheet$1(node) {
  64603. return this.visitChildren$1(node.children);
  64604. },
  64605. visitSupportsRule$1(node) {
  64606. return this.visitChildren$1(node.children);
  64607. },
  64608. visitVariableDeclaration$1(node) {
  64609. },
  64610. visitWarnRule$1(node) {
  64611. },
  64612. visitChildren$1(children) {
  64613. var t1;
  64614. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  64615. t1.get$current(t1).accept$1(this);
  64616. }
  64617. };
  64618. A.serialize_closure.prototype = {
  64619. call$1(codeUnit) {
  64620. return codeUnit > 127;
  64621. },
  64622. $signature: 53
  64623. };
  64624. A._SerializeVisitor.prototype = {
  64625. visitCssStylesheet$1(node) {
  64626. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  64627. 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();) {
  64628. previous0 = t1.get$current(t1);
  64629. if (t2)
  64630. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  64631. else
  64632. t8 = false;
  64633. if (t8)
  64634. continue;
  64635. if (previous != null) {
  64636. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  64637. t7.writeCharCode$1(59);
  64638. if (_this._isTrailingComment$2(previous0, previous)) {
  64639. if (t4)
  64640. t7.writeCharCode$1(32);
  64641. } else {
  64642. if (t4)
  64643. t7.write$1(0, "\n");
  64644. if (previous.get$isGroupEnd())
  64645. if (t4)
  64646. t7.write$1(0, "\n");
  64647. }
  64648. }
  64649. previous0.accept$1(_this);
  64650. previous = previous0;
  64651. }
  64652. if (previous != null)
  64653. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  64654. else
  64655. t1 = false;
  64656. if (t1)
  64657. t7.writeCharCode$1(59);
  64658. },
  64659. visitCssComment$1(node) {
  64660. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  64661. },
  64662. visitCssAtRule$1(node) {
  64663. var t1, _this = this;
  64664. _this._writeIndentation$0();
  64665. t1 = _this._serialize$_buffer;
  64666. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  64667. if (!node.isChildless) {
  64668. if (_this._style !== B.OutputStyle_1)
  64669. t1.writeCharCode$1(32);
  64670. _this._serialize$_visitChildren$1(node);
  64671. }
  64672. },
  64673. visitCssMediaRule$1(node) {
  64674. var t1, _this = this;
  64675. _this._writeIndentation$0();
  64676. t1 = _this._serialize$_buffer;
  64677. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  64678. if (_this._style !== B.OutputStyle_1)
  64679. t1.writeCharCode$1(32);
  64680. _this._serialize$_visitChildren$1(node);
  64681. },
  64682. visitCssImport$1(node) {
  64683. this._writeIndentation$0();
  64684. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  64685. },
  64686. _writeImportUrl$1(url) {
  64687. var urlContents, maybeQuote, _this = this;
  64688. if (_this._style !== B.OutputStyle_1 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  64689. _this._serialize$_buffer.write$1(0, url);
  64690. return;
  64691. }
  64692. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  64693. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  64694. if (maybeQuote === 39 || maybeQuote === 34)
  64695. _this._serialize$_buffer.write$1(0, urlContents);
  64696. else
  64697. _this._visitQuotedString$1(urlContents);
  64698. },
  64699. visitCssKeyframeBlock$1(node) {
  64700. var t1, _this = this;
  64701. _this._writeIndentation$0();
  64702. t1 = _this._serialize$_buffer;
  64703. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  64704. if (_this._style !== B.OutputStyle_1)
  64705. t1.writeCharCode$1(32);
  64706. _this._serialize$_visitChildren$1(node);
  64707. },
  64708. _visitMediaQuery$1(query) {
  64709. var t2, condition, operator, t3, _this = this,
  64710. t1 = query.modifier;
  64711. if (t1 != null) {
  64712. t2 = _this._serialize$_buffer;
  64713. t2.write$1(0, t1);
  64714. t2.writeCharCode$1(32);
  64715. }
  64716. t1 = query.type;
  64717. if (t1 != null) {
  64718. t2 = _this._serialize$_buffer;
  64719. t2.write$1(0, t1);
  64720. if (query.conditions.length !== 0)
  64721. t2.write$1(0, " and ");
  64722. }
  64723. t1 = query.conditions;
  64724. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  64725. t2 = _this._serialize$_buffer;
  64726. t2.write$1(0, "not ");
  64727. condition = B.JSArray_methods.get$first(t1);
  64728. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  64729. } else {
  64730. operator = query.conjunction ? "and" : "or";
  64731. t2 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  64732. t3 = _this._serialize$_buffer;
  64733. _this._writeBetween$3(t1, t2, t3.get$write(t3));
  64734. }
  64735. },
  64736. visitCssStyleRule$1(node) {
  64737. var t1, _this = this;
  64738. _this._writeIndentation$0();
  64739. t1 = _this._serialize$_buffer;
  64740. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  64741. if (_this._style !== B.OutputStyle_1)
  64742. t1.writeCharCode$1(32);
  64743. _this._serialize$_visitChildren$1(node);
  64744. },
  64745. visitCssSupportsRule$1(node) {
  64746. var t1, _this = this;
  64747. _this._writeIndentation$0();
  64748. t1 = _this._serialize$_buffer;
  64749. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  64750. if (_this._style !== B.OutputStyle_1)
  64751. t1.writeCharCode$1(32);
  64752. _this._serialize$_visitChildren$1(node);
  64753. },
  64754. visitCssDeclaration$1(node) {
  64755. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  64756. _this._writeIndentation$0();
  64757. t1 = node.name;
  64758. _this._serialize$_write$1(t1);
  64759. t2 = _this._serialize$_buffer;
  64760. t2.writeCharCode$1(58);
  64761. if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
  64762. t1 = node.value;
  64763. t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  64764. } else {
  64765. if (_this._style !== B.OutputStyle_1)
  64766. t2.writeCharCode$1(32);
  64767. try {
  64768. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  64769. } catch (exception) {
  64770. t1 = A.unwrapException(exception);
  64771. if (t1 instanceof A.MultiSpanSassScriptException) {
  64772. error = t1;
  64773. stackTrace = A.getTraceFromException(exception);
  64774. t1 = error.message;
  64775. t2 = node.value;
  64776. t2 = t2.get$span(t2);
  64777. A.throwWithTrace(new A.MultiSpanSassException(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
  64778. } else if (t1 instanceof A.SassScriptException) {
  64779. error0 = t1;
  64780. stackTrace0 = A.getTraceFromException(exception);
  64781. t1 = node.value;
  64782. A.throwWithTrace(new A.SassException(error0.message, t1.get$span(t1)), stackTrace0);
  64783. } else
  64784. throw exception;
  64785. }
  64786. }
  64787. },
  64788. _writeFoldedValue$1(node) {
  64789. var t2, next, t3,
  64790. t1 = node.value,
  64791. scanner = A.StringScanner$(type$.SassString._as(t1.get$value(t1))._string$_text, null, null);
  64792. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  64793. next = scanner.readChar$0();
  64794. if (next !== 10) {
  64795. t2.writeCharCode$1(next);
  64796. continue;
  64797. }
  64798. t2.writeCharCode$1(32);
  64799. while (true) {
  64800. t3 = scanner.peekChar$0();
  64801. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  64802. break;
  64803. scanner.readChar$0();
  64804. }
  64805. }
  64806. },
  64807. _writeReindentedValue$1(node) {
  64808. var _this = this,
  64809. t1 = node.value,
  64810. value = type$.SassString._as(t1.get$value(t1))._string$_text,
  64811. minimumIndentation = _this._minimumIndentation$1(value);
  64812. if (minimumIndentation == null) {
  64813. _this._serialize$_buffer.write$1(0, value);
  64814. return;
  64815. } else if (minimumIndentation === -1) {
  64816. t1 = _this._serialize$_buffer;
  64817. t1.write$1(0, A.trimAsciiRight(value, true));
  64818. t1.writeCharCode$1(32);
  64819. return;
  64820. }
  64821. t1 = node.name;
  64822. t1 = t1.get$span(t1);
  64823. t1 = t1.get$start(t1);
  64824. _this._writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  64825. },
  64826. _minimumIndentation$1(text) {
  64827. var character, t2, min, next, min0,
  64828. scanner = A.LineScanner$(text),
  64829. t1 = scanner.string.length;
  64830. while (true) {
  64831. if (scanner._string_scanner$_position !== t1) {
  64832. character = scanner.super$StringScanner$readChar();
  64833. scanner._adjustLineAndColumn$1(character);
  64834. t2 = character !== 10;
  64835. } else
  64836. t2 = false;
  64837. if (!t2)
  64838. break;
  64839. }
  64840. if (scanner._string_scanner$_position === t1)
  64841. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  64842. for (min = null; scanner._string_scanner$_position !== t1;) {
  64843. for (; scanner._string_scanner$_position !== t1;) {
  64844. next = scanner.peekChar$0();
  64845. if (next !== 32 && next !== 9)
  64846. break;
  64847. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  64848. }
  64849. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  64850. continue;
  64851. min0 = scanner._line_scanner$_column;
  64852. min = min == null ? min0 : Math.min(min, min0);
  64853. while (true) {
  64854. if (scanner._string_scanner$_position !== t1) {
  64855. character = scanner.super$StringScanner$readChar();
  64856. scanner._adjustLineAndColumn$1(character);
  64857. t2 = character !== 10;
  64858. } else
  64859. t2 = false;
  64860. if (!t2)
  64861. break;
  64862. }
  64863. }
  64864. return min == null ? -1 : min;
  64865. },
  64866. _writeWithIndent$2(text, minimumIndentation) {
  64867. var t1, t2, t3, character, lineStart, newlines, end,
  64868. scanner = A.LineScanner$(text);
  64869. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  64870. character = scanner.super$StringScanner$readChar();
  64871. scanner._adjustLineAndColumn$1(character);
  64872. if (character === 10)
  64873. break;
  64874. t3.writeCharCode$1(character);
  64875. }
  64876. for (; true;) {
  64877. lineStart = scanner._string_scanner$_position;
  64878. for (newlines = 1; true;) {
  64879. if (scanner._string_scanner$_position === t2) {
  64880. t3.writeCharCode$1(32);
  64881. return;
  64882. }
  64883. character = scanner.super$StringScanner$readChar();
  64884. scanner._adjustLineAndColumn$1(character);
  64885. if (character === 32 || character === 9)
  64886. continue;
  64887. if (character !== 10)
  64888. break;
  64889. lineStart = scanner._string_scanner$_position;
  64890. ++newlines;
  64891. }
  64892. this._writeTimes$2(10, newlines);
  64893. this._writeIndentation$0();
  64894. end = scanner._string_scanner$_position;
  64895. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  64896. for (; true;) {
  64897. if (scanner._string_scanner$_position === t2)
  64898. return;
  64899. character = scanner.super$StringScanner$readChar();
  64900. scanner._adjustLineAndColumn$1(character);
  64901. if (character === 10)
  64902. break;
  64903. t3.writeCharCode$1(character);
  64904. }
  64905. }
  64906. },
  64907. _writeCalculationValue$1(value) {
  64908. var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
  64909. if (value instanceof A.Value)
  64910. value.accept$1(_this);
  64911. else if (value instanceof A.CalculationInterpolation)
  64912. _this._serialize$_buffer.write$1(0, value.value);
  64913. else if (value instanceof A.CalculationOperation) {
  64914. left = value.left;
  64915. if (!(left instanceof A.CalculationInterpolation))
  64916. parenthesizeLeft = left instanceof A.CalculationOperation && left.operator.precedence < value.operator.precedence;
  64917. else
  64918. parenthesizeLeft = true;
  64919. if (parenthesizeLeft)
  64920. _this._serialize$_buffer.writeCharCode$1(40);
  64921. _this._writeCalculationValue$1(left);
  64922. if (parenthesizeLeft)
  64923. _this._serialize$_buffer.writeCharCode$1(41);
  64924. operatorWhitespace = _this._style !== B.OutputStyle_1 || value.operator.precedence === 1;
  64925. if (operatorWhitespace)
  64926. _this._serialize$_buffer.writeCharCode$1(32);
  64927. t1 = _this._serialize$_buffer;
  64928. t2 = value.operator;
  64929. t1.write$1(0, t2.operator);
  64930. if (operatorWhitespace)
  64931. t1.writeCharCode$1(32);
  64932. right = value.right;
  64933. if (!(right instanceof A.CalculationInterpolation))
  64934. parenthesizeRight = right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(t2, right.operator);
  64935. else
  64936. parenthesizeRight = true;
  64937. if (parenthesizeRight)
  64938. t1.writeCharCode$1(40);
  64939. _this._writeCalculationValue$1(right);
  64940. if (parenthesizeRight)
  64941. t1.writeCharCode$1(41);
  64942. }
  64943. },
  64944. _parenthesizeCalculationRhs$2(outer, right) {
  64945. if (outer === B.CalculationOperator_OvN)
  64946. return true;
  64947. if (outer === B.CalculationOperator_IyK)
  64948. return false;
  64949. return right === B.CalculationOperator_IyK || right === B.CalculationOperator_2bx;
  64950. },
  64951. _writeRgb$1(value) {
  64952. var t3,
  64953. t1 = value._alpha,
  64954. opaque = A.fuzzyEquals(t1, 1),
  64955. t2 = this._serialize$_buffer;
  64956. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  64957. t2.write$1(0, value.get$red(value));
  64958. t3 = this._style === B.OutputStyle_1;
  64959. t2.write$1(0, t3 ? "," : ", ");
  64960. t2.write$1(0, value.get$green(value));
  64961. t2.write$1(0, t3 ? "," : ", ");
  64962. t2.write$1(0, value.get$blue(value));
  64963. if (!opaque) {
  64964. t2.write$1(0, t3 ? "," : ", ");
  64965. this._writeNumber$1(t1);
  64966. }
  64967. t2.writeCharCode$1(41);
  64968. },
  64969. _canUseShortHex$1(color) {
  64970. var t1 = color.get$red(color);
  64971. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  64972. t1 = color.get$green(color);
  64973. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  64974. t1 = color.get$blue(color);
  64975. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  64976. } else
  64977. t1 = false;
  64978. } else
  64979. t1 = false;
  64980. return t1;
  64981. },
  64982. _writeHexComponent$1(color) {
  64983. var t1 = this._serialize$_buffer;
  64984. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  64985. t1.writeCharCode$1(A.hexCharFor(color & 15));
  64986. },
  64987. visitList$1(value) {
  64988. var t2, t3, singleton, t4, t5, _this = this,
  64989. t1 = value._hasBrackets;
  64990. if (t1)
  64991. _this._serialize$_buffer.writeCharCode$1(91);
  64992. else if (value._list$_contents.length === 0) {
  64993. if (!_this._inspect)
  64994. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  64995. _this._serialize$_buffer.write$1(0, "()");
  64996. return;
  64997. }
  64998. t2 = _this._inspect;
  64999. if (t2)
  65000. if (value._list$_contents.length === 1) {
  65001. t3 = value._separator;
  65002. t3 = t3 === B.ListSeparator_rXA || t3 === B.ListSeparator_zg9;
  65003. singleton = t3;
  65004. } else
  65005. singleton = false;
  65006. else
  65007. singleton = false;
  65008. if (singleton && !t1)
  65009. _this._serialize$_buffer.writeCharCode$1(40);
  65010. t3 = value._list$_contents;
  65011. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  65012. t4 = value._separator;
  65013. t5 = _this._separatorString$1(t4);
  65014. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  65015. if (singleton) {
  65016. t2 = _this._serialize$_buffer;
  65017. t2.write$1(0, t4.separator);
  65018. if (!t1)
  65019. t2.writeCharCode$1(41);
  65020. }
  65021. if (t1)
  65022. _this._serialize$_buffer.writeCharCode$1(93);
  65023. },
  65024. _separatorString$1(separator) {
  65025. switch (separator) {
  65026. case B.ListSeparator_rXA:
  65027. return this._style === B.OutputStyle_1 ? "," : ", ";
  65028. case B.ListSeparator_zg9:
  65029. return this._style === B.OutputStyle_1 ? "/" : " / ";
  65030. case B.ListSeparator_EVt:
  65031. return " ";
  65032. default:
  65033. return "";
  65034. }
  65035. },
  65036. _elementNeedsParens$2(separator, value) {
  65037. var t1;
  65038. if (value instanceof A.SassList) {
  65039. if (value._list$_contents.length < 2)
  65040. return false;
  65041. if (value._hasBrackets)
  65042. return false;
  65043. switch (separator) {
  65044. case B.ListSeparator_rXA:
  65045. return value._separator === B.ListSeparator_rXA;
  65046. case B.ListSeparator_zg9:
  65047. t1 = value._separator;
  65048. return t1 === B.ListSeparator_rXA || t1 === B.ListSeparator_zg9;
  65049. default:
  65050. return value._separator !== B.ListSeparator_undecided_null_undecided;
  65051. }
  65052. }
  65053. return false;
  65054. },
  65055. visitMap$1(map) {
  65056. var t1, t2, _this = this;
  65057. if (!_this._inspect)
  65058. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  65059. t1 = _this._serialize$_buffer;
  65060. t1.writeCharCode$1(40);
  65061. t2 = map._map$_contents;
  65062. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  65063. t1.writeCharCode$1(41);
  65064. },
  65065. _writeMapElement$1(value) {
  65066. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_rXA && !value._hasBrackets;
  65067. if (needsParens)
  65068. this._serialize$_buffer.writeCharCode$1(40);
  65069. value.accept$1(this);
  65070. if (needsParens)
  65071. this._serialize$_buffer.writeCharCode$1(41);
  65072. },
  65073. visitNumber$1(value) {
  65074. var _this = this,
  65075. asSlash = value.asSlash;
  65076. if (asSlash != null) {
  65077. _this.visitNumber$1(asSlash.item1);
  65078. _this._serialize$_buffer.writeCharCode$1(47);
  65079. _this.visitNumber$1(asSlash.item2);
  65080. return;
  65081. }
  65082. _this._writeNumber$1(value._number$_value);
  65083. if (!_this._inspect) {
  65084. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  65085. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  65086. if (value.get$numeratorUnits(value).length !== 0)
  65087. _this._serialize$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  65088. } else
  65089. _this._serialize$_buffer.write$1(0, value.get$unitString());
  65090. },
  65091. _writeNumber$1(number) {
  65092. var text, _this = this,
  65093. integer = A.fuzzyAsInt(number);
  65094. if (integer != null) {
  65095. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(integer)));
  65096. return;
  65097. }
  65098. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  65099. if (text.length < 12) {
  65100. if (_this._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  65101. text = B.JSString_methods.substring$1(text, 1);
  65102. _this._serialize$_buffer.write$1(0, text);
  65103. return;
  65104. }
  65105. _this._writeRounded$1(text);
  65106. },
  65107. _removeExponent$1(text) {
  65108. var buffer, t3, additionalZeroes,
  65109. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  65110. negative = t1 === 45,
  65111. exponent = A._Cell$(),
  65112. t2 = text.length,
  65113. i = 0;
  65114. while (true) {
  65115. if (!(i < t2)) {
  65116. buffer = null;
  65117. break;
  65118. }
  65119. c$0: {
  65120. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  65121. break c$0;
  65122. buffer = new A.StringBuffer("");
  65123. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  65124. if (negative) {
  65125. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  65126. buffer._contents = t1;
  65127. if (i > 3)
  65128. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  65129. } else if (i > 2)
  65130. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  65131. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  65132. break;
  65133. }
  65134. ++i;
  65135. }
  65136. if (buffer == null)
  65137. return text;
  65138. if (exponent._readLocal$0() > 0) {
  65139. t1 = exponent._readLocal$0();
  65140. t2 = buffer._contents;
  65141. t3 = negative ? 1 : 0;
  65142. additionalZeroes = t1 - (t2.length - 1 - t3);
  65143. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  65144. t1 += A.Primitives_stringFromCharCode(48);
  65145. buffer._contents = t1;
  65146. }
  65147. return t1.charCodeAt(0) == 0 ? t1 : t1;
  65148. } else {
  65149. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  65150. t2 = exponent.__late_helper$_name;
  65151. i = -1;
  65152. while (true) {
  65153. t3 = exponent._value;
  65154. if (t3 === exponent)
  65155. A.throwExpression(A.LateError$localNI(t2));
  65156. if (!(i > t3))
  65157. break;
  65158. t1 += A.Primitives_stringFromCharCode(48);
  65159. --i;
  65160. }
  65161. if (negative) {
  65162. t2 = buffer._contents;
  65163. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  65164. } else
  65165. t2 = buffer;
  65166. t2 = t1 + A.S(t2);
  65167. return t2.charCodeAt(0) == 0 ? t2 : t2;
  65168. }
  65169. },
  65170. _writeRounded$1(text) {
  65171. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  65172. if (B.JSString_methods.endsWith$1(text, ".0")) {
  65173. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  65174. return;
  65175. }
  65176. t1 = text.length;
  65177. digits = new Uint8Array(t1 + 1);
  65178. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  65179. textIndex = negative ? 1 : 0;
  65180. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  65181. if (textIndex === t1) {
  65182. _this._serialize$_buffer.write$1(0, text);
  65183. return;
  65184. }
  65185. textIndex0 = textIndex + 1;
  65186. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  65187. if (codeUnit === 46) {
  65188. textIndex = textIndex0;
  65189. break;
  65190. }
  65191. digitsIndex0 = digitsIndex + 1;
  65192. digits[digitsIndex] = codeUnit - 48;
  65193. }
  65194. indexAfterPrecision = textIndex + 10;
  65195. if (indexAfterPrecision >= t1) {
  65196. _this._serialize$_buffer.write$1(0, text);
  65197. return;
  65198. }
  65199. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  65200. digitsIndex1 = digitsIndex0 + 1;
  65201. textIndex0 = textIndex + 1;
  65202. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  65203. }
  65204. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  65205. for (; true; digitsIndex0 = digitsIndex1) {
  65206. digitsIndex1 = digitsIndex0 - 1;
  65207. newDigit = digits[digitsIndex1] + 1;
  65208. digits[digitsIndex1] = newDigit;
  65209. if (newDigit !== 10)
  65210. break;
  65211. }
  65212. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  65213. digits[digitsIndex0] = 0;
  65214. while (true) {
  65215. t1 = digitsIndex0 > digitsIndex;
  65216. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  65217. break;
  65218. --digitsIndex0;
  65219. }
  65220. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  65221. _this._serialize$_buffer.writeCharCode$1(48);
  65222. return;
  65223. }
  65224. if (negative)
  65225. _this._serialize$_buffer.writeCharCode$1(45);
  65226. if (digits[0] === 0)
  65227. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  65228. else
  65229. writtenIndex = 0;
  65230. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  65231. t2.writeCharCode$1(48 + digits[writtenIndex]);
  65232. if (t1) {
  65233. t2.writeCharCode$1(46);
  65234. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  65235. t2.writeCharCode$1(48 + digits[writtenIndex]);
  65236. }
  65237. },
  65238. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  65239. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  65240. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  65241. if (forceDoubleQuote)
  65242. buffer.writeCharCode$1(34);
  65243. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  65244. char = B.JSString_methods._codeUnitAt$1(string, i);
  65245. switch (char) {
  65246. case 39:
  65247. if (forceDoubleQuote)
  65248. buffer.writeCharCode$1(39);
  65249. else {
  65250. if (includesDoubleQuote) {
  65251. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  65252. return;
  65253. } else
  65254. buffer.writeCharCode$1(39);
  65255. includesSingleQuote = true;
  65256. }
  65257. break;
  65258. case 34:
  65259. if (forceDoubleQuote) {
  65260. buffer.writeCharCode$1(92);
  65261. buffer.writeCharCode$1(34);
  65262. } else {
  65263. if (includesSingleQuote) {
  65264. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  65265. return;
  65266. } else
  65267. buffer.writeCharCode$1(34);
  65268. includesDoubleQuote = true;
  65269. }
  65270. break;
  65271. case 0:
  65272. case 1:
  65273. case 2:
  65274. case 3:
  65275. case 4:
  65276. case 5:
  65277. case 6:
  65278. case 7:
  65279. case 8:
  65280. case 10:
  65281. case 11:
  65282. case 12:
  65283. case 13:
  65284. case 14:
  65285. case 15:
  65286. case 16:
  65287. case 17:
  65288. case 18:
  65289. case 19:
  65290. case 20:
  65291. case 21:
  65292. case 22:
  65293. case 23:
  65294. case 24:
  65295. case 25:
  65296. case 26:
  65297. case 27:
  65298. case 28:
  65299. case 29:
  65300. case 30:
  65301. case 31:
  65302. _this._writeEscape$4(buffer, char, string, i);
  65303. break;
  65304. case 92:
  65305. buffer.writeCharCode$1(92);
  65306. buffer.writeCharCode$1(92);
  65307. break;
  65308. default:
  65309. newIndex = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  65310. if (newIndex != null) {
  65311. i = newIndex;
  65312. break;
  65313. }
  65314. buffer.writeCharCode$1(char);
  65315. break;
  65316. }
  65317. }
  65318. if (forceDoubleQuote)
  65319. buffer.writeCharCode$1(34);
  65320. else {
  65321. quote = includesDoubleQuote ? 39 : 34;
  65322. t1 = _this._serialize$_buffer;
  65323. t1.writeCharCode$1(quote);
  65324. t1.write$1(0, buffer);
  65325. t1.writeCharCode$1(quote);
  65326. }
  65327. },
  65328. _visitQuotedString$1(string) {
  65329. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  65330. },
  65331. _visitUnquotedString$1(string) {
  65332. var t1, t2, afterNewline, i, char, newIndex;
  65333. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  65334. char = B.JSString_methods._codeUnitAt$1(string, i);
  65335. switch (char) {
  65336. case 10:
  65337. t2.writeCharCode$1(32);
  65338. afterNewline = true;
  65339. break;
  65340. case 32:
  65341. if (!afterNewline)
  65342. t2.writeCharCode$1(32);
  65343. break;
  65344. default:
  65345. newIndex = this._tryPrivateUseCharacter$4(t2, char, string, i);
  65346. if (newIndex != null) {
  65347. i = newIndex;
  65348. afterNewline = false;
  65349. break;
  65350. }
  65351. t2.writeCharCode$1(char);
  65352. afterNewline = false;
  65353. break;
  65354. }
  65355. }
  65356. },
  65357. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  65358. var t1;
  65359. if (this._style === B.OutputStyle_1)
  65360. return null;
  65361. if (codeUnit >= 57344 && codeUnit <= 63743) {
  65362. this._writeEscape$4(buffer, codeUnit, string, i);
  65363. return i;
  65364. }
  65365. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  65366. t1 = i + 1;
  65367. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  65368. return t1;
  65369. }
  65370. return null;
  65371. },
  65372. _writeEscape$4(buffer, character, string, i) {
  65373. var t1, next;
  65374. buffer.writeCharCode$1(92);
  65375. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  65376. t1 = i + 1;
  65377. if (string.length === t1)
  65378. return;
  65379. next = B.JSString_methods._codeUnitAt$1(string, t1);
  65380. if (A.isHex(next) || next === 32 || next === 9)
  65381. buffer.writeCharCode$1(32);
  65382. },
  65383. visitAttributeSelector$1(attribute) {
  65384. var value, t2,
  65385. t1 = this._serialize$_buffer;
  65386. t1.writeCharCode$1(91);
  65387. t1.write$1(0, attribute.name);
  65388. value = attribute.value;
  65389. if (value != null) {
  65390. t1.write$1(0, attribute.op);
  65391. if (A.Parser_isIdentifier(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  65392. t1.write$1(0, value);
  65393. t2 = attribute.modifier;
  65394. if (t2 != null)
  65395. t1.writeCharCode$1(32);
  65396. } else {
  65397. this._visitQuotedString$1(value);
  65398. t2 = attribute.modifier;
  65399. if (t2 != null)
  65400. if (this._style !== B.OutputStyle_1)
  65401. t1.writeCharCode$1(32);
  65402. }
  65403. if (t2 != null)
  65404. t1.write$1(0, t2);
  65405. }
  65406. t1.writeCharCode$1(93);
  65407. },
  65408. visitClassSelector$1(klass) {
  65409. var t1 = this._serialize$_buffer;
  65410. t1.writeCharCode$1(46);
  65411. t1.write$1(0, klass.name);
  65412. },
  65413. visitComplexSelector$1(complex) {
  65414. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  65415. t1 = complex.leadingCombinators;
  65416. _this._writeCombinators$1(t1);
  65417. if (t1.length !== 0 && complex.components.length !== 0)
  65418. if (_this._style !== B.OutputStyle_1)
  65419. _this._serialize$_buffer.writeCharCode$1(32);
  65420. 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) {
  65421. component = t1[i];
  65422. _this.visitCompoundSelector$1(component.selector);
  65423. t7 = component.combinators;
  65424. t8 = t7.length === 0;
  65425. if (!t8)
  65426. if (t6)
  65427. t4.writeCharCode$1(32);
  65428. t9 = t5 ? "" : " ";
  65429. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  65430. if (i !== t3)
  65431. t7 = !t5 || t8;
  65432. else
  65433. t7 = false;
  65434. if (t7)
  65435. t4.writeCharCode$1(32);
  65436. }
  65437. },
  65438. _writeCombinators$1(combinators) {
  65439. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  65440. t2 = this._serialize$_buffer;
  65441. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  65442. },
  65443. visitCompoundSelector$1(compound) {
  65444. var t2, t3, _i,
  65445. t1 = this._serialize$_buffer,
  65446. start = t1.get$length(t1);
  65447. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  65448. t2[_i].accept$1(this);
  65449. if (t1.get$length(t1) === start)
  65450. t1.writeCharCode$1(42);
  65451. },
  65452. visitIDSelector$1(id) {
  65453. var t1 = this._serialize$_buffer;
  65454. t1.writeCharCode$1(35);
  65455. t1.write$1(0, id.name);
  65456. },
  65457. visitSelectorList$1(list) {
  65458. var t1, t2, t3, first, t4, _this = this,
  65459. complexes = list.components;
  65460. 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();) {
  65461. t4 = t1.get$current(t1);
  65462. if (first)
  65463. first = false;
  65464. else {
  65465. t3.writeCharCode$1(44);
  65466. if (t4.lineBreak) {
  65467. if (t2)
  65468. t3.write$1(0, "\n");
  65469. _this._writeIndentation$0();
  65470. } else if (t2)
  65471. t3.writeCharCode$1(32);
  65472. }
  65473. _this.visitComplexSelector$1(t4);
  65474. }
  65475. },
  65476. visitParentSelector$1($parent) {
  65477. var t2,
  65478. t1 = this._serialize$_buffer;
  65479. t1.writeCharCode$1(38);
  65480. t2 = $parent.suffix;
  65481. if (t2 != null)
  65482. t1.write$1(0, t2);
  65483. },
  65484. visitPlaceholderSelector$1(placeholder) {
  65485. var t1 = this._serialize$_buffer;
  65486. t1.writeCharCode$1(37);
  65487. t1.write$1(0, placeholder.name);
  65488. },
  65489. visitPseudoSelector$1(pseudo) {
  65490. var t3, t4, t5,
  65491. innerSelector = pseudo.selector,
  65492. t1 = innerSelector == null,
  65493. t2 = !t1;
  65494. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true))
  65495. return;
  65496. t3 = this._serialize$_buffer;
  65497. t3.writeCharCode$1(58);
  65498. if (!pseudo.isSyntacticClass)
  65499. t3.writeCharCode$1(58);
  65500. t3.write$1(0, pseudo.name);
  65501. t4 = pseudo.argument;
  65502. t5 = t4 == null;
  65503. if (t5 && t1)
  65504. return;
  65505. t3.writeCharCode$1(40);
  65506. if (!t5) {
  65507. t3.write$1(0, t4);
  65508. if (t2)
  65509. t3.writeCharCode$1(32);
  65510. }
  65511. if (t2)
  65512. this.visitSelectorList$1(innerSelector);
  65513. t3.writeCharCode$1(41);
  65514. },
  65515. visitTypeSelector$1(type) {
  65516. this._serialize$_buffer.write$1(0, type.name);
  65517. },
  65518. visitUniversalSelector$1(universal) {
  65519. var t2,
  65520. t1 = universal.namespace;
  65521. if (t1 != null) {
  65522. t2 = this._serialize$_buffer;
  65523. t2.write$1(0, t1);
  65524. t2.writeCharCode$1(124);
  65525. }
  65526. this._serialize$_buffer.writeCharCode$1(42);
  65527. },
  65528. _serialize$_write$1(value) {
  65529. return this._serialize$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure(this, value));
  65530. },
  65531. _serialize$_visitChildren$1($parent) {
  65532. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  65533. t1 = _this._serialize$_buffer;
  65534. t1.writeCharCode$1(123);
  65535. 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();) {
  65536. t9 = t2.__internal$_current;
  65537. previous0 = t9 == null ? t6._as(t9) : t9;
  65538. if (t5)
  65539. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  65540. else
  65541. t9 = false;
  65542. if (t9)
  65543. continue;
  65544. t9 = previous == null;
  65545. if (!t9)
  65546. t10 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  65547. else
  65548. t10 = false;
  65549. if (t10)
  65550. t1.writeCharCode$1(59);
  65551. if (_this._isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  65552. if (t4)
  65553. t1.writeCharCode$1(32);
  65554. savedIndentation = _this._indentation;
  65555. _this._indentation = 0;
  65556. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  65557. _this._indentation = savedIndentation;
  65558. } else {
  65559. if (t4)
  65560. t1.write$1(0, "\n");
  65561. ++_this._indentation;
  65562. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  65563. --_this._indentation;
  65564. }
  65565. prePrevious = previous;
  65566. previous = previous0;
  65567. }
  65568. if (previous != null) {
  65569. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  65570. t1.writeCharCode$1(59);
  65571. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  65572. if (t4)
  65573. t1.writeCharCode$1(32);
  65574. } else {
  65575. _this._writeLineFeed$0();
  65576. _this._writeIndentation$0();
  65577. }
  65578. }
  65579. t1.writeCharCode$1(125);
  65580. },
  65581. _isTrailingComment$2(node, previous) {
  65582. var t1, t2, t3, searchFrom, endOffset, t4, span;
  65583. if (this._style === B.OutputStyle_1)
  65584. return false;
  65585. if (!type$.CssComment._is(node))
  65586. return false;
  65587. t1 = previous.get$span(previous);
  65588. t2 = node.span;
  65589. 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)) {
  65590. t1 = t2.get$start(t2);
  65591. t1 = t1.file.getLine$1(t1.offset);
  65592. t2 = previous.get$span(previous);
  65593. t2 = t2.get$end(t2);
  65594. return t1 === t2.file.getLine$1(t2.offset);
  65595. }
  65596. t1 = t2.get$start(t2);
  65597. t3 = previous.get$span(previous);
  65598. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  65599. if (searchFrom < 0)
  65600. return false;
  65601. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  65602. t1 = previous.get$span(previous);
  65603. t1 = t1.get$file(t1);
  65604. t3 = previous.get$span(previous);
  65605. t3 = t3.get$start(t3);
  65606. t4 = previous.get$span(previous);
  65607. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  65608. t2 = t2.get$start(t2);
  65609. t2 = t2.file.getLine$1(t2.offset);
  65610. t4 = A.FileLocation$_(span.file, span._end);
  65611. return t2 === t4.file.getLine$1(t4.offset);
  65612. },
  65613. _writeLineFeed$0() {
  65614. if (this._style !== B.OutputStyle_1)
  65615. this._serialize$_buffer.write$1(0, "\n");
  65616. },
  65617. _writeIndentation$0() {
  65618. var _this = this;
  65619. if (_this._style === B.OutputStyle_1)
  65620. return;
  65621. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  65622. },
  65623. _writeTimes$2(char, times) {
  65624. var t1, i;
  65625. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  65626. t1.writeCharCode$1(char);
  65627. },
  65628. _writeBetween$1$3(iterable, text, callback) {
  65629. var t1, t2, first, value;
  65630. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  65631. value = t1.get$current(t1);
  65632. if (first)
  65633. first = false;
  65634. else
  65635. t2.write$1(0, text);
  65636. callback.call$1(value);
  65637. }
  65638. },
  65639. _writeBetween$3(iterable, text, callback) {
  65640. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  65641. }
  65642. };
  65643. A._SerializeVisitor_visitCssComment_closure.prototype = {
  65644. call$0() {
  65645. var t2, t3, minimumIndentation,
  65646. t1 = this.$this;
  65647. if (t1._style === B.OutputStyle_1 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  65648. return;
  65649. t2 = this.node;
  65650. t3 = t2.text;
  65651. minimumIndentation = t1._minimumIndentation$1(t3);
  65652. if (minimumIndentation == null) {
  65653. t1._writeIndentation$0();
  65654. t1._serialize$_buffer.write$1(0, t3);
  65655. return;
  65656. }
  65657. t2 = t2.span;
  65658. t2 = t2.get$start(t2);
  65659. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  65660. t1._writeIndentation$0();
  65661. t1._writeWithIndent$2(t3, minimumIndentation);
  65662. },
  65663. $signature: 1
  65664. };
  65665. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  65666. call$0() {
  65667. var t3, value,
  65668. t1 = this.$this,
  65669. t2 = t1._serialize$_buffer;
  65670. t2.writeCharCode$1(64);
  65671. t3 = this.node;
  65672. t1._serialize$_write$1(t3.name);
  65673. value = t3.value;
  65674. if (value != null) {
  65675. t2.writeCharCode$1(32);
  65676. t1._serialize$_write$1(value);
  65677. }
  65678. },
  65679. $signature: 1
  65680. };
  65681. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  65682. call$0() {
  65683. var t3, firstQuery, t4, t5,
  65684. t1 = this.$this,
  65685. t2 = t1._serialize$_buffer;
  65686. t2.write$1(0, "@media");
  65687. t3 = this.node.queries;
  65688. firstQuery = B.JSArray_methods.get$first(t3);
  65689. t4 = t1._style === B.OutputStyle_1;
  65690. if (t4)
  65691. if (firstQuery.modifier == null)
  65692. if (firstQuery.type == null) {
  65693. t5 = firstQuery.conditions;
  65694. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  65695. } else
  65696. t5 = true;
  65697. else
  65698. t5 = true;
  65699. else
  65700. t5 = true;
  65701. if (t5)
  65702. t2.writeCharCode$1(32);
  65703. t2 = t4 ? "," : ", ";
  65704. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  65705. },
  65706. $signature: 1
  65707. };
  65708. A._SerializeVisitor_visitCssImport_closure.prototype = {
  65709. call$0() {
  65710. var t3, t4, t5, modifiers,
  65711. t1 = this.$this,
  65712. t2 = t1._serialize$_buffer;
  65713. t2.write$1(0, "@import");
  65714. t3 = t1._style !== B.OutputStyle_1;
  65715. if (t3)
  65716. t2.writeCharCode$1(32);
  65717. t4 = this.node;
  65718. t5 = t4.url;
  65719. t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  65720. modifiers = t4.modifiers;
  65721. if (modifiers != null) {
  65722. if (t3)
  65723. t2.writeCharCode$1(32);
  65724. t2.write$1(0, modifiers);
  65725. }
  65726. },
  65727. $signature: 1
  65728. };
  65729. A._SerializeVisitor_visitCssImport__closure.prototype = {
  65730. call$0() {
  65731. var t1 = this.node.url;
  65732. return this.$this._writeImportUrl$1(t1.get$value(t1));
  65733. },
  65734. $signature: 0
  65735. };
  65736. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  65737. call$0() {
  65738. var t1 = this.$this,
  65739. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  65740. t3 = t1._serialize$_buffer;
  65741. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  65742. },
  65743. $signature: 0
  65744. };
  65745. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  65746. call$0() {
  65747. return this.$this.visitSelectorList$1(this.node.selector.value);
  65748. },
  65749. $signature: 0
  65750. };
  65751. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  65752. call$0() {
  65753. var t1 = this.$this,
  65754. t2 = t1._serialize$_buffer;
  65755. t2.write$1(0, "@supports");
  65756. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  65757. t2.writeCharCode$1(32);
  65758. t1._serialize$_write$1(this.node.condition);
  65759. },
  65760. $signature: 1
  65761. };
  65762. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  65763. call$0() {
  65764. var t1 = this.$this,
  65765. t2 = this.node;
  65766. if (t1._style === B.OutputStyle_1)
  65767. t1._writeFoldedValue$1(t2);
  65768. else
  65769. t1._writeReindentedValue$1(t2);
  65770. },
  65771. $signature: 1
  65772. };
  65773. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  65774. call$0() {
  65775. var t1 = this.node.value;
  65776. return t1.get$value(t1).accept$1(this.$this);
  65777. },
  65778. $signature: 0
  65779. };
  65780. A._SerializeVisitor_visitList_closure.prototype = {
  65781. call$1(element) {
  65782. return !element.get$isBlank();
  65783. },
  65784. $signature: 63
  65785. };
  65786. A._SerializeVisitor_visitList_closure0.prototype = {
  65787. call$1(element) {
  65788. var t1 = this.$this,
  65789. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  65790. if (needsParens)
  65791. t1._serialize$_buffer.writeCharCode$1(40);
  65792. element.accept$1(t1);
  65793. if (needsParens)
  65794. t1._serialize$_buffer.writeCharCode$1(41);
  65795. },
  65796. $signature: 59
  65797. };
  65798. A._SerializeVisitor_visitList_closure1.prototype = {
  65799. call$1(element) {
  65800. element.accept$1(this.$this);
  65801. },
  65802. $signature: 59
  65803. };
  65804. A._SerializeVisitor_visitMap_closure.prototype = {
  65805. call$1(entry) {
  65806. var t1 = this.$this;
  65807. t1._writeMapElement$1(entry.key);
  65808. t1._serialize$_buffer.write$1(0, ": ");
  65809. t1._writeMapElement$1(entry.value);
  65810. },
  65811. $signature: 265
  65812. };
  65813. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  65814. call$1(complex) {
  65815. return !complex.accept$1(B._IsInvisibleVisitor_true);
  65816. },
  65817. $signature: 15
  65818. };
  65819. A._SerializeVisitor__write_closure.prototype = {
  65820. call$0() {
  65821. var t1 = this.value;
  65822. return this.$this._serialize$_buffer.write$1(0, t1.get$value(t1));
  65823. },
  65824. $signature: 0
  65825. };
  65826. A._SerializeVisitor__visitChildren_closure.prototype = {
  65827. call$0() {
  65828. return this.child.accept$1(this.$this);
  65829. },
  65830. $signature: 0
  65831. };
  65832. A._SerializeVisitor__visitChildren_closure0.prototype = {
  65833. call$0() {
  65834. this.child.accept$1(this.$this);
  65835. },
  65836. $signature: 0
  65837. };
  65838. A.OutputStyle.prototype = {
  65839. toString$0(_) {
  65840. return "OutputStyle." + this._name;
  65841. }
  65842. };
  65843. A.LineFeed.prototype = {
  65844. toString$0(_) {
  65845. return "lf";
  65846. }
  65847. };
  65848. A.SerializeResult.prototype = {};
  65849. A.StatementSearchVisitor.prototype = {
  65850. visitAtRootRule$1(node) {
  65851. return this.visitChildren$1(node.children);
  65852. },
  65853. visitAtRule$1(node) {
  65854. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  65855. },
  65856. visitContentBlock$1(node) {
  65857. return this.visitChildren$1(node.children);
  65858. },
  65859. visitDebugRule$1(node) {
  65860. return null;
  65861. },
  65862. visitDeclaration$1(node) {
  65863. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  65864. },
  65865. visitEachRule$1(node) {
  65866. return this.visitChildren$1(node.children);
  65867. },
  65868. visitErrorRule$1(node) {
  65869. return null;
  65870. },
  65871. visitExtendRule$1(node) {
  65872. return null;
  65873. },
  65874. visitForRule$1(node) {
  65875. return this.visitChildren$1(node.children);
  65876. },
  65877. visitForwardRule$1(node) {
  65878. return null;
  65879. },
  65880. visitFunctionRule$1(node) {
  65881. return this.visitChildren$1(node.children);
  65882. },
  65883. visitIfRule$1(node) {
  65884. var t1 = A._IterableExtension__search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  65885. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  65886. },
  65887. visitImportRule$1(node) {
  65888. return null;
  65889. },
  65890. visitIncludeRule$1(node) {
  65891. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  65892. },
  65893. visitLoudComment$1(node) {
  65894. return null;
  65895. },
  65896. visitMediaRule$1(node) {
  65897. return this.visitChildren$1(node.children);
  65898. },
  65899. visitMixinRule$1(node) {
  65900. return this.visitChildren$1(node.children);
  65901. },
  65902. visitReturnRule$1(node) {
  65903. return null;
  65904. },
  65905. visitSilentComment$1(node) {
  65906. return null;
  65907. },
  65908. visitStyleRule$1(node) {
  65909. return this.visitChildren$1(node.children);
  65910. },
  65911. visitStylesheet$1(node) {
  65912. return this.visitChildren$1(node.children);
  65913. },
  65914. visitSupportsRule$1(node) {
  65915. return this.visitChildren$1(node.children);
  65916. },
  65917. visitUseRule$1(node) {
  65918. return null;
  65919. },
  65920. visitVariableDeclaration$1(node) {
  65921. return null;
  65922. },
  65923. visitWarnRule$1(node) {
  65924. return null;
  65925. },
  65926. visitWhileRule$1(node) {
  65927. return this.visitChildren$1(node.children);
  65928. },
  65929. visitChildren$1(children) {
  65930. return A._IterableExtension__search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  65931. }
  65932. };
  65933. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  65934. call$1(clause) {
  65935. return A._IterableExtension__search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  65936. },
  65937. $signature() {
  65938. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  65939. }
  65940. };
  65941. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  65942. call$1(child) {
  65943. return child.accept$1(this.$this);
  65944. },
  65945. $signature() {
  65946. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  65947. }
  65948. };
  65949. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  65950. call$1(lastClause) {
  65951. return A._IterableExtension__search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  65952. },
  65953. $signature() {
  65954. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  65955. }
  65956. };
  65957. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  65958. call$1(child) {
  65959. return child.accept$1(this.$this);
  65960. },
  65961. $signature() {
  65962. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  65963. }
  65964. };
  65965. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  65966. call$1(child) {
  65967. return child.accept$1(this.$this);
  65968. },
  65969. $signature() {
  65970. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  65971. }
  65972. };
  65973. A.Entry.prototype = {
  65974. compareTo$1(_, other) {
  65975. var t1, t2,
  65976. res = this.target.compareTo$1(0, other.target);
  65977. if (res !== 0)
  65978. return res;
  65979. t1 = this.source;
  65980. t2 = other.source;
  65981. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  65982. if (res !== 0)
  65983. return res;
  65984. return t1.compareTo$1(0, t2);
  65985. },
  65986. $isComparable: 1
  65987. };
  65988. A.Mapping.prototype = {};
  65989. A.SingleMapping.prototype = {
  65990. toJson$1$includeSourceContents(includeSourceContents) {
  65991. 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,
  65992. buff = new A.StringBuffer("");
  65993. 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) {
  65994. entry = t1[_i];
  65995. nextLine = entry.line;
  65996. if (nextLine > line) {
  65997. for (i = line; i < nextLine; ++i)
  65998. buff._contents += ";";
  65999. line = nextLine;
  66000. column = 0;
  66001. first = true;
  66002. }
  66003. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  66004. t4 = t3.get$current(t3);
  66005. if (!first)
  66006. buff._contents += ",";
  66007. column0 = t4.column;
  66008. t5 = A.encodeVlq(column0 - column);
  66009. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  66010. buff._contents = t5;
  66011. newUrlId = t4.sourceUrlId;
  66012. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  66013. buff._contents = t5;
  66014. srcLine0 = t4.sourceLine;
  66015. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  66016. buff._contents = t5;
  66017. srcColumn0 = t4.sourceColumn;
  66018. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  66019. buff._contents = t5;
  66020. srcNameId0 = t4.sourceNameId;
  66021. if (srcNameId0 == null) {
  66022. srcUrlId = newUrlId;
  66023. srcColumn = srcColumn0;
  66024. srcLine = srcLine0;
  66025. continue;
  66026. }
  66027. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  66028. srcNameId = srcNameId0;
  66029. srcUrlId = newUrlId;
  66030. srcColumn = srcColumn0;
  66031. srcLine = srcLine0;
  66032. }
  66033. }
  66034. t1 = _this.sourceRoot;
  66035. if (t1 == null)
  66036. t1 = "";
  66037. t2 = buff._contents;
  66038. 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$.Object);
  66039. t1 = _this.targetUrl;
  66040. if (t1 != null)
  66041. result.$indexSet(0, "file", t1);
  66042. if (includeSourceContents) {
  66043. t1 = _this.files;
  66044. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  66045. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  66046. }
  66047. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  66048. return result;
  66049. },
  66050. toJson$0() {
  66051. return this.toJson$1$includeSourceContents(false);
  66052. },
  66053. toString$0(_) {
  66054. var _this = this,
  66055. t1 = A.getRuntimeType(_this).toString$0(0) + " : [" + "targetUrl: " + A.S(_this.targetUrl) + ", sourceRoot: " + A.S(_this.sourceRoot) + ", urls: " + A.S(_this.urls) + ", names: " + A.S(_this.names) + ", lines: " + A.S(_this.lines) + "]";
  66056. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66057. }
  66058. };
  66059. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  66060. call$0() {
  66061. return this.urls.__js_helper$_length;
  66062. },
  66063. $signature: 12
  66064. };
  66065. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  66066. call$0() {
  66067. return this.sourceEntry.source.file;
  66068. },
  66069. $signature: 266
  66070. };
  66071. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  66072. call$1(i) {
  66073. return this.files.$index(0, i);
  66074. },
  66075. $signature: 267
  66076. };
  66077. A.SingleMapping_toJson_closure.prototype = {
  66078. call$1(file) {
  66079. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  66080. },
  66081. $signature: 268
  66082. };
  66083. A.SingleMapping_toJson_closure0.prototype = {
  66084. call$2($name, value) {
  66085. this.result.$indexSet(0, $name, value);
  66086. return value;
  66087. },
  66088. $signature: 221
  66089. };
  66090. A.TargetLineEntry.prototype = {
  66091. toString$0(_) {
  66092. return A.getRuntimeType(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  66093. }
  66094. };
  66095. A.TargetEntry.prototype = {
  66096. toString$0(_) {
  66097. var _this = this;
  66098. return A.getRuntimeType(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  66099. }
  66100. };
  66101. A.SourceFile.prototype = {
  66102. get$length(_) {
  66103. return this._decodedChars.length;
  66104. },
  66105. get$lines() {
  66106. return this._lineStarts.length;
  66107. },
  66108. SourceFile$decoded$2$url(decodedChars, url) {
  66109. var t1, t2, t3, i, c, j;
  66110. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  66111. c = t1[i];
  66112. if (c === 13) {
  66113. j = i + 1;
  66114. if (j >= t2 || t1[j] !== 10)
  66115. c = 10;
  66116. }
  66117. if (c === 10)
  66118. t3.push(i + 1);
  66119. }
  66120. },
  66121. span$2(_, start, end) {
  66122. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  66123. },
  66124. span$1($receiver, start) {
  66125. return this.span$2($receiver, start, null);
  66126. },
  66127. getLine$1(offset) {
  66128. var t1, _this = this;
  66129. if (offset < 0)
  66130. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  66131. else if (offset > _this._decodedChars.length)
  66132. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + "."));
  66133. t1 = _this._lineStarts;
  66134. if (offset < B.JSArray_methods.get$first(t1))
  66135. return -1;
  66136. if (offset >= B.JSArray_methods.get$last(t1))
  66137. return t1.length - 1;
  66138. if (_this._isNearCachedLine$1(offset)) {
  66139. t1 = _this._cachedLine;
  66140. t1.toString;
  66141. return t1;
  66142. }
  66143. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  66144. },
  66145. _isNearCachedLine$1(offset) {
  66146. var t2, t3,
  66147. t1 = this._cachedLine;
  66148. if (t1 == null)
  66149. return false;
  66150. t2 = this._lineStarts;
  66151. if (offset < t2[t1])
  66152. return false;
  66153. t3 = t2.length;
  66154. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  66155. return true;
  66156. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  66157. this._cachedLine = t1 + 1;
  66158. return true;
  66159. }
  66160. return false;
  66161. },
  66162. _binarySearch$1(offset) {
  66163. var min, half,
  66164. t1 = this._lineStarts,
  66165. max = t1.length - 1;
  66166. for (min = 0; min < max;) {
  66167. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  66168. if (t1[half] > offset)
  66169. max = half;
  66170. else
  66171. min = half + 1;
  66172. }
  66173. return max;
  66174. },
  66175. getColumn$1(offset) {
  66176. var line, lineStart, _this = this;
  66177. if (offset < 0)
  66178. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  66179. else if (offset > _this._decodedChars.length)
  66180. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
  66181. line = _this.getLine$1(offset);
  66182. lineStart = _this._lineStarts[line];
  66183. if (lineStart > offset)
  66184. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  66185. return offset - lineStart;
  66186. },
  66187. getOffset$1(line) {
  66188. var t1, t2, result, t3;
  66189. if (line < 0)
  66190. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  66191. else {
  66192. t1 = this._lineStarts;
  66193. t2 = t1.length;
  66194. if (line >= t2)
  66195. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  66196. }
  66197. result = t1[line];
  66198. if (result <= this._decodedChars.length) {
  66199. t3 = line + 1;
  66200. t1 = t3 < t2 && result >= t1[t3];
  66201. } else
  66202. t1 = true;
  66203. if (t1)
  66204. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  66205. return result;
  66206. }
  66207. };
  66208. A.FileLocation.prototype = {
  66209. get$sourceUrl(_) {
  66210. return this.file.url;
  66211. },
  66212. get$line() {
  66213. return this.file.getLine$1(this.offset);
  66214. },
  66215. get$column() {
  66216. return this.file.getColumn$1(this.offset);
  66217. },
  66218. FileLocation$_$2(file, offset) {
  66219. var t2,
  66220. t1 = this.offset;
  66221. if (t1 < 0)
  66222. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  66223. else {
  66224. t2 = this.file;
  66225. if (t1 > t2._decodedChars.length)
  66226. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_ + t2.get$length(t2) + "."));
  66227. }
  66228. },
  66229. pointSpan$0() {
  66230. var t1 = this.offset;
  66231. return A._FileSpan$(this.file, t1, t1);
  66232. },
  66233. get$offset() {
  66234. return this.offset;
  66235. }
  66236. };
  66237. A._FileSpan.prototype = {
  66238. get$sourceUrl(_) {
  66239. return this.file.url;
  66240. },
  66241. get$length(_) {
  66242. return this._end - this._file$_start;
  66243. },
  66244. get$start(_) {
  66245. return A.FileLocation$_(this.file, this._file$_start);
  66246. },
  66247. get$end(_) {
  66248. return A.FileLocation$_(this.file, this._end);
  66249. },
  66250. get$text() {
  66251. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  66252. },
  66253. get$context(_) {
  66254. var _this = this,
  66255. t1 = _this.file,
  66256. endOffset = _this._end,
  66257. endLine = t1.getLine$1(endOffset);
  66258. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  66259. if (endOffset - _this._file$_start === 0)
  66260. 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);
  66261. } else
  66262. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  66263. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  66264. },
  66265. _FileSpan$3(file, _start, _end) {
  66266. var t3,
  66267. t1 = this._end,
  66268. t2 = this._file$_start;
  66269. if (t1 < t2)
  66270. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  66271. else {
  66272. t3 = this.file;
  66273. if (t1 > t3._decodedChars.length)
  66274. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_ + t3.get$length(t3) + "."));
  66275. else if (t2 < 0)
  66276. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  66277. }
  66278. },
  66279. compareTo$1(_, other) {
  66280. var result;
  66281. if (!(other instanceof A._FileSpan))
  66282. return this.super$SourceSpanMixin$compareTo(0, other);
  66283. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  66284. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  66285. },
  66286. $eq(_, other) {
  66287. var _this = this;
  66288. if (other == null)
  66289. return false;
  66290. if (!type$.FileSpan._is(other))
  66291. return _this.super$SourceSpanMixin$$eq(0, other);
  66292. if (!(other instanceof A._FileSpan))
  66293. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  66294. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  66295. },
  66296. get$hashCode(_) {
  66297. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  66298. },
  66299. expand$1(_, other) {
  66300. var t2, t3, _this = this,
  66301. t1 = _this.file;
  66302. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  66303. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66304. t2 = _this._file$_start;
  66305. t3 = _this._end;
  66306. if (other instanceof A._FileSpan)
  66307. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  66308. else
  66309. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  66310. },
  66311. $isFileSpan: 1,
  66312. $isSourceSpanWithContext: 1,
  66313. get$file(receiver) {
  66314. return this.file;
  66315. }
  66316. };
  66317. A.Highlighter.prototype = {
  66318. highlight$0() {
  66319. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  66320. t1 = _this._lines;
  66321. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  66322. t2 = _this._maxMultilineSpans;
  66323. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  66324. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  66325. line = t1[i];
  66326. if (i > 0) {
  66327. lastLine = t1[i - 1];
  66328. t5 = lastLine.url;
  66329. t6 = line.url;
  66330. if (!J.$eq$(t5, t6)) {
  66331. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  66332. t3._contents += "\n";
  66333. _this._writeFileStart$1(t6);
  66334. } else if (lastLine.number + 1 !== line.number) {
  66335. _this._writeSidebar$1$text("...");
  66336. t3._contents += "\n";
  66337. }
  66338. }
  66339. 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();) {
  66340. t10 = t6.__internal$_current;
  66341. if (t10 == null)
  66342. t10 = t7._as(t10);
  66343. t11 = t10.span;
  66344. 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()))) {
  66345. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  66346. if (index < 0)
  66347. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  66348. highlightsByColumn[index] = t10;
  66349. }
  66350. }
  66351. _this._writeSidebar$1$line(t8);
  66352. t3._contents += " ";
  66353. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  66354. if (t2)
  66355. t3._contents += " ";
  66356. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  66357. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  66358. t6 = primary != null;
  66359. if (t6) {
  66360. t7 = primary.span;
  66361. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  66362. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  66363. } else
  66364. _this._writeText$1(t9);
  66365. t3._contents += "\n";
  66366. if (t6)
  66367. _this._writeIndicator$3(line, primary, highlightsByColumn);
  66368. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  66369. highlight = t5[_i];
  66370. if (highlight.isPrimary)
  66371. continue;
  66372. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  66373. }
  66374. }
  66375. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  66376. t1 = t3._contents;
  66377. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66378. },
  66379. _writeFileStart$1(url) {
  66380. var _this = this,
  66381. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  66382. t2 = $._glyphs;
  66383. if (t1)
  66384. _this._writeSidebar$1$end(t2.get$downEnd());
  66385. else {
  66386. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  66387. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  66388. _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
  66389. }
  66390. _this._highlighter$_buffer._contents += "\n";
  66391. },
  66392. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  66393. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  66394. _box_0.openedOnThisLine = false;
  66395. _box_0.openedOnThisLineColor = null;
  66396. t1 = current == null;
  66397. if (t1)
  66398. currentColor = null;
  66399. else
  66400. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  66401. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  66402. highlight = highlightsByColumn[_i];
  66403. t6 = highlight == null;
  66404. if (t6)
  66405. startLine = null;
  66406. else {
  66407. t7 = highlight.span;
  66408. startLine = t7.get$start(t7).get$line();
  66409. }
  66410. if (t6)
  66411. endLine = null;
  66412. else {
  66413. t7 = highlight.span;
  66414. endLine = t7.get$end(t7).get$line();
  66415. }
  66416. if (t1 && highlight === current) {
  66417. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  66418. foundCurrent = true;
  66419. } else if (foundCurrent)
  66420. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  66421. else if (t6)
  66422. if (_box_0.openedOnThisLine)
  66423. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  66424. else
  66425. t5._contents += " ";
  66426. else {
  66427. t6 = highlight.isPrimary ? t4 : t3;
  66428. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  66429. }
  66430. }
  66431. },
  66432. _writeMultilineHighlights$2(line, highlightsByColumn) {
  66433. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  66434. },
  66435. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  66436. var _this = this;
  66437. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  66438. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  66439. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  66440. },
  66441. _writeIndicator$3(line, highlight, highlightsByColumn) {
  66442. var t2, coversWholeLine, _this = this,
  66443. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  66444. t1 = highlight.span;
  66445. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  66446. _this._writeSidebar$0();
  66447. t1 = _this._highlighter$_buffer;
  66448. t1._contents += " ";
  66449. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  66450. if (highlightsByColumn.length !== 0)
  66451. t1._contents += " ";
  66452. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  66453. } else {
  66454. t2 = line.number;
  66455. if (t1.get$start(t1).get$line() === t2) {
  66456. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  66457. return;
  66458. A.replaceFirstNull(highlightsByColumn, highlight);
  66459. _this._writeSidebar$0();
  66460. t1 = _this._highlighter$_buffer;
  66461. t1._contents += " ";
  66462. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  66463. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  66464. t1._contents += "\n";
  66465. } else if (t1.get$end(t1).get$line() === t2) {
  66466. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  66467. if (coversWholeLine && highlight.label == null) {
  66468. A.replaceWithNull(highlightsByColumn, highlight);
  66469. return;
  66470. }
  66471. _this._writeSidebar$0();
  66472. _this._highlighter$_buffer._contents += " ";
  66473. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  66474. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  66475. A.replaceWithNull(highlightsByColumn, highlight);
  66476. }
  66477. }
  66478. },
  66479. _writeArrow$3$beginning(line, column, beginning) {
  66480. var t2,
  66481. t1 = beginning ? 0 : 1,
  66482. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  66483. t1 = this._highlighter$_buffer;
  66484. t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  66485. t1._contents = t2 + "^";
  66486. },
  66487. _writeArrow$2(line, column) {
  66488. return this._writeArrow$3$beginning(line, column, true);
  66489. },
  66490. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  66491. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  66492. label = highlight.label;
  66493. if (label == null) {
  66494. _this._highlighter$_buffer._contents += "\n";
  66495. return;
  66496. }
  66497. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  66498. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  66499. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  66500. t1 = _this._highlighter$_buffer;
  66501. t1._contents += "\n";
  66502. 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();) {
  66503. t5 = t2.__internal$_current;
  66504. if (t5 == null)
  66505. t5 = t4._as(t5);
  66506. _this._writeSidebar$0();
  66507. t6 = t1._contents += " ";
  66508. for (_i = 0; _i < t3; ++_i) {
  66509. columnHighlight = highlightsByColumn[_i];
  66510. if (columnHighlight == null || columnHighlight === highlight) {
  66511. t6 += " ";
  66512. t1._contents = t6;
  66513. } else
  66514. t6 = t1._contents += $._glyphs.get$verticalLine();
  66515. }
  66516. t1._contents += B.JSString_methods.$mul(" ", underlineLength);
  66517. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  66518. t1._contents += "\n";
  66519. }
  66520. },
  66521. _writeText$1(text) {
  66522. var t1, t2, t3, t4;
  66523. 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();) {
  66524. t4 = t1.__internal$_current;
  66525. if (t4 == null)
  66526. t4 = t3._as(t4);
  66527. if (t4 === 9)
  66528. t2._contents += B.JSString_methods.$mul(" ", 4);
  66529. else
  66530. t2._contents += A.Primitives_stringFromCharCode(t4);
  66531. }
  66532. },
  66533. _writeSidebar$3$end$line$text(end, line, text) {
  66534. var t1 = {};
  66535. t1.text = text;
  66536. if (line != null)
  66537. t1.text = B.JSInt_methods.toString$0(line + 1);
  66538. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  66539. },
  66540. _writeSidebar$1$end(end) {
  66541. return this._writeSidebar$3$end$line$text(end, null, null);
  66542. },
  66543. _writeSidebar$1$text(text) {
  66544. return this._writeSidebar$3$end$line$text(null, null, text);
  66545. },
  66546. _writeSidebar$1$line(line) {
  66547. return this._writeSidebar$3$end$line$text(null, line, null);
  66548. },
  66549. _writeSidebar$0() {
  66550. return this._writeSidebar$3$end$line$text(null, null, null);
  66551. },
  66552. _countTabs$1(text) {
  66553. var t1, t2, count, t3;
  66554. 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();) {
  66555. t3 = t1.__internal$_current;
  66556. if ((t3 == null ? t2._as(t3) : t3) === 9)
  66557. ++count;
  66558. }
  66559. return count;
  66560. },
  66561. _isOnlyWhitespace$1(text) {
  66562. var t1, t2, t3;
  66563. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  66564. t3 = t1.__internal$_current;
  66565. if (t3 == null)
  66566. t3 = t2._as(t3);
  66567. if (t3 !== 32 && t3 !== 9)
  66568. return false;
  66569. }
  66570. return true;
  66571. },
  66572. _colorize$1$2$color(callback, color) {
  66573. var result,
  66574. t1 = this._primaryColor != null;
  66575. if (t1 && color != null)
  66576. this._highlighter$_buffer._contents += color;
  66577. result = callback.call$0();
  66578. if (t1 && color != null)
  66579. this._highlighter$_buffer._contents += "\x1b[0m";
  66580. return result;
  66581. },
  66582. _colorize$2$color(callback, color) {
  66583. return this._colorize$1$2$color(callback, color, type$.dynamic);
  66584. }
  66585. };
  66586. A.Highlighter_closure.prototype = {
  66587. call$0() {
  66588. var t1 = this.color,
  66589. t2 = J.getInterceptor$(t1);
  66590. if (t2.$eq(t1, true))
  66591. return "\x1b[31m";
  66592. if (t2.$eq(t1, false))
  66593. return null;
  66594. return A._asStringQ(t1);
  66595. },
  66596. $signature: 43
  66597. };
  66598. A.Highlighter$__closure.prototype = {
  66599. call$1(line) {
  66600. var t1 = line.highlights;
  66601. t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
  66602. return t1.get$length(t1);
  66603. },
  66604. $signature: 269
  66605. };
  66606. A.Highlighter$___closure.prototype = {
  66607. call$1(highlight) {
  66608. var t1 = highlight.span;
  66609. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  66610. },
  66611. $signature: 104
  66612. };
  66613. A.Highlighter$__closure0.prototype = {
  66614. call$1(line) {
  66615. return line.url;
  66616. },
  66617. $signature: 271
  66618. };
  66619. A.Highlighter__collateLines_closure.prototype = {
  66620. call$1(highlight) {
  66621. var t1 = highlight.span;
  66622. t1 = t1.get$sourceUrl(t1);
  66623. return t1 == null ? new A.Object() : t1;
  66624. },
  66625. $signature: 272
  66626. };
  66627. A.Highlighter__collateLines_closure0.prototype = {
  66628. call$2(highlight1, highlight2) {
  66629. return highlight1.span.compareTo$1(0, highlight2.span);
  66630. },
  66631. $signature: 273
  66632. };
  66633. A.Highlighter__collateLines_closure1.prototype = {
  66634. call$1(entry) {
  66635. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength,
  66636. url = entry.key,
  66637. highlightsForFile = entry.value,
  66638. lines = A._setArrayType([], type$.JSArray__Line);
  66639. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  66640. t4 = t2.get$current(t2).span;
  66641. context = t4.get$context(t4);
  66642. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  66643. t5.toString;
  66644. t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
  66645. linesBeforeSpan = t5.get$length(t5);
  66646. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  66647. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  66648. line = t4[_i];
  66649. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  66650. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  66651. ++lineNumber;
  66652. }
  66653. }
  66654. activeHighlights = A._setArrayType([], t3);
  66655. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  66656. line = lines[_i];
  66657. if (!!activeHighlights.fixed$length)
  66658. A.throwExpression(A.UnsupportedError$("removeWhere"));
  66659. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  66660. oldHighlightLength = activeHighlights.length;
  66661. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  66662. t4 = t3.get$current(t3);
  66663. t5 = t4.span;
  66664. if (t5.get$start(t5).get$line() > line.number)
  66665. break;
  66666. activeHighlights.push(t4);
  66667. }
  66668. highlightIndex += activeHighlights.length - oldHighlightLength;
  66669. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  66670. }
  66671. return lines;
  66672. },
  66673. $signature: 274
  66674. };
  66675. A.Highlighter__collateLines__closure.prototype = {
  66676. call$1(highlight) {
  66677. var t1 = highlight.span;
  66678. return t1.get$end(t1).get$line() < this.line.number;
  66679. },
  66680. $signature: 104
  66681. };
  66682. A.Highlighter_highlight_closure.prototype = {
  66683. call$1(highlight) {
  66684. return highlight.isPrimary;
  66685. },
  66686. $signature: 104
  66687. };
  66688. A.Highlighter__writeFileStart_closure.prototype = {
  66689. call$0() {
  66690. this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  66691. return null;
  66692. },
  66693. $signature: 0
  66694. };
  66695. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  66696. call$0() {
  66697. var t1 = $._glyphs;
  66698. t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
  66699. this.$this._highlighter$_buffer._contents += t1;
  66700. },
  66701. $signature: 1
  66702. };
  66703. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  66704. call$0() {
  66705. var t1 = $._glyphs;
  66706. t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
  66707. this.$this._highlighter$_buffer._contents += t1;
  66708. },
  66709. $signature: 1
  66710. };
  66711. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  66712. call$0() {
  66713. this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
  66714. return null;
  66715. },
  66716. $signature: 0
  66717. };
  66718. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  66719. call$0() {
  66720. var _this = this,
  66721. t1 = _this._box_0,
  66722. t2 = t1.openedOnThisLine,
  66723. t3 = $._glyphs,
  66724. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  66725. if (_this.current != null)
  66726. _this.$this._highlighter$_buffer._contents += vertical;
  66727. else {
  66728. t2 = _this.line;
  66729. t3 = t2.number;
  66730. if (_this.startLine === t3) {
  66731. t2 = _this.$this;
  66732. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  66733. t1.openedOnThisLine = true;
  66734. if (t1.openedOnThisLineColor == null)
  66735. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  66736. } else {
  66737. if (_this.endLine === t3) {
  66738. t3 = _this.highlight.span;
  66739. t2 = t3.get$end(t3).get$column() === t2.text.length;
  66740. } else
  66741. t2 = false;
  66742. t3 = _this.$this;
  66743. if (t2) {
  66744. t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  66745. t3._highlighter$_buffer._contents += t1;
  66746. } else
  66747. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  66748. }
  66749. }
  66750. },
  66751. $signature: 1
  66752. };
  66753. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  66754. call$0() {
  66755. var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  66756. this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
  66757. },
  66758. $signature: 1
  66759. };
  66760. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  66761. call$0() {
  66762. this.$this._highlighter$_buffer._contents += this.vertical;
  66763. },
  66764. $signature: 1
  66765. };
  66766. A.Highlighter__writeHighlightedText_closure.prototype = {
  66767. call$0() {
  66768. var _this = this;
  66769. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  66770. },
  66771. $signature: 0
  66772. };
  66773. A.Highlighter__writeIndicator_closure.prototype = {
  66774. call$0() {
  66775. var startColumn, endColumn, tabsBefore, tabsInside,
  66776. t1 = this.$this,
  66777. t2 = t1._highlighter$_buffer,
  66778. t3 = t2._contents,
  66779. t4 = this.highlight,
  66780. t5 = t4.span;
  66781. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  66782. startColumn = t5.get$start(t5).get$column();
  66783. endColumn = t5.get$end(t5).get$column();
  66784. t5 = this.line.text;
  66785. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  66786. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  66787. startColumn += tabsBefore * 3;
  66788. t2._contents += B.JSString_methods.$mul(" ", startColumn);
  66789. t4 = t2._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  66790. return t4.length - t3.length;
  66791. },
  66792. $signature: 12
  66793. };
  66794. A.Highlighter__writeIndicator_closure0.prototype = {
  66795. call$0() {
  66796. var t1 = this.highlight.span;
  66797. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  66798. },
  66799. $signature: 0
  66800. };
  66801. A.Highlighter__writeIndicator_closure1.prototype = {
  66802. call$0() {
  66803. var t4, _this = this,
  66804. t1 = _this.$this,
  66805. t2 = t1._highlighter$_buffer,
  66806. t3 = t2._contents;
  66807. if (_this.coversWholeLine)
  66808. t2._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  66809. else {
  66810. t4 = _this.highlight.span;
  66811. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  66812. }
  66813. return t2._contents.length - t3.length;
  66814. },
  66815. $signature: 12
  66816. };
  66817. A.Highlighter__writeLabel_closure.prototype = {
  66818. call$0() {
  66819. this.$this._highlighter$_buffer._contents += " " + A.S(B.JSArray_methods.get$first(this.lines));
  66820. return null;
  66821. },
  66822. $signature: 0
  66823. };
  66824. A.Highlighter__writeLabel_closure0.prototype = {
  66825. call$0() {
  66826. this.$this._highlighter$_buffer._contents += " " + this.text;
  66827. return null;
  66828. },
  66829. $signature: 0
  66830. };
  66831. A.Highlighter__writeSidebar_closure.prototype = {
  66832. call$0() {
  66833. var t1 = this.$this,
  66834. t2 = t1._highlighter$_buffer,
  66835. t3 = this._box_0.text;
  66836. if (t3 == null)
  66837. t3 = "";
  66838. t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  66839. t1 = this.end;
  66840. t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
  66841. },
  66842. $signature: 1
  66843. };
  66844. A._Highlight.prototype = {
  66845. toString$0(_) {
  66846. var t1 = this.isPrimary ? "" + "primary " : "",
  66847. t2 = this.span;
  66848. 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());
  66849. t1 = this.label;
  66850. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  66851. return t1.charCodeAt(0) == 0 ? t1 : t1;
  66852. }
  66853. };
  66854. A._Highlight_closure.prototype = {
  66855. call$0() {
  66856. var t2, t3, t4, t5,
  66857. t1 = this.span;
  66858. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  66859. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  66860. t3 = t1.get$end(t1).get$offset();
  66861. t4 = t1.get$sourceUrl(t1);
  66862. t5 = A.countCodeUnits(t1.get$text(), 10);
  66863. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  66864. }
  66865. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  66866. },
  66867. $signature: 275
  66868. };
  66869. A._Line.prototype = {
  66870. toString$0(_) {
  66871. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  66872. }
  66873. };
  66874. A.SourceLocation.prototype = {
  66875. distance$1(other) {
  66876. var t1 = this.sourceUrl;
  66877. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  66878. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66879. return Math.abs(this.offset - other.get$offset());
  66880. },
  66881. compareTo$1(_, other) {
  66882. var t1 = this.sourceUrl;
  66883. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  66884. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66885. return this.offset - other.get$offset();
  66886. },
  66887. $eq(_, other) {
  66888. if (other == null)
  66889. return false;
  66890. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  66891. },
  66892. get$hashCode(_) {
  66893. var t1 = this.sourceUrl;
  66894. t1 = t1 == null ? null : t1.get$hashCode(t1);
  66895. if (t1 == null)
  66896. t1 = 0;
  66897. return t1 + this.offset;
  66898. },
  66899. toString$0(_) {
  66900. var _this = this,
  66901. t1 = A.getRuntimeType(_this).toString$0(0),
  66902. source = _this.sourceUrl;
  66903. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  66904. },
  66905. $isComparable: 1,
  66906. get$sourceUrl(receiver) {
  66907. return this.sourceUrl;
  66908. },
  66909. get$offset() {
  66910. return this.offset;
  66911. },
  66912. get$line() {
  66913. return this.line;
  66914. },
  66915. get$column() {
  66916. return this.column;
  66917. }
  66918. };
  66919. A.SourceLocationMixin.prototype = {
  66920. distance$1(other) {
  66921. var _this = this;
  66922. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  66923. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66924. return Math.abs(_this.offset - other.get$offset());
  66925. },
  66926. compareTo$1(_, other) {
  66927. var _this = this;
  66928. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  66929. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  66930. return _this.offset - other.get$offset();
  66931. },
  66932. $eq(_, other) {
  66933. if (other == null)
  66934. return false;
  66935. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  66936. },
  66937. get$hashCode(_) {
  66938. var t1 = this.file.url;
  66939. t1 = t1 == null ? null : t1.get$hashCode(t1);
  66940. if (t1 == null)
  66941. t1 = 0;
  66942. return t1 + this.offset;
  66943. },
  66944. toString$0(_) {
  66945. var t1 = A.getRuntimeType(this).toString$0(0),
  66946. t2 = this.offset,
  66947. t3 = this.file,
  66948. source = t3.url;
  66949. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  66950. },
  66951. $isComparable: 1,
  66952. $isSourceLocation: 1
  66953. };
  66954. A.SourceSpanBase.prototype = {
  66955. SourceSpanBase$3(start, end, text) {
  66956. var t3,
  66957. t1 = this.end,
  66958. t2 = this.start;
  66959. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  66960. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  66961. else if (t1.get$offset() < t2.get$offset())
  66962. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  66963. else {
  66964. t3 = this.text;
  66965. if (t3.length !== t2.distance$1(t1))
  66966. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  66967. }
  66968. },
  66969. get$start(receiver) {
  66970. return this.start;
  66971. },
  66972. get$end(receiver) {
  66973. return this.end;
  66974. },
  66975. get$text() {
  66976. return this.text;
  66977. }
  66978. };
  66979. A.SourceSpanException.prototype = {
  66980. get$message(_) {
  66981. return this._span_exception$_message;
  66982. },
  66983. get$span(_) {
  66984. return this._span;
  66985. },
  66986. toString$1$color(_, color) {
  66987. var _this = this;
  66988. _this.get$span(_this);
  66989. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  66990. },
  66991. toString$0($receiver) {
  66992. return this.toString$1$color($receiver, null);
  66993. },
  66994. $isException: 1
  66995. };
  66996. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  66997. get$source() {
  66998. return this.source;
  66999. }
  67000. };
  67001. A.SourceSpanMixin.prototype = {
  67002. get$sourceUrl(_) {
  67003. var t1 = this.get$start(this);
  67004. return t1.get$sourceUrl(t1);
  67005. },
  67006. get$length(_) {
  67007. var _this = this;
  67008. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  67009. },
  67010. compareTo$1(_, other) {
  67011. var _this = this,
  67012. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  67013. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  67014. },
  67015. message$2$color(_, message, color) {
  67016. var t2, highlight, _this = this,
  67017. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  67018. if (_this.get$sourceUrl(_this) != null) {
  67019. t2 = _this.get$sourceUrl(_this);
  67020. t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2));
  67021. t1 = t2;
  67022. }
  67023. t1 += ": " + message;
  67024. highlight = _this.highlight$1$color(color);
  67025. if (highlight.length !== 0)
  67026. t1 = t1 + "\n" + highlight;
  67027. return t1.charCodeAt(0) == 0 ? t1 : t1;
  67028. },
  67029. message$1($receiver, message) {
  67030. return this.message$2$color($receiver, message, null);
  67031. },
  67032. highlight$1$color(color) {
  67033. var _this = this;
  67034. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  67035. return "";
  67036. return A.Highlighter$(_this, color).highlight$0();
  67037. },
  67038. $eq(_, other) {
  67039. var _this = this;
  67040. if (other == null)
  67041. return false;
  67042. 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));
  67043. },
  67044. get$hashCode(_) {
  67045. var _this = this;
  67046. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  67047. },
  67048. toString$0(_) {
  67049. var _this = this;
  67050. return "<" + A.getRuntimeType(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  67051. },
  67052. $isComparable: 1,
  67053. $isSourceSpan: 1
  67054. };
  67055. A.SourceSpanWithContext.prototype = {
  67056. get$context(_) {
  67057. return this._context;
  67058. }
  67059. };
  67060. A.Chain.prototype = {
  67061. toTrace$0() {
  67062. var t1 = this.traces;
  67063. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  67064. },
  67065. toString$0(_) {
  67066. var t1 = this.traces,
  67067. t2 = A._arrayInstanceType(t1);
  67068. 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_____);
  67069. },
  67070. $isStackTrace: 1
  67071. };
  67072. A.Chain_Chain$parse_closure.prototype = {
  67073. call$1(line) {
  67074. return line.length !== 0;
  67075. },
  67076. $signature: 8
  67077. };
  67078. A.Chain_toTrace_closure.prototype = {
  67079. call$1(trace) {
  67080. return trace.get$frames();
  67081. },
  67082. $signature: 276
  67083. };
  67084. A.Chain_toString_closure0.prototype = {
  67085. call$1(trace) {
  67086. var t1 = trace.get$frames();
  67087. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  67088. },
  67089. $signature: 277
  67090. };
  67091. A.Chain_toString__closure0.prototype = {
  67092. call$1(frame) {
  67093. return frame.get$location().length;
  67094. },
  67095. $signature: 185
  67096. };
  67097. A.Chain_toString_closure.prototype = {
  67098. call$1(trace) {
  67099. var t1 = trace.get$frames();
  67100. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  67101. },
  67102. $signature: 279
  67103. };
  67104. A.Chain_toString__closure.prototype = {
  67105. call$1(frame) {
  67106. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  67107. },
  67108. $signature: 186
  67109. };
  67110. A.Frame.prototype = {
  67111. get$isCore() {
  67112. return this.uri.get$scheme() === "dart";
  67113. },
  67114. get$library() {
  67115. var t1 = this.uri;
  67116. if (t1.get$scheme() === "data")
  67117. return "data:...";
  67118. return $.$get$context().prettyUri$1(t1);
  67119. },
  67120. get$$package() {
  67121. var t1 = this.uri;
  67122. if (t1.get$scheme() !== "package")
  67123. return null;
  67124. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  67125. },
  67126. get$location() {
  67127. var t2, _this = this,
  67128. t1 = _this.line;
  67129. if (t1 == null)
  67130. return _this.get$library();
  67131. t2 = _this.column;
  67132. if (t2 == null)
  67133. return _this.get$library() + " " + A.S(t1);
  67134. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  67135. },
  67136. toString$0(_) {
  67137. return this.get$location() + " in " + A.S(this.member);
  67138. },
  67139. get$uri() {
  67140. return this.uri;
  67141. },
  67142. get$line() {
  67143. return this.line;
  67144. },
  67145. get$column() {
  67146. return this.column;
  67147. },
  67148. get$member() {
  67149. return this.member;
  67150. }
  67151. };
  67152. A.Frame_Frame$parseVM_closure.prototype = {
  67153. call$0() {
  67154. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  67155. t1 = this.frame;
  67156. if (t1 === "...")
  67157. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  67158. match = $.$get$_vmFrame().firstMatch$1(t1);
  67159. if (match == null)
  67160. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  67161. t1 = match._match;
  67162. t2 = t1[1];
  67163. t2.toString;
  67164. t3 = $.$get$_asyncBody();
  67165. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  67166. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  67167. t2 = t1[2];
  67168. t3 = t2;
  67169. t3.toString;
  67170. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  67171. uri = A.Uri_Uri$dataFromString("", _null, _null);
  67172. else {
  67173. t2 = t2;
  67174. t2.toString;
  67175. uri = A.Uri_parse(t2);
  67176. }
  67177. lineAndColumn = t1[3].split(":");
  67178. t1 = lineAndColumn.length;
  67179. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  67180. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  67181. },
  67182. $signature: 75
  67183. };
  67184. A.Frame_Frame$parseV8_closure.prototype = {
  67185. call$0() {
  67186. var t2, t3, _s4_ = "<fn>",
  67187. t1 = this.frame,
  67188. match = $.$get$_v8Frame().firstMatch$1(t1);
  67189. if (match == null)
  67190. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  67191. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  67192. t2 = match._match;
  67193. t3 = t2[2];
  67194. if (t3 != null) {
  67195. t3 = t3;
  67196. t3.toString;
  67197. t2 = t2[1];
  67198. t2.toString;
  67199. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  67200. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  67201. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  67202. } else {
  67203. t2 = t2[3];
  67204. t2.toString;
  67205. return t1.call$2(t2, _s4_);
  67206. }
  67207. },
  67208. $signature: 75
  67209. };
  67210. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  67211. call$2($location, member) {
  67212. var t2, urlMatch, uri, line, columnMatch, _null = null,
  67213. t1 = $.$get$_v8EvalLocation(),
  67214. evalMatch = t1.firstMatch$1($location);
  67215. for (; evalMatch != null; $location = t2) {
  67216. t2 = evalMatch._match[1];
  67217. t2.toString;
  67218. evalMatch = t1.firstMatch$1(t2);
  67219. }
  67220. if ($location === "native")
  67221. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  67222. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  67223. if (urlMatch == null)
  67224. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  67225. t1 = urlMatch._match;
  67226. t2 = t1[1];
  67227. t2.toString;
  67228. uri = A.Frame__uriOrPathToUri(t2);
  67229. t2 = t1[2];
  67230. t2.toString;
  67231. line = A.int_parse(t2, _null);
  67232. columnMatch = t1[3];
  67233. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  67234. },
  67235. $signature: 282
  67236. };
  67237. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  67238. call$0() {
  67239. var t2, member, uri, line, _null = null,
  67240. t1 = this.frame,
  67241. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  67242. if (match == null)
  67243. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  67244. t1 = match._match;
  67245. t2 = t1[1];
  67246. t2.toString;
  67247. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  67248. t2 = t1[2];
  67249. t2.toString;
  67250. uri = A.Frame__uriOrPathToUri(t2);
  67251. t1 = t1[3];
  67252. t1.toString;
  67253. line = A.int_parse(t1, _null);
  67254. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  67255. },
  67256. $signature: 75
  67257. };
  67258. A.Frame_Frame$parseFirefox_closure.prototype = {
  67259. call$0() {
  67260. var t2, t3, t4, uri, member, line, column, _null = null,
  67261. t1 = this.frame,
  67262. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  67263. if (match == null)
  67264. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  67265. t2 = match._match;
  67266. t3 = t2[3];
  67267. t4 = t3;
  67268. t4.toString;
  67269. if (B.JSString_methods.contains$1(t4, " line "))
  67270. return A.Frame_Frame$_parseFirefoxEval(t1);
  67271. t1 = t3;
  67272. t1.toString;
  67273. uri = A.Frame__uriOrPathToUri(t1);
  67274. member = t2[1];
  67275. if (member != null) {
  67276. t1 = t2[2];
  67277. t1.toString;
  67278. t1 = B.JSString_methods.allMatches$1("/", t1);
  67279. member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
  67280. if (member === "")
  67281. member = "<fn>";
  67282. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  67283. } else
  67284. member = "<fn>";
  67285. t1 = t2[4];
  67286. if (t1 === "")
  67287. line = _null;
  67288. else {
  67289. t1 = t1;
  67290. t1.toString;
  67291. line = A.int_parse(t1, _null);
  67292. }
  67293. t1 = t2[5];
  67294. if (t1 == null || t1 === "")
  67295. column = _null;
  67296. else {
  67297. t1 = t1;
  67298. t1.toString;
  67299. column = A.int_parse(t1, _null);
  67300. }
  67301. return new A.Frame(uri, line, column, member);
  67302. },
  67303. $signature: 75
  67304. };
  67305. A.Frame_Frame$parseFriendly_closure.prototype = {
  67306. call$0() {
  67307. var t2, uri, line, column, _null = null,
  67308. t1 = this.frame,
  67309. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  67310. if (match == null)
  67311. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  67312. t1 = match._match;
  67313. t2 = t1[1];
  67314. if (t2 === "data:...")
  67315. uri = A.Uri_Uri$dataFromString("", _null, _null);
  67316. else {
  67317. t2 = t2;
  67318. t2.toString;
  67319. uri = A.Uri_parse(t2);
  67320. }
  67321. if (uri.get$scheme() === "") {
  67322. t2 = $.$get$context();
  67323. uri = t2.toUri$1(t2.absolute$7(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null));
  67324. }
  67325. t2 = t1[2];
  67326. if (t2 == null)
  67327. line = _null;
  67328. else {
  67329. t2 = t2;
  67330. t2.toString;
  67331. line = A.int_parse(t2, _null);
  67332. }
  67333. t2 = t1[3];
  67334. if (t2 == null)
  67335. column = _null;
  67336. else {
  67337. t2 = t2;
  67338. t2.toString;
  67339. column = A.int_parse(t2, _null);
  67340. }
  67341. return new A.Frame(uri, line, column, t1[4]);
  67342. },
  67343. $signature: 75
  67344. };
  67345. A.LazyTrace.prototype = {
  67346. get$_lazy_trace$_trace() {
  67347. var result, _this = this,
  67348. value = _this.__LazyTrace__trace_FI;
  67349. if (value === $) {
  67350. result = _this._thunk.call$0();
  67351. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  67352. _this.__LazyTrace__trace_FI = result;
  67353. value = result;
  67354. }
  67355. return value;
  67356. },
  67357. get$frames() {
  67358. return this.get$_lazy_trace$_trace().get$frames();
  67359. },
  67360. get$terse() {
  67361. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  67362. },
  67363. toString$0(_) {
  67364. return this.get$_lazy_trace$_trace().toString$0(0);
  67365. },
  67366. $isStackTrace: 1,
  67367. $isTrace: 1
  67368. };
  67369. A.LazyTrace_terse_closure.prototype = {
  67370. call$0() {
  67371. return this.$this.get$_lazy_trace$_trace().get$terse();
  67372. },
  67373. $signature: 187
  67374. };
  67375. A.Trace.prototype = {
  67376. get$terse() {
  67377. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  67378. },
  67379. foldFrames$2$terse(predicate, terse) {
  67380. var newFrames, t1, t2, t3, _box_0 = {};
  67381. _box_0.predicate = predicate;
  67382. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  67383. newFrames = A._setArrayType([], type$.JSArray_Frame);
  67384. 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();) {
  67385. t3 = t1.__internal$_current;
  67386. if (t3 == null)
  67387. t3 = t2._as(t3);
  67388. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  67389. newFrames.push(t3);
  67390. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  67391. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  67392. }
  67393. t1 = type$.MappedListIterable_Frame_Frame;
  67394. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  67395. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  67396. B.JSArray_methods.removeAt$1(newFrames, 0);
  67397. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  67398. },
  67399. toString$0(_) {
  67400. var t1 = this.frames,
  67401. t2 = A._arrayInstanceType(t1);
  67402. 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);
  67403. },
  67404. $isStackTrace: 1,
  67405. get$frames() {
  67406. return this.frames;
  67407. }
  67408. };
  67409. A.Trace_Trace$from_closure.prototype = {
  67410. call$0() {
  67411. return A.Trace_Trace$parse(this.trace.toString$0(0));
  67412. },
  67413. $signature: 187
  67414. };
  67415. A.Trace__parseVM_closure.prototype = {
  67416. call$1(line) {
  67417. return line.length !== 0;
  67418. },
  67419. $signature: 8
  67420. };
  67421. A.Trace$parseV8_closure.prototype = {
  67422. call$1(line) {
  67423. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  67424. },
  67425. $signature: 8
  67426. };
  67427. A.Trace$parseJSCore_closure.prototype = {
  67428. call$1(line) {
  67429. return line !== "\tat ";
  67430. },
  67431. $signature: 8
  67432. };
  67433. A.Trace$parseFirefox_closure.prototype = {
  67434. call$1(line) {
  67435. return line.length !== 0 && line !== "[native code]";
  67436. },
  67437. $signature: 8
  67438. };
  67439. A.Trace$parseFriendly_closure.prototype = {
  67440. call$1(line) {
  67441. return !B.JSString_methods.startsWith$1(line, "=====");
  67442. },
  67443. $signature: 8
  67444. };
  67445. A.Trace_terse_closure.prototype = {
  67446. call$1(_) {
  67447. return false;
  67448. },
  67449. $signature: 188
  67450. };
  67451. A.Trace_foldFrames_closure.prototype = {
  67452. call$1(frame) {
  67453. var t1;
  67454. if (this.oldPredicate.call$1(frame))
  67455. return true;
  67456. if (frame.get$isCore())
  67457. return true;
  67458. if (frame.get$$package() === "stack_trace")
  67459. return true;
  67460. t1 = frame.get$member();
  67461. t1.toString;
  67462. if (!B.JSString_methods.contains$1(t1, "<async>"))
  67463. return false;
  67464. return frame.get$line() == null;
  67465. },
  67466. $signature: 188
  67467. };
  67468. A.Trace_foldFrames_closure0.prototype = {
  67469. call$1(frame) {
  67470. var t1, t2;
  67471. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  67472. return frame;
  67473. t1 = frame.get$library();
  67474. t2 = $.$get$_terseRegExp();
  67475. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  67476. },
  67477. $signature: 285
  67478. };
  67479. A.Trace_toString_closure0.prototype = {
  67480. call$1(frame) {
  67481. return frame.get$location().length;
  67482. },
  67483. $signature: 185
  67484. };
  67485. A.Trace_toString_closure.prototype = {
  67486. call$1(frame) {
  67487. if (frame instanceof A.UnparsedFrame)
  67488. return frame.toString$0(0) + "\n";
  67489. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  67490. },
  67491. $signature: 186
  67492. };
  67493. A.UnparsedFrame.prototype = {
  67494. toString$0(_) {
  67495. return this.member;
  67496. },
  67497. $isFrame: 1,
  67498. get$uri() {
  67499. return this.uri;
  67500. },
  67501. get$line() {
  67502. return null;
  67503. },
  67504. get$column() {
  67505. return null;
  67506. },
  67507. get$isCore() {
  67508. return false;
  67509. },
  67510. get$library() {
  67511. return "unparsed";
  67512. },
  67513. get$$package() {
  67514. return null;
  67515. },
  67516. get$location() {
  67517. return "unparsed";
  67518. },
  67519. get$member() {
  67520. return this.member;
  67521. }
  67522. };
  67523. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  67524. call$0() {
  67525. var t2, subscription, t3, t4, _this = this, t1 = {};
  67526. t1.valuesDone = false;
  67527. t2 = _this.controller;
  67528. 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));
  67529. t3 = _this._box_1;
  67530. t3.subscription = subscription;
  67531. t2.set$onPause(subscription.get$pause(subscription));
  67532. t4 = t3.subscription;
  67533. t2.set$onResume(t4.get$resume(t4));
  67534. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  67535. },
  67536. $signature: 0
  67537. };
  67538. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  67539. call$1(value) {
  67540. return this.handleData.call$2(value, this.controller);
  67541. },
  67542. $signature() {
  67543. return this.S._eval$1("~(0)");
  67544. }
  67545. };
  67546. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  67547. call$2(error, stackTrace) {
  67548. this.handleError.call$3(error, stackTrace, this.controller);
  67549. },
  67550. $signature: 66
  67551. };
  67552. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  67553. call$0() {
  67554. this._box_0.valuesDone = true;
  67555. this.handleDone.call$1(this.controller);
  67556. },
  67557. $signature: 0
  67558. };
  67559. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  67560. call$0() {
  67561. var t1 = this._box_1,
  67562. toCancel = t1.subscription;
  67563. t1.subscription = null;
  67564. if (!this._box_0.valuesDone)
  67565. return toCancel.cancel$0();
  67566. return null;
  67567. },
  67568. $signature: 227
  67569. };
  67570. A.RateLimit__debounceAggregate_closure.prototype = {
  67571. call$2(value, sink) {
  67572. var _this = this,
  67573. t1 = _this._box_0,
  67574. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  67575. t3 = t1.timer;
  67576. if (t3 != null)
  67577. t3.cancel$0();
  67578. t1.soFar = _this.collect.call$2(value, t1.soFar);
  67579. t1.hasPending = true;
  67580. if (t1.timer == null && _this.leading) {
  67581. t1.emittedLatestAsLeading = true;
  67582. t2.call$0();
  67583. } else
  67584. t1.emittedLatestAsLeading = false;
  67585. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  67586. },
  67587. $signature() {
  67588. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  67589. }
  67590. };
  67591. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  67592. call$0() {
  67593. var t1 = this._box_0,
  67594. t2 = t1.soFar;
  67595. if (t2 == null)
  67596. t2 = this.S._as(t2);
  67597. this.sink.add$1(0, t2);
  67598. t1.soFar = null;
  67599. t1.hasPending = false;
  67600. },
  67601. $signature: 0
  67602. };
  67603. A.RateLimit__debounceAggregate__closure.prototype = {
  67604. call$0() {
  67605. var t1 = this._box_0,
  67606. t2 = t1.emittedLatestAsLeading;
  67607. if (!t2)
  67608. this.emit.call$0();
  67609. if (t1.shouldClose)
  67610. this.sink.close$0(0);
  67611. t1.timer = null;
  67612. },
  67613. $signature: 0
  67614. };
  67615. A.RateLimit__debounceAggregate_closure0.prototype = {
  67616. call$1(sink) {
  67617. var t1 = this._box_0;
  67618. if (t1.hasPending && this.trailing)
  67619. t1.shouldClose = true;
  67620. else {
  67621. t1 = t1.timer;
  67622. if (t1 != null)
  67623. t1.cancel$0();
  67624. sink.close$0(0);
  67625. }
  67626. },
  67627. $signature() {
  67628. return this.S._eval$1("~(EventSink<0>)");
  67629. }
  67630. };
  67631. A.StringScannerException.prototype = {
  67632. get$source() {
  67633. return A._asString(this.source);
  67634. }
  67635. };
  67636. A.LineScanner.prototype = {
  67637. scanChar$1(character) {
  67638. if (!this.super$StringScanner$scanChar(character))
  67639. return false;
  67640. this._adjustLineAndColumn$1(character);
  67641. return true;
  67642. },
  67643. _adjustLineAndColumn$1(character) {
  67644. var t1, _this = this;
  67645. if (character !== 10)
  67646. t1 = character === 13 && _this.peekChar$0() !== 10;
  67647. else
  67648. t1 = true;
  67649. if (t1) {
  67650. ++_this._line_scanner$_line;
  67651. _this._line_scanner$_column = 0;
  67652. } else {
  67653. t1 = _this._line_scanner$_column;
  67654. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  67655. }
  67656. },
  67657. scan$1(pattern) {
  67658. var t1, newlines, t2, _this = this;
  67659. if (!_this.super$StringScanner$scan(pattern))
  67660. return false;
  67661. t1 = _this.get$lastMatch();
  67662. newlines = _this._newlinesIn$1(t1.pattern);
  67663. t1 = _this._line_scanner$_line;
  67664. t2 = newlines.length;
  67665. _this._line_scanner$_line = t1 + t2;
  67666. if (t2 === 0) {
  67667. t1 = _this._line_scanner$_column;
  67668. t2 = _this.get$lastMatch();
  67669. _this._line_scanner$_column = t1 + t2.pattern.length;
  67670. } else {
  67671. t1 = _this.get$lastMatch();
  67672. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  67673. }
  67674. return true;
  67675. },
  67676. _newlinesIn$1(text) {
  67677. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  67678. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  67679. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  67680. B.JSArray_methods.removeLast$0(newlines);
  67681. return newlines;
  67682. }
  67683. };
  67684. A.SpanScanner.prototype = {
  67685. set$state(state) {
  67686. if (state._scanner !== this)
  67687. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  67688. this.set$position(state.position);
  67689. },
  67690. spanFrom$2(startState, endState) {
  67691. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  67692. return this._sourceFile.span$2(0, startState.position, endPosition);
  67693. },
  67694. spanFrom$1(startState) {
  67695. return this.spanFrom$2(startState, null);
  67696. },
  67697. matches$1(pattern) {
  67698. var t1, t2, _this = this;
  67699. if (!_this.super$StringScanner$matches(pattern))
  67700. return false;
  67701. t1 = _this._string_scanner$_position;
  67702. t2 = _this.get$lastMatch();
  67703. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  67704. return true;
  67705. },
  67706. error$3$length$position(_, message, $length, position) {
  67707. var match, t2, _this = this,
  67708. t1 = _this.string;
  67709. A.validateErrorArgs(t1, null, position, $length);
  67710. match = position == null && $length == null ? _this.get$lastMatch() : null;
  67711. if (position == null)
  67712. position = match == null ? _this._string_scanner$_position : match.start;
  67713. if ($length == null)
  67714. if (match == null)
  67715. $length = 0;
  67716. else {
  67717. t2 = match.start;
  67718. $length = t2 + match.pattern.length - t2;
  67719. }
  67720. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  67721. },
  67722. error$1($receiver, message) {
  67723. return this.error$3$length$position($receiver, message, null, null);
  67724. },
  67725. error$2$position($receiver, message, position) {
  67726. return this.error$3$length$position($receiver, message, null, position);
  67727. },
  67728. error$2$length($receiver, message, $length) {
  67729. return this.error$3$length$position($receiver, message, $length, null);
  67730. }
  67731. };
  67732. A._SpanScannerState.prototype = {};
  67733. A.StringScanner.prototype = {
  67734. set$position(position) {
  67735. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  67736. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  67737. this._string_scanner$_position = position;
  67738. this._lastMatch = null;
  67739. },
  67740. get$lastMatch() {
  67741. var _this = this;
  67742. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  67743. _this._lastMatch = null;
  67744. return _this._lastMatch;
  67745. },
  67746. readChar$0() {
  67747. var _this = this,
  67748. t1 = _this._string_scanner$_position,
  67749. t2 = _this.string;
  67750. if (t1 === t2.length)
  67751. _this.error$3$length$position(0, "expected more input.", 0, t1);
  67752. return B.JSString_methods.codeUnitAt$1(t2, _this._string_scanner$_position++);
  67753. },
  67754. peekChar$1(offset) {
  67755. var index;
  67756. if (offset == null)
  67757. offset = 0;
  67758. index = this._string_scanner$_position + offset;
  67759. if (index < 0 || index >= this.string.length)
  67760. return null;
  67761. return B.JSString_methods.codeUnitAt$1(this.string, index);
  67762. },
  67763. peekChar$0() {
  67764. return this.peekChar$1(null);
  67765. },
  67766. scanChar$1(character) {
  67767. var t1, t2, t3, t4, _this = this;
  67768. if (character >= 65536 && character <= 1114111) {
  67769. t1 = _this._string_scanner$_position;
  67770. t2 = t1 + 1;
  67771. t3 = _this.string;
  67772. if (t2 < t3.length) {
  67773. t4 = character - 65536;
  67774. 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;
  67775. } else
  67776. t2 = true;
  67777. if (t2)
  67778. return false;
  67779. else {
  67780. _this._string_scanner$_position = t1 + 2;
  67781. return true;
  67782. }
  67783. } else {
  67784. t1 = _this._string_scanner$_position;
  67785. t2 = _this.string;
  67786. if (t1 === t2.length)
  67787. return false;
  67788. if (B.JSString_methods.codeUnitAt$1(t2, t1) !== character)
  67789. return false;
  67790. _this._string_scanner$_position = t1 + 1;
  67791. return true;
  67792. }
  67793. },
  67794. expectChar$2$name(character, $name) {
  67795. if (this.scanChar$1(character))
  67796. return;
  67797. if ($name == null)
  67798. if (character === 92)
  67799. $name = '"\\"';
  67800. else
  67801. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  67802. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  67803. },
  67804. expectChar$1(character) {
  67805. return this.expectChar$2$name(character, null);
  67806. },
  67807. scan$1(pattern) {
  67808. var t1, _this = this,
  67809. success = _this.matches$1(pattern);
  67810. if (success) {
  67811. t1 = _this._lastMatch;
  67812. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  67813. }
  67814. return success;
  67815. },
  67816. expect$1(pattern) {
  67817. var t1, $name;
  67818. if (this.scan$1(pattern))
  67819. return;
  67820. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  67821. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  67822. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  67823. },
  67824. expectDone$0() {
  67825. var t1 = this._string_scanner$_position;
  67826. if (t1 === this.string.length)
  67827. return;
  67828. this.error$3$length$position(0, "expected no more input.", 0, t1);
  67829. },
  67830. matches$1(pattern) {
  67831. var _this = this,
  67832. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  67833. _this._lastMatch = t1;
  67834. _this._lastMatchPosition = _this._string_scanner$_position;
  67835. return t1 != null;
  67836. },
  67837. substring$1(_, start) {
  67838. var end = this._string_scanner$_position;
  67839. return B.JSString_methods.substring$2(this.string, start, end);
  67840. },
  67841. error$3$length$position(_, message, $length, position) {
  67842. var t1 = this.string;
  67843. A.validateErrorArgs(t1, null, position, $length);
  67844. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
  67845. }
  67846. };
  67847. A.AsciiGlyphSet.prototype = {
  67848. glyphOrAscii$2(glyph, alternative) {
  67849. return alternative;
  67850. },
  67851. get$horizontalLine() {
  67852. return "-";
  67853. },
  67854. get$verticalLine() {
  67855. return "|";
  67856. },
  67857. get$topLeftCorner() {
  67858. return ",";
  67859. },
  67860. get$bottomLeftCorner() {
  67861. return "'";
  67862. },
  67863. get$cross() {
  67864. return "+";
  67865. },
  67866. get$upEnd() {
  67867. return "'";
  67868. },
  67869. get$downEnd() {
  67870. return ",";
  67871. },
  67872. get$horizontalLineBold() {
  67873. return "=";
  67874. }
  67875. };
  67876. A.UnicodeGlyphSet.prototype = {
  67877. glyphOrAscii$2(glyph, alternative) {
  67878. return glyph;
  67879. },
  67880. get$horizontalLine() {
  67881. return "\u2500";
  67882. },
  67883. get$verticalLine() {
  67884. return "\u2502";
  67885. },
  67886. get$topLeftCorner() {
  67887. return "\u250c";
  67888. },
  67889. get$bottomLeftCorner() {
  67890. return "\u2514";
  67891. },
  67892. get$cross() {
  67893. return "\u253c";
  67894. },
  67895. get$upEnd() {
  67896. return "\u2575";
  67897. },
  67898. get$downEnd() {
  67899. return "\u2577";
  67900. },
  67901. get$horizontalLineBold() {
  67902. return "\u2501";
  67903. }
  67904. };
  67905. A.Tuple2.prototype = {
  67906. toString$0(_) {
  67907. return "[" + A.S(this.item1) + ", " + A.S(this.item2) + "]";
  67908. },
  67909. $eq(_, other) {
  67910. if (other == null)
  67911. return false;
  67912. return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2);
  67913. },
  67914. get$hashCode(_) {
  67915. return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), B.C_SentinelValue, B.C_SentinelValue);
  67916. }
  67917. };
  67918. A.Tuple3.prototype = {
  67919. toString$0(_) {
  67920. return "[" + this.item1.toString$0(0) + ", " + this.item2.toString$0(0) + ", " + this.item3.toString$0(0) + "]";
  67921. },
  67922. $eq(_, other) {
  67923. if (other == null)
  67924. return false;
  67925. return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2.$eq(0, this.item2) && other.item3.$eq(0, this.item3);
  67926. },
  67927. get$hashCode(_) {
  67928. var t1 = this.item2,
  67929. t2 = this.item3;
  67930. return A.Object_hash(A.Primitives_objectHashCode(this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), B.C_SentinelValue);
  67931. }
  67932. };
  67933. A.Tuple4.prototype = {
  67934. toString$0(_) {
  67935. var _this = this;
  67936. return "[" + _this.item1.toString$0(0) + ", " + _this.item2 + ", " + _this.item3.toString$0(0) + ", " + A.S(_this.item4) + "]";
  67937. },
  67938. $eq(_, other) {
  67939. var _this = this;
  67940. if (other == null)
  67941. return false;
  67942. 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);
  67943. },
  67944. get$hashCode(_) {
  67945. var _this = this,
  67946. t1 = _this.item1;
  67947. 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));
  67948. }
  67949. };
  67950. A.WatchEvent.prototype = {
  67951. toString$0(_) {
  67952. return this.type.toString$0(0) + " " + this.path;
  67953. }
  67954. };
  67955. A.ChangeType.prototype = {
  67956. toString$0(_) {
  67957. return this._watch_event$_name;
  67958. }
  67959. };
  67960. A.AnySelectorVisitor0.prototype = {
  67961. visitComplexSelector$1(complex) {
  67962. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  67963. },
  67964. visitCompoundSelector$1(compound) {
  67965. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  67966. },
  67967. visitPseudoSelector$1(pseudo) {
  67968. var selector = pseudo.selector;
  67969. return selector == null ? false : this.visitSelectorList$1(selector);
  67970. },
  67971. visitSelectorList$1(list) {
  67972. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67973. },
  67974. visitAttributeSelector$1(attribute) {
  67975. return false;
  67976. },
  67977. visitClassSelector$1(klass) {
  67978. return false;
  67979. },
  67980. visitIDSelector$1(id) {
  67981. return false;
  67982. },
  67983. visitParentSelector$1($parent) {
  67984. return false;
  67985. },
  67986. visitPlaceholderSelector$1(placeholder) {
  67987. return false;
  67988. },
  67989. visitTypeSelector$1(type) {
  67990. return false;
  67991. },
  67992. visitUniversalSelector$1(universal) {
  67993. return false;
  67994. }
  67995. };
  67996. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  67997. call$1(component) {
  67998. return this.$this.visitCompoundSelector$1(component.selector);
  67999. },
  68000. $signature: 46
  68001. };
  68002. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  68003. call$1(simple) {
  68004. return simple.accept$1(this.$this);
  68005. },
  68006. $signature: 13
  68007. };
  68008. A.SupportsAnything0.prototype = {
  68009. toString$0(_) {
  68010. return "(" + this.contents.toString$0(0) + ")";
  68011. },
  68012. $isAstNode0: 1,
  68013. get$span(receiver) {
  68014. return this.span;
  68015. }
  68016. };
  68017. A.Argument0.prototype = {
  68018. toString$0(_) {
  68019. var t1 = this.defaultValue,
  68020. t2 = this.name;
  68021. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  68022. },
  68023. $isAstNode0: 1,
  68024. get$span(receiver) {
  68025. return this.span;
  68026. }
  68027. };
  68028. A.ArgumentDeclaration0.prototype = {
  68029. get$spanWithName() {
  68030. var t3, t4,
  68031. t1 = this.span,
  68032. t2 = t1.file,
  68033. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  68034. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  68035. while (true) {
  68036. if (i > 0) {
  68037. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  68038. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  68039. } else
  68040. t3 = false;
  68041. if (!t3)
  68042. break;
  68043. --i;
  68044. }
  68045. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  68046. if (!(t3 === 95 || A.isAlphabetic1(t3) || t3 >= 128 || A.isDigit0(t3) || t3 === 45))
  68047. return t1;
  68048. --i;
  68049. while (true) {
  68050. if (i >= 0) {
  68051. t3 = B.JSString_methods.codeUnitAt$1(text, i);
  68052. if (t3 !== 95) {
  68053. if (!(t3 >= 97 && t3 <= 122))
  68054. t4 = t3 >= 65 && t3 <= 90;
  68055. else
  68056. t4 = true;
  68057. t4 = t4 || t3 >= 128;
  68058. } else
  68059. t4 = true;
  68060. if (!t4)
  68061. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  68062. else
  68063. t3 = true;
  68064. } else
  68065. t3 = false;
  68066. if (!t3)
  68067. break;
  68068. --i;
  68069. }
  68070. t3 = i + 1;
  68071. t4 = B.JSString_methods.codeUnitAt$1(text, t3);
  68072. if (!(t4 === 95 || A.isAlphabetic1(t4) || t4 >= 128))
  68073. return t1;
  68074. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  68075. },
  68076. verify$2(positional, names) {
  68077. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  68078. _s10_ = "invocation",
  68079. _s8_ = "argument";
  68080. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  68081. argument = t1[i];
  68082. if (i < positional) {
  68083. t4 = argument.name;
  68084. if (t3.containsKey$1(t4))
  68085. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  68086. } else {
  68087. t4 = argument.name;
  68088. if (t3.containsKey$1(t4))
  68089. ++namedUsed;
  68090. else if (argument.defaultValue == null)
  68091. 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)));
  68092. }
  68093. }
  68094. if (_this.restArgument != null)
  68095. return;
  68096. if (positional > t2) {
  68097. t1 = names.get$isEmpty(names) ? "" : "positional ";
  68098. 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)));
  68099. }
  68100. if (namedUsed < t3.get$length(t3)) {
  68101. t2 = type$.String;
  68102. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  68103. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  68104. 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)));
  68105. }
  68106. },
  68107. _argument_declaration$_originalArgumentName$1($name) {
  68108. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  68109. if ($name === this.restArgument) {
  68110. t1 = this.span;
  68111. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  68112. 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, "."));
  68113. }
  68114. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  68115. argument = t1[_i];
  68116. if (argument.name === $name) {
  68117. t1 = argument.defaultValue;
  68118. t2 = argument.span;
  68119. t3 = t2.file;
  68120. t4 = t2._file$_start;
  68121. t2 = t2._end;
  68122. if (t1 == null) {
  68123. t1 = t3._decodedChars;
  68124. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  68125. } else {
  68126. t1 = t3._decodedChars;
  68127. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  68128. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  68129. end = A._lastNonWhitespace0(t1, false);
  68130. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  68131. }
  68132. return t1;
  68133. }
  68134. }
  68135. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  68136. },
  68137. matches$2(positional, names) {
  68138. var t1, t2, t3, namedUsed, i, argument;
  68139. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  68140. argument = t1[i];
  68141. if (i < positional) {
  68142. if (t3.containsKey$1(argument.name))
  68143. return false;
  68144. } else if (t3.containsKey$1(argument.name))
  68145. ++namedUsed;
  68146. else if (argument.defaultValue == null)
  68147. return false;
  68148. }
  68149. if (this.restArgument != null)
  68150. return true;
  68151. if (positional > t2)
  68152. return false;
  68153. if (namedUsed < t3.get$length(t3))
  68154. return false;
  68155. return true;
  68156. },
  68157. toString$0(_) {
  68158. var t2, t3, _i,
  68159. t1 = A._setArrayType([], type$.JSArray_String);
  68160. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  68161. t1.push("$" + A.S(t2[_i]));
  68162. t2 = this.restArgument;
  68163. if (t2 != null)
  68164. t1.push("$" + t2 + "...");
  68165. return B.JSArray_methods.join$1(t1, ", ");
  68166. },
  68167. $isAstNode0: 1,
  68168. get$span(receiver) {
  68169. return this.span;
  68170. }
  68171. };
  68172. A.ArgumentDeclaration_verify_closure1.prototype = {
  68173. call$1(argument) {
  68174. return argument.name;
  68175. },
  68176. $signature: 289
  68177. };
  68178. A.ArgumentDeclaration_verify_closure2.prototype = {
  68179. call$1($name) {
  68180. return "$" + $name;
  68181. },
  68182. $signature: 5
  68183. };
  68184. A.ArgumentInvocation0.prototype = {
  68185. get$isEmpty(_) {
  68186. var t1;
  68187. if (this.positional.length === 0) {
  68188. t1 = this.named;
  68189. t1 = t1.get$isEmpty(t1) && this.rest == null;
  68190. } else
  68191. t1 = false;
  68192. return t1;
  68193. },
  68194. toString$0(_) {
  68195. var t2, t3, t4, _this = this,
  68196. t1 = A.List_List$of(_this.positional, true, type$.Object);
  68197. for (t2 = _this.named, t3 = J.get$iterator$ax(t2.get$keys(t2)); t3.moveNext$0();) {
  68198. t4 = t3.get$current(t3);
  68199. t1.push("$" + t4 + ": " + A.S(t2.$index(0, t4)));
  68200. }
  68201. t2 = _this.rest;
  68202. if (t2 != null)
  68203. t1.push(t2.toString$0(0) + "...");
  68204. t2 = _this.keywordRest;
  68205. if (t2 != null)
  68206. t1.push(t2.toString$0(0) + "...");
  68207. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  68208. },
  68209. $isAstNode0: 1,
  68210. get$span(receiver) {
  68211. return this.span;
  68212. }
  68213. };
  68214. A.argumentListClass_closure.prototype = {
  68215. call$0() {
  68216. var t1 = type$.JSClass,
  68217. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  68218. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  68219. 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);
  68220. return jsClass;
  68221. },
  68222. $signature: 24
  68223. };
  68224. A.argumentListClass__closure.prototype = {
  68225. call$4($self, contents, keywords, separator) {
  68226. var t3,
  68227. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  68228. t2 = type$.Value_2;
  68229. t1 = J.cast$1$0$ax(t1, t2);
  68230. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  68231. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  68232. },
  68233. call$3($self, contents, keywords) {
  68234. return this.call$4($self, contents, keywords, ",");
  68235. },
  68236. "call*": "call$4",
  68237. $requiredArgCount: 3,
  68238. $defaultValues() {
  68239. return [","];
  68240. },
  68241. $signature: 256
  68242. };
  68243. A.argumentListClass__closure0.prototype = {
  68244. call$1($self) {
  68245. $self._argument_list$_wereKeywordsAccessed = true;
  68246. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  68247. },
  68248. $signature: 292
  68249. };
  68250. A.SassArgumentList0.prototype = {};
  68251. A.JSArray1.prototype = {};
  68252. A.AsyncImporter0.prototype = {};
  68253. A.NodeToDartAsyncImporter.prototype = {
  68254. canonicalize$1(_, url) {
  68255. return this.canonicalize$body$NodeToDartAsyncImporter(0, url);
  68256. },
  68257. canonicalize$body$NodeToDartAsyncImporter(_, url) {
  68258. var $async$goto = 0,
  68259. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  68260. $async$returnValue, $async$self = this, t1, result;
  68261. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68262. if ($async$errorCode === 1)
  68263. return A._asyncRethrow($async$result, $async$completer);
  68264. while (true)
  68265. switch ($async$goto) {
  68266. case 0:
  68267. // Function start
  68268. result = $async$self._async0$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  68269. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  68270. break;
  68271. case 3:
  68272. // then
  68273. $async$goto = 5;
  68274. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  68275. case 5:
  68276. // returning from await.
  68277. result = $async$result;
  68278. case 4:
  68279. // join
  68280. if (result == null) {
  68281. $async$returnValue = null;
  68282. // goto return
  68283. $async$goto = 1;
  68284. break;
  68285. }
  68286. t1 = self.URL;
  68287. if (result instanceof t1) {
  68288. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  68289. // goto return
  68290. $async$goto = 1;
  68291. break;
  68292. }
  68293. A.jsThrow(new self.Error(string$.The_ca));
  68294. case 1:
  68295. // return
  68296. return A._asyncReturn($async$returnValue, $async$completer);
  68297. }
  68298. });
  68299. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  68300. },
  68301. load$1(_, url) {
  68302. return this.load$body$NodeToDartAsyncImporter(0, url);
  68303. },
  68304. load$body$NodeToDartAsyncImporter(_, url) {
  68305. var $async$goto = 0,
  68306. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult),
  68307. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  68308. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68309. if ($async$errorCode === 1)
  68310. return A._asyncRethrow($async$result, $async$completer);
  68311. while (true)
  68312. switch ($async$goto) {
  68313. case 0:
  68314. // Function start
  68315. result = $async$self._load.call$1(new self.URL(url.toString$0(0)));
  68316. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  68317. break;
  68318. case 3:
  68319. // then
  68320. $async$goto = 5;
  68321. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  68322. case 5:
  68323. // returning from await.
  68324. result = $async$result;
  68325. case 4:
  68326. // join
  68327. if (result == null) {
  68328. $async$returnValue = null;
  68329. // goto return
  68330. $async$goto = 1;
  68331. break;
  68332. }
  68333. type$.NodeImporterResult._as(result);
  68334. t1 = J.getInterceptor$x(result);
  68335. contents = t1.get$contents(result);
  68336. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  68337. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  68338. syntax = t1.get$syntax(result);
  68339. if (contents == null || syntax == null)
  68340. A.jsThrow(new self.Error(string$.The_lo));
  68341. t2 = A.parseSyntax(syntax);
  68342. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  68343. // goto return
  68344. $async$goto = 1;
  68345. break;
  68346. case 1:
  68347. // return
  68348. return A._asyncReturn($async$returnValue, $async$completer);
  68349. }
  68350. });
  68351. return A._asyncStartSync($async$load$1, $async$completer);
  68352. }
  68353. };
  68354. A.AsyncBuiltInCallable0.prototype = {
  68355. callbackFor$2(positional, names) {
  68356. 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);
  68357. },
  68358. $isAsyncCallable0: 1,
  68359. get$name(receiver) {
  68360. return this.name;
  68361. }
  68362. };
  68363. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  68364. call$1($arguments) {
  68365. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  68366. },
  68367. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  68368. var $async$goto = 0,
  68369. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  68370. $async$returnValue, $async$self = this;
  68371. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68372. if ($async$errorCode === 1)
  68373. return A._asyncRethrow($async$result, $async$completer);
  68374. while (true)
  68375. switch ($async$goto) {
  68376. case 0:
  68377. // Function start
  68378. $async$goto = 3;
  68379. return A._asyncAwait($async$self.callback.call$1($arguments), $async$call$1);
  68380. case 3:
  68381. // returning from await.
  68382. $async$returnValue = B.C__SassNull0;
  68383. // goto return
  68384. $async$goto = 1;
  68385. break;
  68386. case 1:
  68387. // return
  68388. return A._asyncReturn($async$returnValue, $async$completer);
  68389. }
  68390. });
  68391. return A._asyncStartSync($async$call$1, $async$completer);
  68392. },
  68393. $signature: 92
  68394. };
  68395. A._compileStylesheet_closure2.prototype = {
  68396. call$1(url) {
  68397. return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  68398. },
  68399. $signature: 5
  68400. };
  68401. A.AsyncEnvironment0.prototype = {
  68402. closure$0() {
  68403. var t4, t5, t6, _this = this,
  68404. t1 = _this._async_environment0$_forwardedModules,
  68405. t2 = _this._async_environment0$_nestedForwardedModules,
  68406. t3 = _this._async_environment0$_variables;
  68407. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  68408. t4 = _this._async_environment0$_variableNodes;
  68409. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  68410. t5 = _this._async_environment0$_functions;
  68411. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  68412. t6 = _this._async_environment0$_mixins;
  68413. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  68414. 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);
  68415. },
  68416. addModule$3$namespace(module, nodeWithSpan, namespace) {
  68417. var t1, t2, span, _this = this;
  68418. if (namespace == null) {
  68419. _this._async_environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  68420. _this._async_environment0$_allModules.push(module);
  68421. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._async_environment0$_variables))); t1.moveNext$0();) {
  68422. t2 = t1.get$current(t1);
  68423. if (module.get$variables().containsKey$1(t2))
  68424. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  68425. }
  68426. } else {
  68427. t1 = _this._async_environment0$_modules;
  68428. if (t1.containsKey$1(namespace)) {
  68429. t1 = _this._async_environment0$_namespaceNodes.$index(0, namespace);
  68430. span = t1 == null ? null : t1.span;
  68431. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  68432. if (span != null)
  68433. t1.$indexSet(0, span, "original @use");
  68434. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  68435. }
  68436. t1.$indexSet(0, namespace, module);
  68437. _this._async_environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  68438. _this._async_environment0$_allModules.push(module);
  68439. }
  68440. },
  68441. forwardModule$2(module, rule) {
  68442. var view, t1, t2, _this = this,
  68443. forwardedModules = _this._async_environment0$_forwardedModules;
  68444. if (forwardedModules == null)
  68445. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  68446. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  68447. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  68448. t2 = t1.__js_helper$_current;
  68449. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  68450. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  68451. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  68452. }
  68453. _this._async_environment0$_allModules.push(module);
  68454. forwardedModules.$indexSet(0, view, rule);
  68455. },
  68456. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  68457. var larger, smaller, t1, t2, $name, span;
  68458. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  68459. larger = oldMembers;
  68460. smaller = newMembers;
  68461. } else {
  68462. larger = newMembers;
  68463. smaller = oldMembers;
  68464. }
  68465. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  68466. $name = t1.get$current(t1);
  68467. if (!larger.containsKey$1($name))
  68468. continue;
  68469. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  68470. continue;
  68471. if (t2)
  68472. $name = "$" + $name;
  68473. t1 = this._async_environment0$_forwardedModules;
  68474. if (t1 == null)
  68475. span = null;
  68476. else {
  68477. t1 = t1.$index(0, oldModule);
  68478. span = t1 == null ? null : J.get$span$z(t1);
  68479. }
  68480. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  68481. if (span != null)
  68482. t1.$indexSet(0, span, "original @forward");
  68483. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  68484. }
  68485. },
  68486. importForwards$1(module) {
  68487. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  68488. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  68489. if (forwarded == null)
  68490. return;
  68491. forwardedModules = _this._async_environment0$_forwardedModules;
  68492. if (forwardedModules != null) {
  68493. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  68494. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._async_environment0$_globalModules; t2.moveNext$0();) {
  68495. t4 = t2.get$current(t2);
  68496. t5 = t4.key;
  68497. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  68498. t1.$indexSet(0, t5, t4.value);
  68499. }
  68500. forwarded = t1;
  68501. } else
  68502. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  68503. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  68504. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  68505. t3 = t2._eval$1("Iterable.E");
  68506. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure2(), t2), t3);
  68507. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure3(), t2), t3);
  68508. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.AsyncEnvironment_importForwards_closure4(), t2), t3);
  68509. t2 = _this._async_environment0$_variables;
  68510. t3 = t2.length;
  68511. if (t3 === 1) {
  68512. 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) {
  68513. entry = t3[_i];
  68514. module = entry.key;
  68515. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  68516. if (shadowed != null) {
  68517. t1.remove$1(0, module);
  68518. t6 = shadowed.variables;
  68519. if (t6.get$isEmpty(t6)) {
  68520. t6 = shadowed.functions;
  68521. if (t6.get$isEmpty(t6)) {
  68522. t6 = shadowed.mixins;
  68523. if (t6.get$isEmpty(t6)) {
  68524. t6 = shadowed._shadowed_view0$_inner;
  68525. t6 = t6.get$css(t6);
  68526. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  68527. } else
  68528. t6 = false;
  68529. } else
  68530. t6 = false;
  68531. } else
  68532. t6 = false;
  68533. if (!t6)
  68534. t1.$indexSet(0, shadowed, entry.value);
  68535. }
  68536. }
  68537. 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) {
  68538. entry = t3[_i];
  68539. module = entry.key;
  68540. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  68541. if (shadowed != null) {
  68542. forwardedModules.remove$1(0, module);
  68543. t6 = shadowed.variables;
  68544. if (t6.get$isEmpty(t6)) {
  68545. t6 = shadowed.functions;
  68546. if (t6.get$isEmpty(t6)) {
  68547. t6 = shadowed.mixins;
  68548. if (t6.get$isEmpty(t6)) {
  68549. t6 = shadowed._shadowed_view0$_inner;
  68550. t6 = t6.get$css(t6);
  68551. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  68552. } else
  68553. t6 = false;
  68554. } else
  68555. t6 = false;
  68556. } else
  68557. t6 = false;
  68558. if (!t6)
  68559. forwardedModules.$indexSet(0, shadowed, entry.value);
  68560. }
  68561. }
  68562. t1.addAll$1(0, forwarded);
  68563. forwardedModules.addAll$1(0, forwarded);
  68564. } else {
  68565. t4 = _this._async_environment0$_nestedForwardedModules;
  68566. if (t4 == null) {
  68567. _length = t3 - 1;
  68568. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  68569. for (t3 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  68570. _list[_i] = A._setArrayType([], t3);
  68571. _this._async_environment0$_nestedForwardedModules = _list;
  68572. t3 = _list;
  68573. } else
  68574. t3 = t4;
  68575. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  68576. }
  68577. 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();) {
  68578. t6 = t1._collection$_current;
  68579. if (t6 == null)
  68580. t6 = t5._as(t6);
  68581. t3.remove$1(0, t6);
  68582. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  68583. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  68584. }
  68585. 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();) {
  68586. t5 = t1._collection$_current;
  68587. if (t5 == null)
  68588. t5 = t4._as(t5);
  68589. t2.remove$1(0, t5);
  68590. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  68591. }
  68592. 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();) {
  68593. t5 = t1._collection$_current;
  68594. if (t5 == null)
  68595. t5 = t4._as(t5);
  68596. t2.remove$1(0, t5);
  68597. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  68598. }
  68599. },
  68600. getVariable$2$namespace($name, namespace) {
  68601. var t1, index, _this = this;
  68602. if (namespace != null)
  68603. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  68604. if (_this._async_environment0$_lastVariableName === $name) {
  68605. t1 = _this._async_environment0$_lastVariableIndex;
  68606. t1.toString;
  68607. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  68608. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  68609. }
  68610. t1 = _this._async_environment0$_variableIndices;
  68611. index = t1.$index(0, $name);
  68612. if (index != null) {
  68613. _this._async_environment0$_lastVariableName = $name;
  68614. _this._async_environment0$_lastVariableIndex = index;
  68615. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  68616. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  68617. }
  68618. index = _this._async_environment0$_variableIndex$1($name);
  68619. if (index == null)
  68620. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  68621. _this._async_environment0$_lastVariableName = $name;
  68622. _this._async_environment0$_lastVariableIndex = index;
  68623. t1.$indexSet(0, $name, index);
  68624. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  68625. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  68626. },
  68627. getVariable$1($name) {
  68628. return this.getVariable$2$namespace($name, null);
  68629. },
  68630. _async_environment0$_getVariableFromGlobalModule$1($name) {
  68631. return this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  68632. },
  68633. getVariableNode$2$namespace($name, namespace) {
  68634. var t1, index, _this = this;
  68635. if (namespace != null)
  68636. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  68637. if (_this._async_environment0$_lastVariableName === $name) {
  68638. t1 = _this._async_environment0$_lastVariableIndex;
  68639. t1.toString;
  68640. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  68641. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  68642. }
  68643. t1 = _this._async_environment0$_variableIndices;
  68644. index = t1.$index(0, $name);
  68645. if (index != null) {
  68646. _this._async_environment0$_lastVariableName = $name;
  68647. _this._async_environment0$_lastVariableIndex = index;
  68648. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  68649. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  68650. }
  68651. index = _this._async_environment0$_variableIndex$1($name);
  68652. if (index == null)
  68653. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  68654. _this._async_environment0$_lastVariableName = $name;
  68655. _this._async_environment0$_lastVariableIndex = index;
  68656. t1.$indexSet(0, $name, index);
  68657. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  68658. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  68659. },
  68660. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  68661. var t1, t2, value;
  68662. 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();) {
  68663. t1 = t2._currentIterator;
  68664. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  68665. if (value != null)
  68666. return value;
  68667. }
  68668. return null;
  68669. },
  68670. globalVariableExists$2$namespace($name, namespace) {
  68671. if (namespace != null)
  68672. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  68673. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  68674. return true;
  68675. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  68676. },
  68677. globalVariableExists$1($name) {
  68678. return this.globalVariableExists$2$namespace($name, null);
  68679. },
  68680. _async_environment0$_variableIndex$1($name) {
  68681. var t1, i;
  68682. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  68683. if (t1[i].containsKey$1($name))
  68684. return i;
  68685. return null;
  68686. },
  68687. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  68688. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  68689. if (namespace != null) {
  68690. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  68691. return;
  68692. }
  68693. if (global || _this._async_environment0$_variables.length === 1) {
  68694. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  68695. t1 = _this._async_environment0$_variables;
  68696. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  68697. moduleWithName = _this._async_environment0$_fromOneModule$1$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name), type$.Module_AsyncCallable_2);
  68698. if (moduleWithName != null) {
  68699. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  68700. return;
  68701. }
  68702. }
  68703. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  68704. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  68705. return;
  68706. }
  68707. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  68708. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  68709. 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();) {
  68710. t3 = t1.__internal$_current;
  68711. 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();) {
  68712. t5 = t3.__internal$_current;
  68713. if (t5 == null)
  68714. t5 = t4._as(t5);
  68715. if (t5.get$variables().containsKey$1($name)) {
  68716. t5.setVariable$3($name, value, nodeWithSpan);
  68717. return;
  68718. }
  68719. }
  68720. }
  68721. if (_this._async_environment0$_lastVariableName === $name) {
  68722. t1 = _this._async_environment0$_lastVariableIndex;
  68723. t1.toString;
  68724. index = t1;
  68725. } else
  68726. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  68727. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  68728. index = _this._async_environment0$_variables.length - 1;
  68729. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  68730. }
  68731. _this._async_environment0$_lastVariableName = $name;
  68732. _this._async_environment0$_lastVariableIndex = index;
  68733. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  68734. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  68735. },
  68736. setVariable$4$global($name, value, nodeWithSpan, global) {
  68737. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  68738. },
  68739. setLocalVariable$3($name, value, nodeWithSpan) {
  68740. var index, _this = this,
  68741. t1 = _this._async_environment0$_variables,
  68742. t2 = t1.length;
  68743. _this._async_environment0$_lastVariableName = $name;
  68744. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  68745. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  68746. J.$indexSet$ax(t1[index], $name, value);
  68747. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  68748. },
  68749. getFunction$2$namespace($name, namespace) {
  68750. var t1, index, _this = this;
  68751. if (namespace != null) {
  68752. t1 = _this._async_environment0$_getModule$1(namespace);
  68753. return t1.get$functions(t1).$index(0, $name);
  68754. }
  68755. t1 = _this._async_environment0$_functionIndices;
  68756. index = t1.$index(0, $name);
  68757. if (index != null) {
  68758. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  68759. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  68760. }
  68761. index = _this._async_environment0$_functionIndex$1($name);
  68762. if (index == null)
  68763. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  68764. t1.$indexSet(0, $name, index);
  68765. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  68766. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  68767. },
  68768. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  68769. return this._async_environment0$_fromOneModule$1$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  68770. },
  68771. _async_environment0$_functionIndex$1($name) {
  68772. var t1, i;
  68773. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  68774. if (t1[i].containsKey$1($name))
  68775. return i;
  68776. return null;
  68777. },
  68778. getMixin$2$namespace($name, namespace) {
  68779. var t1, index, _this = this;
  68780. if (namespace != null)
  68781. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  68782. t1 = _this._async_environment0$_mixinIndices;
  68783. index = t1.$index(0, $name);
  68784. if (index != null) {
  68785. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  68786. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  68787. }
  68788. index = _this._async_environment0$_mixinIndex$1($name);
  68789. if (index == null)
  68790. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  68791. t1.$indexSet(0, $name, index);
  68792. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  68793. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  68794. },
  68795. _async_environment0$_getMixinFromGlobalModule$1($name) {
  68796. return this._async_environment0$_fromOneModule$1$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name), type$.AsyncCallable_2);
  68797. },
  68798. _async_environment0$_mixinIndex$1($name) {
  68799. var t1, i;
  68800. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  68801. if (t1[i].containsKey$1($name))
  68802. return i;
  68803. return null;
  68804. },
  68805. withContent$2($content, callback) {
  68806. return this.withContent$body$AsyncEnvironment0($content, callback);
  68807. },
  68808. withContent$body$AsyncEnvironment0($content, callback) {
  68809. var $async$goto = 0,
  68810. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68811. $async$self = this, oldContent;
  68812. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68813. if ($async$errorCode === 1)
  68814. return A._asyncRethrow($async$result, $async$completer);
  68815. while (true)
  68816. switch ($async$goto) {
  68817. case 0:
  68818. // Function start
  68819. oldContent = $async$self._async_environment0$_content;
  68820. $async$self._async_environment0$_content = $content;
  68821. $async$goto = 2;
  68822. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  68823. case 2:
  68824. // returning from await.
  68825. $async$self._async_environment0$_content = oldContent;
  68826. // implicit return
  68827. return A._asyncReturn(null, $async$completer);
  68828. }
  68829. });
  68830. return A._asyncStartSync($async$withContent$2, $async$completer);
  68831. },
  68832. asMixin$1(callback) {
  68833. var $async$goto = 0,
  68834. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68835. $async$self = this, oldInMixin;
  68836. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68837. if ($async$errorCode === 1)
  68838. return A._asyncRethrow($async$result, $async$completer);
  68839. while (true)
  68840. switch ($async$goto) {
  68841. case 0:
  68842. // Function start
  68843. oldInMixin = $async$self._async_environment0$_inMixin;
  68844. $async$self._async_environment0$_inMixin = true;
  68845. $async$goto = 2;
  68846. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  68847. case 2:
  68848. // returning from await.
  68849. $async$self._async_environment0$_inMixin = oldInMixin;
  68850. // implicit return
  68851. return A._asyncReturn(null, $async$completer);
  68852. }
  68853. });
  68854. return A._asyncStartSync($async$asMixin$1, $async$completer);
  68855. },
  68856. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  68857. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  68858. },
  68859. scope$1$1(callback, $T) {
  68860. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  68861. },
  68862. scope$1$2$when(callback, when, $T) {
  68863. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  68864. },
  68865. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  68866. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  68867. },
  68868. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  68869. var $async$goto = 0,
  68870. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68871. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  68872. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68873. if ($async$errorCode === 1) {
  68874. $async$currentError = $async$result;
  68875. $async$goto = $async$handler;
  68876. }
  68877. while (true)
  68878. switch ($async$goto) {
  68879. case 0:
  68880. // Function start
  68881. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  68882. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  68883. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  68884. $async$goto = !when ? 3 : 4;
  68885. break;
  68886. case 3:
  68887. // then
  68888. $async$handler = 5;
  68889. $async$goto = 8;
  68890. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  68891. case 8:
  68892. // returning from await.
  68893. t1 = $async$result;
  68894. $async$returnValue = t1;
  68895. $async$next = [1];
  68896. // goto finally
  68897. $async$goto = 6;
  68898. break;
  68899. $async$next.push(7);
  68900. // goto finally
  68901. $async$goto = 6;
  68902. break;
  68903. case 5:
  68904. // uncaught
  68905. $async$next = [2];
  68906. case 6:
  68907. // finally
  68908. $async$handler = 2;
  68909. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  68910. // goto the next finally handler
  68911. $async$goto = $async$next.pop();
  68912. break;
  68913. case 7:
  68914. // after finally
  68915. case 4:
  68916. // join
  68917. t1 = $async$self._async_environment0$_variables;
  68918. t2 = type$.String;
  68919. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  68920. t3 = $async$self._async_environment0$_variableNodes;
  68921. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  68922. t4 = $async$self._async_environment0$_functions;
  68923. t5 = type$.AsyncCallable_2;
  68924. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  68925. t6 = $async$self._async_environment0$_mixins;
  68926. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  68927. t5 = $async$self._async_environment0$_nestedForwardedModules;
  68928. if (t5 != null)
  68929. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  68930. $async$handler = 9;
  68931. $async$goto = 12;
  68932. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  68933. case 12:
  68934. // returning from await.
  68935. t2 = $async$result;
  68936. $async$returnValue = t2;
  68937. $async$next = [1];
  68938. // goto finally
  68939. $async$goto = 10;
  68940. break;
  68941. $async$next.push(11);
  68942. // goto finally
  68943. $async$goto = 10;
  68944. break;
  68945. case 9:
  68946. // uncaught
  68947. $async$next = [2];
  68948. case 10:
  68949. // finally
  68950. $async$handler = 2;
  68951. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  68952. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  68953. 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();) {
  68954. $name = t1.get$current(t1);
  68955. t2.remove$1(0, $name);
  68956. }
  68957. B.JSArray_methods.removeLast$0(t3);
  68958. 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();) {
  68959. name0 = t1.get$current(t1);
  68960. t2.remove$1(0, name0);
  68961. }
  68962. 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();) {
  68963. name1 = t1.get$current(t1);
  68964. t2.remove$1(0, name1);
  68965. }
  68966. t1 = $async$self._async_environment0$_nestedForwardedModules;
  68967. if (t1 != null)
  68968. t1.pop();
  68969. // goto the next finally handler
  68970. $async$goto = $async$next.pop();
  68971. break;
  68972. case 11:
  68973. // after finally
  68974. case 1:
  68975. // return
  68976. return A._asyncReturn($async$returnValue, $async$completer);
  68977. case 2:
  68978. // rethrow
  68979. return A._asyncRethrow($async$currentError, $async$completer);
  68980. }
  68981. });
  68982. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  68983. },
  68984. toImplicitConfiguration$0() {
  68985. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  68986. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  68987. for (t1 = this._async_environment0$_variables, t2 = this._async_environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  68988. values = t1[i];
  68989. nodes = t2[i];
  68990. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68991. t4 = t3.get$current(t3);
  68992. t5 = t4.key;
  68993. t4 = t4.value;
  68994. t6 = nodes.$index(0, t5);
  68995. t6.toString;
  68996. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  68997. }
  68998. }
  68999. return new A.Configuration0(configuration, null);
  69000. },
  69001. toModule$2(css, extensionStore) {
  69002. return A._EnvironmentModule__EnvironmentModule2(this, css, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  69003. },
  69004. toDummyModule$0() {
  69005. 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()));
  69006. },
  69007. _async_environment0$_getModule$1(namespace) {
  69008. var module = this._async_environment0$_modules.$index(0, namespace);
  69009. if (module != null)
  69010. return module;
  69011. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  69012. },
  69013. _async_environment0$_fromOneModule$1$3($name, type, callback, $T) {
  69014. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  69015. nestedForwardedModules = this._async_environment0$_nestedForwardedModules;
  69016. if (nestedForwardedModules != null)
  69017. 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();) {
  69018. t3 = t1.__internal$_current;
  69019. 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();) {
  69020. t5 = t3.__internal$_current;
  69021. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  69022. if (value != null)
  69023. return value;
  69024. }
  69025. }
  69026. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  69027. value = callback.call$1(t1.__js_helper$_current);
  69028. if (value != null)
  69029. return value;
  69030. }
  69031. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  69032. t4 = t2.__js_helper$_current;
  69033. valueInModule = callback.call$1(t4);
  69034. if (valueInModule == null)
  69035. continue;
  69036. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  69037. if (identityFromModule.$eq(0, identity))
  69038. continue;
  69039. if (value != null) {
  69040. spans = t1.get$entries(t1).map$1$1(0, new A.AsyncEnvironment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  69041. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  69042. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  69043. t4 = t1.get$current(t1);
  69044. if (t4 != null)
  69045. t2.$indexSet(0, t4, t3);
  69046. }
  69047. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  69048. }
  69049. identity = identityFromModule;
  69050. value = valueInModule;
  69051. }
  69052. return value;
  69053. }
  69054. };
  69055. A.AsyncEnvironment_importForwards_closure2.prototype = {
  69056. call$1(module) {
  69057. var t1 = module.get$variables();
  69058. return t1.get$keys(t1);
  69059. },
  69060. $signature: 121
  69061. };
  69062. A.AsyncEnvironment_importForwards_closure3.prototype = {
  69063. call$1(module) {
  69064. var t1 = module.get$functions(module);
  69065. return t1.get$keys(t1);
  69066. },
  69067. $signature: 121
  69068. };
  69069. A.AsyncEnvironment_importForwards_closure4.prototype = {
  69070. call$1(module) {
  69071. var t1 = module.get$mixins();
  69072. return t1.get$keys(t1);
  69073. },
  69074. $signature: 121
  69075. };
  69076. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  69077. call$1(module) {
  69078. return module.get$variables().$index(0, this.name);
  69079. },
  69080. $signature: 295
  69081. };
  69082. A.AsyncEnvironment_setVariable_closure2.prototype = {
  69083. call$0() {
  69084. var t1 = this.$this;
  69085. t1._async_environment0$_lastVariableName = this.name;
  69086. return t1._async_environment0$_lastVariableIndex = 0;
  69087. },
  69088. $signature: 12
  69089. };
  69090. A.AsyncEnvironment_setVariable_closure3.prototype = {
  69091. call$1(module) {
  69092. return module.get$variables().containsKey$1(this.name) ? module : null;
  69093. },
  69094. $signature: 296
  69095. };
  69096. A.AsyncEnvironment_setVariable_closure4.prototype = {
  69097. call$0() {
  69098. var t1 = this.$this,
  69099. t2 = t1._async_environment0$_variableIndex$1(this.name);
  69100. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  69101. },
  69102. $signature: 12
  69103. };
  69104. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  69105. call$1(module) {
  69106. return module.get$functions(module).$index(0, this.name);
  69107. },
  69108. $signature: 192
  69109. };
  69110. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  69111. call$1(module) {
  69112. return module.get$mixins().$index(0, this.name);
  69113. },
  69114. $signature: 192
  69115. };
  69116. A.AsyncEnvironment_toModule_closure0.prototype = {
  69117. call$1(modules) {
  69118. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  69119. },
  69120. $signature: 193
  69121. };
  69122. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  69123. call$1(modules) {
  69124. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  69125. },
  69126. $signature: 193
  69127. };
  69128. A.AsyncEnvironment__fromOneModule_closure0.prototype = {
  69129. call$1(entry) {
  69130. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.AsyncEnvironment__fromOneModule__closure0(entry, this.T));
  69131. },
  69132. $signature: 299
  69133. };
  69134. A.AsyncEnvironment__fromOneModule__closure0.prototype = {
  69135. call$1(_) {
  69136. return J.get$span$z(this.entry.value);
  69137. },
  69138. $signature() {
  69139. return this.T._eval$1("FileSpan(0)");
  69140. }
  69141. };
  69142. A._EnvironmentModule2.prototype = {
  69143. get$url(_) {
  69144. var t1 = this.css;
  69145. return t1.get$span(t1).file.url;
  69146. },
  69147. setVariable$3($name, value, nodeWithSpan) {
  69148. var t1, t2,
  69149. module = this._async_environment0$_modulesByVariable.$index(0, $name);
  69150. if (module != null) {
  69151. module.setVariable$3($name, value, nodeWithSpan);
  69152. return;
  69153. }
  69154. t1 = this._async_environment0$_environment;
  69155. t2 = t1._async_environment0$_variables;
  69156. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  69157. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  69158. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  69159. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  69160. return;
  69161. },
  69162. variableIdentity$1($name) {
  69163. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  69164. return module == null ? this : module.variableIdentity$1($name);
  69165. },
  69166. cloneCss$0() {
  69167. var newCssAndExtensionStore, _this = this;
  69168. if (!_this.transitivelyContainsCss)
  69169. return _this;
  69170. newCssAndExtensionStore = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  69171. 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);
  69172. },
  69173. toString$0(_) {
  69174. var t1 = this.css;
  69175. if (t1.get$span(t1).file.url == null)
  69176. t1 = "<unknown url>";
  69177. else {
  69178. t1 = t1.get$span(t1);
  69179. t1 = $.$get$context().prettyUri$1(t1.file.url);
  69180. }
  69181. return t1;
  69182. },
  69183. $isModule0: 1,
  69184. get$upstream() {
  69185. return this.upstream;
  69186. },
  69187. get$variables() {
  69188. return this.variables;
  69189. },
  69190. get$variableNodes() {
  69191. return this.variableNodes;
  69192. },
  69193. get$functions(receiver) {
  69194. return this.functions;
  69195. },
  69196. get$mixins() {
  69197. return this.mixins;
  69198. },
  69199. get$extensionStore() {
  69200. return this.extensionStore;
  69201. },
  69202. get$css(receiver) {
  69203. return this.css;
  69204. },
  69205. get$transitivelyContainsCss() {
  69206. return this.transitivelyContainsCss;
  69207. },
  69208. get$transitivelyContainsExtensions() {
  69209. return this.transitivelyContainsExtensions;
  69210. }
  69211. };
  69212. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  69213. call$1(module) {
  69214. return module.get$variables();
  69215. },
  69216. $signature: 300
  69217. };
  69218. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  69219. call$1(module) {
  69220. return module.get$variableNodes();
  69221. },
  69222. $signature: 301
  69223. };
  69224. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  69225. call$1(module) {
  69226. return module.get$functions(module);
  69227. },
  69228. $signature: 194
  69229. };
  69230. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  69231. call$1(module) {
  69232. return module.get$mixins();
  69233. },
  69234. $signature: 194
  69235. };
  69236. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  69237. call$1(module) {
  69238. return module.get$transitivelyContainsCss();
  69239. },
  69240. $signature: 117
  69241. };
  69242. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  69243. call$1(module) {
  69244. return module.get$transitivelyContainsExtensions();
  69245. },
  69246. $signature: 117
  69247. };
  69248. A._EvaluateVisitor2.prototype = {
  69249. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  69250. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  69251. _s20_ = "$name, $module: null",
  69252. _s9_ = "sass:meta",
  69253. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  69254. 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),
  69255. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure38(_this), _s9_)], t1);
  69256. t1 = type$.AsyncBuiltInCallable_2;
  69257. t2 = A.List_List$of($.$get$global6(), true, t1);
  69258. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  69259. B.JSArray_methods.addAll$1(t2, metaFunctions);
  69260. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  69261. 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) {
  69262. module = t1[_i];
  69263. t3.$indexSet(0, module.url, module);
  69264. }
  69265. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  69266. B.JSArray_methods.addAll$1(t1, functions);
  69267. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  69268. B.JSArray_methods.addAll$1(t1, metaFunctions);
  69269. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  69270. $function = t1[_i];
  69271. t4 = J.get$name$x($function);
  69272. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  69273. }
  69274. },
  69275. run$2(_, importer, node) {
  69276. return this.run$body$_EvaluateVisitor0(0, importer, node);
  69277. },
  69278. run$body$_EvaluateVisitor0(_, importer, node) {
  69279. var $async$goto = 0,
  69280. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  69281. $async$returnValue, $async$self = this, t1;
  69282. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69283. if ($async$errorCode === 1)
  69284. return A._asyncRethrow($async$result, $async$completer);
  69285. while (true)
  69286. switch ($async$goto) {
  69287. case 0:
  69288. // Function start
  69289. t1 = type$.nullable_Object;
  69290. $async$returnValue = A.runZoned(new A._EvaluateVisitor_run_closure2($async$self, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext2($async$self, node)], t1, t1), type$.FutureOr_EvaluateResult_2);
  69291. // goto return
  69292. $async$goto = 1;
  69293. break;
  69294. case 1:
  69295. // return
  69296. return A._asyncReturn($async$returnValue, $async$completer);
  69297. }
  69298. });
  69299. return A._asyncStartSync($async$run$2, $async$completer);
  69300. },
  69301. _async_evaluate0$_assertInModule$1$2(value, $name) {
  69302. if (value != null)
  69303. return value;
  69304. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  69305. },
  69306. _async_evaluate0$_assertInModule$2(value, $name) {
  69307. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  69308. },
  69309. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  69310. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  69311. },
  69312. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  69313. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  69314. },
  69315. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  69316. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  69317. },
  69318. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  69319. var $async$goto = 0,
  69320. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69321. $async$returnValue, $async$self = this, t1, t2, builtInModule;
  69322. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69323. if ($async$errorCode === 1)
  69324. return A._asyncRethrow($async$result, $async$completer);
  69325. while (true)
  69326. switch ($async$goto) {
  69327. case 0:
  69328. // Function start
  69329. builtInModule = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  69330. $async$goto = builtInModule != null ? 3 : 4;
  69331. break;
  69332. case 3:
  69333. // then
  69334. if (configuration instanceof A.ExplicitConfiguration0) {
  69335. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  69336. t2 = configuration.nodeWithSpan;
  69337. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  69338. }
  69339. $async$goto = 5;
  69340. 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);
  69341. case 5:
  69342. // returning from await.
  69343. // goto return
  69344. $async$goto = 1;
  69345. break;
  69346. case 4:
  69347. // join
  69348. $async$goto = 6;
  69349. 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);
  69350. case 6:
  69351. // returning from await.
  69352. case 1:
  69353. // return
  69354. return A._asyncReturn($async$returnValue, $async$completer);
  69355. }
  69356. });
  69357. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  69358. },
  69359. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  69360. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  69361. },
  69362. _async_evaluate0$_execute$2(importer, stylesheet) {
  69363. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  69364. },
  69365. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  69366. var $async$goto = 0,
  69367. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  69368. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, url, t1, alreadyLoaded;
  69369. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69370. if ($async$errorCode === 1)
  69371. return A._asyncRethrow($async$result, $async$completer);
  69372. while (true)
  69373. switch ($async$goto) {
  69374. case 0:
  69375. // Function start
  69376. url = stylesheet.span.file.url;
  69377. t1 = $async$self._async_evaluate0$_modules;
  69378. alreadyLoaded = t1.$index(0, url);
  69379. if (alreadyLoaded != null) {
  69380. t1 = configuration == null;
  69381. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  69382. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  69383. t3 = t2._configuration$__originalConfiguration;
  69384. t2 = t3 == null ? t2 : t3;
  69385. t3 = currentConfiguration._configuration$__originalConfiguration;
  69386. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  69387. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  69388. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  69389. existingSpan = t2 == null ? null : J.get$span$z(t2);
  69390. if (t1) {
  69391. t1 = currentConfiguration.nodeWithSpan;
  69392. configurationSpan = t1.get$span(t1);
  69393. } else
  69394. configurationSpan = null;
  69395. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  69396. if (existingSpan != null)
  69397. t1.$indexSet(0, existingSpan, "original load");
  69398. if (configurationSpan != null)
  69399. t1.$indexSet(0, configurationSpan, "configuration");
  69400. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  69401. }
  69402. $async$returnValue = alreadyLoaded;
  69403. // goto return
  69404. $async$goto = 1;
  69405. break;
  69406. }
  69407. environment = A.AsyncEnvironment$0();
  69408. css = A._Cell$();
  69409. extensionStore = A.ExtensionStore$0();
  69410. $async$goto = 3;
  69411. 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);
  69412. case 3:
  69413. // returning from await.
  69414. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  69415. if (url != null) {
  69416. t1.$indexSet(0, url, module);
  69417. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  69418. if (nodeWithSpan != null)
  69419. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  69420. }
  69421. $async$returnValue = module;
  69422. // goto return
  69423. $async$goto = 1;
  69424. break;
  69425. case 1:
  69426. // return
  69427. return A._asyncReturn($async$returnValue, $async$completer);
  69428. }
  69429. });
  69430. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  69431. },
  69432. _async_evaluate0$_addOutOfOrderImports$0() {
  69433. var t1, t2, _this = this, _s5_ = "_root",
  69434. _s13_ = "_endOfImports",
  69435. outOfOrderImports = _this._async_evaluate0$_outOfOrderImports;
  69436. if (outOfOrderImports == null)
  69437. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  69438. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  69439. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
  69440. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  69441. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  69442. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  69443. return t1;
  69444. },
  69445. _async_evaluate0$_combineCss$2$clone(root, clone) {
  69446. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  69447. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure8())) {
  69448. selectors = root.get$extensionStore().get$simpleSelectors();
  69449. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure9(selectors)));
  69450. if (unsatisfiedExtension != null)
  69451. _this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  69452. return root.get$css(root);
  69453. }
  69454. sortedModules = _this._async_evaluate0$_topologicalModules$1(root);
  69455. if (clone) {
  69456. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<AsyncCallable0>>");
  69457. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure10(), t1), true, t1._eval$1("ListIterable.E"));
  69458. }
  69459. _this._async_evaluate0$_extendModules$1(sortedModules);
  69460. t1 = type$.JSArray_CssNode_2;
  69461. imports = A._setArrayType([], t1);
  69462. css = A._setArrayType([], t1);
  69463. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  69464. t3 = t1.__internal$_current;
  69465. if (t3 == null)
  69466. t3 = t2._as(t3);
  69467. t3 = t3.get$css(t3);
  69468. statements = t3.get$children(t3);
  69469. index = _this._async_evaluate0$_indexAfterImports$1(statements);
  69470. t3 = J.getInterceptor$ax(statements);
  69471. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  69472. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  69473. }
  69474. t1 = B.JSArray_methods.$add(imports, css);
  69475. t2 = root.get$css(root);
  69476. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  69477. },
  69478. _async_evaluate0$_combineCss$1(root) {
  69479. return this._async_evaluate0$_combineCss$2$clone(root, false);
  69480. },
  69481. _async_evaluate0$_extendModules$1(sortedModules) {
  69482. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  69483. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  69484. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  69485. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  69486. t2 = t1.get$current(t1);
  69487. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  69488. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  69489. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  69490. t3 = t2.get$extensionStore().get$addExtensions();
  69491. if ($self != null)
  69492. t3.call$1($self);
  69493. t3 = t2.get$extensionStore();
  69494. if (t3.get$isEmpty(t3))
  69495. continue;
  69496. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  69497. upstream = t3[_i];
  69498. url = upstream.get$url(upstream);
  69499. if (url == null)
  69500. continue;
  69501. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t2.get$extensionStore());
  69502. }
  69503. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  69504. }
  69505. if (unsatisfiedExtensions._collection$_length !== 0)
  69506. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  69507. },
  69508. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  69509. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  69510. },
  69511. _async_evaluate0$_topologicalModules$1(root) {
  69512. var t1 = type$.Module_AsyncCallable_2,
  69513. sorted = A.QueueList$(null, t1);
  69514. new A._EvaluateVisitor__topologicalModules_visitModule2(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  69515. return sorted;
  69516. },
  69517. _async_evaluate0$_indexAfterImports$1(statements) {
  69518. var t1, t2, t3, lastImport, i, statement;
  69519. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  69520. statement = t1.$index(statements, i);
  69521. if (t3._is(statement))
  69522. lastImport = i;
  69523. else if (!t2._is(statement))
  69524. break;
  69525. }
  69526. return lastImport + 1;
  69527. },
  69528. visitStylesheet$1(node) {
  69529. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  69530. },
  69531. visitStylesheet$body$_EvaluateVisitor0(node) {
  69532. var $async$goto = 0,
  69533. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69534. $async$returnValue, $async$self = this, t1, t2, _i;
  69535. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69536. if ($async$errorCode === 1)
  69537. return A._asyncRethrow($async$result, $async$completer);
  69538. while (true)
  69539. switch ($async$goto) {
  69540. case 0:
  69541. // Function start
  69542. t1 = node.children, t2 = t1.length, _i = 0;
  69543. case 3:
  69544. // for condition
  69545. if (!(_i < t2)) {
  69546. // goto after for
  69547. $async$goto = 5;
  69548. break;
  69549. }
  69550. $async$goto = 6;
  69551. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  69552. case 6:
  69553. // returning from await.
  69554. case 4:
  69555. // for update
  69556. ++_i;
  69557. // goto for condition
  69558. $async$goto = 3;
  69559. break;
  69560. case 5:
  69561. // after for
  69562. $async$returnValue = null;
  69563. // goto return
  69564. $async$goto = 1;
  69565. break;
  69566. case 1:
  69567. // return
  69568. return A._asyncReturn($async$returnValue, $async$completer);
  69569. }
  69570. });
  69571. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  69572. },
  69573. visitAtRootRule$1(node) {
  69574. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  69575. },
  69576. visitAtRootRule$body$_EvaluateVisitor0(node) {
  69577. var $async$goto = 0,
  69578. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69579. $async$returnValue, $async$self = this, t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, unparsedQuery, query, $parent, included, $async$temp1, $async$temp2;
  69580. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69581. if ($async$errorCode === 1)
  69582. return A._asyncRethrow($async$result, $async$completer);
  69583. while (true)
  69584. switch ($async$goto) {
  69585. case 0:
  69586. // Function start
  69587. unparsedQuery = node.query;
  69588. $async$goto = unparsedQuery != null ? 3 : 5;
  69589. break;
  69590. case 3:
  69591. // then
  69592. $async$temp1 = unparsedQuery;
  69593. $async$temp2 = A;
  69594. $async$goto = 6;
  69595. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  69596. case 6:
  69597. // returning from await.
  69598. $async$result = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor_visitAtRootRule_closure8($async$self, $async$result));
  69599. // goto join
  69600. $async$goto = 4;
  69601. break;
  69602. case 5:
  69603. // else
  69604. $async$result = B.AtRootQuery_UsS0;
  69605. case 4:
  69606. // join
  69607. query = $async$result;
  69608. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  69609. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  69610. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  69611. if (!query.excludes$1($parent))
  69612. included.push($parent);
  69613. grandparent = $parent._node0$_parent;
  69614. if (grandparent == null)
  69615. throw A.wrapException(A.StateError$(string$.CssNod));
  69616. }
  69617. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  69618. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  69619. break;
  69620. case 7:
  69621. // then
  69622. $async$goto = 9;
  69623. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure9($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  69624. case 9:
  69625. // returning from await.
  69626. $async$returnValue = null;
  69627. // goto return
  69628. $async$goto = 1;
  69629. break;
  69630. case 8:
  69631. // join
  69632. if (included.length !== 0) {
  69633. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  69634. 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) {
  69635. t3 = t1.__internal$_current;
  69636. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  69637. copy.addChild$1(outerCopy);
  69638. }
  69639. root.addChild$1(outerCopy);
  69640. } else
  69641. innerCopy = root;
  69642. $async$goto = 10;
  69643. return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure10($async$self, node)), $async$visitAtRootRule$1);
  69644. case 10:
  69645. // returning from await.
  69646. $async$returnValue = null;
  69647. // goto return
  69648. $async$goto = 1;
  69649. break;
  69650. case 1:
  69651. // return
  69652. return A._asyncReturn($async$returnValue, $async$completer);
  69653. }
  69654. });
  69655. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  69656. },
  69657. _async_evaluate0$_trimIncluded$1(nodes) {
  69658. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  69659. _s22_ = " to be an ancestor of ";
  69660. if (nodes.length === 0)
  69661. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  69662. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  69663. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  69664. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  69665. grandparent = $parent._node0$_parent;
  69666. if (grandparent == null)
  69667. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  69668. }
  69669. if (innermostContiguous == null)
  69670. innermostContiguous = i;
  69671. grandparent = $parent._node0$_parent;
  69672. if (grandparent == null)
  69673. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  69674. }
  69675. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  69676. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  69677. innermostContiguous.toString;
  69678. root = nodes[innermostContiguous];
  69679. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  69680. return root;
  69681. },
  69682. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  69683. var _this = this,
  69684. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  69685. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  69686. if (t1 !== query.include)
  69687. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  69688. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  69689. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  69690. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  69691. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  69692. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  69693. },
  69694. visitContentBlock$1(node) {
  69695. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  69696. },
  69697. visitContentRule$1(node) {
  69698. return this.visitContentRule$body$_EvaluateVisitor0(node);
  69699. },
  69700. visitContentRule$body$_EvaluateVisitor0(node) {
  69701. var $async$goto = 0,
  69702. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69703. $async$returnValue, $async$self = this, $content;
  69704. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69705. if ($async$errorCode === 1)
  69706. return A._asyncRethrow($async$result, $async$completer);
  69707. while (true)
  69708. switch ($async$goto) {
  69709. case 0:
  69710. // Function start
  69711. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  69712. if ($content == null) {
  69713. $async$returnValue = null;
  69714. // goto return
  69715. $async$goto = 1;
  69716. break;
  69717. }
  69718. $async$goto = 3;
  69719. 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);
  69720. case 3:
  69721. // returning from await.
  69722. $async$returnValue = null;
  69723. // goto return
  69724. $async$goto = 1;
  69725. break;
  69726. case 1:
  69727. // return
  69728. return A._asyncReturn($async$returnValue, $async$completer);
  69729. }
  69730. });
  69731. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  69732. },
  69733. visitDebugRule$1(node) {
  69734. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  69735. },
  69736. visitDebugRule$body$_EvaluateVisitor0(node) {
  69737. var $async$goto = 0,
  69738. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69739. $async$returnValue, $async$self = this, value, t1;
  69740. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69741. if ($async$errorCode === 1)
  69742. return A._asyncRethrow($async$result, $async$completer);
  69743. while (true)
  69744. switch ($async$goto) {
  69745. case 0:
  69746. // Function start
  69747. $async$goto = 3;
  69748. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  69749. case 3:
  69750. // returning from await.
  69751. value = $async$result;
  69752. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  69753. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  69754. $async$returnValue = null;
  69755. // goto return
  69756. $async$goto = 1;
  69757. break;
  69758. case 1:
  69759. // return
  69760. return A._asyncReturn($async$returnValue, $async$completer);
  69761. }
  69762. });
  69763. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  69764. },
  69765. visitDeclaration$1(node) {
  69766. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  69767. },
  69768. visitDeclaration$body$_EvaluateVisitor0(node) {
  69769. var $async$goto = 0,
  69770. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69771. $async$returnValue, $async$self = this, t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName;
  69772. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69773. if ($async$errorCode === 1)
  69774. return A._asyncRethrow($async$result, $async$completer);
  69775. while (true)
  69776. switch ($async$goto) {
  69777. case 0:
  69778. // Function start
  69779. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  69780. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  69781. t1 = node.name;
  69782. $async$goto = 3;
  69783. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  69784. case 3:
  69785. // returning from await.
  69786. $name = $async$result;
  69787. t2 = $async$self._async_evaluate0$_declarationName;
  69788. if (t2 != null)
  69789. $name = new A.CssValue0(t2 + "-" + A.S($name.get$value($name)), $name.get$span($name), type$.CssValue_String_2);
  69790. t2 = node.value;
  69791. $async$goto = 4;
  69792. return A._asyncAwait(A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure5($async$self)), $async$visitDeclaration$1);
  69793. case 4:
  69794. // returning from await.
  69795. cssValue = $async$result;
  69796. t3 = cssValue != null;
  69797. if (t3)
  69798. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  69799. else
  69800. t4 = false;
  69801. if (t4) {
  69802. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  69803. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  69804. if ($async$self._async_evaluate0$_sourceMap) {
  69805. t2 = A.NullableExtension_andThen0(t2, $async$self.get$_async_evaluate0$_expressionNode());
  69806. t2 = t2 == null ? null : J.get$span$z(t2);
  69807. } else
  69808. t2 = null;
  69809. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  69810. } else if (J.startsWith$1$s($name.get$value($name), "--") && t3)
  69811. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  69812. children = node.children;
  69813. $async$goto = children != null ? 5 : 6;
  69814. break;
  69815. case 5:
  69816. // then
  69817. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  69818. $async$self._async_evaluate0$_declarationName = $name.get$value($name);
  69819. $async$goto = 7;
  69820. 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);
  69821. case 7:
  69822. // returning from await.
  69823. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  69824. case 6:
  69825. // join
  69826. $async$returnValue = null;
  69827. // goto return
  69828. $async$goto = 1;
  69829. break;
  69830. case 1:
  69831. // return
  69832. return A._asyncReturn($async$returnValue, $async$completer);
  69833. }
  69834. });
  69835. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  69836. },
  69837. visitEachRule$1(node) {
  69838. return this.visitEachRule$body$_EvaluateVisitor0(node);
  69839. },
  69840. visitEachRule$body$_EvaluateVisitor0(node) {
  69841. var $async$goto = 0,
  69842. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69843. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, setVariables;
  69844. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69845. if ($async$errorCode === 1)
  69846. return A._asyncRethrow($async$result, $async$completer);
  69847. while (true)
  69848. switch ($async$goto) {
  69849. case 0:
  69850. // Function start
  69851. t1 = node.list;
  69852. $async$goto = 3;
  69853. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  69854. case 3:
  69855. // returning from await.
  69856. list = $async$result;
  69857. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  69858. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure8($async$self, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure9($async$self, node, nodeWithSpan);
  69859. $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);
  69860. // goto return
  69861. $async$goto = 1;
  69862. break;
  69863. case 1:
  69864. // return
  69865. return A._asyncReturn($async$returnValue, $async$completer);
  69866. }
  69867. });
  69868. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  69869. },
  69870. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  69871. var i,
  69872. list = value.get$asList(),
  69873. t1 = variables.length,
  69874. minLength = Math.min(t1, list.length);
  69875. for (i = 0; i < minLength; ++i)
  69876. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  69877. for (i = minLength; i < t1; ++i)
  69878. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  69879. },
  69880. visitErrorRule$1(node) {
  69881. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  69882. },
  69883. visitErrorRule$body$_EvaluateVisitor0(node) {
  69884. var $async$goto = 0,
  69885. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  69886. $async$self = this, $async$temp1, $async$temp2;
  69887. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69888. if ($async$errorCode === 1)
  69889. return A._asyncRethrow($async$result, $async$completer);
  69890. while (true)
  69891. switch ($async$goto) {
  69892. case 0:
  69893. // Function start
  69894. $async$temp1 = A;
  69895. $async$temp2 = J;
  69896. $async$goto = 2;
  69897. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  69898. case 2:
  69899. // returning from await.
  69900. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  69901. // implicit return
  69902. return A._asyncReturn(null, $async$completer);
  69903. }
  69904. });
  69905. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  69906. },
  69907. visitExtendRule$1(node) {
  69908. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  69909. },
  69910. visitExtendRule$body$_EvaluateVisitor0(node) {
  69911. var $async$goto = 0,
  69912. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69913. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, styleRule;
  69914. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69915. if ($async$errorCode === 1)
  69916. return A._asyncRethrow($async$result, $async$completer);
  69917. while (true)
  69918. switch ($async$goto) {
  69919. case 0:
  69920. // Function start
  69921. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  69922. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  69923. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  69924. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  69925. complex = t1[_i];
  69926. if (!complex.accept$1(B._IsBogusVisitor_true0))
  69927. continue;
  69928. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  69929. complex.accept$1(visitor);
  69930. t8 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  69931. t9 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  69932. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan0(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  69933. }
  69934. $async$goto = 3;
  69935. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  69936. case 3:
  69937. // returning from await.
  69938. targetText = $async$result;
  69939. for (t1 = $async$self._async_evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure2($async$self, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  69940. complex = t1[_i];
  69941. if (complex.leadingCombinators.length === 0) {
  69942. t4 = complex.components;
  69943. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  69944. } else
  69945. t4 = false;
  69946. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : null;
  69947. if (compound == null)
  69948. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.get$span(targetText)));
  69949. t4 = compound.components;
  69950. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  69951. if (t5 == null)
  69952. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.get$span(targetText)));
  69953. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, $async$self._async_evaluate0$_mediaQueries);
  69954. }
  69955. $async$returnValue = null;
  69956. // goto return
  69957. $async$goto = 1;
  69958. break;
  69959. case 1:
  69960. // return
  69961. return A._asyncReturn($async$returnValue, $async$completer);
  69962. }
  69963. });
  69964. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  69965. },
  69966. visitAtRule$1(node) {
  69967. return this.visitAtRule$body$_EvaluateVisitor0(node);
  69968. },
  69969. visitAtRule$body$_EvaluateVisitor0(node) {
  69970. var $async$goto = 0,
  69971. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  69972. $async$returnValue, $async$self = this, $name, value, children, wasInKeyframes, wasInUnknownAtRule;
  69973. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69974. if ($async$errorCode === 1)
  69975. return A._asyncRethrow($async$result, $async$completer);
  69976. while (true)
  69977. switch ($async$goto) {
  69978. case 0:
  69979. // Function start
  69980. if ($async$self._async_evaluate0$_declarationName != null)
  69981. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  69982. $async$goto = 3;
  69983. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  69984. case 3:
  69985. // returning from await.
  69986. $name = $async$result;
  69987. $async$goto = 4;
  69988. return A._asyncAwait(A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self)), $async$visitAtRule$1);
  69989. case 4:
  69990. // returning from await.
  69991. value = $async$result;
  69992. children = node.children;
  69993. if (children == null) {
  69994. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  69995. $async$returnValue = null;
  69996. // goto return
  69997. $async$goto = 1;
  69998. break;
  69999. }
  70000. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  70001. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  70002. if (A.unvendor0($name.get$value($name)) === "keyframes")
  70003. $async$self._async_evaluate0$_inKeyframes = true;
  70004. else
  70005. $async$self._async_evaluate0$_inUnknownAtRule = true;
  70006. $async$goto = 5;
  70007. 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, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
  70008. case 5:
  70009. // returning from await.
  70010. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  70011. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  70012. $async$returnValue = null;
  70013. // goto return
  70014. $async$goto = 1;
  70015. break;
  70016. case 1:
  70017. // return
  70018. return A._asyncReturn($async$returnValue, $async$completer);
  70019. }
  70020. });
  70021. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  70022. },
  70023. visitForRule$1(node) {
  70024. return this.visitForRule$body$_EvaluateVisitor0(node);
  70025. },
  70026. visitForRule$body$_EvaluateVisitor0(node) {
  70027. var $async$goto = 0,
  70028. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70029. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  70030. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70031. if ($async$errorCode === 1)
  70032. return A._asyncRethrow($async$result, $async$completer);
  70033. while (true)
  70034. switch ($async$goto) {
  70035. case 0:
  70036. // Function start
  70037. t1 = {};
  70038. t2 = node.from;
  70039. t3 = type$.SassNumber_2;
  70040. $async$goto = 3;
  70041. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  70042. case 3:
  70043. // returning from await.
  70044. fromNumber = $async$result;
  70045. t4 = node.to;
  70046. $async$goto = 4;
  70047. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  70048. case 4:
  70049. // returning from await.
  70050. toNumber = $async$result;
  70051. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  70052. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  70053. direction = from > to ? -1 : 1;
  70054. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  70055. $async$returnValue = null;
  70056. // goto return
  70057. $async$goto = 1;
  70058. break;
  70059. }
  70060. $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);
  70061. // goto return
  70062. $async$goto = 1;
  70063. break;
  70064. case 1:
  70065. // return
  70066. return A._asyncReturn($async$returnValue, $async$completer);
  70067. }
  70068. });
  70069. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  70070. },
  70071. visitForwardRule$1(node) {
  70072. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  70073. },
  70074. visitForwardRule$body$_EvaluateVisitor0(node) {
  70075. var $async$goto = 0,
  70076. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70077. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  70078. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70079. if ($async$errorCode === 1)
  70080. return A._asyncRethrow($async$result, $async$completer);
  70081. while (true)
  70082. switch ($async$goto) {
  70083. case 0:
  70084. // Function start
  70085. oldConfiguration = $async$self._async_evaluate0$_configuration;
  70086. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  70087. t1 = node.configuration;
  70088. t2 = t1.length;
  70089. t3 = node.url;
  70090. $async$goto = t2 !== 0 ? 3 : 5;
  70091. break;
  70092. case 3:
  70093. // then
  70094. $async$goto = 6;
  70095. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  70096. case 6:
  70097. // returning from await.
  70098. newConfiguration = $async$result;
  70099. $async$goto = 7;
  70100. 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);
  70101. case 7:
  70102. // returning from await.
  70103. t3 = type$.String;
  70104. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  70105. for (_i = 0; _i < t2; ++_i) {
  70106. variable = t1[_i];
  70107. if (!variable.isGuarded)
  70108. t4.add$1(0, variable.name);
  70109. }
  70110. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  70111. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  70112. for (_i = 0; _i < t2; ++_i)
  70113. t3.add$1(0, t1[_i].name);
  70114. 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) {
  70115. $name = t2[_i];
  70116. if (!t3.contains$1(0, $name))
  70117. if (!t1.get$isEmpty(t1))
  70118. t1.remove$1(0, $name);
  70119. }
  70120. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  70121. // goto join
  70122. $async$goto = 4;
  70123. break;
  70124. case 5:
  70125. // else
  70126. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  70127. $async$goto = 8;
  70128. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  70129. case 8:
  70130. // returning from await.
  70131. $async$self._async_evaluate0$_configuration = oldConfiguration;
  70132. case 4:
  70133. // join
  70134. $async$returnValue = null;
  70135. // goto return
  70136. $async$goto = 1;
  70137. break;
  70138. case 1:
  70139. // return
  70140. return A._asyncReturn($async$returnValue, $async$completer);
  70141. }
  70142. });
  70143. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  70144. },
  70145. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  70146. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  70147. },
  70148. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  70149. var $async$goto = 0,
  70150. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  70151. $async$returnValue, $async$self = this, t2, t3, _i, variable, t4, t5, variableNodeWithSpan, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  70152. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70153. if ($async$errorCode === 1)
  70154. return A._asyncRethrow($async$result, $async$completer);
  70155. while (true)
  70156. switch ($async$goto) {
  70157. case 0:
  70158. // Function start
  70159. t1 = configuration._configuration$_values;
  70160. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  70161. t2 = node.configuration, t3 = t2.length, _i = 0;
  70162. case 3:
  70163. // for condition
  70164. if (!(_i < t3)) {
  70165. // goto after for
  70166. $async$goto = 5;
  70167. break;
  70168. }
  70169. variable = t2[_i];
  70170. if (variable.isGuarded) {
  70171. t4 = variable.name;
  70172. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  70173. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  70174. newValues.$indexSet(0, t4, t5);
  70175. // goto for update
  70176. $async$goto = 4;
  70177. break;
  70178. }
  70179. }
  70180. t4 = variable.expression;
  70181. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t4);
  70182. $async$temp1 = newValues;
  70183. $async$temp2 = variable.name;
  70184. $async$temp3 = A;
  70185. $async$goto = 6;
  70186. return A._asyncAwait(t4.accept$1($async$self), $async$_async_evaluate0$_addForwardConfiguration$2);
  70187. case 6:
  70188. // returning from await.
  70189. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  70190. case 4:
  70191. // for update
  70192. ++_i;
  70193. // goto for condition
  70194. $async$goto = 3;
  70195. break;
  70196. case 5:
  70197. // after for
  70198. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  70199. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  70200. // goto return
  70201. $async$goto = 1;
  70202. break;
  70203. } else {
  70204. $async$returnValue = new A.Configuration0(newValues, null);
  70205. // goto return
  70206. $async$goto = 1;
  70207. break;
  70208. }
  70209. case 1:
  70210. // return
  70211. return A._asyncReturn($async$returnValue, $async$completer);
  70212. }
  70213. });
  70214. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  70215. },
  70216. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  70217. var t1, t2, t3, t4, _i, $name;
  70218. 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) {
  70219. $name = t2[_i];
  70220. if (except.contains$1(0, $name))
  70221. continue;
  70222. if (!t4.containsKey$1($name))
  70223. if (!t1.get$isEmpty(t1))
  70224. t1.remove$1(0, $name);
  70225. }
  70226. },
  70227. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  70228. var t1, entry;
  70229. if (!(configuration instanceof A.ExplicitConfiguration0))
  70230. return;
  70231. t1 = configuration._configuration$_values;
  70232. if (t1.get$isEmpty(t1))
  70233. return;
  70234. t1 = t1.get$entries(t1);
  70235. entry = t1.get$first(t1);
  70236. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  70237. throw A.wrapException(this._async_evaluate0$_exception$2(t1, entry.value.configurationSpan));
  70238. },
  70239. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  70240. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  70241. },
  70242. visitFunctionRule$1(node) {
  70243. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  70244. },
  70245. visitFunctionRule$body$_EvaluateVisitor0(node) {
  70246. var $async$goto = 0,
  70247. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70248. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  70249. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70250. if ($async$errorCode === 1)
  70251. return A._asyncRethrow($async$result, $async$completer);
  70252. while (true)
  70253. switch ($async$goto) {
  70254. case 0:
  70255. // Function start
  70256. t1 = $async$self._async_evaluate0$_environment;
  70257. t2 = t1.closure$0();
  70258. t3 = $async$self._async_evaluate0$_inDependency;
  70259. t4 = t1._async_environment0$_functions;
  70260. index = t4.length - 1;
  70261. t5 = node.name;
  70262. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  70263. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  70264. $async$returnValue = null;
  70265. // goto return
  70266. $async$goto = 1;
  70267. break;
  70268. case 1:
  70269. // return
  70270. return A._asyncReturn($async$returnValue, $async$completer);
  70271. }
  70272. });
  70273. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  70274. },
  70275. visitIfRule$1(node) {
  70276. return this.visitIfRule$body$_EvaluateVisitor0(node);
  70277. },
  70278. visitIfRule$body$_EvaluateVisitor0(node) {
  70279. var $async$goto = 0,
  70280. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70281. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, _box_0;
  70282. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70283. if ($async$errorCode === 1)
  70284. return A._asyncRethrow($async$result, $async$completer);
  70285. while (true)
  70286. switch ($async$goto) {
  70287. case 0:
  70288. // Function start
  70289. _box_0 = {};
  70290. _box_0.clause = node.lastClause;
  70291. t1 = node.clauses, t2 = t1.length, _i = 0;
  70292. case 3:
  70293. // for condition
  70294. if (!(_i < t2)) {
  70295. // goto after for
  70296. $async$goto = 5;
  70297. break;
  70298. }
  70299. clauseToCheck = t1[_i];
  70300. $async$goto = 6;
  70301. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  70302. case 6:
  70303. // returning from await.
  70304. if ($async$result.get$isTruthy()) {
  70305. _box_0.clause = clauseToCheck;
  70306. // goto after for
  70307. $async$goto = 5;
  70308. break;
  70309. }
  70310. case 4:
  70311. // for update
  70312. ++_i;
  70313. // goto for condition
  70314. $async$goto = 3;
  70315. break;
  70316. case 5:
  70317. // after for
  70318. t1 = _box_0.clause;
  70319. if (t1 == null) {
  70320. $async$returnValue = null;
  70321. // goto return
  70322. $async$goto = 1;
  70323. break;
  70324. }
  70325. $async$goto = 7;
  70326. 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);
  70327. case 7:
  70328. // returning from await.
  70329. $async$returnValue = $async$result;
  70330. // goto return
  70331. $async$goto = 1;
  70332. break;
  70333. case 1:
  70334. // return
  70335. return A._asyncReturn($async$returnValue, $async$completer);
  70336. }
  70337. });
  70338. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  70339. },
  70340. visitImportRule$1(node) {
  70341. return this.visitImportRule$body$_EvaluateVisitor0(node);
  70342. },
  70343. visitImportRule$body$_EvaluateVisitor0(node) {
  70344. var $async$goto = 0,
  70345. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70346. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  70347. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70348. if ($async$errorCode === 1)
  70349. return A._asyncRethrow($async$result, $async$completer);
  70350. while (true)
  70351. switch ($async$goto) {
  70352. case 0:
  70353. // Function start
  70354. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  70355. case 3:
  70356. // for condition
  70357. if (!(_i < t2)) {
  70358. // goto after for
  70359. $async$goto = 5;
  70360. break;
  70361. }
  70362. $import = t1[_i];
  70363. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  70364. break;
  70365. case 6:
  70366. // then
  70367. $async$goto = 9;
  70368. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  70369. case 9:
  70370. // returning from await.
  70371. // goto join
  70372. $async$goto = 7;
  70373. break;
  70374. case 8:
  70375. // else
  70376. $async$goto = 10;
  70377. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  70378. case 10:
  70379. // returning from await.
  70380. case 7:
  70381. // join
  70382. case 4:
  70383. // for update
  70384. ++_i;
  70385. // goto for condition
  70386. $async$goto = 3;
  70387. break;
  70388. case 5:
  70389. // after for
  70390. $async$returnValue = null;
  70391. // goto return
  70392. $async$goto = 1;
  70393. break;
  70394. case 1:
  70395. // return
  70396. return A._asyncReturn($async$returnValue, $async$completer);
  70397. }
  70398. });
  70399. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  70400. },
  70401. _async_evaluate0$_visitDynamicImport$1($import) {
  70402. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  70403. },
  70404. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  70405. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  70406. },
  70407. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  70408. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  70409. },
  70410. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  70411. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  70412. },
  70413. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  70414. var $async$goto = 0,
  70415. $async$completer = A._makeAsyncAwaitCompleter(type$._LoadedStylesheet_2),
  70416. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, t1, t2, t3, t4, exception, message0, $async$exception;
  70417. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70418. if ($async$errorCode === 1) {
  70419. $async$currentError = $async$result;
  70420. $async$goto = $async$handler;
  70421. }
  70422. while (true)
  70423. switch ($async$goto) {
  70424. case 0:
  70425. // Function start
  70426. baseUrl = baseUrl;
  70427. $async$handler = 4;
  70428. $async$self._async_evaluate0$_importSpan = span;
  70429. importCache = $async$self._async_evaluate0$_importCache;
  70430. $async$goto = importCache != null ? 7 : 9;
  70431. break;
  70432. case 7:
  70433. // then
  70434. if (baseUrl == null)
  70435. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  70436. $async$goto = 10;
  70437. return A._asyncAwait(J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), $async$self._async_evaluate0$_importer, baseUrl, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  70438. case 10:
  70439. // returning from await.
  70440. tuple = $async$result;
  70441. $async$goto = tuple != null ? 11 : 12;
  70442. break;
  70443. case 11:
  70444. // then
  70445. isDependency = $async$self._async_evaluate0$_inDependency || tuple.item1 !== $async$self._async_evaluate0$_importer;
  70446. t1 = tuple.item1;
  70447. t2 = tuple.item2;
  70448. t3 = tuple.item3;
  70449. t4 = $async$self._async_evaluate0$_quietDeps && isDependency;
  70450. $async$goto = 13;
  70451. return A._asyncAwait(importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  70452. case 13:
  70453. // returning from await.
  70454. stylesheet = $async$result;
  70455. if (stylesheet != null) {
  70456. $async$self._async_evaluate0$_loadedUrls.add$1(0, tuple.item2);
  70457. t1 = tuple.item1;
  70458. $async$returnValue = new A._LoadedStylesheet2(stylesheet, t1, isDependency);
  70459. $async$next = [1];
  70460. // goto finally
  70461. $async$goto = 5;
  70462. break;
  70463. }
  70464. case 12:
  70465. // join
  70466. // goto join
  70467. $async$goto = 8;
  70468. break;
  70469. case 9:
  70470. // else
  70471. t1 = baseUrl;
  70472. $async$goto = 14;
  70473. 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);
  70474. case 14:
  70475. // returning from await.
  70476. result = $async$result;
  70477. if (result != null) {
  70478. t1 = $async$self._async_evaluate0$_loadedUrls;
  70479. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  70480. $async$returnValue = result;
  70481. $async$next = [1];
  70482. // goto finally
  70483. $async$goto = 5;
  70484. break;
  70485. }
  70486. case 8:
  70487. // join
  70488. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  70489. throw A.wrapException(string$.x22packa);
  70490. else
  70491. throw A.wrapException("Can't find stylesheet to import.");
  70492. $async$next.push(6);
  70493. // goto finally
  70494. $async$goto = 5;
  70495. break;
  70496. case 4:
  70497. // catch
  70498. $async$handler = 3;
  70499. $async$exception = $async$currentError;
  70500. t1 = A.unwrapException($async$exception);
  70501. if (t1 instanceof A.SassException0) {
  70502. error = t1;
  70503. stackTrace = A.getTraceFromException($async$exception);
  70504. t1 = error;
  70505. t2 = J.getInterceptor$z(t1);
  70506. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  70507. } else if (t1 instanceof A.ArgumentError) {
  70508. error0 = t1;
  70509. stackTrace0 = A.getTraceFromException($async$exception);
  70510. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error0)), stackTrace0);
  70511. } else {
  70512. error1 = t1;
  70513. stackTrace1 = A.getTraceFromException($async$exception);
  70514. message = null;
  70515. try {
  70516. message = A._asString(J.get$message$x(error1));
  70517. } catch (exception) {
  70518. message0 = J.toString$0$(error1);
  70519. message = message0;
  70520. }
  70521. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), stackTrace1);
  70522. }
  70523. $async$next.push(6);
  70524. // goto finally
  70525. $async$goto = 5;
  70526. break;
  70527. case 3:
  70528. // uncaught
  70529. $async$next = [2];
  70530. case 5:
  70531. // finally
  70532. $async$handler = 2;
  70533. $async$self._async_evaluate0$_importSpan = null;
  70534. // goto the next finally handler
  70535. $async$goto = $async$next.pop();
  70536. break;
  70537. case 6:
  70538. // after finally
  70539. case 1:
  70540. // return
  70541. return A._asyncReturn($async$returnValue, $async$completer);
  70542. case 2:
  70543. // rethrow
  70544. return A._asyncRethrow($async$currentError, $async$completer);
  70545. }
  70546. });
  70547. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  70548. },
  70549. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  70550. return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport);
  70551. },
  70552. _importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport) {
  70553. var $async$goto = 0,
  70554. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable__LoadedStylesheet_2),
  70555. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  70556. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70557. if ($async$errorCode === 1)
  70558. return A._asyncRethrow($async$result, $async$completer);
  70559. while (true)
  70560. switch ($async$goto) {
  70561. case 0:
  70562. // Function start
  70563. t1 = $async$self._async_evaluate0$_nodeImporter;
  70564. result = t1.loadRelative$3(originalUrl, previous, forImport);
  70565. $async$goto = result != null ? 3 : 5;
  70566. break;
  70567. case 3:
  70568. // then
  70569. isDependency = $async$self._async_evaluate0$_inDependency;
  70570. // goto join
  70571. $async$goto = 4;
  70572. break;
  70573. case 5:
  70574. // else
  70575. $async$goto = 6;
  70576. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  70577. case 6:
  70578. // returning from await.
  70579. result = $async$result;
  70580. if (result == null) {
  70581. $async$returnValue = null;
  70582. // goto return
  70583. $async$goto = 1;
  70584. break;
  70585. }
  70586. isDependency = true;
  70587. case 4:
  70588. // join
  70589. url = result.item2;
  70590. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  70591. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  70592. $async$returnValue = new A._LoadedStylesheet2(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  70593. // goto return
  70594. $async$goto = 1;
  70595. break;
  70596. case 1:
  70597. // return
  70598. return A._asyncReturn($async$returnValue, $async$completer);
  70599. }
  70600. });
  70601. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  70602. },
  70603. _async_evaluate0$_visitStaticImport$1($import) {
  70604. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  70605. },
  70606. _visitStaticImport$body$_EvaluateVisitor0($import) {
  70607. var $async$goto = 0,
  70608. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  70609. $async$self = this, t1, node, $async$temp1, $async$temp2;
  70610. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70611. if ($async$errorCode === 1)
  70612. return A._asyncRethrow($async$result, $async$completer);
  70613. while (true)
  70614. switch ($async$goto) {
  70615. case 0:
  70616. // Function start
  70617. $async$temp1 = A;
  70618. $async$goto = 2;
  70619. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  70620. case 2:
  70621. // returning from await.
  70622. $async$temp2 = $async$result;
  70623. $async$goto = 3;
  70624. return A._asyncAwait(A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue()), $async$_async_evaluate0$_visitStaticImport$1);
  70625. case 3:
  70626. // returning from await.
  70627. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  70628. 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"))
  70629. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  70630. 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)) {
  70631. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  70632. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  70633. } else {
  70634. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  70635. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  70636. }
  70637. // implicit return
  70638. return A._asyncReturn(null, $async$completer);
  70639. }
  70640. });
  70641. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  70642. },
  70643. visitIncludeRule$1(node) {
  70644. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  70645. },
  70646. visitIncludeRule$body$_EvaluateVisitor0(node) {
  70647. var $async$goto = 0,
  70648. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70649. $async$returnValue, $async$self = this, nodeWithSpan, t1, mixin;
  70650. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70651. if ($async$errorCode === 1)
  70652. return A._asyncRethrow($async$result, $async$completer);
  70653. while (true)
  70654. switch ($async$goto) {
  70655. case 0:
  70656. // Function start
  70657. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure11($async$self, node));
  70658. if (mixin == null)
  70659. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", node.span));
  70660. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure12(node));
  70661. $async$goto = type$.AsyncBuiltInCallable_2._is(mixin) ? 3 : 5;
  70662. break;
  70663. case 3:
  70664. // then
  70665. if (node.content != null)
  70666. throw A.wrapException($async$self._async_evaluate0$_exception$2("Mixin doesn't accept a content block.", node.span));
  70667. $async$goto = 6;
  70668. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan), $async$visitIncludeRule$1);
  70669. case 6:
  70670. // returning from await.
  70671. // goto join
  70672. $async$goto = 4;
  70673. break;
  70674. case 5:
  70675. // else
  70676. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin) ? 7 : 9;
  70677. break;
  70678. case 7:
  70679. // then
  70680. t1 = node.content;
  70681. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  70682. 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())));
  70683. $async$goto = 10;
  70684. 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);
  70685. case 10:
  70686. // returning from await.
  70687. // goto join
  70688. $async$goto = 8;
  70689. break;
  70690. case 9:
  70691. // else
  70692. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  70693. case 8:
  70694. // join
  70695. case 4:
  70696. // join
  70697. $async$returnValue = null;
  70698. // goto return
  70699. $async$goto = 1;
  70700. break;
  70701. case 1:
  70702. // return
  70703. return A._asyncReturn($async$returnValue, $async$completer);
  70704. }
  70705. });
  70706. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  70707. },
  70708. visitMixinRule$1(node) {
  70709. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  70710. },
  70711. visitMixinRule$body$_EvaluateVisitor0(node) {
  70712. var $async$goto = 0,
  70713. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70714. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  70715. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70716. if ($async$errorCode === 1)
  70717. return A._asyncRethrow($async$result, $async$completer);
  70718. while (true)
  70719. switch ($async$goto) {
  70720. case 0:
  70721. // Function start
  70722. t1 = $async$self._async_evaluate0$_environment;
  70723. t2 = t1.closure$0();
  70724. t3 = $async$self._async_evaluate0$_inDependency;
  70725. t4 = t1._async_environment0$_mixins;
  70726. index = t4.length - 1;
  70727. t5 = node.name;
  70728. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  70729. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  70730. $async$returnValue = null;
  70731. // goto return
  70732. $async$goto = 1;
  70733. break;
  70734. case 1:
  70735. // return
  70736. return A._asyncReturn($async$returnValue, $async$completer);
  70737. }
  70738. });
  70739. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  70740. },
  70741. visitLoudComment$1(node) {
  70742. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  70743. },
  70744. visitLoudComment$body$_EvaluateVisitor0(node) {
  70745. var $async$goto = 0,
  70746. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70747. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  70748. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70749. if ($async$errorCode === 1)
  70750. return A._asyncRethrow($async$result, $async$completer);
  70751. while (true)
  70752. switch ($async$goto) {
  70753. case 0:
  70754. // Function start
  70755. if ($async$self._async_evaluate0$_inFunction) {
  70756. $async$returnValue = null;
  70757. // goto return
  70758. $async$goto = 1;
  70759. break;
  70760. }
  70761. 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))
  70762. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  70763. t1 = node.text;
  70764. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  70765. $async$temp2 = A;
  70766. $async$goto = 3;
  70767. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  70768. case 3:
  70769. // returning from await.
  70770. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  70771. $async$returnValue = null;
  70772. // goto return
  70773. $async$goto = 1;
  70774. break;
  70775. case 1:
  70776. // return
  70777. return A._asyncReturn($async$returnValue, $async$completer);
  70778. }
  70779. });
  70780. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  70781. },
  70782. visitMediaRule$1(node) {
  70783. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  70784. },
  70785. visitMediaRule$body$_EvaluateVisitor0(node) {
  70786. var $async$goto = 0,
  70787. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70788. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  70789. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70790. if ($async$errorCode === 1)
  70791. return A._asyncRethrow($async$result, $async$completer);
  70792. while (true)
  70793. switch ($async$goto) {
  70794. case 0:
  70795. // Function start
  70796. if ($async$self._async_evaluate0$_declarationName != null)
  70797. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  70798. $async$goto = 3;
  70799. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  70800. case 3:
  70801. // returning from await.
  70802. queries = $async$result;
  70803. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  70804. t1 = mergedQueries == null;
  70805. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  70806. $async$returnValue = null;
  70807. // goto return
  70808. $async$goto = 1;
  70809. break;
  70810. }
  70811. if (t1)
  70812. mergedSources = B.Set_empty4;
  70813. else {
  70814. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  70815. t2.toString;
  70816. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  70817. t3 = $async$self._async_evaluate0$_mediaQueries;
  70818. t3.toString;
  70819. t2.addAll$1(0, t3);
  70820. t2.addAll$1(0, queries);
  70821. mergedSources = t2;
  70822. }
  70823. t1 = t1 ? queries : mergedQueries;
  70824. $async$goto = 4;
  70825. 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);
  70826. case 4:
  70827. // returning from await.
  70828. $async$returnValue = null;
  70829. // goto return
  70830. $async$goto = 1;
  70831. break;
  70832. case 1:
  70833. // return
  70834. return A._asyncReturn($async$returnValue, $async$completer);
  70835. }
  70836. });
  70837. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  70838. },
  70839. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  70840. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  70841. },
  70842. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  70843. var $async$goto = 0,
  70844. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  70845. $async$returnValue, $async$self = this, $async$temp1, $async$temp2;
  70846. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70847. if ($async$errorCode === 1)
  70848. return A._asyncRethrow($async$result, $async$completer);
  70849. while (true)
  70850. switch ($async$goto) {
  70851. case 0:
  70852. // Function start
  70853. $async$temp1 = interpolation;
  70854. $async$temp2 = A;
  70855. $async$goto = 3;
  70856. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  70857. case 3:
  70858. // returning from await.
  70859. $async$returnValue = $async$self._async_evaluate0$_adjustParseError$2($async$temp1, new $async$temp2._EvaluateVisitor__visitMediaQueries_closure2($async$self, $async$result));
  70860. // goto return
  70861. $async$goto = 1;
  70862. break;
  70863. case 1:
  70864. // return
  70865. return A._asyncReturn($async$returnValue, $async$completer);
  70866. }
  70867. });
  70868. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  70869. },
  70870. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  70871. var t1, t2, t3, t4, t5, result,
  70872. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  70873. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  70874. t4 = t1.get$current(t1);
  70875. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  70876. result = t4.merge$1(t5.get$current(t5));
  70877. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  70878. continue;
  70879. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  70880. return null;
  70881. queries.push(t3._as(result).query);
  70882. }
  70883. }
  70884. return queries;
  70885. },
  70886. visitReturnRule$1(node) {
  70887. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  70888. },
  70889. visitReturnRule$body$_EvaluateVisitor0(node) {
  70890. var $async$goto = 0,
  70891. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  70892. $async$returnValue, $async$self = this, t1;
  70893. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70894. if ($async$errorCode === 1)
  70895. return A._asyncRethrow($async$result, $async$completer);
  70896. while (true)
  70897. switch ($async$goto) {
  70898. case 0:
  70899. // Function start
  70900. t1 = node.expression;
  70901. $async$goto = 3;
  70902. return A._asyncAwait(t1.accept$1($async$self), $async$visitReturnRule$1);
  70903. case 3:
  70904. // returning from await.
  70905. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  70906. // goto return
  70907. $async$goto = 1;
  70908. break;
  70909. case 1:
  70910. // return
  70911. return A._asyncReturn($async$returnValue, $async$completer);
  70912. }
  70913. });
  70914. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  70915. },
  70916. visitSilentComment$1(node) {
  70917. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  70918. },
  70919. visitSilentComment$body$_EvaluateVisitor0(node) {
  70920. var $async$goto = 0,
  70921. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70922. $async$returnValue;
  70923. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70924. if ($async$errorCode === 1)
  70925. return A._asyncRethrow($async$result, $async$completer);
  70926. while (true)
  70927. switch ($async$goto) {
  70928. case 0:
  70929. // Function start
  70930. $async$returnValue = null;
  70931. // goto return
  70932. $async$goto = 1;
  70933. break;
  70934. case 1:
  70935. // return
  70936. return A._asyncReturn($async$returnValue, $async$completer);
  70937. }
  70938. });
  70939. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  70940. },
  70941. visitStyleRule$1(node) {
  70942. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  70943. },
  70944. visitStyleRule$body$_EvaluateVisitor0(node) {
  70945. var $async$goto = 0,
  70946. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  70947. $async$returnValue, $async$self = this, t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _box_0;
  70948. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70949. if ($async$errorCode === 1)
  70950. return A._asyncRethrow($async$result, $async$completer);
  70951. while (true)
  70952. switch ($async$goto) {
  70953. case 0:
  70954. // Function start
  70955. _box_0 = {};
  70956. if ($async$self._async_evaluate0$_declarationName != null)
  70957. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  70958. t1 = node.selector;
  70959. $async$goto = 3;
  70960. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$3$trim$warnForColor(t1, true, true), $async$visitStyleRule$1);
  70961. case 3:
  70962. // returning from await.
  70963. selectorText = $async$result;
  70964. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  70965. break;
  70966. case 4:
  70967. // then
  70968. $async$goto = 6;
  70969. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable($async$self._async_evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure23($async$self, selectorText)), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure24($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure25(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  70970. case 6:
  70971. // returning from await.
  70972. $async$returnValue = null;
  70973. // goto return
  70974. $async$goto = 1;
  70975. break;
  70976. case 5:
  70977. // join
  70978. _box_0.parsedSelector = $async$self._async_evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure26($async$self, selectorText));
  70979. _box_0.parsedSelector = $async$self._async_evaluate0$_addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure27(_box_0, $async$self));
  70980. t1 = t1.span;
  70981. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, $async$self._async_evaluate0$_mediaQueries), node.span, _box_0.parsedSelector);
  70982. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  70983. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  70984. $async$goto = 7;
  70985. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure28($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure29(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  70986. case 7:
  70987. // returning from await.
  70988. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  70989. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  70990. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  70991. complex = t2[_i];
  70992. if (!complex.accept$1(B._IsBogusVisitor_true0))
  70993. continue;
  70994. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  70995. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  70996. complex.accept$1(visitor);
  70997. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  70998. } else if (complex.leadingCombinators.length !== 0) {
  70999. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  71000. complex.accept$1(visitor);
  71001. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  71002. } else {
  71003. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  71004. complex.accept$1(visitor);
  71005. t7 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  71006. t8 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  71007. if (t6.get$length(t6) === 0)
  71008. A.throwExpression(A.IterableElementError_noElement());
  71009. t9 = J.get$span$z(t6.$index(0, 0));
  71010. $async$self._async_evaluate0$_warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan0(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure30()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  71011. }
  71012. }
  71013. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  71014. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  71015. t1 = !t1.get$isEmpty(t1);
  71016. } else
  71017. t1 = false;
  71018. if (t1) {
  71019. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  71020. t1.get$last(t1).isGroupEnd = true;
  71021. }
  71022. $async$returnValue = null;
  71023. // goto return
  71024. $async$goto = 1;
  71025. break;
  71026. case 1:
  71027. // return
  71028. return A._asyncReturn($async$returnValue, $async$completer);
  71029. }
  71030. });
  71031. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  71032. },
  71033. visitSupportsRule$1(node) {
  71034. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  71035. },
  71036. visitSupportsRule$body$_EvaluateVisitor0(node) {
  71037. var $async$goto = 0,
  71038. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71039. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  71040. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71041. if ($async$errorCode === 1)
  71042. return A._asyncRethrow($async$result, $async$completer);
  71043. while (true)
  71044. switch ($async$goto) {
  71045. case 0:
  71046. // Function start
  71047. if ($async$self._async_evaluate0$_declarationName != null)
  71048. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  71049. t1 = node.condition;
  71050. $async$temp1 = A;
  71051. $async$temp2 = A;
  71052. $async$goto = 4;
  71053. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  71054. case 4:
  71055. // returning from await.
  71056. $async$goto = 3;
  71057. 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);
  71058. case 3:
  71059. // returning from await.
  71060. $async$returnValue = null;
  71061. // goto return
  71062. $async$goto = 1;
  71063. break;
  71064. case 1:
  71065. // return
  71066. return A._asyncReturn($async$returnValue, $async$completer);
  71067. }
  71068. });
  71069. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  71070. },
  71071. _async_evaluate0$_visitSupportsCondition$1(condition) {
  71072. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  71073. },
  71074. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  71075. var $async$goto = 0,
  71076. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  71077. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, t2, t3, $async$temp1, $async$temp2;
  71078. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71079. if ($async$errorCode === 1)
  71080. return A._asyncRethrow($async$result, $async$completer);
  71081. while (true)
  71082. switch ($async$goto) {
  71083. case 0:
  71084. // Function start
  71085. $async$goto = condition instanceof A.SupportsOperation0 ? 3 : 5;
  71086. break;
  71087. case 3:
  71088. // then
  71089. t1 = condition.operator;
  71090. $async$temp1 = A;
  71091. $async$goto = 6;
  71092. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  71093. case 6:
  71094. // returning from await.
  71095. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  71096. $async$temp2 = A;
  71097. $async$goto = 7;
  71098. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  71099. case 7:
  71100. // returning from await.
  71101. $async$returnValue = $async$temp1 + $async$temp2.S($async$result);
  71102. // goto return
  71103. $async$goto = 1;
  71104. break;
  71105. // goto join
  71106. $async$goto = 4;
  71107. break;
  71108. case 5:
  71109. // else
  71110. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 10;
  71111. break;
  71112. case 8:
  71113. // then
  71114. $async$temp1 = A;
  71115. $async$goto = 11;
  71116. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  71117. case 11:
  71118. // returning from await.
  71119. $async$returnValue = "not " + $async$temp1.S($async$result);
  71120. // goto return
  71121. $async$goto = 1;
  71122. break;
  71123. // goto join
  71124. $async$goto = 9;
  71125. break;
  71126. case 10:
  71127. // else
  71128. $async$goto = condition instanceof A.SupportsInterpolation0 ? 12 : 14;
  71129. break;
  71130. case 12:
  71131. // then
  71132. $async$goto = 15;
  71133. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  71134. case 15:
  71135. // returning from await.
  71136. $async$returnValue = $async$result;
  71137. // goto return
  71138. $async$goto = 1;
  71139. break;
  71140. // goto join
  71141. $async$goto = 13;
  71142. break;
  71143. case 14:
  71144. // else
  71145. $async$goto = condition instanceof A.SupportsDeclaration0 ? 16 : 18;
  71146. break;
  71147. case 16:
  71148. // then
  71149. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  71150. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  71151. $async$temp1 = A;
  71152. $async$goto = 19;
  71153. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  71154. case 19:
  71155. // returning from await.
  71156. t1 = $async$temp1.S($async$result);
  71157. t2 = condition.get$isCustomProperty() ? "" : " ";
  71158. $async$temp1 = A;
  71159. $async$goto = 20;
  71160. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(condition.value), $async$_async_evaluate0$_visitSupportsCondition$1);
  71161. case 20:
  71162. // returning from await.
  71163. t3 = $async$temp1.S($async$result);
  71164. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  71165. $async$returnValue = "(" + t1 + ":" + t2 + t3 + ")";
  71166. // goto return
  71167. $async$goto = 1;
  71168. break;
  71169. // goto join
  71170. $async$goto = 17;
  71171. break;
  71172. case 18:
  71173. // else
  71174. $async$goto = condition instanceof A.SupportsFunction0 ? 21 : 23;
  71175. break;
  71176. case 21:
  71177. // then
  71178. $async$temp1 = A;
  71179. $async$goto = 24;
  71180. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  71181. case 24:
  71182. // returning from await.
  71183. $async$temp1 = $async$temp1.S($async$result) + "(";
  71184. $async$temp2 = A;
  71185. $async$goto = 25;
  71186. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  71187. case 25:
  71188. // returning from await.
  71189. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  71190. // goto return
  71191. $async$goto = 1;
  71192. break;
  71193. // goto join
  71194. $async$goto = 22;
  71195. break;
  71196. case 23:
  71197. // else
  71198. $async$goto = condition instanceof A.SupportsAnything0 ? 26 : 28;
  71199. break;
  71200. case 26:
  71201. // then
  71202. $async$temp1 = A;
  71203. $async$goto = 29;
  71204. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  71205. case 29:
  71206. // returning from await.
  71207. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  71208. // goto return
  71209. $async$goto = 1;
  71210. break;
  71211. // goto join
  71212. $async$goto = 27;
  71213. break;
  71214. case 28:
  71215. // else
  71216. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  71217. case 27:
  71218. // join
  71219. case 22:
  71220. // join
  71221. case 17:
  71222. // join
  71223. case 13:
  71224. // join
  71225. case 9:
  71226. // join
  71227. case 4:
  71228. // join
  71229. case 1:
  71230. // return
  71231. return A._asyncReturn($async$returnValue, $async$completer);
  71232. }
  71233. });
  71234. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  71235. },
  71236. _async_evaluate0$_parenthesize$2(condition, operator) {
  71237. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  71238. },
  71239. _async_evaluate0$_parenthesize$1(condition) {
  71240. return this._async_evaluate0$_parenthesize$2(condition, null);
  71241. },
  71242. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  71243. var $async$goto = 0,
  71244. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  71245. $async$returnValue, $async$self = this, t1, $async$temp1;
  71246. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71247. if ($async$errorCode === 1)
  71248. return A._asyncRethrow($async$result, $async$completer);
  71249. while (true)
  71250. switch ($async$goto) {
  71251. case 0:
  71252. // Function start
  71253. if (!(condition instanceof A.SupportsNegation0))
  71254. if (condition instanceof A.SupportsOperation0)
  71255. t1 = operator == null || operator !== condition.operator;
  71256. else
  71257. t1 = false;
  71258. else
  71259. t1 = true;
  71260. $async$goto = t1 ? 3 : 5;
  71261. break;
  71262. case 3:
  71263. // then
  71264. $async$temp1 = A;
  71265. $async$goto = 6;
  71266. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  71267. case 6:
  71268. // returning from await.
  71269. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  71270. // goto return
  71271. $async$goto = 1;
  71272. break;
  71273. // goto join
  71274. $async$goto = 4;
  71275. break;
  71276. case 5:
  71277. // else
  71278. $async$goto = 7;
  71279. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  71280. case 7:
  71281. // returning from await.
  71282. $async$returnValue = $async$result;
  71283. // goto return
  71284. $async$goto = 1;
  71285. break;
  71286. case 4:
  71287. // join
  71288. case 1:
  71289. // return
  71290. return A._asyncReturn($async$returnValue, $async$completer);
  71291. }
  71292. });
  71293. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  71294. },
  71295. visitVariableDeclaration$1(node) {
  71296. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  71297. },
  71298. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  71299. var $async$goto = 0,
  71300. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71301. $async$returnValue, $async$self = this, t1, value, $async$temp1, $async$temp2, $async$temp3;
  71302. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71303. if ($async$errorCode === 1)
  71304. return A._asyncRethrow($async$result, $async$completer);
  71305. while (true)
  71306. switch ($async$goto) {
  71307. case 0:
  71308. // Function start
  71309. if (node.isGuarded) {
  71310. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  71311. t1 = $async$self._async_evaluate0$_configuration._configuration$_values;
  71312. t1 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  71313. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  71314. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8($async$self, node, t1));
  71315. $async$returnValue = null;
  71316. // goto return
  71317. $async$goto = 1;
  71318. break;
  71319. }
  71320. }
  71321. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  71322. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  71323. $async$returnValue = null;
  71324. // goto return
  71325. $async$goto = 1;
  71326. break;
  71327. }
  71328. }
  71329. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  71330. 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.";
  71331. $async$self._async_evaluate0$_warn$3$deprecation(t1, node.span, true);
  71332. }
  71333. t1 = node.expression;
  71334. $async$temp1 = node;
  71335. $async$temp2 = A;
  71336. $async$temp3 = node;
  71337. $async$goto = 3;
  71338. return A._asyncAwait(t1.accept$1($async$self), $async$visitVariableDeclaration$1);
  71339. case 3:
  71340. // returning from await.
  71341. $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)));
  71342. $async$returnValue = null;
  71343. // goto return
  71344. $async$goto = 1;
  71345. break;
  71346. case 1:
  71347. // return
  71348. return A._asyncReturn($async$returnValue, $async$completer);
  71349. }
  71350. });
  71351. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  71352. },
  71353. visitUseRule$1(node) {
  71354. return this.visitUseRule$body$_EvaluateVisitor0(node);
  71355. },
  71356. visitUseRule$body$_EvaluateVisitor0(node) {
  71357. var $async$goto = 0,
  71358. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71359. $async$returnValue, $async$self = this, values, _i, variable, t3, variableNodeWithSpan, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  71360. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71361. if ($async$errorCode === 1)
  71362. return A._asyncRethrow($async$result, $async$completer);
  71363. while (true)
  71364. switch ($async$goto) {
  71365. case 0:
  71366. // Function start
  71367. t1 = node.configuration;
  71368. t2 = t1.length;
  71369. $async$goto = t2 !== 0 ? 3 : 5;
  71370. break;
  71371. case 3:
  71372. // then
  71373. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  71374. _i = 0;
  71375. case 6:
  71376. // for condition
  71377. if (!(_i < t2)) {
  71378. // goto after for
  71379. $async$goto = 8;
  71380. break;
  71381. }
  71382. variable = t1[_i];
  71383. t3 = variable.expression;
  71384. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t3);
  71385. $async$temp1 = values;
  71386. $async$temp2 = variable.name;
  71387. $async$temp3 = A;
  71388. $async$goto = 9;
  71389. return A._asyncAwait(t3.accept$1($async$self), $async$visitUseRule$1);
  71390. case 9:
  71391. // returning from await.
  71392. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  71393. case 7:
  71394. // for update
  71395. ++_i;
  71396. // goto for condition
  71397. $async$goto = 6;
  71398. break;
  71399. case 8:
  71400. // after for
  71401. configuration = new A.ExplicitConfiguration0(node, values, null);
  71402. // goto join
  71403. $async$goto = 4;
  71404. break;
  71405. case 5:
  71406. // else
  71407. configuration = B.Configuration_Map_empty_null0;
  71408. case 4:
  71409. // join
  71410. $async$goto = 10;
  71411. 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);
  71412. case 10:
  71413. // returning from await.
  71414. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  71415. $async$returnValue = null;
  71416. // goto return
  71417. $async$goto = 1;
  71418. break;
  71419. case 1:
  71420. // return
  71421. return A._asyncReturn($async$returnValue, $async$completer);
  71422. }
  71423. });
  71424. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  71425. },
  71426. visitWarnRule$1(node) {
  71427. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  71428. },
  71429. visitWarnRule$body$_EvaluateVisitor0(node) {
  71430. var $async$goto = 0,
  71431. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  71432. $async$returnValue, $async$self = this, value, t1;
  71433. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71434. if ($async$errorCode === 1)
  71435. return A._asyncRethrow($async$result, $async$completer);
  71436. while (true)
  71437. switch ($async$goto) {
  71438. case 0:
  71439. // Function start
  71440. $async$goto = 3;
  71441. 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);
  71442. case 3:
  71443. // returning from await.
  71444. value = $async$result;
  71445. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  71446. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  71447. $async$returnValue = null;
  71448. // goto return
  71449. $async$goto = 1;
  71450. break;
  71451. case 1:
  71452. // return
  71453. return A._asyncReturn($async$returnValue, $async$completer);
  71454. }
  71455. });
  71456. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  71457. },
  71458. visitWhileRule$1(node) {
  71459. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  71460. },
  71461. visitBinaryOperationExpression$1(node) {
  71462. return this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(this, node), type$.Value_2);
  71463. },
  71464. visitValueExpression$1(node) {
  71465. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  71466. },
  71467. visitValueExpression$body$_EvaluateVisitor0(node) {
  71468. var $async$goto = 0,
  71469. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71470. $async$returnValue;
  71471. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71472. if ($async$errorCode === 1)
  71473. return A._asyncRethrow($async$result, $async$completer);
  71474. while (true)
  71475. switch ($async$goto) {
  71476. case 0:
  71477. // Function start
  71478. $async$returnValue = node.value;
  71479. // goto return
  71480. $async$goto = 1;
  71481. break;
  71482. case 1:
  71483. // return
  71484. return A._asyncReturn($async$returnValue, $async$completer);
  71485. }
  71486. });
  71487. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  71488. },
  71489. visitVariableExpression$1(node) {
  71490. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  71491. },
  71492. visitVariableExpression$body$_EvaluateVisitor0(node) {
  71493. var $async$goto = 0,
  71494. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71495. $async$returnValue, $async$self = this, result;
  71496. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71497. if ($async$errorCode === 1)
  71498. return A._asyncRethrow($async$result, $async$completer);
  71499. while (true)
  71500. switch ($async$goto) {
  71501. case 0:
  71502. // Function start
  71503. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  71504. if (result != null) {
  71505. $async$returnValue = result;
  71506. // goto return
  71507. $async$goto = 1;
  71508. break;
  71509. }
  71510. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  71511. case 1:
  71512. // return
  71513. return A._asyncReturn($async$returnValue, $async$completer);
  71514. }
  71515. });
  71516. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  71517. },
  71518. visitUnaryOperationExpression$1(node) {
  71519. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  71520. },
  71521. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  71522. var $async$goto = 0,
  71523. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71524. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  71525. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71526. if ($async$errorCode === 1)
  71527. return A._asyncRethrow($async$result, $async$completer);
  71528. while (true)
  71529. switch ($async$goto) {
  71530. case 0:
  71531. // Function start
  71532. $async$temp1 = node;
  71533. $async$temp2 = A;
  71534. $async$temp3 = node;
  71535. $async$goto = 3;
  71536. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  71537. case 3:
  71538. // returning from await.
  71539. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  71540. // goto return
  71541. $async$goto = 1;
  71542. break;
  71543. case 1:
  71544. // return
  71545. return A._asyncReturn($async$returnValue, $async$completer);
  71546. }
  71547. });
  71548. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  71549. },
  71550. visitBooleanExpression$1(node) {
  71551. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  71552. },
  71553. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  71554. var $async$goto = 0,
  71555. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  71556. $async$returnValue;
  71557. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71558. if ($async$errorCode === 1)
  71559. return A._asyncRethrow($async$result, $async$completer);
  71560. while (true)
  71561. switch ($async$goto) {
  71562. case 0:
  71563. // Function start
  71564. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  71565. // goto return
  71566. $async$goto = 1;
  71567. break;
  71568. case 1:
  71569. // return
  71570. return A._asyncReturn($async$returnValue, $async$completer);
  71571. }
  71572. });
  71573. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  71574. },
  71575. visitIfExpression$1(node) {
  71576. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  71577. },
  71578. visitIfExpression$body$_EvaluateVisitor0(node) {
  71579. var $async$goto = 0,
  71580. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71581. $async$returnValue, $async$self = this, condition, t2, ifTrue, ifFalse, result, pair, positional, named, t1;
  71582. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71583. if ($async$errorCode === 1)
  71584. return A._asyncRethrow($async$result, $async$completer);
  71585. while (true)
  71586. switch ($async$goto) {
  71587. case 0:
  71588. // Function start
  71589. $async$goto = 3;
  71590. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  71591. case 3:
  71592. // returning from await.
  71593. pair = $async$result;
  71594. positional = pair.item1;
  71595. named = pair.item2;
  71596. t1 = J.getInterceptor$asx(positional);
  71597. $async$self._async_evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  71598. if (t1.get$length(positional) > 0)
  71599. condition = t1.$index(positional, 0);
  71600. else {
  71601. t2 = named.$index(0, "condition");
  71602. t2.toString;
  71603. condition = t2;
  71604. }
  71605. if (t1.get$length(positional) > 1)
  71606. ifTrue = t1.$index(positional, 1);
  71607. else {
  71608. t2 = named.$index(0, "if-true");
  71609. t2.toString;
  71610. ifTrue = t2;
  71611. }
  71612. if (t1.get$length(positional) > 2)
  71613. ifFalse = t1.$index(positional, 2);
  71614. else {
  71615. t1 = named.$index(0, "if-false");
  71616. t1.toString;
  71617. ifFalse = t1;
  71618. }
  71619. $async$goto = 4;
  71620. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  71621. case 4:
  71622. // returning from await.
  71623. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  71624. $async$goto = 5;
  71625. return A._asyncAwait(result.accept$1($async$self), $async$visitIfExpression$1);
  71626. case 5:
  71627. // returning from await.
  71628. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  71629. // goto return
  71630. $async$goto = 1;
  71631. break;
  71632. case 1:
  71633. // return
  71634. return A._asyncReturn($async$returnValue, $async$completer);
  71635. }
  71636. });
  71637. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  71638. },
  71639. visitNullExpression$1(node) {
  71640. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  71641. },
  71642. visitNullExpression$body$_EvaluateVisitor0(node) {
  71643. var $async$goto = 0,
  71644. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71645. $async$returnValue;
  71646. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71647. if ($async$errorCode === 1)
  71648. return A._asyncRethrow($async$result, $async$completer);
  71649. while (true)
  71650. switch ($async$goto) {
  71651. case 0:
  71652. // Function start
  71653. $async$returnValue = B.C__SassNull0;
  71654. // goto return
  71655. $async$goto = 1;
  71656. break;
  71657. case 1:
  71658. // return
  71659. return A._asyncReturn($async$returnValue, $async$completer);
  71660. }
  71661. });
  71662. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  71663. },
  71664. visitNumberExpression$1(node) {
  71665. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  71666. },
  71667. visitNumberExpression$body$_EvaluateVisitor0(node) {
  71668. var $async$goto = 0,
  71669. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  71670. $async$returnValue;
  71671. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71672. if ($async$errorCode === 1)
  71673. return A._asyncRethrow($async$result, $async$completer);
  71674. while (true)
  71675. switch ($async$goto) {
  71676. case 0:
  71677. // Function start
  71678. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  71679. // goto return
  71680. $async$goto = 1;
  71681. break;
  71682. case 1:
  71683. // return
  71684. return A._asyncReturn($async$returnValue, $async$completer);
  71685. }
  71686. });
  71687. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  71688. },
  71689. visitParenthesizedExpression$1(node) {
  71690. return node.expression.accept$1(this);
  71691. },
  71692. visitCalculationExpression$1(node) {
  71693. return this.visitCalculationExpression$body$_EvaluateVisitor0(node);
  71694. },
  71695. visitCalculationExpression$body$_EvaluateVisitor0(node) {
  71696. var $async$goto = 0,
  71697. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  71698. $async$returnValue, $async$self = this, $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, t1, $async$temp1;
  71699. var $async$visitCalculationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71700. if ($async$errorCode === 1)
  71701. return A._asyncRethrow($async$result, $async$completer);
  71702. while (true)
  71703. $async$outer:
  71704. switch ($async$goto) {
  71705. case 0:
  71706. // Function start
  71707. t1 = A._setArrayType([], type$.JSArray_Object);
  71708. t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0;
  71709. case 3:
  71710. // for condition
  71711. if (!(_i < t3)) {
  71712. // goto after for
  71713. $async$goto = 5;
  71714. break;
  71715. }
  71716. argument = t2[_i];
  71717. $async$temp1 = t1;
  71718. $async$goto = 6;
  71719. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6), $async$visitCalculationExpression$1);
  71720. case 6:
  71721. // returning from await.
  71722. $async$temp1.push($async$result);
  71723. case 4:
  71724. // for update
  71725. ++_i;
  71726. // goto for condition
  71727. $async$goto = 3;
  71728. break;
  71729. case 5:
  71730. // after for
  71731. $arguments = t1;
  71732. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  71733. $async$returnValue = new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  71734. // goto return
  71735. $async$goto = 1;
  71736. break;
  71737. }
  71738. try {
  71739. switch (t4) {
  71740. case "calc":
  71741. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  71742. $async$returnValue = t1;
  71743. // goto return
  71744. $async$goto = 1;
  71745. break $async$outer;
  71746. case "min":
  71747. t1 = A.SassCalculation_min0($arguments);
  71748. $async$returnValue = t1;
  71749. // goto return
  71750. $async$goto = 1;
  71751. break $async$outer;
  71752. case "max":
  71753. t1 = A.SassCalculation_max0($arguments);
  71754. $async$returnValue = t1;
  71755. // goto return
  71756. $async$goto = 1;
  71757. break $async$outer;
  71758. case "clamp":
  71759. t1 = J.$index$asx($arguments, 0);
  71760. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  71761. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  71762. $async$returnValue = t1;
  71763. // goto return
  71764. $async$goto = 1;
  71765. break $async$outer;
  71766. default:
  71767. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  71768. throw A.wrapException(t1);
  71769. }
  71770. } catch (exception) {
  71771. t1 = A.unwrapException(exception);
  71772. if (t1 instanceof A.SassScriptException0) {
  71773. error = t1;
  71774. stackTrace = A.getTraceFromException(exception);
  71775. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  71776. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), stackTrace);
  71777. } else
  71778. throw exception;
  71779. }
  71780. case 1:
  71781. // return
  71782. return A._asyncReturn($async$returnValue, $async$completer);
  71783. }
  71784. });
  71785. return A._asyncStartSync($async$visitCalculationExpression$1, $async$completer);
  71786. },
  71787. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  71788. var i, t1, arg, number1, j, number2;
  71789. for (i = 0; t1 = args.length, i < t1; ++i) {
  71790. arg = args[i];
  71791. if (!(arg instanceof A.SassNumber0))
  71792. continue;
  71793. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  71794. 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])));
  71795. }
  71796. for (i = 0; i < t1 - 1; ++i) {
  71797. number1 = args[i];
  71798. if (!(number1 instanceof A.SassNumber0))
  71799. continue;
  71800. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  71801. number2 = args[j];
  71802. if (!(number2 instanceof A.SassNumber0))
  71803. continue;
  71804. if (number1.hasPossiblyCompatibleUnits$1(number2))
  71805. continue;
  71806. 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]))));
  71807. }
  71808. }
  71809. },
  71810. _async_evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  71811. return this._visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax);
  71812. },
  71813. _visitCalculationValue$body$_EvaluateVisitor0(node, inMinMax) {
  71814. var $async$goto = 0,
  71815. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  71816. $async$returnValue, $async$self = this, inner, result, t1, $async$temp1;
  71817. var $async$_async_evaluate0$_visitCalculationValue$2$inMinMax = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71818. if ($async$errorCode === 1)
  71819. return A._asyncRethrow($async$result, $async$completer);
  71820. while (true)
  71821. switch ($async$goto) {
  71822. case 0:
  71823. // Function start
  71824. $async$goto = node instanceof A.ParenthesizedExpression0 ? 3 : 5;
  71825. break;
  71826. case 3:
  71827. // then
  71828. inner = node.expression;
  71829. $async$goto = 6;
  71830. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71831. case 6:
  71832. // returning from await.
  71833. result = $async$result;
  71834. if (inner instanceof A.FunctionExpression0)
  71835. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  71836. else
  71837. t1 = false;
  71838. $async$returnValue = t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  71839. // goto return
  71840. $async$goto = 1;
  71841. break;
  71842. // goto join
  71843. $async$goto = 4;
  71844. break;
  71845. case 5:
  71846. // else
  71847. $async$goto = node instanceof A.StringExpression0 ? 7 : 9;
  71848. break;
  71849. case 7:
  71850. // then
  71851. $async$temp1 = A;
  71852. $async$goto = 10;
  71853. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.text), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71854. case 10:
  71855. // returning from await.
  71856. $async$returnValue = new $async$temp1.CalculationInterpolation0($async$result);
  71857. // goto return
  71858. $async$goto = 1;
  71859. break;
  71860. // goto join
  71861. $async$goto = 8;
  71862. break;
  71863. case 9:
  71864. // else
  71865. $async$goto = node instanceof A.BinaryOperationExpression0 ? 11 : 13;
  71866. break;
  71867. case 11:
  71868. // then
  71869. $async$goto = 14;
  71870. 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);
  71871. case 14:
  71872. // returning from await.
  71873. $async$returnValue = $async$result;
  71874. // goto return
  71875. $async$goto = 1;
  71876. break;
  71877. // goto join
  71878. $async$goto = 12;
  71879. break;
  71880. case 13:
  71881. // else
  71882. $async$goto = 15;
  71883. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationValue$2$inMinMax);
  71884. case 15:
  71885. // returning from await.
  71886. result = $async$result;
  71887. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0) {
  71888. $async$returnValue = result;
  71889. // goto return
  71890. $async$goto = 1;
  71891. break;
  71892. }
  71893. if (result instanceof A.SassString0 && !result._string0$_hasQuotes) {
  71894. $async$returnValue = result;
  71895. // goto return
  71896. $async$goto = 1;
  71897. break;
  71898. }
  71899. 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)));
  71900. case 12:
  71901. // join
  71902. case 8:
  71903. // join
  71904. case 4:
  71905. // join
  71906. case 1:
  71907. // return
  71908. return A._asyncReturn($async$returnValue, $async$completer);
  71909. }
  71910. });
  71911. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationValue$2$inMinMax, $async$completer);
  71912. },
  71913. _async_evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  71914. switch (operator) {
  71915. case B.BinaryOperator_qbf0:
  71916. return B.CalculationOperator_IyK0;
  71917. case B.BinaryOperator_KlB0:
  71918. return B.CalculationOperator_2bx0;
  71919. case B.BinaryOperator_6pl0:
  71920. return B.CalculationOperator_jFr0;
  71921. case B.BinaryOperator_qpm0:
  71922. return B.CalculationOperator_OvN0;
  71923. default:
  71924. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  71925. }
  71926. },
  71927. visitColorExpression$1(node) {
  71928. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  71929. },
  71930. visitColorExpression$body$_EvaluateVisitor0(node) {
  71931. var $async$goto = 0,
  71932. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  71933. $async$returnValue;
  71934. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71935. if ($async$errorCode === 1)
  71936. return A._asyncRethrow($async$result, $async$completer);
  71937. while (true)
  71938. switch ($async$goto) {
  71939. case 0:
  71940. // Function start
  71941. $async$returnValue = node.value;
  71942. // goto return
  71943. $async$goto = 1;
  71944. break;
  71945. case 1:
  71946. // return
  71947. return A._asyncReturn($async$returnValue, $async$completer);
  71948. }
  71949. });
  71950. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  71951. },
  71952. visitListExpression$1(node) {
  71953. return this.visitListExpression$body$_EvaluateVisitor0(node);
  71954. },
  71955. visitListExpression$body$_EvaluateVisitor0(node) {
  71956. var $async$goto = 0,
  71957. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  71958. $async$returnValue, $async$self = this, $async$temp1;
  71959. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71960. if ($async$errorCode === 1)
  71961. return A._asyncRethrow($async$result, $async$completer);
  71962. while (true)
  71963. switch ($async$goto) {
  71964. case 0:
  71965. // Function start
  71966. $async$temp1 = A;
  71967. $async$goto = 3;
  71968. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  71969. case 3:
  71970. // returning from await.
  71971. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  71972. // goto return
  71973. $async$goto = 1;
  71974. break;
  71975. case 1:
  71976. // return
  71977. return A._asyncReturn($async$returnValue, $async$completer);
  71978. }
  71979. });
  71980. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  71981. },
  71982. visitMapExpression$1(node) {
  71983. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  71984. },
  71985. visitMapExpression$body$_EvaluateVisitor0(node) {
  71986. var $async$goto = 0,
  71987. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  71988. $async$returnValue, $async$self = this, t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  71989. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71990. if ($async$errorCode === 1)
  71991. return A._asyncRethrow($async$result, $async$completer);
  71992. while (true)
  71993. switch ($async$goto) {
  71994. case 0:
  71995. // Function start
  71996. t1 = type$.Value_2;
  71997. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  71998. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  71999. t2 = node.pairs, t3 = t2.length, _i = 0;
  72000. case 3:
  72001. // for condition
  72002. if (!(_i < t3)) {
  72003. // goto after for
  72004. $async$goto = 5;
  72005. break;
  72006. }
  72007. pair = t2[_i];
  72008. t4 = pair.item1;
  72009. $async$goto = 6;
  72010. return A._asyncAwait(t4.accept$1($async$self), $async$visitMapExpression$1);
  72011. case 6:
  72012. // returning from await.
  72013. keyValue = $async$result;
  72014. $async$goto = 7;
  72015. return A._asyncAwait(pair.item2.accept$1($async$self), $async$visitMapExpression$1);
  72016. case 7:
  72017. // returning from await.
  72018. valueValue = $async$result;
  72019. if (map.$index(0, keyValue) != null) {
  72020. t1 = keyNodes.$index(0, keyValue);
  72021. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  72022. t1 = J.getInterceptor$z(t4);
  72023. t2 = t1.get$span(t4);
  72024. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  72025. if (oldValueSpan != null)
  72026. t3.$indexSet(0, oldValueSpan, "first key");
  72027. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, $async$self._async_evaluate0$_stackTrace$1(t1.get$span(t4))));
  72028. }
  72029. map.$indexSet(0, keyValue, valueValue);
  72030. keyNodes.$indexSet(0, keyValue, t4);
  72031. case 4:
  72032. // for update
  72033. ++_i;
  72034. // goto for condition
  72035. $async$goto = 3;
  72036. break;
  72037. case 5:
  72038. // after for
  72039. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  72040. // goto return
  72041. $async$goto = 1;
  72042. break;
  72043. case 1:
  72044. // return
  72045. return A._asyncReturn($async$returnValue, $async$completer);
  72046. }
  72047. });
  72048. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  72049. },
  72050. visitFunctionExpression$1(node) {
  72051. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  72052. },
  72053. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  72054. var $async$goto = 0,
  72055. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72056. $async$returnValue, $async$self = this, oldInFunction, result, t1, $function;
  72057. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72058. if ($async$errorCode === 1)
  72059. return A._asyncRethrow($async$result, $async$completer);
  72060. while (true)
  72061. switch ($async$goto) {
  72062. case 0:
  72063. // Function start
  72064. t1 = {};
  72065. $function = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5($async$self, node));
  72066. t1.$function = $function;
  72067. if ($function == null) {
  72068. if (node.namespace != null)
  72069. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  72070. t1.$function = new A.PlainCssCallable0(node.originalName);
  72071. }
  72072. oldInFunction = $async$self._async_evaluate0$_inFunction;
  72073. $async$self._async_evaluate0$_inFunction = true;
  72074. $async$goto = 3;
  72075. 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);
  72076. case 3:
  72077. // returning from await.
  72078. result = $async$result;
  72079. $async$self._async_evaluate0$_inFunction = oldInFunction;
  72080. $async$returnValue = result;
  72081. // goto return
  72082. $async$goto = 1;
  72083. break;
  72084. case 1:
  72085. // return
  72086. return A._asyncReturn($async$returnValue, $async$completer);
  72087. }
  72088. });
  72089. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  72090. },
  72091. visitInterpolatedFunctionExpression$1(node) {
  72092. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  72093. },
  72094. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  72095. var $async$goto = 0,
  72096. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72097. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  72098. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72099. if ($async$errorCode === 1)
  72100. return A._asyncRethrow($async$result, $async$completer);
  72101. while (true)
  72102. switch ($async$goto) {
  72103. case 0:
  72104. // Function start
  72105. $async$goto = 3;
  72106. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  72107. case 3:
  72108. // returning from await.
  72109. t1 = $async$result;
  72110. oldInFunction = $async$self._async_evaluate0$_inFunction;
  72111. $async$self._async_evaluate0$_inFunction = true;
  72112. $async$goto = 4;
  72113. 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);
  72114. case 4:
  72115. // returning from await.
  72116. result = $async$result;
  72117. $async$self._async_evaluate0$_inFunction = oldInFunction;
  72118. $async$returnValue = result;
  72119. // goto return
  72120. $async$goto = 1;
  72121. break;
  72122. case 1:
  72123. // return
  72124. return A._asyncReturn($async$returnValue, $async$completer);
  72125. }
  72126. });
  72127. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  72128. },
  72129. _async_evaluate0$_getFunction$2$namespace($name, namespace) {
  72130. var local = this._async_evaluate0$_environment.getFunction$2$namespace($name, namespace);
  72131. if (local != null || namespace != null)
  72132. return local;
  72133. return this._async_evaluate0$_builtInFunctions.$index(0, $name);
  72134. },
  72135. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  72136. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  72137. },
  72138. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  72139. var $async$goto = 0,
  72140. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72141. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  72142. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72143. if ($async$errorCode === 1)
  72144. return A._asyncRethrow($async$result, $async$completer);
  72145. while (true)
  72146. switch ($async$goto) {
  72147. case 0:
  72148. // Function start
  72149. $async$goto = 3;
  72150. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  72151. case 3:
  72152. // returning from await.
  72153. evaluated = $async$result;
  72154. $name = callable.declaration.name;
  72155. if ($name !== "@content")
  72156. $name += "()";
  72157. oldCallable = $async$self._async_evaluate0$_currentCallable;
  72158. $async$self._async_evaluate0$_currentCallable = callable;
  72159. $async$goto = 4;
  72160. 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);
  72161. case 4:
  72162. // returning from await.
  72163. result = $async$result;
  72164. $async$self._async_evaluate0$_currentCallable = oldCallable;
  72165. $async$returnValue = result;
  72166. // goto return
  72167. $async$goto = 1;
  72168. break;
  72169. case 1:
  72170. // return
  72171. return A._asyncReturn($async$returnValue, $async$completer);
  72172. }
  72173. });
  72174. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  72175. },
  72176. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  72177. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  72178. },
  72179. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  72180. var $async$goto = 0,
  72181. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72182. $async$returnValue, $async$self = this, t1, t2, t3, first, _i, argument, restArg, rest, $async$temp1;
  72183. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72184. if ($async$errorCode === 1)
  72185. return A._asyncRethrow($async$result, $async$completer);
  72186. while (true)
  72187. switch ($async$goto) {
  72188. case 0:
  72189. // Function start
  72190. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  72191. break;
  72192. case 3:
  72193. // then
  72194. $async$goto = 6;
  72195. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  72196. case 6:
  72197. // returning from await.
  72198. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  72199. // goto return
  72200. $async$goto = 1;
  72201. break;
  72202. // goto join
  72203. $async$goto = 4;
  72204. break;
  72205. case 5:
  72206. // else
  72207. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  72208. break;
  72209. case 7:
  72210. // then
  72211. $async$goto = 10;
  72212. 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);
  72213. case 10:
  72214. // returning from await.
  72215. $async$returnValue = $async$result;
  72216. // goto return
  72217. $async$goto = 1;
  72218. break;
  72219. // goto join
  72220. $async$goto = 8;
  72221. break;
  72222. case 9:
  72223. // else
  72224. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  72225. break;
  72226. case 11:
  72227. // then
  72228. t1 = $arguments.named;
  72229. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  72230. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  72231. t1 = callable.name + "(";
  72232. t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0;
  72233. case 14:
  72234. // for condition
  72235. if (!(_i < t3)) {
  72236. // goto after for
  72237. $async$goto = 16;
  72238. break;
  72239. }
  72240. argument = t2[_i];
  72241. if (first)
  72242. first = false;
  72243. else
  72244. t1 += ", ";
  72245. $async$temp1 = A;
  72246. $async$goto = 17;
  72247. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  72248. case 17:
  72249. // returning from await.
  72250. t1 += $async$temp1.S($async$result);
  72251. case 15:
  72252. // for update
  72253. ++_i;
  72254. // goto for condition
  72255. $async$goto = 14;
  72256. break;
  72257. case 16:
  72258. // after for
  72259. restArg = $arguments.rest;
  72260. $async$goto = restArg != null ? 18 : 19;
  72261. break;
  72262. case 18:
  72263. // then
  72264. $async$goto = 20;
  72265. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  72266. case 20:
  72267. // returning from await.
  72268. rest = $async$result;
  72269. if (!first)
  72270. t1 += ", ";
  72271. t1 += $async$self._async_evaluate0$_serialize$2(rest, restArg);
  72272. case 19:
  72273. // join
  72274. t1 += A.Primitives_stringFromCharCode(41);
  72275. $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  72276. // goto return
  72277. $async$goto = 1;
  72278. break;
  72279. // goto join
  72280. $async$goto = 12;
  72281. break;
  72282. case 13:
  72283. // else
  72284. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  72285. case 12:
  72286. // join
  72287. case 8:
  72288. // join
  72289. case 4:
  72290. // join
  72291. case 1:
  72292. // return
  72293. return A._asyncReturn($async$returnValue, $async$completer);
  72294. }
  72295. });
  72296. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  72297. },
  72298. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  72299. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  72300. },
  72301. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  72302. var $async$goto = 0,
  72303. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72304. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, evaluated, oldCallableNode, $async$exception;
  72305. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72306. if ($async$errorCode === 1) {
  72307. $async$currentError = $async$result;
  72308. $async$goto = $async$handler;
  72309. }
  72310. while (true)
  72311. switch ($async$goto) {
  72312. case 0:
  72313. // Function start
  72314. $async$goto = 3;
  72315. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  72316. case 3:
  72317. // returning from await.
  72318. evaluated = $async$result;
  72319. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  72320. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  72321. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  72322. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  72323. overload = tuple.item1;
  72324. callback = tuple.item2;
  72325. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(overload, evaluated, namedSet));
  72326. declaredArguments = overload.$arguments;
  72327. i = evaluated.positional.length, t1 = declaredArguments.length;
  72328. case 4:
  72329. // for condition
  72330. if (!(i < t1)) {
  72331. // goto after for
  72332. $async$goto = 6;
  72333. break;
  72334. }
  72335. argument = declaredArguments[i];
  72336. t2 = evaluated.positional;
  72337. t3 = evaluated.named.remove$1(0, argument.name);
  72338. $async$goto = t3 == null ? 7 : 8;
  72339. break;
  72340. case 7:
  72341. // then
  72342. t3 = argument.defaultValue;
  72343. $async$goto = 9;
  72344. return A._asyncAwait(t3.accept$1($async$self), $async$_async_evaluate0$_runBuiltInCallable$3);
  72345. case 9:
  72346. // returning from await.
  72347. t3 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t3);
  72348. case 8:
  72349. // join
  72350. t2.push(t3);
  72351. case 5:
  72352. // for update
  72353. ++i;
  72354. // goto for condition
  72355. $async$goto = 4;
  72356. break;
  72357. case 6:
  72358. // after for
  72359. if (overload.restArgument != null) {
  72360. if (evaluated.positional.length > t1) {
  72361. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  72362. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  72363. } else
  72364. rest = B.List_empty19;
  72365. t1 = evaluated.named;
  72366. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  72367. evaluated.positional.push(argumentList);
  72368. } else
  72369. argumentList = null;
  72370. result = null;
  72371. $async$handler = 11;
  72372. $async$goto = 14;
  72373. return A._asyncAwait(callback.call$1(evaluated.positional), $async$_async_evaluate0$_runBuiltInCallable$3);
  72374. case 14:
  72375. // returning from await.
  72376. result = $async$result;
  72377. $async$handler = 2;
  72378. // goto after finally
  72379. $async$goto = 13;
  72380. break;
  72381. case 11:
  72382. // catch
  72383. $async$handler = 10;
  72384. $async$exception = $async$currentError;
  72385. t1 = A.unwrapException($async$exception);
  72386. if (type$.SassRuntimeException_2._is(t1))
  72387. throw $async$exception;
  72388. else if (t1 instanceof A.MultiSpanSassScriptException0) {
  72389. error = t1;
  72390. stackTrace = A.getTraceFromException($async$exception);
  72391. t1 = error.message;
  72392. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72393. t3 = error.primaryLabel;
  72394. t4 = error.secondarySpans;
  72395. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  72396. } else if (t1 instanceof A.MultiSpanSassException0) {
  72397. error0 = t1;
  72398. stackTrace0 = A.getTraceFromException($async$exception);
  72399. t1 = error0._span_exception$_message;
  72400. t2 = error0;
  72401. t3 = J.getInterceptor$z(t2);
  72402. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  72403. t3 = error0.primaryLabel;
  72404. t4 = error0.secondarySpans;
  72405. t5 = error0;
  72406. t6 = J.getInterceptor$z(t5);
  72407. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  72408. } else {
  72409. error1 = t1;
  72410. stackTrace1 = A.getTraceFromException($async$exception);
  72411. message = null;
  72412. try {
  72413. message = A._asString(J.get$message$x(error1));
  72414. } catch (exception) {
  72415. message0 = J.toString$0$(error1);
  72416. message = message0;
  72417. }
  72418. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  72419. }
  72420. // goto after finally
  72421. $async$goto = 13;
  72422. break;
  72423. case 10:
  72424. // uncaught
  72425. // goto rethrow
  72426. $async$goto = 2;
  72427. break;
  72428. case 13:
  72429. // after finally
  72430. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  72431. if (argumentList == null) {
  72432. $async$returnValue = result;
  72433. // goto return
  72434. $async$goto = 1;
  72435. break;
  72436. }
  72437. if (evaluated.named.__js_helper$_length === 0) {
  72438. $async$returnValue = result;
  72439. // goto return
  72440. $async$goto = 1;
  72441. break;
  72442. }
  72443. if (argumentList._argument_list$_wereKeywordsAccessed) {
  72444. $async$returnValue = result;
  72445. // goto return
  72446. $async$goto = 1;
  72447. break;
  72448. }
  72449. t1 = evaluated.named;
  72450. t1 = t1.get$keys(t1);
  72451. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  72452. t2 = evaluated.named;
  72453. 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_closure6(), 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))));
  72454. case 1:
  72455. // return
  72456. return A._asyncReturn($async$returnValue, $async$completer);
  72457. case 2:
  72458. // rethrow
  72459. return A._asyncRethrow($async$currentError, $async$completer);
  72460. }
  72461. });
  72462. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  72463. },
  72464. _async_evaluate0$_evaluateArguments$1($arguments) {
  72465. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  72466. },
  72467. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  72468. var $async$goto = 0,
  72469. $async$completer = A._makeAsyncAwaitCompleter(type$._ArgumentResults_2),
  72470. $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;
  72471. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72472. if ($async$errorCode === 1)
  72473. return A._asyncRethrow($async$result, $async$completer);
  72474. while (true)
  72475. switch ($async$goto) {
  72476. case 0:
  72477. // Function start
  72478. positional = A._setArrayType([], type$.JSArray_Value_2);
  72479. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  72480. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  72481. case 3:
  72482. // for condition
  72483. if (!(_i < t2)) {
  72484. // goto after for
  72485. $async$goto = 5;
  72486. break;
  72487. }
  72488. expression = t1[_i];
  72489. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  72490. $async$temp1 = positional;
  72491. $async$goto = 6;
  72492. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72493. case 6:
  72494. // returning from await.
  72495. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  72496. positionalNodes.push(nodeForSpan);
  72497. case 4:
  72498. // for update
  72499. ++_i;
  72500. // goto for condition
  72501. $async$goto = 3;
  72502. break;
  72503. case 5:
  72504. // after for
  72505. t1 = type$.String;
  72506. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  72507. t2 = type$.AstNode_2;
  72508. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72509. t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3);
  72510. case 7:
  72511. // for condition
  72512. if (!t3.moveNext$0()) {
  72513. // goto after for
  72514. $async$goto = 8;
  72515. break;
  72516. }
  72517. t4 = t3.get$current(t3);
  72518. t5 = t4.value;
  72519. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  72520. t4 = t4.key;
  72521. $async$temp1 = named;
  72522. $async$temp2 = t4;
  72523. $async$goto = 9;
  72524. return A._asyncAwait(t5.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72525. case 9:
  72526. // returning from await.
  72527. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  72528. namedNodes.$indexSet(0, t4, nodeForSpan);
  72529. // goto for condition
  72530. $async$goto = 7;
  72531. break;
  72532. case 8:
  72533. // after for
  72534. restArgs = $arguments.rest;
  72535. if (restArgs == null) {
  72536. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  72537. // goto return
  72538. $async$goto = 1;
  72539. break;
  72540. }
  72541. $async$goto = 10;
  72542. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72543. case 10:
  72544. // returning from await.
  72545. rest = $async$result;
  72546. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  72547. if (rest instanceof A.SassMap0) {
  72548. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  72549. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72550. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  72551. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  72552. namedNodes.addAll$1(0, t3);
  72553. separator = B.ListSeparator_undecided_null_undecided0;
  72554. } else if (rest instanceof A.SassList0) {
  72555. t3 = rest._list1$_contents;
  72556. 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>")));
  72557. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  72558. separator = rest._list1$_separator;
  72559. if (rest instanceof A.SassArgumentList0) {
  72560. rest._argument_list$_wereKeywordsAccessed = true;
  72561. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  72562. }
  72563. } else {
  72564. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  72565. positionalNodes.push(restNodeForSpan);
  72566. separator = B.ListSeparator_undecided_null_undecided0;
  72567. }
  72568. keywordRestArgs = $arguments.keywordRest;
  72569. if (keywordRestArgs == null) {
  72570. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  72571. // goto return
  72572. $async$goto = 1;
  72573. break;
  72574. }
  72575. $async$goto = 11;
  72576. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  72577. case 11:
  72578. // returning from await.
  72579. keywordRest = $async$result;
  72580. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  72581. if (keywordRest instanceof A.SassMap0) {
  72582. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  72583. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72584. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  72585. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  72586. namedNodes.addAll$1(0, t1);
  72587. $async$returnValue = new A._ArgumentResults2(positional, positionalNodes, named, namedNodes, separator);
  72588. // goto return
  72589. $async$goto = 1;
  72590. break;
  72591. } else
  72592. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  72593. case 1:
  72594. // return
  72595. return A._asyncReturn($async$returnValue, $async$completer);
  72596. }
  72597. });
  72598. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  72599. },
  72600. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  72601. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  72602. },
  72603. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  72604. var $async$goto = 0,
  72605. $async$completer = A._makeAsyncAwaitCompleter(type$.Tuple2_of_List_Expression_and_Map_String_Expression_2),
  72606. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  72607. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72608. if ($async$errorCode === 1)
  72609. return A._asyncRethrow($async$result, $async$completer);
  72610. while (true)
  72611. switch ($async$goto) {
  72612. case 0:
  72613. // Function start
  72614. t1 = invocation.$arguments;
  72615. restArgs_ = t1.rest;
  72616. if (restArgs_ == null) {
  72617. $async$returnValue = new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  72618. // goto return
  72619. $async$goto = 1;
  72620. break;
  72621. }
  72622. t2 = t1.positional;
  72623. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  72624. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  72625. $async$goto = 3;
  72626. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  72627. case 3:
  72628. // returning from await.
  72629. rest = $async$result;
  72630. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  72631. if (rest instanceof A.SassMap0)
  72632. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  72633. else if (rest instanceof A.SassList0) {
  72634. t2 = rest._list1$_contents;
  72635. 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>")));
  72636. if (rest instanceof A.SassArgumentList0) {
  72637. rest._argument_list$_wereKeywordsAccessed = true;
  72638. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  72639. }
  72640. } else
  72641. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  72642. keywordRestArgs_ = t1.keywordRest;
  72643. if (keywordRestArgs_ == null) {
  72644. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  72645. // goto return
  72646. $async$goto = 1;
  72647. break;
  72648. }
  72649. $async$goto = 4;
  72650. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  72651. case 4:
  72652. // returning from await.
  72653. keywordRest = $async$result;
  72654. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  72655. if (keywordRest instanceof A.SassMap0) {
  72656. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  72657. $async$returnValue = new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  72658. // goto return
  72659. $async$goto = 1;
  72660. break;
  72661. } else
  72662. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  72663. case 1:
  72664. // return
  72665. return A._asyncReturn($async$returnValue, $async$completer);
  72666. }
  72667. });
  72668. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  72669. },
  72670. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  72671. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  72672. },
  72673. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  72674. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  72675. },
  72676. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  72677. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  72678. },
  72679. visitSelectorExpression$1(node) {
  72680. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  72681. },
  72682. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  72683. var $async$goto = 0,
  72684. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  72685. $async$returnValue, $async$self = this, t1;
  72686. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72687. if ($async$errorCode === 1)
  72688. return A._asyncRethrow($async$result, $async$completer);
  72689. while (true)
  72690. switch ($async$goto) {
  72691. case 0:
  72692. // Function start
  72693. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  72694. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  72695. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  72696. // goto return
  72697. $async$goto = 1;
  72698. break;
  72699. case 1:
  72700. // return
  72701. return A._asyncReturn($async$returnValue, $async$completer);
  72702. }
  72703. });
  72704. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  72705. },
  72706. visitStringExpression$1(node) {
  72707. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  72708. },
  72709. visitStringExpression$body$_EvaluateVisitor0(node) {
  72710. var $async$goto = 0,
  72711. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  72712. $async$returnValue, $async$self = this, t1, oldInSupportsDeclaration, $async$temp1;
  72713. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72714. if ($async$errorCode === 1)
  72715. return A._asyncRethrow($async$result, $async$completer);
  72716. while (true)
  72717. switch ($async$goto) {
  72718. case 0:
  72719. // Function start
  72720. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  72721. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  72722. $async$temp1 = J;
  72723. $async$goto = 3;
  72724. return A._asyncAwait(A.mapAsync0(node.text.contents, new A._EvaluateVisitor_visitStringExpression_closure2($async$self), type$.Object, type$.String), $async$visitStringExpression$1);
  72725. case 3:
  72726. // returning from await.
  72727. t1 = $async$temp1.join$0$ax($async$result);
  72728. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  72729. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  72730. // goto return
  72731. $async$goto = 1;
  72732. break;
  72733. case 1:
  72734. // return
  72735. return A._asyncReturn($async$returnValue, $async$completer);
  72736. }
  72737. });
  72738. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  72739. },
  72740. visitSupportsExpression$1(expression) {
  72741. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  72742. },
  72743. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  72744. var $async$goto = 0,
  72745. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  72746. $async$returnValue, $async$self = this, $async$temp1;
  72747. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72748. if ($async$errorCode === 1)
  72749. return A._asyncRethrow($async$result, $async$completer);
  72750. while (true)
  72751. switch ($async$goto) {
  72752. case 0:
  72753. // Function start
  72754. $async$temp1 = A;
  72755. $async$goto = 3;
  72756. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  72757. case 3:
  72758. // returning from await.
  72759. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  72760. // goto return
  72761. $async$goto = 1;
  72762. break;
  72763. case 1:
  72764. // return
  72765. return A._asyncReturn($async$returnValue, $async$completer);
  72766. }
  72767. });
  72768. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  72769. },
  72770. visitCssAtRule$1(node) {
  72771. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  72772. },
  72773. visitCssAtRule$body$_EvaluateVisitor0(node) {
  72774. var $async$goto = 0,
  72775. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72776. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  72777. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72778. if ($async$errorCode === 1)
  72779. return A._asyncRethrow($async$result, $async$completer);
  72780. while (true)
  72781. switch ($async$goto) {
  72782. case 0:
  72783. // Function start
  72784. if ($async$self._async_evaluate0$_declarationName != null)
  72785. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  72786. if (node.isChildless) {
  72787. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  72788. // goto return
  72789. $async$goto = 1;
  72790. break;
  72791. }
  72792. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  72793. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  72794. t1 = node.name;
  72795. if (A.unvendor0(t1.get$value(t1)) === "keyframes")
  72796. $async$self._async_evaluate0$_inKeyframes = true;
  72797. else
  72798. $async$self._async_evaluate0$_inUnknownAtRule = true;
  72799. $async$goto = 3;
  72800. 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);
  72801. case 3:
  72802. // returning from await.
  72803. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  72804. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  72805. case 1:
  72806. // return
  72807. return A._asyncReturn($async$returnValue, $async$completer);
  72808. }
  72809. });
  72810. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  72811. },
  72812. visitCssComment$1(node) {
  72813. return this.visitCssComment$body$_EvaluateVisitor0(node);
  72814. },
  72815. visitCssComment$body$_EvaluateVisitor0(node) {
  72816. var $async$goto = 0,
  72817. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72818. $async$self = this;
  72819. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72820. if ($async$errorCode === 1)
  72821. return A._asyncRethrow($async$result, $async$completer);
  72822. while (true)
  72823. switch ($async$goto) {
  72824. case 0:
  72825. // Function start
  72826. 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))
  72827. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72828. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  72829. // implicit return
  72830. return A._asyncReturn(null, $async$completer);
  72831. }
  72832. });
  72833. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  72834. },
  72835. visitCssDeclaration$1(node) {
  72836. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  72837. },
  72838. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  72839. var $async$goto = 0,
  72840. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72841. $async$self = this, t1;
  72842. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72843. if ($async$errorCode === 1)
  72844. return A._asyncRethrow($async$result, $async$completer);
  72845. while (true)
  72846. switch ($async$goto) {
  72847. case 0:
  72848. // Function start
  72849. t1 = node.name;
  72850. $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.get$value(t1), "--"), node.valueSpanForMap));
  72851. // implicit return
  72852. return A._asyncReturn(null, $async$completer);
  72853. }
  72854. });
  72855. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  72856. },
  72857. visitCssImport$1(node) {
  72858. return this.visitCssImport$body$_EvaluateVisitor0(node);
  72859. },
  72860. visitCssImport$body$_EvaluateVisitor0(node) {
  72861. var $async$goto = 0,
  72862. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72863. $async$self = this, t1, modifiableNode;
  72864. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72865. if ($async$errorCode === 1)
  72866. return A._asyncRethrow($async$result, $async$completer);
  72867. while (true)
  72868. switch ($async$goto) {
  72869. case 0:
  72870. // Function start
  72871. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  72872. 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"))
  72873. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  72874. 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)) {
  72875. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  72876. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  72877. } else {
  72878. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  72879. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  72880. }
  72881. // implicit return
  72882. return A._asyncReturn(null, $async$completer);
  72883. }
  72884. });
  72885. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  72886. },
  72887. visitCssKeyframeBlock$1(node) {
  72888. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  72889. },
  72890. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  72891. var $async$goto = 0,
  72892. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72893. $async$self = this;
  72894. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72895. if ($async$errorCode === 1)
  72896. return A._asyncRethrow($async$result, $async$completer);
  72897. while (true)
  72898. switch ($async$goto) {
  72899. case 0:
  72900. // Function start
  72901. $async$goto = 2;
  72902. 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);
  72903. case 2:
  72904. // returning from await.
  72905. // implicit return
  72906. return A._asyncReturn(null, $async$completer);
  72907. }
  72908. });
  72909. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  72910. },
  72911. visitCssMediaRule$1(node) {
  72912. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  72913. },
  72914. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  72915. var $async$goto = 0,
  72916. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72917. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  72918. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72919. if ($async$errorCode === 1)
  72920. return A._asyncRethrow($async$result, $async$completer);
  72921. while (true)
  72922. switch ($async$goto) {
  72923. case 0:
  72924. // Function start
  72925. if ($async$self._async_evaluate0$_declarationName != null)
  72926. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  72927. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  72928. t1 = mergedQueries == null;
  72929. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  72930. // goto return
  72931. $async$goto = 1;
  72932. break;
  72933. }
  72934. if (t1)
  72935. mergedSources = B.Set_empty4;
  72936. else {
  72937. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  72938. t2.toString;
  72939. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  72940. t3 = $async$self._async_evaluate0$_mediaQueries;
  72941. t3.toString;
  72942. t2.addAll$1(0, t3);
  72943. t2.addAll$1(0, node.queries);
  72944. mergedSources = t2;
  72945. }
  72946. t1 = t1 ? node.queries : mergedQueries;
  72947. $async$goto = 3;
  72948. 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);
  72949. case 3:
  72950. // returning from await.
  72951. case 1:
  72952. // return
  72953. return A._asyncReturn($async$returnValue, $async$completer);
  72954. }
  72955. });
  72956. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  72957. },
  72958. visitCssStyleRule$1(node) {
  72959. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  72960. },
  72961. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  72962. var $async$goto = 0,
  72963. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72964. $async$self = this, t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule;
  72965. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72966. if ($async$errorCode === 1)
  72967. return A._asyncRethrow($async$result, $async$completer);
  72968. while (true)
  72969. switch ($async$goto) {
  72970. case 0:
  72971. // Function start
  72972. if ($async$self._async_evaluate0$_declarationName != null)
  72973. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  72974. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  72975. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  72976. t2 = node.selector;
  72977. t3 = t2.value;
  72978. t4 = styleRule == null;
  72979. t5 = t4 ? null : styleRule.originalSelector;
  72980. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  72981. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, $async$self._async_evaluate0$_mediaQueries), node.span, originalSelector);
  72982. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  72983. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  72984. $async$goto = 2;
  72985. 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);
  72986. case 2:
  72987. // returning from await.
  72988. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72989. if (t4) {
  72990. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  72991. t1 = !t1.get$isEmpty(t1);
  72992. } else
  72993. t1 = false;
  72994. if (t1) {
  72995. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  72996. t1.get$last(t1).isGroupEnd = true;
  72997. }
  72998. // implicit return
  72999. return A._asyncReturn(null, $async$completer);
  73000. }
  73001. });
  73002. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  73003. },
  73004. visitCssStylesheet$1(node) {
  73005. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  73006. },
  73007. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  73008. var $async$goto = 0,
  73009. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73010. $async$self = this, t1;
  73011. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73012. if ($async$errorCode === 1)
  73013. return A._asyncRethrow($async$result, $async$completer);
  73014. while (true)
  73015. switch ($async$goto) {
  73016. case 0:
  73017. // Function start
  73018. t1 = J.get$iterator$ax(node.get$children(node));
  73019. case 2:
  73020. // for condition
  73021. if (!t1.moveNext$0()) {
  73022. // goto after for
  73023. $async$goto = 3;
  73024. break;
  73025. }
  73026. $async$goto = 4;
  73027. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  73028. case 4:
  73029. // returning from await.
  73030. // goto for condition
  73031. $async$goto = 2;
  73032. break;
  73033. case 3:
  73034. // after for
  73035. // implicit return
  73036. return A._asyncReturn(null, $async$completer);
  73037. }
  73038. });
  73039. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  73040. },
  73041. visitCssSupportsRule$1(node) {
  73042. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  73043. },
  73044. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  73045. var $async$goto = 0,
  73046. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73047. $async$self = this;
  73048. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73049. if ($async$errorCode === 1)
  73050. return A._asyncRethrow($async$result, $async$completer);
  73051. while (true)
  73052. switch ($async$goto) {
  73053. case 0:
  73054. // Function start
  73055. if ($async$self._async_evaluate0$_declarationName != null)
  73056. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  73057. $async$goto = 2;
  73058. 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);
  73059. case 2:
  73060. // returning from await.
  73061. // implicit return
  73062. return A._asyncReturn(null, $async$completer);
  73063. }
  73064. });
  73065. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  73066. },
  73067. _async_evaluate0$_handleReturn$1$2(list, callback) {
  73068. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  73069. },
  73070. _async_evaluate0$_handleReturn$2(list, callback) {
  73071. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  73072. },
  73073. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  73074. var $async$goto = 0,
  73075. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  73076. $async$returnValue, t1, _i, result;
  73077. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73078. if ($async$errorCode === 1)
  73079. return A._asyncRethrow($async$result, $async$completer);
  73080. while (true)
  73081. switch ($async$goto) {
  73082. case 0:
  73083. // Function start
  73084. t1 = list.length, _i = 0;
  73085. case 3:
  73086. // for condition
  73087. if (!(_i < list.length)) {
  73088. // goto after for
  73089. $async$goto = 5;
  73090. break;
  73091. }
  73092. $async$goto = 6;
  73093. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  73094. case 6:
  73095. // returning from await.
  73096. result = $async$result;
  73097. if (result != null) {
  73098. $async$returnValue = result;
  73099. // goto return
  73100. $async$goto = 1;
  73101. break;
  73102. }
  73103. case 4:
  73104. // for update
  73105. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  73106. // goto for condition
  73107. $async$goto = 3;
  73108. break;
  73109. case 5:
  73110. // after for
  73111. $async$returnValue = null;
  73112. // goto return
  73113. $async$goto = 1;
  73114. break;
  73115. case 1:
  73116. // return
  73117. return A._asyncReturn($async$returnValue, $async$completer);
  73118. }
  73119. });
  73120. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  73121. },
  73122. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  73123. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  73124. },
  73125. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  73126. var $async$goto = 0,
  73127. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73128. $async$returnValue, $async$self = this, result, oldEnvironment;
  73129. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73130. if ($async$errorCode === 1)
  73131. return A._asyncRethrow($async$result, $async$completer);
  73132. while (true)
  73133. switch ($async$goto) {
  73134. case 0:
  73135. // Function start
  73136. oldEnvironment = $async$self._async_evaluate0$_environment;
  73137. $async$self._async_evaluate0$_environment = environment;
  73138. $async$goto = 3;
  73139. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  73140. case 3:
  73141. // returning from await.
  73142. result = $async$result;
  73143. $async$self._async_evaluate0$_environment = oldEnvironment;
  73144. $async$returnValue = result;
  73145. // goto return
  73146. $async$goto = 1;
  73147. break;
  73148. case 1:
  73149. // return
  73150. return A._asyncReturn($async$returnValue, $async$completer);
  73151. }
  73152. });
  73153. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  73154. },
  73155. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  73156. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  73157. },
  73158. _async_evaluate0$_interpolationToValue$1(interpolation) {
  73159. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  73160. },
  73161. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  73162. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  73163. },
  73164. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  73165. var $async$goto = 0,
  73166. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  73167. $async$returnValue, $async$self = this, result, t1;
  73168. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73169. if ($async$errorCode === 1)
  73170. return A._asyncRethrow($async$result, $async$completer);
  73171. while (true)
  73172. switch ($async$goto) {
  73173. case 0:
  73174. // Function start
  73175. $async$goto = 3;
  73176. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  73177. case 3:
  73178. // returning from await.
  73179. result = $async$result;
  73180. t1 = trim ? A.trimAscii0(result, true) : result;
  73181. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  73182. // goto return
  73183. $async$goto = 1;
  73184. break;
  73185. case 1:
  73186. // return
  73187. return A._asyncReturn($async$returnValue, $async$completer);
  73188. }
  73189. });
  73190. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  73191. },
  73192. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  73193. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  73194. },
  73195. _async_evaluate0$_performInterpolation$1(interpolation) {
  73196. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  73197. },
  73198. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  73199. var $async$goto = 0,
  73200. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  73201. $async$returnValue, $async$self = this, result, oldInSupportsDeclaration, $async$temp1;
  73202. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73203. if ($async$errorCode === 1)
  73204. return A._asyncRethrow($async$result, $async$completer);
  73205. while (true)
  73206. switch ($async$goto) {
  73207. case 0:
  73208. // Function start
  73209. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  73210. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  73211. $async$temp1 = J;
  73212. $async$goto = 3;
  73213. return A._asyncAwait(A.mapAsync0(interpolation.contents, new A._EvaluateVisitor__performInterpolation_closure2($async$self, warnForColor, interpolation), type$.Object, type$.String), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  73214. case 3:
  73215. // returning from await.
  73216. result = $async$temp1.join$0$ax($async$result);
  73217. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  73218. $async$returnValue = result;
  73219. // goto return
  73220. $async$goto = 1;
  73221. break;
  73222. case 1:
  73223. // return
  73224. return A._asyncReturn($async$returnValue, $async$completer);
  73225. }
  73226. });
  73227. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  73228. },
  73229. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  73230. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  73231. },
  73232. _async_evaluate0$_evaluateToCss$1(expression) {
  73233. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  73234. },
  73235. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  73236. var $async$goto = 0,
  73237. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  73238. $async$returnValue, $async$self = this;
  73239. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73240. if ($async$errorCode === 1)
  73241. return A._asyncRethrow($async$result, $async$completer);
  73242. while (true)
  73243. switch ($async$goto) {
  73244. case 0:
  73245. // Function start
  73246. $async$goto = 3;
  73247. return A._asyncAwait(expression.accept$1($async$self), $async$_async_evaluate0$_evaluateToCss$2$quote);
  73248. case 3:
  73249. // returning from await.
  73250. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  73251. // goto return
  73252. $async$goto = 1;
  73253. break;
  73254. case 1:
  73255. // return
  73256. return A._asyncReturn($async$returnValue, $async$completer);
  73257. }
  73258. });
  73259. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  73260. },
  73261. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  73262. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  73263. },
  73264. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  73265. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  73266. },
  73267. _async_evaluate0$_expressionNode$1(expression) {
  73268. var t1;
  73269. if (expression instanceof A.VariableExpression0) {
  73270. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  73271. return t1 == null ? expression : t1;
  73272. } else
  73273. return expression;
  73274. },
  73275. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  73276. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  73277. },
  73278. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  73279. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  73280. },
  73281. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  73282. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  73283. },
  73284. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  73285. var $async$goto = 0,
  73286. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73287. $async$returnValue, $async$self = this, t1, result;
  73288. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73289. if ($async$errorCode === 1)
  73290. return A._asyncRethrow($async$result, $async$completer);
  73291. while (true)
  73292. switch ($async$goto) {
  73293. case 0:
  73294. // Function start
  73295. $async$self._async_evaluate0$_addChild$2$through(node, through);
  73296. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  73297. $async$self._async_evaluate0$__parent = node;
  73298. $async$goto = 3;
  73299. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  73300. case 3:
  73301. // returning from await.
  73302. result = $async$result;
  73303. $async$self._async_evaluate0$__parent = t1;
  73304. $async$returnValue = result;
  73305. // goto return
  73306. $async$goto = 1;
  73307. break;
  73308. case 1:
  73309. // return
  73310. return A._asyncReturn($async$returnValue, $async$completer);
  73311. }
  73312. });
  73313. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  73314. },
  73315. _async_evaluate0$_addChild$2$through(node, through) {
  73316. var grandparent, t1,
  73317. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  73318. if (through != null) {
  73319. for (; through.call$1($parent); $parent = grandparent) {
  73320. grandparent = $parent._node0$_parent;
  73321. if (grandparent == null)
  73322. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  73323. }
  73324. if ($parent.get$hasFollowingSibling()) {
  73325. t1 = $parent._node0$_parent;
  73326. t1.toString;
  73327. $parent = $parent.copyWithoutChildren$0();
  73328. t1.addChild$1($parent);
  73329. }
  73330. }
  73331. $parent.addChild$1(node);
  73332. },
  73333. _async_evaluate0$_addChild$1(node) {
  73334. return this._async_evaluate0$_addChild$2$through(node, null);
  73335. },
  73336. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  73337. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  73338. },
  73339. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  73340. var $async$goto = 0,
  73341. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73342. $async$returnValue, $async$self = this, result, oldRule;
  73343. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73344. if ($async$errorCode === 1)
  73345. return A._asyncRethrow($async$result, $async$completer);
  73346. while (true)
  73347. switch ($async$goto) {
  73348. case 0:
  73349. // Function start
  73350. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  73351. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  73352. $async$goto = 3;
  73353. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  73354. case 3:
  73355. // returning from await.
  73356. result = $async$result;
  73357. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  73358. $async$returnValue = result;
  73359. // goto return
  73360. $async$goto = 1;
  73361. break;
  73362. case 1:
  73363. // return
  73364. return A._asyncReturn($async$returnValue, $async$completer);
  73365. }
  73366. });
  73367. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  73368. },
  73369. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  73370. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  73371. },
  73372. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  73373. var $async$goto = 0,
  73374. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73375. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  73376. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73377. if ($async$errorCode === 1)
  73378. return A._asyncRethrow($async$result, $async$completer);
  73379. while (true)
  73380. switch ($async$goto) {
  73381. case 0:
  73382. // Function start
  73383. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  73384. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  73385. $async$self._async_evaluate0$_mediaQueries = queries;
  73386. $async$self._async_evaluate0$_mediaQuerySources = sources;
  73387. $async$goto = 3;
  73388. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  73389. case 3:
  73390. // returning from await.
  73391. result = $async$result;
  73392. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  73393. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  73394. $async$returnValue = result;
  73395. // goto return
  73396. $async$goto = 1;
  73397. break;
  73398. case 1:
  73399. // return
  73400. return A._asyncReturn($async$returnValue, $async$completer);
  73401. }
  73402. });
  73403. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  73404. },
  73405. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  73406. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  73407. },
  73408. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  73409. var $async$goto = 0,
  73410. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73411. $async$returnValue, $async$self = this, oldMember, result, t1;
  73412. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73413. if ($async$errorCode === 1)
  73414. return A._asyncRethrow($async$result, $async$completer);
  73415. while (true)
  73416. switch ($async$goto) {
  73417. case 0:
  73418. // Function start
  73419. t1 = $async$self._async_evaluate0$_stack;
  73420. t1.push(new A.Tuple2($async$self._async_evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  73421. oldMember = $async$self._async_evaluate0$_member;
  73422. $async$self._async_evaluate0$_member = member;
  73423. $async$goto = 3;
  73424. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  73425. case 3:
  73426. // returning from await.
  73427. result = $async$result;
  73428. $async$self._async_evaluate0$_member = oldMember;
  73429. t1.pop();
  73430. $async$returnValue = result;
  73431. // goto return
  73432. $async$goto = 1;
  73433. break;
  73434. case 1:
  73435. // return
  73436. return A._asyncReturn($async$returnValue, $async$completer);
  73437. }
  73438. });
  73439. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  73440. },
  73441. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  73442. if (value instanceof A.SassNumber0 && value.asSlash != null)
  73443. this._async_evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), true);
  73444. return value.withoutSlash$0();
  73445. },
  73446. _async_evaluate0$_stackFrame$2(member, span) {
  73447. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  73448. },
  73449. _async_evaluate0$_stackTrace$1(span) {
  73450. var _this = this,
  73451. t1 = _this._async_evaluate0$_stack;
  73452. 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);
  73453. if (span != null)
  73454. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  73455. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  73456. },
  73457. _async_evaluate0$_stackTrace$0() {
  73458. return this._async_evaluate0$_stackTrace$1(null);
  73459. },
  73460. _async_evaluate0$_warn$3$deprecation(message, span, deprecation) {
  73461. var t1, _this = this;
  73462. if (_this._async_evaluate0$_quietDeps)
  73463. if (!_this._async_evaluate0$_inDependency) {
  73464. t1 = _this._async_evaluate0$_currentCallable;
  73465. t1 = t1 == null ? null : t1.inDependency;
  73466. t1 = t1 === true;
  73467. } else
  73468. t1 = true;
  73469. else
  73470. t1 = false;
  73471. if (t1)
  73472. return;
  73473. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  73474. return;
  73475. _this._async_evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._async_evaluate0$_stackTrace$1(span));
  73476. },
  73477. _async_evaluate0$_warn$2(message, span) {
  73478. return this._async_evaluate0$_warn$3$deprecation(message, span, false);
  73479. },
  73480. _async_evaluate0$_exception$2(message, span) {
  73481. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2) : span;
  73482. return new A.SassRuntimeException0(this._async_evaluate0$_stackTrace$1(span), message, t1);
  73483. },
  73484. _async_evaluate0$_exception$1(message) {
  73485. return this._async_evaluate0$_exception$2(message, null);
  73486. },
  73487. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  73488. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._async_evaluate0$_stack).item2);
  73489. return new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  73490. },
  73491. _async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
  73492. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  73493. try {
  73494. t1 = callback.call$0();
  73495. return t1;
  73496. } catch (exception) {
  73497. t1 = A.unwrapException(exception);
  73498. if (t1 instanceof A.SassFormatException0) {
  73499. error = t1;
  73500. stackTrace = A.getTraceFromException(exception);
  73501. t1 = error;
  73502. t2 = J.getInterceptor$z(t1);
  73503. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  73504. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  73505. span = nodeWithSpan.get$span(nodeWithSpan);
  73506. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  73507. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  73508. t2 = J.get$start$z(span);
  73509. t3 = error;
  73510. t4 = J.getInterceptor$z(t3);
  73511. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  73512. t3 = t3.get$start(t3);
  73513. t4 = J.get$start$z(span);
  73514. t5 = error;
  73515. t6 = J.getInterceptor$z(t5);
  73516. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  73517. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  73518. A.throwWithTrace0(this._async_evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  73519. } else
  73520. throw exception;
  73521. }
  73522. },
  73523. _async_evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
  73524. return this._async_evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  73525. },
  73526. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  73527. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  73528. try {
  73529. t1 = callback.call$0();
  73530. return t1;
  73531. } catch (exception) {
  73532. t1 = A.unwrapException(exception);
  73533. if (t1 instanceof A.MultiSpanSassScriptException0) {
  73534. error = t1;
  73535. stackTrace = A.getTraceFromException(exception);
  73536. t1 = error.message;
  73537. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73538. t3 = error.primaryLabel;
  73539. t4 = error.secondarySpans;
  73540. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  73541. } else if (t1 instanceof A.SassScriptException0) {
  73542. error0 = t1;
  73543. stackTrace0 = A.getTraceFromException(exception);
  73544. A.throwWithTrace0(this._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  73545. } else
  73546. throw exception;
  73547. }
  73548. },
  73549. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  73550. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  73551. },
  73552. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  73553. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  73554. },
  73555. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  73556. var $async$goto = 0,
  73557. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73558. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4, $async$exception;
  73559. var $async$_async_evaluate0$_addExceptionSpanAsync$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73560. if ($async$errorCode === 1) {
  73561. $async$currentError = $async$result;
  73562. $async$goto = $async$handler;
  73563. }
  73564. while (true)
  73565. switch ($async$goto) {
  73566. case 0:
  73567. // Function start
  73568. $async$handler = 4;
  73569. $async$goto = 7;
  73570. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addExceptionSpanAsync$1$2);
  73571. case 7:
  73572. // returning from await.
  73573. t1 = $async$result;
  73574. $async$returnValue = t1;
  73575. // goto return
  73576. $async$goto = 1;
  73577. break;
  73578. $async$handler = 2;
  73579. // goto after finally
  73580. $async$goto = 6;
  73581. break;
  73582. case 4:
  73583. // catch
  73584. $async$handler = 3;
  73585. $async$exception = $async$currentError;
  73586. t1 = A.unwrapException($async$exception);
  73587. if (t1 instanceof A.MultiSpanSassScriptException0) {
  73588. error = t1;
  73589. stackTrace = A.getTraceFromException($async$exception);
  73590. t1 = error.message;
  73591. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73592. t3 = error.primaryLabel;
  73593. t4 = error.secondarySpans;
  73594. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0($async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  73595. } else if (t1 instanceof A.SassScriptException0) {
  73596. error0 = t1;
  73597. stackTrace0 = A.getTraceFromException($async$exception);
  73598. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  73599. } else
  73600. throw $async$exception;
  73601. // goto after finally
  73602. $async$goto = 6;
  73603. break;
  73604. case 3:
  73605. // uncaught
  73606. // goto rethrow
  73607. $async$goto = 2;
  73608. break;
  73609. case 6:
  73610. // after finally
  73611. case 1:
  73612. // return
  73613. return A._asyncReturn($async$returnValue, $async$completer);
  73614. case 2:
  73615. // rethrow
  73616. return A._asyncRethrow($async$currentError, $async$completer);
  73617. }
  73618. });
  73619. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$2, $async$completer);
  73620. },
  73621. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  73622. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  73623. },
  73624. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  73625. var $async$goto = 0,
  73626. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  73627. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  73628. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73629. if ($async$errorCode === 1) {
  73630. $async$currentError = $async$result;
  73631. $async$goto = $async$handler;
  73632. }
  73633. while (true)
  73634. switch ($async$goto) {
  73635. case 0:
  73636. // Function start
  73637. $async$handler = 4;
  73638. $async$goto = 7;
  73639. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  73640. case 7:
  73641. // returning from await.
  73642. t1 = $async$result;
  73643. $async$returnValue = t1;
  73644. // goto return
  73645. $async$goto = 1;
  73646. break;
  73647. $async$handler = 2;
  73648. // goto after finally
  73649. $async$goto = 6;
  73650. break;
  73651. case 4:
  73652. // catch
  73653. $async$handler = 3;
  73654. $async$exception = $async$currentError;
  73655. t1 = A.unwrapException($async$exception);
  73656. if (type$.SassRuntimeException_2._is(t1)) {
  73657. error = t1;
  73658. stackTrace = A.getTraceFromException($async$exception);
  73659. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  73660. throw $async$exception;
  73661. t1 = error._span_exception$_message;
  73662. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73663. A.throwWithTrace0(new A.SassRuntimeException0($async$self._async_evaluate0$_stackTrace$0(), t1, t2), stackTrace);
  73664. } else
  73665. throw $async$exception;
  73666. // goto after finally
  73667. $async$goto = 6;
  73668. break;
  73669. case 3:
  73670. // uncaught
  73671. // goto rethrow
  73672. $async$goto = 2;
  73673. break;
  73674. case 6:
  73675. // after finally
  73676. case 1:
  73677. // return
  73678. return A._asyncReturn($async$returnValue, $async$completer);
  73679. case 2:
  73680. // rethrow
  73681. return A._asyncRethrow($async$currentError, $async$completer);
  73682. }
  73683. });
  73684. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  73685. }
  73686. };
  73687. A._EvaluateVisitor_closure29.prototype = {
  73688. call$1($arguments) {
  73689. var module, t2,
  73690. t1 = J.getInterceptor$asx($arguments),
  73691. variable = t1.$index($arguments, 0).assertString$1("name");
  73692. t1 = t1.$index($arguments, 1).get$realNull();
  73693. module = t1 == null ? null : t1.assertString$1("module");
  73694. t1 = this.$this._async_evaluate0$_environment;
  73695. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  73696. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73697. },
  73698. $signature: 19
  73699. };
  73700. A._EvaluateVisitor_closure30.prototype = {
  73701. call$1($arguments) {
  73702. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  73703. t1 = this.$this._async_evaluate0$_environment;
  73704. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73705. },
  73706. $signature: 19
  73707. };
  73708. A._EvaluateVisitor_closure31.prototype = {
  73709. call$1($arguments) {
  73710. var module, t2, t3, t4,
  73711. t1 = J.getInterceptor$asx($arguments),
  73712. variable = t1.$index($arguments, 0).assertString$1("name");
  73713. t1 = t1.$index($arguments, 1).get$realNull();
  73714. module = t1 == null ? null : t1.assertString$1("module");
  73715. t1 = this.$this;
  73716. t2 = t1._async_evaluate0$_environment;
  73717. t3 = variable._string0$_text;
  73718. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  73719. 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;
  73720. },
  73721. $signature: 19
  73722. };
  73723. A._EvaluateVisitor_closure32.prototype = {
  73724. call$1($arguments) {
  73725. var module, t2,
  73726. t1 = J.getInterceptor$asx($arguments),
  73727. variable = t1.$index($arguments, 0).assertString$1("name");
  73728. t1 = t1.$index($arguments, 1).get$realNull();
  73729. module = t1 == null ? null : t1.assertString$1("module");
  73730. t1 = this.$this._async_evaluate0$_environment;
  73731. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  73732. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73733. },
  73734. $signature: 19
  73735. };
  73736. A._EvaluateVisitor_closure33.prototype = {
  73737. call$1($arguments) {
  73738. var t1 = this.$this._async_evaluate0$_environment;
  73739. if (!t1._async_environment0$_inMixin)
  73740. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  73741. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  73742. },
  73743. $signature: 19
  73744. };
  73745. A._EvaluateVisitor_closure34.prototype = {
  73746. call$1($arguments) {
  73747. var t2, t3, t4,
  73748. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  73749. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  73750. if (module == null)
  73751. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73752. t1 = type$.Value_2;
  73753. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73754. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73755. t4 = t3.get$current(t3);
  73756. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  73757. }
  73758. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73759. },
  73760. $signature: 40
  73761. };
  73762. A._EvaluateVisitor_closure35.prototype = {
  73763. call$1($arguments) {
  73764. var t2, t3, t4,
  73765. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  73766. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  73767. if (module == null)
  73768. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73769. t1 = type$.Value_2;
  73770. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73771. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73772. t4 = t3.get$current(t3);
  73773. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  73774. }
  73775. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73776. },
  73777. $signature: 40
  73778. };
  73779. A._EvaluateVisitor_closure36.prototype = {
  73780. call$1($arguments) {
  73781. var module, callable, t2,
  73782. t1 = J.getInterceptor$asx($arguments),
  73783. $name = t1.$index($arguments, 0).assertString$1("name"),
  73784. css = t1.$index($arguments, 1).get$isTruthy();
  73785. t1 = t1.$index($arguments, 2).get$realNull();
  73786. module = t1 == null ? null : t1.assertString$1("module");
  73787. if (css && module != null)
  73788. throw A.wrapException(string$.x24css_a);
  73789. if (css)
  73790. callable = new A.PlainCssCallable0($name._string0$_text);
  73791. else {
  73792. t1 = this.$this;
  73793. t2 = t1._async_evaluate0$_callableNode;
  73794. t2.toString;
  73795. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  73796. }
  73797. if (callable != null)
  73798. return new A.SassFunction0(callable);
  73799. throw A.wrapException("Function not found: " + $name.toString$0(0));
  73800. },
  73801. $signature: 196
  73802. };
  73803. A._EvaluateVisitor__closure10.prototype = {
  73804. call$0() {
  73805. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  73806. t2 = this.module;
  73807. t2 = t2 == null ? null : t2._string0$_text;
  73808. return this.$this._async_evaluate0$_getFunction$2$namespace(t1, t2);
  73809. },
  73810. $signature: 115
  73811. };
  73812. A._EvaluateVisitor_closure37.prototype = {
  73813. call$1($arguments) {
  73814. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  73815. },
  73816. $call$body$_EvaluateVisitor_closure2($arguments) {
  73817. var $async$goto = 0,
  73818. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  73819. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  73820. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73821. if ($async$errorCode === 1)
  73822. return A._asyncRethrow($async$result, $async$completer);
  73823. while (true)
  73824. switch ($async$goto) {
  73825. case 0:
  73826. // Function start
  73827. t1 = J.getInterceptor$asx($arguments);
  73828. $function = t1.$index($arguments, 0);
  73829. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  73830. t1 = $async$self.$this;
  73831. t2 = t1._async_evaluate0$_callableNode;
  73832. t2.toString;
  73833. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  73834. t4 = type$.String;
  73835. t5 = type$.Expression_2;
  73836. t6 = t2.get$span(t2);
  73837. t7 = t2.get$span(t2);
  73838. args._argument_list$_wereKeywordsAccessed = true;
  73839. t8 = args._argument_list$_keywords;
  73840. if (t8.get$isEmpty(t8))
  73841. t2 = null;
  73842. else {
  73843. t9 = type$.Value_2;
  73844. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  73845. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  73846. t11 = t8.get$current(t8);
  73847. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  73848. }
  73849. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  73850. }
  73851. 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);
  73852. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  73853. break;
  73854. case 3:
  73855. // then
  73856. t2 = $function.toString$0(0);
  73857. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  73858. callableNode = t1._async_evaluate0$_callableNode;
  73859. $async$goto = 5;
  73860. return A._asyncAwait(t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode))), $async$call$1);
  73861. case 5:
  73862. // returning from await.
  73863. $async$returnValue = $async$result;
  73864. // goto return
  73865. $async$goto = 1;
  73866. break;
  73867. case 4:
  73868. // join
  73869. t2 = $function.assertFunction$1("function");
  73870. t3 = t1._async_evaluate0$_callableNode;
  73871. t3.toString;
  73872. $async$goto = 6;
  73873. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  73874. case 6:
  73875. // returning from await.
  73876. t3 = $async$result;
  73877. $async$returnValue = t3;
  73878. // goto return
  73879. $async$goto = 1;
  73880. break;
  73881. case 1:
  73882. // return
  73883. return A._asyncReturn($async$returnValue, $async$completer);
  73884. }
  73885. });
  73886. return A._asyncStartSync($async$call$1, $async$completer);
  73887. },
  73888. $signature: 92
  73889. };
  73890. A._EvaluateVisitor_closure38.prototype = {
  73891. call$1($arguments) {
  73892. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  73893. },
  73894. $call$body$_EvaluateVisitor_closure1($arguments) {
  73895. var $async$goto = 0,
  73896. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73897. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  73898. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73899. if ($async$errorCode === 1)
  73900. return A._asyncRethrow($async$result, $async$completer);
  73901. while (true)
  73902. switch ($async$goto) {
  73903. case 0:
  73904. // Function start
  73905. t1 = J.getInterceptor$asx($arguments);
  73906. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  73907. t1 = t1.$index($arguments, 1).get$realNull();
  73908. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  73909. t1 = $async$self.$this;
  73910. t2 = t1._async_evaluate0$_callableNode;
  73911. t2.toString;
  73912. if (withMap != null) {
  73913. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  73914. withMap.forEach$1(0, new A._EvaluateVisitor__closure8(values, t2.get$span(t2), t2));
  73915. configuration = new A.ExplicitConfiguration0(t2, values, null);
  73916. } else
  73917. configuration = B.Configuration_Map_empty_null0;
  73918. t3 = t2.get$span(t2);
  73919. $async$goto = 2;
  73920. 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);
  73921. case 2:
  73922. // returning from await.
  73923. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73924. // implicit return
  73925. return A._asyncReturn(null, $async$completer);
  73926. }
  73927. });
  73928. return A._asyncStartSync($async$call$1, $async$completer);
  73929. },
  73930. $signature: 310
  73931. };
  73932. A._EvaluateVisitor__closure8.prototype = {
  73933. call$2(variable, value) {
  73934. var t1 = variable.assertString$1("with key"),
  73935. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  73936. t1 = this.values;
  73937. if (t1.containsKey$1($name))
  73938. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73939. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  73940. },
  73941. $signature: 56
  73942. };
  73943. A._EvaluateVisitor__closure9.prototype = {
  73944. call$1(module) {
  73945. var t1 = this.$this;
  73946. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  73947. },
  73948. $signature: 198
  73949. };
  73950. A._EvaluateVisitor_run_closure2.prototype = {
  73951. call$0() {
  73952. var $async$goto = 0,
  73953. $async$completer = A._makeAsyncAwaitCompleter(type$.EvaluateResult_2),
  73954. $async$returnValue, $async$self = this, t2, t1, url, $async$temp1, $async$temp2;
  73955. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73956. if ($async$errorCode === 1)
  73957. return A._asyncRethrow($async$result, $async$completer);
  73958. while (true)
  73959. switch ($async$goto) {
  73960. case 0:
  73961. // Function start
  73962. t1 = $async$self.node;
  73963. url = t1.span.file.url;
  73964. if (url != null) {
  73965. t2 = $async$self.$this;
  73966. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  73967. if (!(t2._async_evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
  73968. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  73969. }
  73970. t2 = $async$self.$this;
  73971. $async$temp1 = A;
  73972. $async$temp2 = t2;
  73973. $async$goto = 3;
  73974. return A._asyncAwait(t2._async_evaluate0$_execute$2($async$self.importer, t1), $async$call$0);
  73975. case 3:
  73976. // returning from await.
  73977. $async$returnValue = new $async$temp1.EvaluateResult0($async$temp2._async_evaluate0$_combineCss$1($async$result), t2._async_evaluate0$_loadedUrls);
  73978. // goto return
  73979. $async$goto = 1;
  73980. break;
  73981. case 1:
  73982. // return
  73983. return A._asyncReturn($async$returnValue, $async$completer);
  73984. }
  73985. });
  73986. return A._asyncStartSync($async$call$0, $async$completer);
  73987. },
  73988. $signature: 313
  73989. };
  73990. A._EvaluateVisitor__loadModule_closure5.prototype = {
  73991. call$0() {
  73992. return this.callback.call$1(this.builtInModule);
  73993. },
  73994. $signature: 0
  73995. };
  73996. A._EvaluateVisitor__loadModule_closure6.prototype = {
  73997. call$0() {
  73998. var $async$goto = 0,
  73999. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74000. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, t1, t2, result, stylesheet, canonicalUrl, $async$exception;
  74001. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74002. if ($async$errorCode === 1) {
  74003. $async$currentError = $async$result;
  74004. $async$goto = $async$handler;
  74005. }
  74006. while (true)
  74007. switch ($async$goto) {
  74008. case 0:
  74009. // Function start
  74010. t1 = $async$self.$this;
  74011. t2 = $async$self.nodeWithSpan;
  74012. $async$goto = 2;
  74013. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t2.get$span(t2), $async$self.baseUrl), $async$call$0);
  74014. case 2:
  74015. // returning from await.
  74016. result = $async$result;
  74017. stylesheet = result.stylesheet;
  74018. canonicalUrl = stylesheet.span.file.url;
  74019. if (canonicalUrl != null && t1._async_evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  74020. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  74021. t2 = A.NullableExtension_andThen0(t1._async_evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure2(t1, message));
  74022. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1(message) : t2);
  74023. }
  74024. if (canonicalUrl != null)
  74025. t1._async_evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
  74026. oldInDependency = t1._async_evaluate0$_inDependency;
  74027. t1._async_evaluate0$_inDependency = result.isDependency;
  74028. module = null;
  74029. $async$handler = 3;
  74030. $async$goto = 6;
  74031. return A._asyncAwait(t1._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t2), $async$call$0);
  74032. case 6:
  74033. // returning from await.
  74034. module = $async$result;
  74035. $async$next.push(5);
  74036. // goto finally
  74037. $async$goto = 4;
  74038. break;
  74039. case 3:
  74040. // uncaught
  74041. $async$next = [1];
  74042. case 4:
  74043. // finally
  74044. $async$handler = 1;
  74045. t1._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  74046. t1._async_evaluate0$_inDependency = oldInDependency;
  74047. // goto the next finally handler
  74048. $async$goto = $async$next.pop();
  74049. break;
  74050. case 5:
  74051. // after finally
  74052. $async$handler = 8;
  74053. $async$goto = 11;
  74054. return A._asyncAwait($async$self.callback.call$1(module), $async$call$0);
  74055. case 11:
  74056. // returning from await.
  74057. $async$handler = 1;
  74058. // goto after finally
  74059. $async$goto = 10;
  74060. break;
  74061. case 8:
  74062. // catch
  74063. $async$handler = 7;
  74064. $async$exception = $async$currentError;
  74065. t2 = A.unwrapException($async$exception);
  74066. if (type$.SassRuntimeException_2._is(t2))
  74067. throw $async$exception;
  74068. else if (t2 instanceof A.MultiSpanSassException0) {
  74069. error = t2;
  74070. stackTrace = A.getTraceFromException($async$exception);
  74071. t2 = error._span_exception$_message;
  74072. t3 = error;
  74073. t4 = J.getInterceptor$z(t3);
  74074. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  74075. t4 = error.primaryLabel;
  74076. t5 = error.secondarySpans;
  74077. t6 = error;
  74078. t7 = J.getInterceptor$z(t6);
  74079. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  74080. } else if (t2 instanceof A.SassException0) {
  74081. error0 = t2;
  74082. stackTrace0 = A.getTraceFromException($async$exception);
  74083. t2 = error0;
  74084. t3 = J.getInterceptor$z(t2);
  74085. A.throwWithTrace0(t1._async_evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  74086. } else if (t2 instanceof A.MultiSpanSassScriptException0) {
  74087. error1 = t2;
  74088. stackTrace1 = A.getTraceFromException($async$exception);
  74089. A.throwWithTrace0(t1._async_evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  74090. } else if (t2 instanceof A.SassScriptException0) {
  74091. error2 = t2;
  74092. stackTrace2 = A.getTraceFromException($async$exception);
  74093. A.throwWithTrace0(t1._async_evaluate0$_exception$1(error2.message), stackTrace2);
  74094. } else
  74095. throw $async$exception;
  74096. // goto after finally
  74097. $async$goto = 10;
  74098. break;
  74099. case 7:
  74100. // uncaught
  74101. // goto rethrow
  74102. $async$goto = 1;
  74103. break;
  74104. case 10:
  74105. // after finally
  74106. // implicit return
  74107. return A._asyncReturn(null, $async$completer);
  74108. case 1:
  74109. // rethrow
  74110. return A._asyncRethrow($async$currentError, $async$completer);
  74111. }
  74112. });
  74113. return A._asyncStartSync($async$call$0, $async$completer);
  74114. },
  74115. $signature: 2
  74116. };
  74117. A._EvaluateVisitor__loadModule__closure2.prototype = {
  74118. call$1(previousLoad) {
  74119. 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));
  74120. },
  74121. $signature: 98
  74122. };
  74123. A._EvaluateVisitor__execute_closure2.prototype = {
  74124. call$0() {
  74125. var $async$goto = 0,
  74126. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74127. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  74128. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74129. if ($async$errorCode === 1)
  74130. return A._asyncRethrow($async$result, $async$completer);
  74131. while (true)
  74132. switch ($async$goto) {
  74133. case 0:
  74134. // Function start
  74135. t1 = $async$self.$this;
  74136. oldImporter = t1._async_evaluate0$_importer;
  74137. oldStylesheet = t1._async_evaluate0$__stylesheet;
  74138. oldRoot = t1._async_evaluate0$__root;
  74139. oldParent = t1._async_evaluate0$__parent;
  74140. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  74141. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  74142. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  74143. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  74144. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  74145. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  74146. oldDeclarationName = t1._async_evaluate0$_declarationName;
  74147. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  74148. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  74149. oldConfiguration = t1._async_evaluate0$_configuration;
  74150. t1._async_evaluate0$_importer = $async$self.importer;
  74151. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  74152. t4 = t3.span;
  74153. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  74154. t1._async_evaluate0$__endOfImports = 0;
  74155. t1._async_evaluate0$_outOfOrderImports = null;
  74156. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  74157. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  74158. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  74159. t6 = $async$self.configuration;
  74160. if (t6 != null)
  74161. t1._async_evaluate0$_configuration = t6;
  74162. $async$goto = 2;
  74163. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  74164. case 2:
  74165. // returning from await.
  74166. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  74167. $async$self.css._value = t3;
  74168. t1._async_evaluate0$_importer = oldImporter;
  74169. t1._async_evaluate0$__stylesheet = oldStylesheet;
  74170. t1._async_evaluate0$__root = oldRoot;
  74171. t1._async_evaluate0$__parent = oldParent;
  74172. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  74173. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  74174. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  74175. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  74176. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  74177. t1._async_evaluate0$_declarationName = oldDeclarationName;
  74178. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  74179. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  74180. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  74181. t1._async_evaluate0$_configuration = oldConfiguration;
  74182. // implicit return
  74183. return A._asyncReturn(null, $async$completer);
  74184. }
  74185. });
  74186. return A._asyncStartSync($async$call$0, $async$completer);
  74187. },
  74188. $signature: 2
  74189. };
  74190. A._EvaluateVisitor__combineCss_closure8.prototype = {
  74191. call$1(module) {
  74192. return module.get$transitivelyContainsCss();
  74193. },
  74194. $signature: 117
  74195. };
  74196. A._EvaluateVisitor__combineCss_closure9.prototype = {
  74197. call$1(target) {
  74198. return !this.selectors.contains$1(0, target);
  74199. },
  74200. $signature: 13
  74201. };
  74202. A._EvaluateVisitor__combineCss_closure10.prototype = {
  74203. call$1(module) {
  74204. return module.cloneCss$0();
  74205. },
  74206. $signature: 315
  74207. };
  74208. A._EvaluateVisitor__extendModules_closure5.prototype = {
  74209. call$1(target) {
  74210. return !this.originalSelectors.contains$1(0, target);
  74211. },
  74212. $signature: 13
  74213. };
  74214. A._EvaluateVisitor__extendModules_closure6.prototype = {
  74215. call$0() {
  74216. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  74217. },
  74218. $signature: 199
  74219. };
  74220. A._EvaluateVisitor__topologicalModules_visitModule2.prototype = {
  74221. call$1(module) {
  74222. var t1, t2, t3, _i, upstream;
  74223. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  74224. upstream = t1[_i];
  74225. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  74226. this.call$1(upstream);
  74227. }
  74228. this.sorted.addFirst$1(module);
  74229. },
  74230. $signature: 198
  74231. };
  74232. A._EvaluateVisitor_visitAtRootRule_closure8.prototype = {
  74233. call$0() {
  74234. var t1 = A.SpanScanner$(this.resolved, null);
  74235. return new A.AtRootQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
  74236. },
  74237. $signature: 127
  74238. };
  74239. A._EvaluateVisitor_visitAtRootRule_closure9.prototype = {
  74240. call$0() {
  74241. var $async$goto = 0,
  74242. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74243. $async$self = this, t1, t2, t3, _i;
  74244. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74245. if ($async$errorCode === 1)
  74246. return A._asyncRethrow($async$result, $async$completer);
  74247. while (true)
  74248. switch ($async$goto) {
  74249. case 0:
  74250. // Function start
  74251. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74252. case 2:
  74253. // for condition
  74254. if (!(_i < t2)) {
  74255. // goto after for
  74256. $async$goto = 4;
  74257. break;
  74258. }
  74259. $async$goto = 5;
  74260. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74261. case 5:
  74262. // returning from await.
  74263. case 3:
  74264. // for update
  74265. ++_i;
  74266. // goto for condition
  74267. $async$goto = 2;
  74268. break;
  74269. case 4:
  74270. // after for
  74271. // implicit return
  74272. return A._asyncReturn(null, $async$completer);
  74273. }
  74274. });
  74275. return A._asyncStartSync($async$call$0, $async$completer);
  74276. },
  74277. $signature: 2
  74278. };
  74279. A._EvaluateVisitor_visitAtRootRule_closure10.prototype = {
  74280. call$0() {
  74281. var $async$goto = 0,
  74282. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74283. $async$self = this, t1, t2, t3, _i;
  74284. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74285. if ($async$errorCode === 1)
  74286. return A._asyncRethrow($async$result, $async$completer);
  74287. while (true)
  74288. switch ($async$goto) {
  74289. case 0:
  74290. // Function start
  74291. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74292. case 2:
  74293. // for condition
  74294. if (!(_i < t2)) {
  74295. // goto after for
  74296. $async$goto = 4;
  74297. break;
  74298. }
  74299. $async$goto = 5;
  74300. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74301. case 5:
  74302. // returning from await.
  74303. case 3:
  74304. // for update
  74305. ++_i;
  74306. // goto for condition
  74307. $async$goto = 2;
  74308. break;
  74309. case 4:
  74310. // after for
  74311. // implicit return
  74312. return A._asyncReturn(null, $async$completer);
  74313. }
  74314. });
  74315. return A._asyncStartSync($async$call$0, $async$completer);
  74316. },
  74317. $signature: 38
  74318. };
  74319. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  74320. call$1(callback) {
  74321. var $async$goto = 0,
  74322. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74323. $async$self = this, t1, t2;
  74324. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74325. if ($async$errorCode === 1)
  74326. return A._asyncRethrow($async$result, $async$completer);
  74327. while (true)
  74328. switch ($async$goto) {
  74329. case 0:
  74330. // Function start
  74331. t1 = $async$self.$this;
  74332. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  74333. t1._async_evaluate0$__parent = $async$self.newParent;
  74334. $async$goto = 2;
  74335. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  74336. case 2:
  74337. // returning from await.
  74338. t1._async_evaluate0$__parent = t2;
  74339. // implicit return
  74340. return A._asyncReturn(null, $async$completer);
  74341. }
  74342. });
  74343. return A._asyncStartSync($async$call$1, $async$completer);
  74344. },
  74345. $signature: 29
  74346. };
  74347. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  74348. call$1(callback) {
  74349. var $async$goto = 0,
  74350. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74351. $async$self = this, t1, oldAtRootExcludingStyleRule;
  74352. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74353. if ($async$errorCode === 1)
  74354. return A._asyncRethrow($async$result, $async$completer);
  74355. while (true)
  74356. switch ($async$goto) {
  74357. case 0:
  74358. // Function start
  74359. t1 = $async$self.$this;
  74360. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  74361. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  74362. $async$goto = 2;
  74363. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74364. case 2:
  74365. // returning from await.
  74366. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74367. // implicit return
  74368. return A._asyncReturn(null, $async$completer);
  74369. }
  74370. });
  74371. return A._asyncStartSync($async$call$1, $async$completer);
  74372. },
  74373. $signature: 29
  74374. };
  74375. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  74376. call$1(callback) {
  74377. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  74378. },
  74379. $signature: 29
  74380. };
  74381. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  74382. call$0() {
  74383. return this.innerScope.call$1(this.callback);
  74384. },
  74385. $signature: 2
  74386. };
  74387. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  74388. call$1(callback) {
  74389. var $async$goto = 0,
  74390. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74391. $async$self = this, t1, wasInKeyframes;
  74392. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74393. if ($async$errorCode === 1)
  74394. return A._asyncRethrow($async$result, $async$completer);
  74395. while (true)
  74396. switch ($async$goto) {
  74397. case 0:
  74398. // Function start
  74399. t1 = $async$self.$this;
  74400. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  74401. t1._async_evaluate0$_inKeyframes = false;
  74402. $async$goto = 2;
  74403. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74404. case 2:
  74405. // returning from await.
  74406. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  74407. // implicit return
  74408. return A._asyncReturn(null, $async$completer);
  74409. }
  74410. });
  74411. return A._asyncStartSync($async$call$1, $async$completer);
  74412. },
  74413. $signature: 29
  74414. };
  74415. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  74416. call$1($parent) {
  74417. return type$.CssAtRule_2._is($parent);
  74418. },
  74419. $signature: 201
  74420. };
  74421. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  74422. call$1(callback) {
  74423. var $async$goto = 0,
  74424. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74425. $async$self = this, t1, wasInUnknownAtRule;
  74426. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74427. if ($async$errorCode === 1)
  74428. return A._asyncRethrow($async$result, $async$completer);
  74429. while (true)
  74430. switch ($async$goto) {
  74431. case 0:
  74432. // Function start
  74433. t1 = $async$self.$this;
  74434. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  74435. t1._async_evaluate0$_inUnknownAtRule = false;
  74436. $async$goto = 2;
  74437. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  74438. case 2:
  74439. // returning from await.
  74440. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  74441. // implicit return
  74442. return A._asyncReturn(null, $async$completer);
  74443. }
  74444. });
  74445. return A._asyncStartSync($async$call$1, $async$completer);
  74446. },
  74447. $signature: 29
  74448. };
  74449. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  74450. call$0() {
  74451. var $async$goto = 0,
  74452. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74453. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  74454. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74455. if ($async$errorCode === 1)
  74456. return A._asyncRethrow($async$result, $async$completer);
  74457. while (true)
  74458. switch ($async$goto) {
  74459. case 0:
  74460. // Function start
  74461. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74462. case 3:
  74463. // for condition
  74464. if (!(_i < t2)) {
  74465. // goto after for
  74466. $async$goto = 5;
  74467. break;
  74468. }
  74469. $async$goto = 6;
  74470. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74471. case 6:
  74472. // returning from await.
  74473. case 4:
  74474. // for update
  74475. ++_i;
  74476. // goto for condition
  74477. $async$goto = 3;
  74478. break;
  74479. case 5:
  74480. // after for
  74481. $async$returnValue = null;
  74482. // goto return
  74483. $async$goto = 1;
  74484. break;
  74485. case 1:
  74486. // return
  74487. return A._asyncReturn($async$returnValue, $async$completer);
  74488. }
  74489. });
  74490. return A._asyncStartSync($async$call$0, $async$completer);
  74491. },
  74492. $signature: 2
  74493. };
  74494. A._EvaluateVisitor_visitDeclaration_closure5.prototype = {
  74495. call$1(value) {
  74496. return this.$call$body$_EvaluateVisitor_visitDeclaration_closure0(value);
  74497. },
  74498. $call$body$_EvaluateVisitor_visitDeclaration_closure0(value) {
  74499. var $async$goto = 0,
  74500. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_Value_2),
  74501. $async$returnValue, $async$self = this, $async$temp1;
  74502. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74503. if ($async$errorCode === 1)
  74504. return A._asyncRethrow($async$result, $async$completer);
  74505. while (true)
  74506. switch ($async$goto) {
  74507. case 0:
  74508. // Function start
  74509. $async$temp1 = A;
  74510. $async$goto = 3;
  74511. return A._asyncAwait(value.accept$1($async$self.$this), $async$call$1);
  74512. case 3:
  74513. // returning from await.
  74514. $async$returnValue = new $async$temp1.CssValue0($async$result, value.get$span(value), type$.CssValue_Value_2);
  74515. // goto return
  74516. $async$goto = 1;
  74517. break;
  74518. case 1:
  74519. // return
  74520. return A._asyncReturn($async$returnValue, $async$completer);
  74521. }
  74522. });
  74523. return A._asyncStartSync($async$call$1, $async$completer);
  74524. },
  74525. $signature: 319
  74526. };
  74527. A._EvaluateVisitor_visitDeclaration_closure6.prototype = {
  74528. call$0() {
  74529. var $async$goto = 0,
  74530. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74531. $async$self = this, t1, t2, t3, _i;
  74532. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74533. if ($async$errorCode === 1)
  74534. return A._asyncRethrow($async$result, $async$completer);
  74535. while (true)
  74536. switch ($async$goto) {
  74537. case 0:
  74538. // Function start
  74539. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74540. case 2:
  74541. // for condition
  74542. if (!(_i < t2)) {
  74543. // goto after for
  74544. $async$goto = 4;
  74545. break;
  74546. }
  74547. $async$goto = 5;
  74548. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74549. case 5:
  74550. // returning from await.
  74551. case 3:
  74552. // for update
  74553. ++_i;
  74554. // goto for condition
  74555. $async$goto = 2;
  74556. break;
  74557. case 4:
  74558. // after for
  74559. // implicit return
  74560. return A._asyncReturn(null, $async$completer);
  74561. }
  74562. });
  74563. return A._asyncStartSync($async$call$0, $async$completer);
  74564. },
  74565. $signature: 2
  74566. };
  74567. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  74568. call$1(value) {
  74569. var t1 = this.$this,
  74570. t2 = this.nodeWithSpan;
  74571. return t1._async_evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  74572. },
  74573. $signature: 60
  74574. };
  74575. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  74576. call$1(value) {
  74577. return this.$this._async_evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  74578. },
  74579. $signature: 60
  74580. };
  74581. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  74582. call$0() {
  74583. var _this = this,
  74584. t1 = _this.$this;
  74585. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  74586. },
  74587. $signature: 73
  74588. };
  74589. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  74590. call$1(element) {
  74591. var t1;
  74592. this.setVariables.call$1(element);
  74593. t1 = this.$this;
  74594. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  74595. },
  74596. $signature: 322
  74597. };
  74598. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  74599. call$1(child) {
  74600. return child.accept$1(this.$this);
  74601. },
  74602. $signature: 99
  74603. };
  74604. A._EvaluateVisitor_visitExtendRule_closure2.prototype = {
  74605. call$0() {
  74606. var t1 = this.targetText;
  74607. return A.SelectorList_SelectorList$parse0(A.trimAscii0(t1.get$value(t1), true), false, true, this.$this._async_evaluate0$_logger);
  74608. },
  74609. $signature: 49
  74610. };
  74611. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  74612. call$1(value) {
  74613. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  74614. },
  74615. $signature: 325
  74616. };
  74617. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  74618. call$0() {
  74619. var $async$goto = 0,
  74620. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74621. $async$self = this, t2, t3, _i, t1, styleRule;
  74622. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74623. if ($async$errorCode === 1)
  74624. return A._asyncRethrow($async$result, $async$completer);
  74625. while (true)
  74626. switch ($async$goto) {
  74627. case 0:
  74628. // Function start
  74629. t1 = $async$self.$this;
  74630. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  74631. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes ? 2 : 4;
  74632. break;
  74633. case 2:
  74634. // then
  74635. t2 = $async$self.children, t3 = t2.length, _i = 0;
  74636. case 5:
  74637. // for condition
  74638. if (!(_i < t3)) {
  74639. // goto after for
  74640. $async$goto = 7;
  74641. break;
  74642. }
  74643. $async$goto = 8;
  74644. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74645. case 8:
  74646. // returning from await.
  74647. case 6:
  74648. // for update
  74649. ++_i;
  74650. // goto for condition
  74651. $async$goto = 5;
  74652. break;
  74653. case 7:
  74654. // after for
  74655. // goto join
  74656. $async$goto = 3;
  74657. break;
  74658. case 4:
  74659. // else
  74660. $async$goto = 9;
  74661. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  74662. case 9:
  74663. // returning from await.
  74664. case 3:
  74665. // join
  74666. // implicit return
  74667. return A._asyncReturn(null, $async$completer);
  74668. }
  74669. });
  74670. return A._asyncStartSync($async$call$0, $async$completer);
  74671. },
  74672. $signature: 2
  74673. };
  74674. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  74675. call$0() {
  74676. var $async$goto = 0,
  74677. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74678. $async$self = this, t1, t2, t3, _i;
  74679. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74680. if ($async$errorCode === 1)
  74681. return A._asyncRethrow($async$result, $async$completer);
  74682. while (true)
  74683. switch ($async$goto) {
  74684. case 0:
  74685. // Function start
  74686. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74687. case 2:
  74688. // for condition
  74689. if (!(_i < t2)) {
  74690. // goto after for
  74691. $async$goto = 4;
  74692. break;
  74693. }
  74694. $async$goto = 5;
  74695. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74696. case 5:
  74697. // returning from await.
  74698. case 3:
  74699. // for update
  74700. ++_i;
  74701. // goto for condition
  74702. $async$goto = 2;
  74703. break;
  74704. case 4:
  74705. // after for
  74706. // implicit return
  74707. return A._asyncReturn(null, $async$completer);
  74708. }
  74709. });
  74710. return A._asyncStartSync($async$call$0, $async$completer);
  74711. },
  74712. $signature: 2
  74713. };
  74714. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  74715. call$1(node) {
  74716. return type$.CssStyleRule_2._is(node);
  74717. },
  74718. $signature: 7
  74719. };
  74720. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  74721. call$0() {
  74722. var $async$goto = 0,
  74723. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  74724. $async$returnValue, $async$self = this;
  74725. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74726. if ($async$errorCode === 1)
  74727. return A._asyncRethrow($async$result, $async$completer);
  74728. while (true)
  74729. switch ($async$goto) {
  74730. case 0:
  74731. // Function start
  74732. $async$goto = 3;
  74733. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  74734. case 3:
  74735. // returning from await.
  74736. $async$returnValue = $async$result.assertNumber$0();
  74737. // goto return
  74738. $async$goto = 1;
  74739. break;
  74740. case 1:
  74741. // return
  74742. return A._asyncReturn($async$returnValue, $async$completer);
  74743. }
  74744. });
  74745. return A._asyncStartSync($async$call$0, $async$completer);
  74746. },
  74747. $signature: 203
  74748. };
  74749. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  74750. call$0() {
  74751. var $async$goto = 0,
  74752. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  74753. $async$returnValue, $async$self = this;
  74754. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74755. if ($async$errorCode === 1)
  74756. return A._asyncRethrow($async$result, $async$completer);
  74757. while (true)
  74758. switch ($async$goto) {
  74759. case 0:
  74760. // Function start
  74761. $async$goto = 3;
  74762. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  74763. case 3:
  74764. // returning from await.
  74765. $async$returnValue = $async$result.assertNumber$0();
  74766. // goto return
  74767. $async$goto = 1;
  74768. break;
  74769. case 1:
  74770. // return
  74771. return A._asyncReturn($async$returnValue, $async$completer);
  74772. }
  74773. });
  74774. return A._asyncStartSync($async$call$0, $async$completer);
  74775. },
  74776. $signature: 203
  74777. };
  74778. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  74779. call$0() {
  74780. return this.fromNumber.assertInt$0();
  74781. },
  74782. $signature: 12
  74783. };
  74784. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  74785. call$0() {
  74786. var t1 = this.fromNumber;
  74787. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74788. },
  74789. $signature: 12
  74790. };
  74791. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  74792. call$0() {
  74793. var $async$goto = 0,
  74794. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  74795. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, result, t1, t2, nodeWithSpan;
  74796. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74797. if ($async$errorCode === 1)
  74798. return A._asyncRethrow($async$result, $async$completer);
  74799. while (true)
  74800. switch ($async$goto) {
  74801. case 0:
  74802. // Function start
  74803. t1 = $async$self.$this;
  74804. t2 = $async$self.node;
  74805. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  74806. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  74807. case 3:
  74808. // for condition
  74809. if (!(i !== t3.to)) {
  74810. // goto after for
  74811. $async$goto = 5;
  74812. break;
  74813. }
  74814. t7 = t1._async_evaluate0$_environment;
  74815. t8 = t6.get$numeratorUnits(t6);
  74816. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74817. $async$goto = 6;
  74818. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  74819. case 6:
  74820. // returning from await.
  74821. result = $async$result;
  74822. if (result != null) {
  74823. $async$returnValue = result;
  74824. // goto return
  74825. $async$goto = 1;
  74826. break;
  74827. }
  74828. case 4:
  74829. // for update
  74830. i += t4;
  74831. // goto for condition
  74832. $async$goto = 3;
  74833. break;
  74834. case 5:
  74835. // after for
  74836. $async$returnValue = null;
  74837. // goto return
  74838. $async$goto = 1;
  74839. break;
  74840. case 1:
  74841. // return
  74842. return A._asyncReturn($async$returnValue, $async$completer);
  74843. }
  74844. });
  74845. return A._asyncStartSync($async$call$0, $async$completer);
  74846. },
  74847. $signature: 73
  74848. };
  74849. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  74850. call$1(child) {
  74851. return child.accept$1(this.$this);
  74852. },
  74853. $signature: 99
  74854. };
  74855. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  74856. call$1(module) {
  74857. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  74858. },
  74859. $signature: 105
  74860. };
  74861. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  74862. call$1(module) {
  74863. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  74864. },
  74865. $signature: 105
  74866. };
  74867. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  74868. call$0() {
  74869. var t1 = this.$this;
  74870. return t1._async_evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure2(t1));
  74871. },
  74872. $signature: 73
  74873. };
  74874. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  74875. call$1(child) {
  74876. return child.accept$1(this.$this);
  74877. },
  74878. $signature: 99
  74879. };
  74880. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  74881. call$0() {
  74882. var $async$goto = 0,
  74883. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74884. $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;
  74885. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74886. if ($async$errorCode === 1)
  74887. return A._asyncRethrow($async$result, $async$completer);
  74888. while (true)
  74889. switch ($async$goto) {
  74890. case 0:
  74891. // Function start
  74892. t1 = $async$self.$this;
  74893. t2 = $async$self.$import;
  74894. $async$goto = 3;
  74895. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  74896. case 3:
  74897. // returning from await.
  74898. result = $async$result;
  74899. stylesheet = result.stylesheet;
  74900. url = stylesheet.span.file.url;
  74901. if (url != null) {
  74902. t3 = t1._async_evaluate0$_activeModules;
  74903. if (t3.containsKey$1(url)) {
  74904. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  74905. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  74906. }
  74907. t3.$indexSet(0, url, t2);
  74908. }
  74909. t2 = stylesheet._stylesheet1$_uses;
  74910. t3 = type$.UnmodifiableListView_UseRule_2;
  74911. t4 = new A.UnmodifiableListView(t2, t3);
  74912. if (t4.get$length(t4) === 0) {
  74913. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  74914. t4 = t4.get$length(t4) === 0;
  74915. } else
  74916. t4 = false;
  74917. $async$goto = t4 ? 4 : 5;
  74918. break;
  74919. case 4:
  74920. // then
  74921. oldImporter = t1._async_evaluate0$_importer;
  74922. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  74923. oldInDependency = t1._async_evaluate0$_inDependency;
  74924. t1._async_evaluate0$_importer = result.importer;
  74925. t1._async_evaluate0$__stylesheet = stylesheet;
  74926. t1._async_evaluate0$_inDependency = result.isDependency;
  74927. $async$goto = 6;
  74928. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  74929. case 6:
  74930. // returning from await.
  74931. t1._async_evaluate0$_importer = oldImporter;
  74932. t1._async_evaluate0$__stylesheet = t2;
  74933. t1._async_evaluate0$_inDependency = oldInDependency;
  74934. t1._async_evaluate0$_activeModules.remove$1(0, url);
  74935. // goto return
  74936. $async$goto = 1;
  74937. break;
  74938. case 5:
  74939. // join
  74940. t2 = new A.UnmodifiableListView(t2, t3);
  74941. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  74942. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  74943. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  74944. } else
  74945. loadsUserDefinedModules = true;
  74946. children = A._Cell$();
  74947. t2 = t1._async_evaluate0$_environment;
  74948. t3 = type$.String;
  74949. t4 = type$.Module_AsyncCallable_2;
  74950. t5 = type$.AstNode_2;
  74951. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  74952. t7 = t2._async_environment0$_variables;
  74953. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74954. t8 = t2._async_environment0$_variableNodes;
  74955. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74956. t9 = t2._async_environment0$_functions;
  74957. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74958. t10 = t2._async_environment0$_mixins;
  74959. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74960. 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);
  74961. $async$goto = 7;
  74962. 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);
  74963. case 7:
  74964. // returning from await.
  74965. module = environment.toDummyModule$0();
  74966. t1._async_evaluate0$_environment.importForwards$1(module);
  74967. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74968. break;
  74969. case 8:
  74970. // then
  74971. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74972. break;
  74973. case 10:
  74974. // then
  74975. $async$goto = 12;
  74976. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74977. case 12:
  74978. // returning from await.
  74979. case 11:
  74980. // join
  74981. visitor = new A._ImportedCssVisitor2(t1);
  74982. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74983. t2.get$current(t2).accept$1(visitor);
  74984. case 9:
  74985. // join
  74986. t1._async_evaluate0$_activeModules.remove$1(0, url);
  74987. case 1:
  74988. // return
  74989. return A._asyncReturn($async$returnValue, $async$completer);
  74990. }
  74991. });
  74992. return A._asyncStartSync($async$call$0, $async$completer);
  74993. },
  74994. $signature: 38
  74995. };
  74996. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  74997. call$1(previousLoad) {
  74998. 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));
  74999. },
  75000. $signature: 98
  75001. };
  75002. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  75003. call$1(rule) {
  75004. return rule.url.get$scheme() !== "sass";
  75005. },
  75006. $signature: 204
  75007. };
  75008. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  75009. call$1(rule) {
  75010. return rule.url.get$scheme() !== "sass";
  75011. },
  75012. $signature: 205
  75013. };
  75014. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  75015. call$0() {
  75016. var $async$goto = 0,
  75017. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75018. $async$self = this, t7, t8, t9, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  75019. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75020. if ($async$errorCode === 1)
  75021. return A._asyncRethrow($async$result, $async$completer);
  75022. while (true)
  75023. switch ($async$goto) {
  75024. case 0:
  75025. // Function start
  75026. t1 = $async$self.$this;
  75027. oldImporter = t1._async_evaluate0$_importer;
  75028. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  75029. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  75030. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  75031. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  75032. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  75033. oldConfiguration = t1._async_evaluate0$_configuration;
  75034. oldInDependency = t1._async_evaluate0$_inDependency;
  75035. t6 = $async$self.result;
  75036. t1._async_evaluate0$_importer = t6.importer;
  75037. t7 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  75038. t8 = $async$self.loadsUserDefinedModules;
  75039. if (t8) {
  75040. t9 = A.ModifiableCssStylesheet$0(t7.span);
  75041. t1._async_evaluate0$__root = t9;
  75042. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t9, "_root");
  75043. t1._async_evaluate0$__endOfImports = 0;
  75044. t1._async_evaluate0$_outOfOrderImports = null;
  75045. }
  75046. t1._async_evaluate0$_inDependency = t6.isDependency;
  75047. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  75048. if (!t6.get$isEmpty(t6))
  75049. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  75050. $async$goto = 2;
  75051. return A._asyncAwait(t1.visitStylesheet$1(t7), $async$call$0);
  75052. case 2:
  75053. // returning from await.
  75054. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  75055. $async$self.children._value = t6;
  75056. t1._async_evaluate0$_importer = oldImporter;
  75057. t1._async_evaluate0$__stylesheet = t2;
  75058. if (t8) {
  75059. t1._async_evaluate0$__root = t3;
  75060. t1._async_evaluate0$__parent = t4;
  75061. t1._async_evaluate0$__endOfImports = t5;
  75062. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  75063. }
  75064. t1._async_evaluate0$_configuration = oldConfiguration;
  75065. t1._async_evaluate0$_inDependency = oldInDependency;
  75066. // implicit return
  75067. return A._asyncReturn(null, $async$completer);
  75068. }
  75069. });
  75070. return A._asyncStartSync($async$call$0, $async$completer);
  75071. },
  75072. $signature: 2
  75073. };
  75074. A._EvaluateVisitor_visitIncludeRule_closure11.prototype = {
  75075. call$0() {
  75076. var t1 = this.node;
  75077. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  75078. },
  75079. $signature: 115
  75080. };
  75081. A._EvaluateVisitor_visitIncludeRule_closure12.prototype = {
  75082. call$0() {
  75083. return this.node.get$spanWithoutContent();
  75084. },
  75085. $signature: 30
  75086. };
  75087. A._EvaluateVisitor_visitIncludeRule_closure14.prototype = {
  75088. call$1($content) {
  75089. var t1 = this.$this;
  75090. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  75091. },
  75092. $signature: 331
  75093. };
  75094. A._EvaluateVisitor_visitIncludeRule_closure13.prototype = {
  75095. call$0() {
  75096. var $async$goto = 0,
  75097. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75098. $async$self = this, t1;
  75099. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75100. if ($async$errorCode === 1)
  75101. return A._asyncRethrow($async$result, $async$completer);
  75102. while (true)
  75103. switch ($async$goto) {
  75104. case 0:
  75105. // Function start
  75106. t1 = $async$self.$this;
  75107. $async$goto = 2;
  75108. 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);
  75109. case 2:
  75110. // returning from await.
  75111. // implicit return
  75112. return A._asyncReturn(null, $async$completer);
  75113. }
  75114. });
  75115. return A._asyncStartSync($async$call$0, $async$completer);
  75116. },
  75117. $signature: 2
  75118. };
  75119. A._EvaluateVisitor_visitIncludeRule__closure2.prototype = {
  75120. call$0() {
  75121. var $async$goto = 0,
  75122. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75123. $async$self = this, t1;
  75124. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75125. if ($async$errorCode === 1)
  75126. return A._asyncRethrow($async$result, $async$completer);
  75127. while (true)
  75128. switch ($async$goto) {
  75129. case 0:
  75130. // Function start
  75131. t1 = $async$self.$this;
  75132. $async$goto = 2;
  75133. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor_visitIncludeRule___closure2(t1, $async$self.mixin, $async$self.nodeWithSpan)), $async$call$0);
  75134. case 2:
  75135. // returning from await.
  75136. // implicit return
  75137. return A._asyncReturn(null, $async$completer);
  75138. }
  75139. });
  75140. return A._asyncStartSync($async$call$0, $async$completer);
  75141. },
  75142. $signature: 38
  75143. };
  75144. A._EvaluateVisitor_visitIncludeRule___closure2.prototype = {
  75145. call$0() {
  75146. var $async$goto = 0,
  75147. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  75148. $async$self = this, t1, t2, t3, t4, t5, _i;
  75149. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75150. if ($async$errorCode === 1)
  75151. return A._asyncRethrow($async$result, $async$completer);
  75152. while (true)
  75153. switch ($async$goto) {
  75154. case 0:
  75155. // Function start
  75156. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpan, t5 = type$.nullable_Value_2, _i = 0;
  75157. case 2:
  75158. // for condition
  75159. if (!(_i < t2)) {
  75160. // goto after for
  75161. $async$goto = 4;
  75162. break;
  75163. }
  75164. $async$goto = 5;
  75165. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure2(t3, t1[_i]), t5), $async$call$0);
  75166. case 5:
  75167. // returning from await.
  75168. case 3:
  75169. // for update
  75170. ++_i;
  75171. // goto for condition
  75172. $async$goto = 2;
  75173. break;
  75174. case 4:
  75175. // after for
  75176. // implicit return
  75177. return A._asyncReturn(null, $async$completer);
  75178. }
  75179. });
  75180. return A._asyncStartSync($async$call$0, $async$completer);
  75181. },
  75182. $signature: 38
  75183. };
  75184. A._EvaluateVisitor_visitIncludeRule____closure2.prototype = {
  75185. call$0() {
  75186. return this.statement.accept$1(this.$this);
  75187. },
  75188. $signature: 73
  75189. };
  75190. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  75191. call$1(mediaQueries) {
  75192. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  75193. },
  75194. $signature: 82
  75195. };
  75196. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  75197. call$0() {
  75198. var $async$goto = 0,
  75199. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75200. $async$self = this, t1, t2;
  75201. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75202. if ($async$errorCode === 1)
  75203. return A._asyncRethrow($async$result, $async$completer);
  75204. while (true)
  75205. switch ($async$goto) {
  75206. case 0:
  75207. // Function start
  75208. t1 = $async$self.$this;
  75209. t2 = $async$self.mergedQueries;
  75210. if (t2 == null)
  75211. t2 = $async$self.queries;
  75212. $async$goto = 2;
  75213. 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);
  75214. case 2:
  75215. // returning from await.
  75216. // implicit return
  75217. return A._asyncReturn(null, $async$completer);
  75218. }
  75219. });
  75220. return A._asyncStartSync($async$call$0, $async$completer);
  75221. },
  75222. $signature: 2
  75223. };
  75224. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  75225. call$0() {
  75226. var $async$goto = 0,
  75227. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75228. $async$self = this, t2, t3, _i, t1, styleRule;
  75229. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75230. if ($async$errorCode === 1)
  75231. return A._asyncRethrow($async$result, $async$completer);
  75232. while (true)
  75233. switch ($async$goto) {
  75234. case 0:
  75235. // Function start
  75236. t1 = $async$self.$this;
  75237. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  75238. $async$goto = styleRule == null ? 2 : 4;
  75239. break;
  75240. case 2:
  75241. // then
  75242. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  75243. case 5:
  75244. // for condition
  75245. if (!(_i < t3)) {
  75246. // goto after for
  75247. $async$goto = 7;
  75248. break;
  75249. }
  75250. $async$goto = 8;
  75251. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  75252. case 8:
  75253. // returning from await.
  75254. case 6:
  75255. // for update
  75256. ++_i;
  75257. // goto for condition
  75258. $async$goto = 5;
  75259. break;
  75260. case 7:
  75261. // after for
  75262. // goto join
  75263. $async$goto = 3;
  75264. break;
  75265. case 4:
  75266. // else
  75267. $async$goto = 9;
  75268. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  75269. case 9:
  75270. // returning from await.
  75271. case 3:
  75272. // join
  75273. // implicit return
  75274. return A._asyncReturn(null, $async$completer);
  75275. }
  75276. });
  75277. return A._asyncStartSync($async$call$0, $async$completer);
  75278. },
  75279. $signature: 2
  75280. };
  75281. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  75282. call$0() {
  75283. var $async$goto = 0,
  75284. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75285. $async$self = this, t1, t2, t3, _i;
  75286. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75287. if ($async$errorCode === 1)
  75288. return A._asyncRethrow($async$result, $async$completer);
  75289. while (true)
  75290. switch ($async$goto) {
  75291. case 0:
  75292. // Function start
  75293. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75294. case 2:
  75295. // for condition
  75296. if (!(_i < t2)) {
  75297. // goto after for
  75298. $async$goto = 4;
  75299. break;
  75300. }
  75301. $async$goto = 5;
  75302. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75303. case 5:
  75304. // returning from await.
  75305. case 3:
  75306. // for update
  75307. ++_i;
  75308. // goto for condition
  75309. $async$goto = 2;
  75310. break;
  75311. case 4:
  75312. // after for
  75313. // implicit return
  75314. return A._asyncReturn(null, $async$completer);
  75315. }
  75316. });
  75317. return A._asyncStartSync($async$call$0, $async$completer);
  75318. },
  75319. $signature: 2
  75320. };
  75321. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  75322. call$1(node) {
  75323. var t1;
  75324. if (!type$.CssStyleRule_2._is(node)) {
  75325. t1 = this.mergedSources;
  75326. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75327. } else
  75328. t1 = true;
  75329. return t1;
  75330. },
  75331. $signature: 7
  75332. };
  75333. A._EvaluateVisitor__visitMediaQueries_closure2.prototype = {
  75334. call$0() {
  75335. var t1 = A.SpanScanner$(this.resolved, null);
  75336. return new A.MediaQueryParser0(t1, this.$this._async_evaluate0$_logger).parse$0();
  75337. },
  75338. $signature: 107
  75339. };
  75340. A._EvaluateVisitor_visitStyleRule_closure23.prototype = {
  75341. call$0() {
  75342. var t1 = this.selectorText;
  75343. return A.KeyframeSelectorParser$0(t1.get$value(t1), this.$this._async_evaluate0$_logger).parse$0();
  75344. },
  75345. $signature: 48
  75346. };
  75347. A._EvaluateVisitor_visitStyleRule_closure24.prototype = {
  75348. call$0() {
  75349. var $async$goto = 0,
  75350. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75351. $async$self = this, t1, t2, t3, _i;
  75352. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75353. if ($async$errorCode === 1)
  75354. return A._asyncRethrow($async$result, $async$completer);
  75355. while (true)
  75356. switch ($async$goto) {
  75357. case 0:
  75358. // Function start
  75359. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75360. case 2:
  75361. // for condition
  75362. if (!(_i < t2)) {
  75363. // goto after for
  75364. $async$goto = 4;
  75365. break;
  75366. }
  75367. $async$goto = 5;
  75368. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75369. case 5:
  75370. // returning from await.
  75371. case 3:
  75372. // for update
  75373. ++_i;
  75374. // goto for condition
  75375. $async$goto = 2;
  75376. break;
  75377. case 4:
  75378. // after for
  75379. // implicit return
  75380. return A._asyncReturn(null, $async$completer);
  75381. }
  75382. });
  75383. return A._asyncStartSync($async$call$0, $async$completer);
  75384. },
  75385. $signature: 2
  75386. };
  75387. A._EvaluateVisitor_visitStyleRule_closure25.prototype = {
  75388. call$1(node) {
  75389. return type$.CssStyleRule_2._is(node);
  75390. },
  75391. $signature: 7
  75392. };
  75393. A._EvaluateVisitor_visitStyleRule_closure26.prototype = {
  75394. call$0() {
  75395. var _s11_ = "_stylesheet",
  75396. t1 = this.selectorText,
  75397. t2 = this.$this;
  75398. return A.SelectorList_SelectorList$parse0(t1.get$value(t1), !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, !t2._async_evaluate0$_assertInModule$2(t2._async_evaluate0$__stylesheet, _s11_).plainCss, t2._async_evaluate0$_logger);
  75399. },
  75400. $signature: 49
  75401. };
  75402. A._EvaluateVisitor_visitStyleRule_closure27.prototype = {
  75403. call$0() {
  75404. var t1 = this._box_0.parsedSelector,
  75405. t2 = this.$this,
  75406. t3 = t2._async_evaluate0$_styleRuleIgnoringAtRoot;
  75407. t3 = t3 == null ? null : t3.originalSelector;
  75408. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._async_evaluate0$_atRootExcludingStyleRule);
  75409. },
  75410. $signature: 49
  75411. };
  75412. A._EvaluateVisitor_visitStyleRule_closure28.prototype = {
  75413. call$0() {
  75414. var $async$goto = 0,
  75415. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75416. $async$self = this, t1;
  75417. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75418. if ($async$errorCode === 1)
  75419. return A._asyncRethrow($async$result, $async$completer);
  75420. while (true)
  75421. switch ($async$goto) {
  75422. case 0:
  75423. // Function start
  75424. t1 = $async$self.$this;
  75425. $async$goto = 2;
  75426. 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);
  75427. case 2:
  75428. // returning from await.
  75429. // implicit return
  75430. return A._asyncReturn(null, $async$completer);
  75431. }
  75432. });
  75433. return A._asyncStartSync($async$call$0, $async$completer);
  75434. },
  75435. $signature: 2
  75436. };
  75437. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  75438. call$0() {
  75439. var $async$goto = 0,
  75440. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75441. $async$self = this, t1, t2, t3, _i;
  75442. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75443. if ($async$errorCode === 1)
  75444. return A._asyncRethrow($async$result, $async$completer);
  75445. while (true)
  75446. switch ($async$goto) {
  75447. case 0:
  75448. // Function start
  75449. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75450. case 2:
  75451. // for condition
  75452. if (!(_i < t2)) {
  75453. // goto after for
  75454. $async$goto = 4;
  75455. break;
  75456. }
  75457. $async$goto = 5;
  75458. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75459. case 5:
  75460. // returning from await.
  75461. case 3:
  75462. // for update
  75463. ++_i;
  75464. // goto for condition
  75465. $async$goto = 2;
  75466. break;
  75467. case 4:
  75468. // after for
  75469. // implicit return
  75470. return A._asyncReturn(null, $async$completer);
  75471. }
  75472. });
  75473. return A._asyncStartSync($async$call$0, $async$completer);
  75474. },
  75475. $signature: 2
  75476. };
  75477. A._EvaluateVisitor_visitStyleRule_closure29.prototype = {
  75478. call$1(node) {
  75479. return type$.CssStyleRule_2._is(node);
  75480. },
  75481. $signature: 7
  75482. };
  75483. A._EvaluateVisitor_visitStyleRule_closure30.prototype = {
  75484. call$1(child) {
  75485. return type$.CssComment_2._is(child);
  75486. },
  75487. $signature: 108
  75488. };
  75489. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  75490. call$0() {
  75491. var $async$goto = 0,
  75492. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75493. $async$self = this, t2, t3, _i, t1, styleRule;
  75494. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75495. if ($async$errorCode === 1)
  75496. return A._asyncRethrow($async$result, $async$completer);
  75497. while (true)
  75498. switch ($async$goto) {
  75499. case 0:
  75500. // Function start
  75501. t1 = $async$self.$this;
  75502. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  75503. $async$goto = styleRule == null ? 2 : 4;
  75504. break;
  75505. case 2:
  75506. // then
  75507. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  75508. case 5:
  75509. // for condition
  75510. if (!(_i < t3)) {
  75511. // goto after for
  75512. $async$goto = 7;
  75513. break;
  75514. }
  75515. $async$goto = 8;
  75516. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  75517. case 8:
  75518. // returning from await.
  75519. case 6:
  75520. // for update
  75521. ++_i;
  75522. // goto for condition
  75523. $async$goto = 5;
  75524. break;
  75525. case 7:
  75526. // after for
  75527. // goto join
  75528. $async$goto = 3;
  75529. break;
  75530. case 4:
  75531. // else
  75532. $async$goto = 9;
  75533. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  75534. case 9:
  75535. // returning from await.
  75536. case 3:
  75537. // join
  75538. // implicit return
  75539. return A._asyncReturn(null, $async$completer);
  75540. }
  75541. });
  75542. return A._asyncStartSync($async$call$0, $async$completer);
  75543. },
  75544. $signature: 2
  75545. };
  75546. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  75547. call$0() {
  75548. var $async$goto = 0,
  75549. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75550. $async$self = this, t1, t2, t3, _i;
  75551. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75552. if ($async$errorCode === 1)
  75553. return A._asyncRethrow($async$result, $async$completer);
  75554. while (true)
  75555. switch ($async$goto) {
  75556. case 0:
  75557. // Function start
  75558. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  75559. case 2:
  75560. // for condition
  75561. if (!(_i < t2)) {
  75562. // goto after for
  75563. $async$goto = 4;
  75564. break;
  75565. }
  75566. $async$goto = 5;
  75567. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  75568. case 5:
  75569. // returning from await.
  75570. case 3:
  75571. // for update
  75572. ++_i;
  75573. // goto for condition
  75574. $async$goto = 2;
  75575. break;
  75576. case 4:
  75577. // after for
  75578. // implicit return
  75579. return A._asyncReturn(null, $async$completer);
  75580. }
  75581. });
  75582. return A._asyncStartSync($async$call$0, $async$completer);
  75583. },
  75584. $signature: 2
  75585. };
  75586. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  75587. call$1(node) {
  75588. return type$.CssStyleRule_2._is(node);
  75589. },
  75590. $signature: 7
  75591. };
  75592. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  75593. call$0() {
  75594. var t1 = this.override;
  75595. this.$this._async_evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  75596. },
  75597. $signature: 1
  75598. };
  75599. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  75600. call$0() {
  75601. var t1 = this.node;
  75602. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75603. },
  75604. $signature: 34
  75605. };
  75606. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  75607. call$0() {
  75608. var t1 = this.$this,
  75609. t2 = this.node;
  75610. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  75611. },
  75612. $signature: 1
  75613. };
  75614. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  75615. call$1(module) {
  75616. var t1 = this.node;
  75617. this.$this._async_evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  75618. },
  75619. $signature: 105
  75620. };
  75621. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  75622. call$0() {
  75623. return this.node.expression.accept$1(this.$this);
  75624. },
  75625. $signature: 69
  75626. };
  75627. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  75628. call$0() {
  75629. var $async$goto = 0,
  75630. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  75631. $async$returnValue, $async$self = this, t1, t2, t3, result;
  75632. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75633. if ($async$errorCode === 1)
  75634. return A._asyncRethrow($async$result, $async$completer);
  75635. while (true)
  75636. switch ($async$goto) {
  75637. case 0:
  75638. // Function start
  75639. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  75640. case 3:
  75641. // for condition
  75642. $async$goto = 5;
  75643. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  75644. case 5:
  75645. // returning from await.
  75646. if (!$async$result.get$isTruthy()) {
  75647. // goto after for
  75648. $async$goto = 4;
  75649. break;
  75650. }
  75651. $async$goto = 6;
  75652. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  75653. case 6:
  75654. // returning from await.
  75655. result = $async$result;
  75656. if (result != null) {
  75657. $async$returnValue = result;
  75658. // goto return
  75659. $async$goto = 1;
  75660. break;
  75661. }
  75662. // goto for condition
  75663. $async$goto = 3;
  75664. break;
  75665. case 4:
  75666. // after for
  75667. $async$returnValue = null;
  75668. // goto return
  75669. $async$goto = 1;
  75670. break;
  75671. case 1:
  75672. // return
  75673. return A._asyncReturn($async$returnValue, $async$completer);
  75674. }
  75675. });
  75676. return A._asyncStartSync($async$call$0, $async$completer);
  75677. },
  75678. $signature: 73
  75679. };
  75680. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  75681. call$1(child) {
  75682. return child.accept$1(this.$this);
  75683. },
  75684. $signature: 99
  75685. };
  75686. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  75687. call$0() {
  75688. var $async$goto = 0,
  75689. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  75690. $async$returnValue, $async$self = this, right, result, t1, t2, left, t3, $async$temp1;
  75691. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75692. if ($async$errorCode === 1)
  75693. return A._asyncRethrow($async$result, $async$completer);
  75694. while (true)
  75695. switch ($async$goto) {
  75696. case 0:
  75697. // Function start
  75698. t1 = $async$self.node;
  75699. t2 = $async$self.$this;
  75700. $async$goto = 3;
  75701. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  75702. case 3:
  75703. // returning from await.
  75704. left = $async$result;
  75705. t3 = t1.operator;
  75706. case 4:
  75707. // switch
  75708. switch (t3) {
  75709. case B.BinaryOperator_axY0:
  75710. // goto case
  75711. $async$goto = 6;
  75712. break;
  75713. case B.BinaryOperator_or_or_1_or0:
  75714. // goto case
  75715. $async$goto = 7;
  75716. break;
  75717. case B.BinaryOperator_and_and_2_and0:
  75718. // goto case
  75719. $async$goto = 8;
  75720. break;
  75721. case B.BinaryOperator_nZh0:
  75722. // goto case
  75723. $async$goto = 9;
  75724. break;
  75725. case B.BinaryOperator_Vr90:
  75726. // goto case
  75727. $async$goto = 10;
  75728. break;
  75729. case B.BinaryOperator_cw10:
  75730. // goto case
  75731. $async$goto = 11;
  75732. break;
  75733. case B.BinaryOperator_Wma0:
  75734. // goto case
  75735. $async$goto = 12;
  75736. break;
  75737. case B.BinaryOperator_apg0:
  75738. // goto case
  75739. $async$goto = 13;
  75740. break;
  75741. case B.BinaryOperator_oqF0:
  75742. // goto case
  75743. $async$goto = 14;
  75744. break;
  75745. case B.BinaryOperator_qbf0:
  75746. // goto case
  75747. $async$goto = 15;
  75748. break;
  75749. case B.BinaryOperator_KlB0:
  75750. // goto case
  75751. $async$goto = 16;
  75752. break;
  75753. case B.BinaryOperator_6pl0:
  75754. // goto case
  75755. $async$goto = 17;
  75756. break;
  75757. case B.BinaryOperator_qpm0:
  75758. // goto case
  75759. $async$goto = 18;
  75760. break;
  75761. case B.BinaryOperator_PHH0:
  75762. // goto case
  75763. $async$goto = 19;
  75764. break;
  75765. default:
  75766. // goto default
  75767. $async$goto = 20;
  75768. break;
  75769. }
  75770. break;
  75771. case 6:
  75772. // case
  75773. $async$goto = 21;
  75774. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75775. case 21:
  75776. // returning from await.
  75777. right = $async$result;
  75778. $async$returnValue = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  75779. // goto return
  75780. $async$goto = 1;
  75781. break;
  75782. case 7:
  75783. // case
  75784. $async$goto = left.get$isTruthy() ? 22 : 24;
  75785. break;
  75786. case 22:
  75787. // then
  75788. $async$result = left;
  75789. // goto join
  75790. $async$goto = 23;
  75791. break;
  75792. case 24:
  75793. // else
  75794. $async$goto = 25;
  75795. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75796. case 25:
  75797. // returning from await.
  75798. case 23:
  75799. // join
  75800. $async$returnValue = $async$result;
  75801. // goto return
  75802. $async$goto = 1;
  75803. break;
  75804. case 8:
  75805. // case
  75806. $async$goto = left.get$isTruthy() ? 26 : 28;
  75807. break;
  75808. case 26:
  75809. // then
  75810. $async$goto = 29;
  75811. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75812. case 29:
  75813. // returning from await.
  75814. // goto join
  75815. $async$goto = 27;
  75816. break;
  75817. case 28:
  75818. // else
  75819. $async$result = left;
  75820. case 27:
  75821. // join
  75822. $async$returnValue = $async$result;
  75823. // goto return
  75824. $async$goto = 1;
  75825. break;
  75826. case 9:
  75827. // case
  75828. $async$temp1 = left;
  75829. $async$goto = 30;
  75830. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75831. case 30:
  75832. // returning from await.
  75833. $async$returnValue = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75834. // goto return
  75835. $async$goto = 1;
  75836. break;
  75837. case 10:
  75838. // case
  75839. $async$temp1 = left;
  75840. $async$goto = 31;
  75841. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75842. case 31:
  75843. // returning from await.
  75844. $async$returnValue = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  75845. // goto return
  75846. $async$goto = 1;
  75847. break;
  75848. case 11:
  75849. // case
  75850. $async$temp1 = left;
  75851. $async$goto = 32;
  75852. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75853. case 32:
  75854. // returning from await.
  75855. $async$returnValue = $async$temp1.greaterThan$1($async$result);
  75856. // goto return
  75857. $async$goto = 1;
  75858. break;
  75859. case 12:
  75860. // case
  75861. $async$temp1 = left;
  75862. $async$goto = 33;
  75863. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75864. case 33:
  75865. // returning from await.
  75866. $async$returnValue = $async$temp1.greaterThanOrEquals$1($async$result);
  75867. // goto return
  75868. $async$goto = 1;
  75869. break;
  75870. case 13:
  75871. // case
  75872. $async$temp1 = left;
  75873. $async$goto = 34;
  75874. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75875. case 34:
  75876. // returning from await.
  75877. $async$returnValue = $async$temp1.lessThan$1($async$result);
  75878. // goto return
  75879. $async$goto = 1;
  75880. break;
  75881. case 14:
  75882. // case
  75883. $async$temp1 = left;
  75884. $async$goto = 35;
  75885. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75886. case 35:
  75887. // returning from await.
  75888. $async$returnValue = $async$temp1.lessThanOrEquals$1($async$result);
  75889. // goto return
  75890. $async$goto = 1;
  75891. break;
  75892. case 15:
  75893. // case
  75894. $async$temp1 = left;
  75895. $async$goto = 36;
  75896. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75897. case 36:
  75898. // returning from await.
  75899. $async$returnValue = $async$temp1.plus$1($async$result);
  75900. // goto return
  75901. $async$goto = 1;
  75902. break;
  75903. case 16:
  75904. // case
  75905. $async$temp1 = left;
  75906. $async$goto = 37;
  75907. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75908. case 37:
  75909. // returning from await.
  75910. $async$returnValue = $async$temp1.minus$1($async$result);
  75911. // goto return
  75912. $async$goto = 1;
  75913. break;
  75914. case 17:
  75915. // case
  75916. $async$temp1 = left;
  75917. $async$goto = 38;
  75918. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75919. case 38:
  75920. // returning from await.
  75921. $async$returnValue = $async$temp1.times$1($async$result);
  75922. // goto return
  75923. $async$goto = 1;
  75924. break;
  75925. case 18:
  75926. // case
  75927. $async$goto = 39;
  75928. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75929. case 39:
  75930. // returning from await.
  75931. right = $async$result;
  75932. result = left.dividedBy$1(right);
  75933. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  75934. $async$returnValue = type$.SassNumber_2._as(result).withSlash$2(left, right);
  75935. // goto return
  75936. $async$goto = 1;
  75937. break;
  75938. } else {
  75939. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  75940. t2._async_evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  75941. $async$returnValue = result;
  75942. // goto return
  75943. $async$goto = 1;
  75944. break;
  75945. }
  75946. case 19:
  75947. // case
  75948. $async$temp1 = left;
  75949. $async$goto = 40;
  75950. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75951. case 40:
  75952. // returning from await.
  75953. $async$returnValue = $async$temp1.modulo$1($async$result);
  75954. // goto return
  75955. $async$goto = 1;
  75956. break;
  75957. case 20:
  75958. // default
  75959. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  75960. case 5:
  75961. // after switch
  75962. case 1:
  75963. // return
  75964. return A._asyncReturn($async$returnValue, $async$completer);
  75965. }
  75966. });
  75967. return A._asyncStartSync($async$call$0, $async$completer);
  75968. },
  75969. $signature: 69
  75970. };
  75971. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation2.prototype = {
  75972. call$1(expression) {
  75973. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_qpm0)
  75974. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75975. else if (expression instanceof A.ParenthesizedExpression0)
  75976. return expression.expression.toString$0(0);
  75977. else
  75978. return expression.toString$0(0);
  75979. },
  75980. $signature: 111
  75981. };
  75982. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  75983. call$0() {
  75984. var t1 = this.node;
  75985. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75986. },
  75987. $signature: 34
  75988. };
  75989. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  75990. call$0() {
  75991. var _this = this,
  75992. t1 = _this.node.operator;
  75993. switch (t1) {
  75994. case B.UnaryOperator_gg40:
  75995. return _this.operand.unaryPlus$0();
  75996. case B.UnaryOperator_TLI0:
  75997. return _this.operand.unaryMinus$0();
  75998. case B.UnaryOperator_Ix10:
  75999. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  76000. case B.UnaryOperator_not_not_not0:
  76001. return _this.operand.unaryNot$0();
  76002. default:
  76003. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  76004. }
  76005. },
  76006. $signature: 51
  76007. };
  76008. A._EvaluateVisitor__visitCalculationValue_closure2.prototype = {
  76009. call$0() {
  76010. var $async$goto = 0,
  76011. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  76012. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  76013. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76014. if ($async$errorCode === 1)
  76015. return A._asyncRethrow($async$result, $async$completer);
  76016. while (true)
  76017. switch ($async$goto) {
  76018. case 0:
  76019. // Function start
  76020. t1 = $async$self.$this;
  76021. t2 = $async$self.node;
  76022. t3 = $async$self.inMinMax;
  76023. $async$temp1 = A;
  76024. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$1(t2.operator);
  76025. $async$goto = 3;
  76026. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.left, t3), $async$call$0);
  76027. case 3:
  76028. // returning from await.
  76029. $async$temp3 = $async$result;
  76030. $async$goto = 4;
  76031. return A._asyncAwait(t1._async_evaluate0$_visitCalculationValue$2$inMinMax(t2.right, t3), $async$call$0);
  76032. case 4:
  76033. // returning from await.
  76034. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  76035. // goto return
  76036. $async$goto = 1;
  76037. break;
  76038. case 1:
  76039. // return
  76040. return A._asyncReturn($async$returnValue, $async$completer);
  76041. }
  76042. });
  76043. return A._asyncStartSync($async$call$0, $async$completer);
  76044. },
  76045. $signature: 177
  76046. };
  76047. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  76048. call$1(expression) {
  76049. return expression.accept$1(this.$this);
  76050. },
  76051. $signature: 339
  76052. };
  76053. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  76054. call$0() {
  76055. var t1 = this.node;
  76056. return this.$this._async_evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  76057. },
  76058. $signature: 115
  76059. };
  76060. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  76061. call$0() {
  76062. var t1 = this.node;
  76063. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  76064. },
  76065. $signature: 69
  76066. };
  76067. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  76068. call$0() {
  76069. var t1 = this.node;
  76070. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  76071. },
  76072. $signature: 69
  76073. };
  76074. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  76075. call$0() {
  76076. var _this = this,
  76077. t1 = _this.$this,
  76078. t2 = _this.callable,
  76079. t3 = _this.V;
  76080. 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);
  76081. },
  76082. $signature() {
  76083. return this.V._eval$1("Future<0>()");
  76084. }
  76085. };
  76086. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  76087. call$0() {
  76088. var _this = this,
  76089. t1 = _this.$this,
  76090. t2 = _this.V;
  76091. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  76092. },
  76093. $signature() {
  76094. return this.V._eval$1("Future<0>()");
  76095. }
  76096. };
  76097. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  76098. call$0() {
  76099. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  76100. },
  76101. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  76102. var $async$goto = 0,
  76103. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  76104. $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;
  76105. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76106. if ($async$errorCode === 1)
  76107. return A._asyncRethrow($async$result, $async$completer);
  76108. while (true)
  76109. switch ($async$goto) {
  76110. case 0:
  76111. // Function start
  76112. t1 = $async$self.$this;
  76113. t2 = $async$self.evaluated;
  76114. t3 = t2.positional;
  76115. t4 = t2.named;
  76116. t5 = $async$self.callable.declaration.$arguments;
  76117. t6 = $async$self.nodeWithSpan;
  76118. t1._async_evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  76119. declaredArguments = t5.$arguments;
  76120. t7 = declaredArguments.length;
  76121. minLength = Math.min(t3.length, t7);
  76122. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  76123. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  76124. i = t3.length, t8 = t2.namedNodes;
  76125. case 3:
  76126. // for condition
  76127. if (!(i < t7)) {
  76128. // goto after for
  76129. $async$goto = 5;
  76130. break;
  76131. }
  76132. argument = declaredArguments[i];
  76133. t9 = argument.name;
  76134. value = t4.remove$1(0, t9);
  76135. $async$goto = value == null ? 6 : 7;
  76136. break;
  76137. case 6:
  76138. // then
  76139. t10 = argument.defaultValue;
  76140. $async$temp1 = t1;
  76141. $async$goto = 8;
  76142. return A._asyncAwait(t10.accept$1(t1), $async$call$0);
  76143. case 8:
  76144. // returning from await.
  76145. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t10));
  76146. case 7:
  76147. // join
  76148. t10 = t1._async_evaluate0$_environment;
  76149. t11 = t8.$index(0, t9);
  76150. if (t11 == null) {
  76151. t11 = argument.defaultValue;
  76152. t11.toString;
  76153. t11 = t1._async_evaluate0$_expressionNode$1(t11);
  76154. }
  76155. t10.setLocalVariable$3(t9, value, t11);
  76156. case 4:
  76157. // for update
  76158. ++i;
  76159. // goto for condition
  76160. $async$goto = 3;
  76161. break;
  76162. case 5:
  76163. // after for
  76164. restArgument = t5.restArgument;
  76165. if (restArgument != null) {
  76166. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  76167. t2 = t2.separator;
  76168. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  76169. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  76170. } else
  76171. argumentList = null;
  76172. $async$goto = 9;
  76173. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  76174. case 9:
  76175. // returning from await.
  76176. result = $async$result;
  76177. if (argumentList == null) {
  76178. $async$returnValue = result;
  76179. // goto return
  76180. $async$goto = 1;
  76181. break;
  76182. }
  76183. t2 = t4.__js_helper$_length;
  76184. if (t2 === 0) {
  76185. $async$returnValue = result;
  76186. // goto return
  76187. $async$goto = 1;
  76188. break;
  76189. }
  76190. if (argumentList._argument_list$_wereKeywordsAccessed) {
  76191. $async$returnValue = result;
  76192. // goto return
  76193. $async$goto = 1;
  76194. break;
  76195. }
  76196. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  76197. 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))));
  76198. case 1:
  76199. // return
  76200. return A._asyncReturn($async$returnValue, $async$completer);
  76201. }
  76202. });
  76203. return A._asyncStartSync($async$call$0, $async$completer);
  76204. },
  76205. $signature() {
  76206. return this.V._eval$1("Future<0>()");
  76207. }
  76208. };
  76209. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  76210. call$1($name) {
  76211. return "$" + $name;
  76212. },
  76213. $signature: 5
  76214. };
  76215. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  76216. call$0() {
  76217. var $async$goto = 0,
  76218. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  76219. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  76220. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76221. if ($async$errorCode === 1)
  76222. return A._asyncRethrow($async$result, $async$completer);
  76223. while (true)
  76224. switch ($async$goto) {
  76225. case 0:
  76226. // Function start
  76227. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  76228. case 3:
  76229. // for condition
  76230. if (!(_i < t3)) {
  76231. // goto after for
  76232. $async$goto = 5;
  76233. break;
  76234. }
  76235. $async$goto = 6;
  76236. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  76237. case 6:
  76238. // returning from await.
  76239. $returnValue = $async$result;
  76240. if ($returnValue instanceof A.Value0) {
  76241. $async$returnValue = $returnValue;
  76242. // goto return
  76243. $async$goto = 1;
  76244. break;
  76245. }
  76246. case 4:
  76247. // for update
  76248. ++_i;
  76249. // goto for condition
  76250. $async$goto = 3;
  76251. break;
  76252. case 5:
  76253. // after for
  76254. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  76255. case 1:
  76256. // return
  76257. return A._asyncReturn($async$returnValue, $async$completer);
  76258. }
  76259. });
  76260. return A._asyncStartSync($async$call$0, $async$completer);
  76261. },
  76262. $signature: 69
  76263. };
  76264. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  76265. call$0() {
  76266. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  76267. },
  76268. $signature: 0
  76269. };
  76270. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  76271. call$1($name) {
  76272. return "$" + $name;
  76273. },
  76274. $signature: 5
  76275. };
  76276. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  76277. call$1(value) {
  76278. return value;
  76279. },
  76280. $signature: 41
  76281. };
  76282. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  76283. call$1(value) {
  76284. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  76285. },
  76286. $signature: 41
  76287. };
  76288. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  76289. call$2(key, value) {
  76290. var _this = this,
  76291. t1 = _this.restNodeForSpan;
  76292. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  76293. _this.namedNodes.$indexSet(0, key, t1);
  76294. },
  76295. $signature: 86
  76296. };
  76297. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  76298. call$1(value) {
  76299. return value;
  76300. },
  76301. $signature: 41
  76302. };
  76303. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  76304. call$1(value) {
  76305. var t1 = this.restArgs;
  76306. return new A.ValueExpression0(value, t1.get$span(t1));
  76307. },
  76308. $signature: 54
  76309. };
  76310. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  76311. call$1(value) {
  76312. var t1 = this.restArgs;
  76313. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  76314. },
  76315. $signature: 54
  76316. };
  76317. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  76318. call$2(key, value) {
  76319. var _this = this,
  76320. t1 = _this.restArgs;
  76321. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  76322. },
  76323. $signature: 86
  76324. };
  76325. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  76326. call$1(value) {
  76327. var t1 = this.keywordRestArgs;
  76328. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  76329. },
  76330. $signature: 54
  76331. };
  76332. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  76333. call$2(key, value) {
  76334. var t2, _this = this,
  76335. t1 = _this.$this;
  76336. if (key instanceof A.SassString0)
  76337. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  76338. else {
  76339. t2 = _this.nodeWithSpan;
  76340. 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)));
  76341. }
  76342. },
  76343. $signature: 56
  76344. };
  76345. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  76346. call$0() {
  76347. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  76348. },
  76349. $signature: 0
  76350. };
  76351. A._EvaluateVisitor_visitStringExpression_closure2.prototype = {
  76352. call$1(value) {
  76353. var $async$goto = 0,
  76354. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  76355. $async$returnValue, $async$self = this, t1, result;
  76356. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76357. if ($async$errorCode === 1)
  76358. return A._asyncRethrow($async$result, $async$completer);
  76359. while (true)
  76360. switch ($async$goto) {
  76361. case 0:
  76362. // Function start
  76363. if (typeof value == "string") {
  76364. $async$returnValue = value;
  76365. // goto return
  76366. $async$goto = 1;
  76367. break;
  76368. }
  76369. type$.Expression_2._as(value);
  76370. t1 = $async$self.$this;
  76371. $async$goto = 3;
  76372. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  76373. case 3:
  76374. // returning from await.
  76375. result = $async$result;
  76376. $async$returnValue = result instanceof A.SassString0 ? result._string0$_text : t1._async_evaluate0$_serialize$3$quote(result, value, false);
  76377. // goto return
  76378. $async$goto = 1;
  76379. break;
  76380. case 1:
  76381. // return
  76382. return A._asyncReturn($async$returnValue, $async$completer);
  76383. }
  76384. });
  76385. return A._asyncStartSync($async$call$1, $async$completer);
  76386. },
  76387. $signature: 80
  76388. };
  76389. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  76390. call$0() {
  76391. var $async$goto = 0,
  76392. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76393. $async$self = this, t1, t2, t3, t4;
  76394. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76395. if ($async$errorCode === 1)
  76396. return A._asyncRethrow($async$result, $async$completer);
  76397. while (true)
  76398. switch ($async$goto) {
  76399. case 0:
  76400. // Function start
  76401. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76402. case 2:
  76403. // for condition
  76404. if (!t1.moveNext$0()) {
  76405. // goto after for
  76406. $async$goto = 3;
  76407. break;
  76408. }
  76409. t4 = t1.__internal$_current;
  76410. $async$goto = 4;
  76411. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76412. case 4:
  76413. // returning from await.
  76414. // goto for condition
  76415. $async$goto = 2;
  76416. break;
  76417. case 3:
  76418. // after for
  76419. // implicit return
  76420. return A._asyncReturn(null, $async$completer);
  76421. }
  76422. });
  76423. return A._asyncStartSync($async$call$0, $async$completer);
  76424. },
  76425. $signature: 2
  76426. };
  76427. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  76428. call$1(node) {
  76429. return type$.CssStyleRule_2._is(node);
  76430. },
  76431. $signature: 7
  76432. };
  76433. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  76434. call$0() {
  76435. var $async$goto = 0,
  76436. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76437. $async$self = this, t1, t2, t3, t4;
  76438. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76439. if ($async$errorCode === 1)
  76440. return A._asyncRethrow($async$result, $async$completer);
  76441. while (true)
  76442. switch ($async$goto) {
  76443. case 0:
  76444. // Function start
  76445. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76446. case 2:
  76447. // for condition
  76448. if (!t1.moveNext$0()) {
  76449. // goto after for
  76450. $async$goto = 3;
  76451. break;
  76452. }
  76453. t4 = t1.__internal$_current;
  76454. $async$goto = 4;
  76455. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76456. case 4:
  76457. // returning from await.
  76458. // goto for condition
  76459. $async$goto = 2;
  76460. break;
  76461. case 3:
  76462. // after for
  76463. // implicit return
  76464. return A._asyncReturn(null, $async$completer);
  76465. }
  76466. });
  76467. return A._asyncStartSync($async$call$0, $async$completer);
  76468. },
  76469. $signature: 2
  76470. };
  76471. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  76472. call$1(node) {
  76473. return type$.CssStyleRule_2._is(node);
  76474. },
  76475. $signature: 7
  76476. };
  76477. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  76478. call$1(mediaQueries) {
  76479. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  76480. },
  76481. $signature: 82
  76482. };
  76483. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  76484. call$0() {
  76485. var $async$goto = 0,
  76486. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76487. $async$self = this, t1, t2;
  76488. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76489. if ($async$errorCode === 1)
  76490. return A._asyncRethrow($async$result, $async$completer);
  76491. while (true)
  76492. switch ($async$goto) {
  76493. case 0:
  76494. // Function start
  76495. t1 = $async$self.$this;
  76496. t2 = $async$self.mergedQueries;
  76497. if (t2 == null)
  76498. t2 = $async$self.node.queries;
  76499. $async$goto = 2;
  76500. 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);
  76501. case 2:
  76502. // returning from await.
  76503. // implicit return
  76504. return A._asyncReturn(null, $async$completer);
  76505. }
  76506. });
  76507. return A._asyncStartSync($async$call$0, $async$completer);
  76508. },
  76509. $signature: 2
  76510. };
  76511. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  76512. call$0() {
  76513. var $async$goto = 0,
  76514. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76515. $async$self = this, t2, t3, t4, t1, styleRule;
  76516. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76517. if ($async$errorCode === 1)
  76518. return A._asyncRethrow($async$result, $async$completer);
  76519. while (true)
  76520. switch ($async$goto) {
  76521. case 0:
  76522. // Function start
  76523. t1 = $async$self.$this;
  76524. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  76525. $async$goto = styleRule == null ? 2 : 4;
  76526. break;
  76527. case 2:
  76528. // then
  76529. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  76530. case 5:
  76531. // for condition
  76532. if (!t2.moveNext$0()) {
  76533. // goto after for
  76534. $async$goto = 6;
  76535. break;
  76536. }
  76537. t4 = t2.__internal$_current;
  76538. $async$goto = 7;
  76539. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76540. case 7:
  76541. // returning from await.
  76542. // goto for condition
  76543. $async$goto = 5;
  76544. break;
  76545. case 6:
  76546. // after for
  76547. // goto join
  76548. $async$goto = 3;
  76549. break;
  76550. case 4:
  76551. // else
  76552. $async$goto = 8;
  76553. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  76554. case 8:
  76555. // returning from await.
  76556. case 3:
  76557. // join
  76558. // implicit return
  76559. return A._asyncReturn(null, $async$completer);
  76560. }
  76561. });
  76562. return A._asyncStartSync($async$call$0, $async$completer);
  76563. },
  76564. $signature: 2
  76565. };
  76566. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  76567. call$0() {
  76568. var $async$goto = 0,
  76569. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76570. $async$self = this, t1, t2, t3, t4;
  76571. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76572. if ($async$errorCode === 1)
  76573. return A._asyncRethrow($async$result, $async$completer);
  76574. while (true)
  76575. switch ($async$goto) {
  76576. case 0:
  76577. // Function start
  76578. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76579. case 2:
  76580. // for condition
  76581. if (!t1.moveNext$0()) {
  76582. // goto after for
  76583. $async$goto = 3;
  76584. break;
  76585. }
  76586. t4 = t1.__internal$_current;
  76587. $async$goto = 4;
  76588. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76589. case 4:
  76590. // returning from await.
  76591. // goto for condition
  76592. $async$goto = 2;
  76593. break;
  76594. case 3:
  76595. // after for
  76596. // implicit return
  76597. return A._asyncReturn(null, $async$completer);
  76598. }
  76599. });
  76600. return A._asyncStartSync($async$call$0, $async$completer);
  76601. },
  76602. $signature: 2
  76603. };
  76604. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  76605. call$1(node) {
  76606. var t1;
  76607. if (!type$.CssStyleRule_2._is(node)) {
  76608. t1 = this.mergedSources;
  76609. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  76610. } else
  76611. t1 = true;
  76612. return t1;
  76613. },
  76614. $signature: 7
  76615. };
  76616. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  76617. call$0() {
  76618. var $async$goto = 0,
  76619. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76620. $async$self = this, t1;
  76621. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76622. if ($async$errorCode === 1)
  76623. return A._asyncRethrow($async$result, $async$completer);
  76624. while (true)
  76625. switch ($async$goto) {
  76626. case 0:
  76627. // Function start
  76628. t1 = $async$self.$this;
  76629. $async$goto = 2;
  76630. 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);
  76631. case 2:
  76632. // returning from await.
  76633. // implicit return
  76634. return A._asyncReturn(null, $async$completer);
  76635. }
  76636. });
  76637. return A._asyncStartSync($async$call$0, $async$completer);
  76638. },
  76639. $signature: 2
  76640. };
  76641. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  76642. call$0() {
  76643. var $async$goto = 0,
  76644. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76645. $async$self = this, t1, t2, t3, t4;
  76646. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76647. if ($async$errorCode === 1)
  76648. return A._asyncRethrow($async$result, $async$completer);
  76649. while (true)
  76650. switch ($async$goto) {
  76651. case 0:
  76652. // Function start
  76653. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76654. case 2:
  76655. // for condition
  76656. if (!t1.moveNext$0()) {
  76657. // goto after for
  76658. $async$goto = 3;
  76659. break;
  76660. }
  76661. t4 = t1.__internal$_current;
  76662. $async$goto = 4;
  76663. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76664. case 4:
  76665. // returning from await.
  76666. // goto for condition
  76667. $async$goto = 2;
  76668. break;
  76669. case 3:
  76670. // after for
  76671. // implicit return
  76672. return A._asyncReturn(null, $async$completer);
  76673. }
  76674. });
  76675. return A._asyncStartSync($async$call$0, $async$completer);
  76676. },
  76677. $signature: 2
  76678. };
  76679. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  76680. call$1(node) {
  76681. return type$.CssStyleRule_2._is(node);
  76682. },
  76683. $signature: 7
  76684. };
  76685. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  76686. call$0() {
  76687. var $async$goto = 0,
  76688. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76689. $async$self = this, t2, t3, t4, t1, styleRule;
  76690. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76691. if ($async$errorCode === 1)
  76692. return A._asyncRethrow($async$result, $async$completer);
  76693. while (true)
  76694. switch ($async$goto) {
  76695. case 0:
  76696. // Function start
  76697. t1 = $async$self.$this;
  76698. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  76699. $async$goto = styleRule == null ? 2 : 4;
  76700. break;
  76701. case 2:
  76702. // then
  76703. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  76704. case 5:
  76705. // for condition
  76706. if (!t2.moveNext$0()) {
  76707. // goto after for
  76708. $async$goto = 6;
  76709. break;
  76710. }
  76711. t4 = t2.__internal$_current;
  76712. $async$goto = 7;
  76713. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76714. case 7:
  76715. // returning from await.
  76716. // goto for condition
  76717. $async$goto = 5;
  76718. break;
  76719. case 6:
  76720. // after for
  76721. // goto join
  76722. $async$goto = 3;
  76723. break;
  76724. case 4:
  76725. // else
  76726. $async$goto = 8;
  76727. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  76728. case 8:
  76729. // returning from await.
  76730. case 3:
  76731. // join
  76732. // implicit return
  76733. return A._asyncReturn(null, $async$completer);
  76734. }
  76735. });
  76736. return A._asyncStartSync($async$call$0, $async$completer);
  76737. },
  76738. $signature: 2
  76739. };
  76740. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  76741. call$0() {
  76742. var $async$goto = 0,
  76743. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76744. $async$self = this, t1, t2, t3, t4;
  76745. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76746. if ($async$errorCode === 1)
  76747. return A._asyncRethrow($async$result, $async$completer);
  76748. while (true)
  76749. switch ($async$goto) {
  76750. case 0:
  76751. // Function start
  76752. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  76753. case 2:
  76754. // for condition
  76755. if (!t1.moveNext$0()) {
  76756. // goto after for
  76757. $async$goto = 3;
  76758. break;
  76759. }
  76760. t4 = t1.__internal$_current;
  76761. $async$goto = 4;
  76762. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  76763. case 4:
  76764. // returning from await.
  76765. // goto for condition
  76766. $async$goto = 2;
  76767. break;
  76768. case 3:
  76769. // after for
  76770. // implicit return
  76771. return A._asyncReturn(null, $async$completer);
  76772. }
  76773. });
  76774. return A._asyncStartSync($async$call$0, $async$completer);
  76775. },
  76776. $signature: 2
  76777. };
  76778. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  76779. call$1(node) {
  76780. return type$.CssStyleRule_2._is(node);
  76781. },
  76782. $signature: 7
  76783. };
  76784. A._EvaluateVisitor__performInterpolation_closure2.prototype = {
  76785. call$1(value) {
  76786. var $async$goto = 0,
  76787. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  76788. $async$returnValue, $async$self = this, t1, result, t2, t3;
  76789. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76790. if ($async$errorCode === 1)
  76791. return A._asyncRethrow($async$result, $async$completer);
  76792. while (true)
  76793. switch ($async$goto) {
  76794. case 0:
  76795. // Function start
  76796. if (typeof value == "string") {
  76797. $async$returnValue = value;
  76798. // goto return
  76799. $async$goto = 1;
  76800. break;
  76801. }
  76802. type$.Expression_2._as(value);
  76803. t1 = $async$self.$this;
  76804. $async$goto = 3;
  76805. return A._asyncAwait(value.accept$1(t1), $async$call$1);
  76806. case 3:
  76807. // returning from await.
  76808. result = $async$result;
  76809. if ($async$self.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  76810. t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), $async$self.interpolation.span);
  76811. t3 = $.$get$namesByColor0();
  76812. t1._async_evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_qbf0, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  76813. }
  76814. $async$returnValue = t1._async_evaluate0$_serialize$3$quote(result, value, false);
  76815. // goto return
  76816. $async$goto = 1;
  76817. break;
  76818. case 1:
  76819. // return
  76820. return A._asyncReturn($async$returnValue, $async$completer);
  76821. }
  76822. });
  76823. return A._asyncStartSync($async$call$1, $async$completer);
  76824. },
  76825. $signature: 80
  76826. };
  76827. A._EvaluateVisitor__serialize_closure2.prototype = {
  76828. call$0() {
  76829. return A.serializeValue0(this.value, false, this.quote);
  76830. },
  76831. $signature: 32
  76832. };
  76833. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  76834. call$0() {
  76835. var t1 = this.expression;
  76836. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  76837. },
  76838. $signature: 207
  76839. };
  76840. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  76841. call$1(number) {
  76842. var asSlash = number.asSlash;
  76843. if (asSlash != null)
  76844. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  76845. else
  76846. return A.serializeValue0(number, true, true);
  76847. },
  76848. $signature: 208
  76849. };
  76850. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  76851. call$1(url) {
  76852. var t1 = this.$this._async_evaluate0$_importCache;
  76853. t1 = t1 == null ? null : t1.humanize$1(url);
  76854. return t1 == null ? url : t1;
  76855. },
  76856. $signature: 81
  76857. };
  76858. A._EvaluateVisitor__stackTrace_closure2.prototype = {
  76859. call$1(tuple) {
  76860. return this.$this._async_evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  76861. },
  76862. $signature: 209
  76863. };
  76864. A._ImportedCssVisitor2.prototype = {
  76865. visitCssAtRule$1(node) {
  76866. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  76867. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  76868. },
  76869. visitCssComment$1(node) {
  76870. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  76871. },
  76872. visitCssDeclaration$1(node) {
  76873. },
  76874. visitCssImport$1(node) {
  76875. var t2,
  76876. _s13_ = "_endOfImports",
  76877. t1 = this._async_evaluate0$_visitor;
  76878. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  76879. t1._async_evaluate0$_addChild$1(node);
  76880. 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)) {
  76881. t1._async_evaluate0$_addChild$1(node);
  76882. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  76883. } else {
  76884. t2 = t1._async_evaluate0$_outOfOrderImports;
  76885. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  76886. }
  76887. },
  76888. visitCssKeyframeBlock$1(node) {
  76889. },
  76890. visitCssMediaRule$1(node) {
  76891. var t1 = this._async_evaluate0$_visitor,
  76892. mediaQueries = t1._async_evaluate0$_mediaQueries;
  76893. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76894. },
  76895. visitCssStyleRule$1(node) {
  76896. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  76897. },
  76898. visitCssStylesheet$1(node) {
  76899. var t1, t2, t3;
  76900. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  76901. t3 = t1.__internal$_current;
  76902. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76903. }
  76904. },
  76905. visitCssSupportsRule$1(node) {
  76906. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  76907. }
  76908. };
  76909. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  76910. call$1(node) {
  76911. return type$.CssStyleRule_2._is(node);
  76912. },
  76913. $signature: 7
  76914. };
  76915. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  76916. call$1(node) {
  76917. var t1;
  76918. if (!type$.CssStyleRule_2._is(node))
  76919. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  76920. else
  76921. t1 = true;
  76922. return t1;
  76923. },
  76924. $signature: 7
  76925. };
  76926. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  76927. call$1(node) {
  76928. return type$.CssStyleRule_2._is(node);
  76929. },
  76930. $signature: 7
  76931. };
  76932. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  76933. call$1(node) {
  76934. return type$.CssStyleRule_2._is(node);
  76935. },
  76936. $signature: 7
  76937. };
  76938. A.EvaluateResult0.prototype = {};
  76939. A._EvaluationContext2.prototype = {
  76940. get$currentCallableSpan() {
  76941. var callableNode = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  76942. if (callableNode != null)
  76943. return callableNode.get$span(callableNode);
  76944. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76945. },
  76946. warn$2$deprecation(_, message, deprecation) {
  76947. var t1 = this._async_evaluate0$_visitor,
  76948. t2 = t1._async_evaluate0$_importSpan;
  76949. if (t2 == null) {
  76950. t2 = t1._async_evaluate0$_callableNode;
  76951. t2 = t2 == null ? null : t2.get$span(t2);
  76952. }
  76953. t1._async_evaluate0$_warn$3$deprecation(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76954. },
  76955. $isEvaluationContext0: 1
  76956. };
  76957. A._ArgumentResults2.prototype = {};
  76958. A._LoadedStylesheet2.prototype = {};
  76959. A.NodeToDartAsyncFileImporter.prototype = {
  76960. canonicalize$1(_, url) {
  76961. return this.canonicalize$body$NodeToDartAsyncFileImporter(0, url);
  76962. },
  76963. canonicalize$body$NodeToDartAsyncFileImporter(_, url) {
  76964. var $async$goto = 0,
  76965. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  76966. $async$returnValue, $async$self = this, result, t1, resultUrl;
  76967. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76968. if ($async$errorCode === 1)
  76969. return A._asyncRethrow($async$result, $async$completer);
  76970. while (true)
  76971. switch ($async$goto) {
  76972. case 0:
  76973. // Function start
  76974. if (url.get$scheme() === "file") {
  76975. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
  76976. // goto return
  76977. $async$goto = 1;
  76978. break;
  76979. }
  76980. result = $async$self._findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  76981. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  76982. break;
  76983. case 3:
  76984. // then
  76985. $async$goto = 5;
  76986. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  76987. case 5:
  76988. // returning from await.
  76989. result = $async$result;
  76990. case 4:
  76991. // join
  76992. if (result == null) {
  76993. $async$returnValue = null;
  76994. // goto return
  76995. $async$goto = 1;
  76996. break;
  76997. }
  76998. t1 = self.URL;
  76999. if (!(result instanceof t1))
  77000. A.jsThrow(new self.Error(string$.The_fie));
  77001. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  77002. if (resultUrl.get$scheme() !== "file")
  77003. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  77004. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
  77005. // goto return
  77006. $async$goto = 1;
  77007. break;
  77008. case 1:
  77009. // return
  77010. return A._asyncReturn($async$returnValue, $async$completer);
  77011. }
  77012. });
  77013. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  77014. },
  77015. load$1(_, url) {
  77016. return $.$get$_filesystemImporter().load$1(0, url);
  77017. }
  77018. };
  77019. A.AsyncImportCache0.prototype = {
  77020. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  77021. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  77022. },
  77023. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  77024. var $async$goto = 0,
  77025. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  77026. $async$returnValue, $async$self = this, t1, relativeResult;
  77027. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77028. if ($async$errorCode === 1)
  77029. return A._asyncRethrow($async$result, $async$completer);
  77030. while (true)
  77031. switch ($async$goto) {
  77032. case 0:
  77033. // Function start
  77034. $async$goto = baseImporter != null ? 3 : 4;
  77035. break;
  77036. case 3:
  77037. // then
  77038. t1 = type$.Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2;
  77039. $async$goto = 5;
  77040. 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);
  77041. case 5:
  77042. // returning from await.
  77043. relativeResult = $async$result;
  77044. if (relativeResult != null) {
  77045. $async$returnValue = relativeResult;
  77046. // goto return
  77047. $async$goto = 1;
  77048. break;
  77049. }
  77050. case 4:
  77051. // join
  77052. t1 = type$.Tuple2_Uri_bool;
  77053. $async$goto = 6;
  77054. 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);
  77055. case 6:
  77056. // returning from await.
  77057. $async$returnValue = $async$result;
  77058. // goto return
  77059. $async$goto = 1;
  77060. break;
  77061. case 1:
  77062. // return
  77063. return A._asyncReturn($async$returnValue, $async$completer);
  77064. }
  77065. });
  77066. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  77067. },
  77068. _async_import_cache0$_canonicalize$3(importer, url, forImport) {
  77069. return this._canonicalize$body$AsyncImportCache0(importer, url, forImport);
  77070. },
  77071. _canonicalize$body$AsyncImportCache0(importer, url, forImport) {
  77072. var $async$goto = 0,
  77073. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  77074. $async$returnValue, $async$self = this, t1, result;
  77075. var $async$_async_import_cache0$_canonicalize$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77076. if ($async$errorCode === 1)
  77077. return A._asyncRethrow($async$result, $async$completer);
  77078. while (true)
  77079. switch ($async$goto) {
  77080. case 0:
  77081. // Function start
  77082. if (forImport) {
  77083. t1 = type$.nullable_Object;
  77084. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  77085. } else
  77086. t1 = importer.canonicalize$1(0, url);
  77087. $async$goto = 3;
  77088. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$3);
  77089. case 3:
  77090. // returning from await.
  77091. result = $async$result;
  77092. if ((result == null ? null : result.get$scheme()) === "")
  77093. $async$self._async_import_cache0$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  77094. $async$returnValue = result;
  77095. // goto return
  77096. $async$goto = 1;
  77097. break;
  77098. case 1:
  77099. // return
  77100. return A._asyncReturn($async$returnValue, $async$completer);
  77101. }
  77102. });
  77103. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$3, $async$completer);
  77104. },
  77105. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  77106. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  77107. },
  77108. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  77109. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  77110. },
  77111. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  77112. var $async$goto = 0,
  77113. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  77114. $async$returnValue, $async$self = this;
  77115. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77116. if ($async$errorCode === 1)
  77117. return A._asyncRethrow($async$result, $async$completer);
  77118. while (true)
  77119. switch ($async$goto) {
  77120. case 0:
  77121. // Function start
  77122. $async$goto = 3;
  77123. 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);
  77124. case 3:
  77125. // returning from await.
  77126. $async$returnValue = $async$result;
  77127. // goto return
  77128. $async$goto = 1;
  77129. break;
  77130. case 1:
  77131. // return
  77132. return A._asyncReturn($async$returnValue, $async$completer);
  77133. }
  77134. });
  77135. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  77136. },
  77137. humanize$1(canonicalUrl) {
  77138. var t2, url,
  77139. t1 = this._async_import_cache0$_canonicalizeCache;
  77140. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_AsyncImporter_Uri_Uri_2);
  77141. t2 = t1.$ti;
  77142. 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());
  77143. if (url == null)
  77144. return canonicalUrl;
  77145. t1 = $.$get$url();
  77146. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  77147. },
  77148. sourceMapUrl$1(_, canonicalUrl) {
  77149. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  77150. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  77151. return t1 == null ? canonicalUrl : t1;
  77152. }
  77153. };
  77154. A.AsyncImportCache_canonicalize_closure1.prototype = {
  77155. call$0() {
  77156. var $async$goto = 0,
  77157. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  77158. $async$returnValue, $async$self = this, canonicalUrl, t1, resolvedUrl;
  77159. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77160. if ($async$errorCode === 1)
  77161. return A._asyncRethrow($async$result, $async$completer);
  77162. while (true)
  77163. switch ($async$goto) {
  77164. case 0:
  77165. // Function start
  77166. t1 = $async$self.baseUrl;
  77167. resolvedUrl = t1 == null ? null : t1.resolveUri$1($async$self.url);
  77168. if (resolvedUrl == null)
  77169. resolvedUrl = $async$self.url;
  77170. t1 = $async$self.baseImporter;
  77171. $async$goto = 3;
  77172. return A._asyncAwait($async$self.$this._async_import_cache0$_canonicalize$3(t1, resolvedUrl, $async$self.forImport), $async$call$0);
  77173. case 3:
  77174. // returning from await.
  77175. canonicalUrl = $async$result;
  77176. if (canonicalUrl == null) {
  77177. $async$returnValue = null;
  77178. // goto return
  77179. $async$goto = 1;
  77180. break;
  77181. }
  77182. $async$returnValue = new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  77183. // goto return
  77184. $async$goto = 1;
  77185. break;
  77186. case 1:
  77187. // return
  77188. return A._asyncReturn($async$returnValue, $async$completer);
  77189. }
  77190. });
  77191. return A._asyncStartSync($async$call$0, $async$completer);
  77192. },
  77193. $signature: 210
  77194. };
  77195. A.AsyncImportCache_canonicalize_closure2.prototype = {
  77196. call$0() {
  77197. var $async$goto = 0,
  77198. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple3_AsyncImporter_Uri_Uri_2),
  77199. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  77200. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77201. if ($async$errorCode === 1)
  77202. return A._asyncRethrow($async$result, $async$completer);
  77203. while (true)
  77204. switch ($async$goto) {
  77205. case 0:
  77206. // Function start
  77207. t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.forImport, _i = 0;
  77208. case 3:
  77209. // for condition
  77210. if (!(_i < t2.length)) {
  77211. // goto after for
  77212. $async$goto = 5;
  77213. break;
  77214. }
  77215. importer = t2[_i];
  77216. $async$goto = 6;
  77217. return A._asyncAwait(t1._async_import_cache0$_canonicalize$3(importer, t4, t5), $async$call$0);
  77218. case 6:
  77219. // returning from await.
  77220. canonicalUrl = $async$result;
  77221. if (canonicalUrl != null) {
  77222. $async$returnValue = new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_AsyncImporter_Uri_Uri_2);
  77223. // goto return
  77224. $async$goto = 1;
  77225. break;
  77226. }
  77227. case 4:
  77228. // for update
  77229. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  77230. // goto for condition
  77231. $async$goto = 3;
  77232. break;
  77233. case 5:
  77234. // after for
  77235. $async$returnValue = null;
  77236. // goto return
  77237. $async$goto = 1;
  77238. break;
  77239. case 1:
  77240. // return
  77241. return A._asyncReturn($async$returnValue, $async$completer);
  77242. }
  77243. });
  77244. return A._asyncStartSync($async$call$0, $async$completer);
  77245. },
  77246. $signature: 210
  77247. };
  77248. A.AsyncImportCache__canonicalize_closure0.prototype = {
  77249. call$0() {
  77250. return this.importer.canonicalize$1(0, this.url);
  77251. },
  77252. $signature: 142
  77253. };
  77254. A.AsyncImportCache_importCanonical_closure0.prototype = {
  77255. call$0() {
  77256. var $async$goto = 0,
  77257. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  77258. $async$returnValue, $async$self = this, t2, t3, t4, t1, result;
  77259. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  77260. if ($async$errorCode === 1)
  77261. return A._asyncRethrow($async$result, $async$completer);
  77262. while (true)
  77263. switch ($async$goto) {
  77264. case 0:
  77265. // Function start
  77266. t1 = $async$self.canonicalUrl;
  77267. $async$goto = 3;
  77268. return A._asyncAwait($async$self.importer.load$1(0, t1), $async$call$0);
  77269. case 3:
  77270. // returning from await.
  77271. result = $async$result;
  77272. if (result == null) {
  77273. $async$returnValue = null;
  77274. // goto return
  77275. $async$goto = 1;
  77276. break;
  77277. }
  77278. t2 = $async$self.$this;
  77279. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  77280. t3 = result.contents;
  77281. t4 = result.syntax;
  77282. t1 = $async$self.originalUrl.resolveUri$1(t1);
  77283. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  77284. // goto return
  77285. $async$goto = 1;
  77286. break;
  77287. case 1:
  77288. // return
  77289. return A._asyncReturn($async$returnValue, $async$completer);
  77290. }
  77291. });
  77292. return A._asyncStartSync($async$call$0, $async$completer);
  77293. },
  77294. $signature: 347
  77295. };
  77296. A.AsyncImportCache_humanize_closure2.prototype = {
  77297. call$1(tuple) {
  77298. return tuple.item2.$eq(0, this.canonicalUrl);
  77299. },
  77300. $signature: 348
  77301. };
  77302. A.AsyncImportCache_humanize_closure3.prototype = {
  77303. call$1(tuple) {
  77304. return tuple.item3;
  77305. },
  77306. $signature: 349
  77307. };
  77308. A.AsyncImportCache_humanize_closure4.prototype = {
  77309. call$1(url) {
  77310. return url.get$path(url).length;
  77311. },
  77312. $signature: 96
  77313. };
  77314. A.AtRootQueryParser0.prototype = {
  77315. parse$0() {
  77316. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  77317. }
  77318. };
  77319. A.AtRootQueryParser_parse_closure0.prototype = {
  77320. call$0() {
  77321. var include, atRules,
  77322. t1 = this.$this,
  77323. t2 = t1.scanner;
  77324. t2.expectChar$1(40);
  77325. t1.whitespace$0();
  77326. include = t1.scanIdentifier$1("with");
  77327. if (!include)
  77328. t1.expectIdentifier$2$name("without", '"with" or "without"');
  77329. t1.whitespace$0();
  77330. t2.expectChar$1(58);
  77331. t1.whitespace$0();
  77332. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  77333. do {
  77334. atRules.add$1(0, t1.identifier$0().toLowerCase());
  77335. t1.whitespace$0();
  77336. } while (t1.lookingAtIdentifier$0());
  77337. t2.expectChar$1(41);
  77338. t2.expectDone$0();
  77339. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  77340. },
  77341. $signature: 127
  77342. };
  77343. A.AtRootQuery0.prototype = {
  77344. excludes$1(node) {
  77345. var t1, _this = this;
  77346. if (_this._at_root_query0$_all)
  77347. return !_this.include;
  77348. if (type$.CssStyleRule_2._is(node))
  77349. return _this._at_root_query0$_rule !== _this.include;
  77350. if (type$.CssMediaRule_2._is(node))
  77351. return _this.excludesName$1("media");
  77352. if (type$.CssSupportsRule_2._is(node))
  77353. return _this.excludesName$1("supports");
  77354. if (type$.CssAtRule_2._is(node)) {
  77355. t1 = node.name;
  77356. return _this.excludesName$1(t1.get$value(t1).toLowerCase());
  77357. }
  77358. return false;
  77359. },
  77360. excludesName$1($name) {
  77361. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  77362. return t1 !== this.include;
  77363. }
  77364. };
  77365. A.AtRootRule0.prototype = {
  77366. accept$1$1(visitor) {
  77367. return visitor.visitAtRootRule$1(this);
  77368. },
  77369. accept$1(visitor) {
  77370. return this.accept$1$1(visitor, type$.dynamic);
  77371. },
  77372. toString$0(_) {
  77373. var buffer = new A.StringBuffer("@at-root "),
  77374. t1 = this.query;
  77375. if (t1 != null)
  77376. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  77377. t1 = this.children;
  77378. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  77379. },
  77380. get$span(receiver) {
  77381. return this.span;
  77382. }
  77383. };
  77384. A.ModifiableCssAtRule0.prototype = {
  77385. accept$1$1(visitor) {
  77386. return visitor.visitCssAtRule$1(this);
  77387. },
  77388. accept$1(visitor) {
  77389. return this.accept$1$1(visitor, type$.dynamic);
  77390. },
  77391. copyWithoutChildren$0() {
  77392. var _this = this;
  77393. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  77394. },
  77395. addChild$1(child) {
  77396. this.super$ModifiableCssParentNode$addChild0(child);
  77397. },
  77398. $isCssAtRule0: 1,
  77399. get$isChildless() {
  77400. return this.isChildless;
  77401. },
  77402. get$span(receiver) {
  77403. return this.span;
  77404. }
  77405. };
  77406. A.AtRule0.prototype = {
  77407. accept$1$1(visitor) {
  77408. return visitor.visitAtRule$1(this);
  77409. },
  77410. accept$1(visitor) {
  77411. return this.accept$1$1(visitor, type$.dynamic);
  77412. },
  77413. toString$0(_) {
  77414. var children,
  77415. t1 = "@" + this.name.toString$0(0),
  77416. buffer = new A.StringBuffer(t1),
  77417. t2 = this.value;
  77418. if (t2 != null)
  77419. buffer._contents = t1 + (" " + t2.toString$0(0));
  77420. children = this.children;
  77421. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  77422. },
  77423. get$span(receiver) {
  77424. return this.span;
  77425. }
  77426. };
  77427. A.AttributeSelector0.prototype = {
  77428. accept$1$1(visitor) {
  77429. return visitor.visitAttributeSelector$1(this);
  77430. },
  77431. accept$1(visitor) {
  77432. return this.accept$1$1(visitor, type$.dynamic);
  77433. },
  77434. $eq(_, other) {
  77435. var _this = this;
  77436. if (other == null)
  77437. return false;
  77438. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  77439. },
  77440. get$hashCode(_) {
  77441. var _this = this,
  77442. t1 = _this.name;
  77443. 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;
  77444. }
  77445. };
  77446. A.AttributeOperator0.prototype = {
  77447. toString$0(_) {
  77448. return this._attribute0$_text;
  77449. }
  77450. };
  77451. A.BinaryOperationExpression0.prototype = {
  77452. get$span(_) {
  77453. var right,
  77454. left = this.left;
  77455. for (; left instanceof A.BinaryOperationExpression0;)
  77456. left = left.left;
  77457. right = this.right;
  77458. for (; right instanceof A.BinaryOperationExpression0;)
  77459. right = right.right;
  77460. return left.get$span(left).expand$1(0, right.get$span(right));
  77461. },
  77462. accept$1$1(visitor) {
  77463. return visitor.visitBinaryOperationExpression$1(this);
  77464. },
  77465. accept$1(visitor) {
  77466. return this.accept$1$1(visitor, type$.dynamic);
  77467. },
  77468. toString$0(_) {
  77469. var t2, right, rightNeedsParens, _this = this,
  77470. left = _this.left,
  77471. leftNeedsParens = left instanceof A.BinaryOperationExpression0 && left.operator.precedence < _this.operator.precedence,
  77472. t1 = leftNeedsParens ? "" + A.Primitives_stringFromCharCode(40) : "";
  77473. t1 += left.toString$0(0);
  77474. if (leftNeedsParens)
  77475. t1 += A.Primitives_stringFromCharCode(41);
  77476. t2 = _this.operator;
  77477. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  77478. right = _this.right;
  77479. rightNeedsParens = right instanceof A.BinaryOperationExpression0 && right.operator.precedence <= t2.precedence;
  77480. if (rightNeedsParens)
  77481. t1 += A.Primitives_stringFromCharCode(40);
  77482. t1 += right.toString$0(0);
  77483. if (rightNeedsParens)
  77484. t1 += A.Primitives_stringFromCharCode(41);
  77485. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77486. },
  77487. $isExpression0: 1,
  77488. $isAstNode0: 1
  77489. };
  77490. A.BinaryOperator0.prototype = {
  77491. toString$0(_) {
  77492. return this.name;
  77493. }
  77494. };
  77495. A.BooleanExpression0.prototype = {
  77496. accept$1$1(visitor) {
  77497. return visitor.visitBooleanExpression$1(this);
  77498. },
  77499. accept$1(visitor) {
  77500. return this.accept$1$1(visitor, type$.dynamic);
  77501. },
  77502. toString$0(_) {
  77503. return String(this.value);
  77504. },
  77505. $isExpression0: 1,
  77506. $isAstNode0: 1,
  77507. get$span(receiver) {
  77508. return this.span;
  77509. }
  77510. };
  77511. A.legacyBooleanClass_closure.prototype = {
  77512. call$0() {
  77513. var t1 = type$.JSClass,
  77514. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  77515. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  77516. jsClass.TRUE = B.SassBoolean_true0;
  77517. jsClass.FALSE = B.SassBoolean_false0;
  77518. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  77519. return jsClass;
  77520. },
  77521. $signature: 24
  77522. };
  77523. A.legacyBooleanClass__closure.prototype = {
  77524. call$2(_, __) {
  77525. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  77526. },
  77527. call$1(_) {
  77528. return this.call$2(_, null);
  77529. },
  77530. "call*": "call$2",
  77531. $requiredArgCount: 1,
  77532. $defaultValues() {
  77533. return [null];
  77534. },
  77535. $signature: 211
  77536. };
  77537. A.legacyBooleanClass__closure0.prototype = {
  77538. call$1($self) {
  77539. return $self === B.SassBoolean_true0;
  77540. },
  77541. $signature: 112
  77542. };
  77543. A.booleanClass_closure.prototype = {
  77544. call$0() {
  77545. var t1 = type$.JSClass,
  77546. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  77547. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  77548. return jsClass;
  77549. },
  77550. $signature: 24
  77551. };
  77552. A.booleanClass__closure.prototype = {
  77553. call$2($self, _) {
  77554. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  77555. },
  77556. call$1($self) {
  77557. return this.call$2($self, null);
  77558. },
  77559. "call*": "call$2",
  77560. $requiredArgCount: 1,
  77561. $defaultValues() {
  77562. return [null];
  77563. },
  77564. $signature: 351
  77565. };
  77566. A.SassBoolean0.prototype = {
  77567. get$isTruthy() {
  77568. return this.value;
  77569. },
  77570. accept$1$1(visitor) {
  77571. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  77572. },
  77573. accept$1(visitor) {
  77574. return this.accept$1$1(visitor, type$.dynamic);
  77575. },
  77576. assertBoolean$1($name) {
  77577. return this;
  77578. },
  77579. unaryNot$0() {
  77580. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  77581. }
  77582. };
  77583. A.BuiltInCallable0.prototype = {
  77584. callbackFor$2(positional, names) {
  77585. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  77586. 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) {
  77587. overload = t1[_i];
  77588. t3 = overload.item1;
  77589. if (t3.matches$2(positional, names))
  77590. return overload;
  77591. mismatchDistance = t3.$arguments.length - positional;
  77592. if (minMismatchDistance != null) {
  77593. t3 = Math.abs(mismatchDistance);
  77594. t4 = Math.abs(minMismatchDistance);
  77595. if (t3 > t4)
  77596. continue;
  77597. if (t3 === t4 && mismatchDistance < 0)
  77598. continue;
  77599. }
  77600. minMismatchDistance = mismatchDistance;
  77601. fuzzyMatch = overload;
  77602. }
  77603. if (fuzzyMatch != null)
  77604. return fuzzyMatch;
  77605. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  77606. },
  77607. withName$1($name) {
  77608. return new A.BuiltInCallable0($name, this._built_in$_overloads);
  77609. },
  77610. $isAsyncCallable0: 1,
  77611. $isAsyncBuiltInCallable0: 1,
  77612. $isCallable0: 1,
  77613. get$name(receiver) {
  77614. return this.name;
  77615. }
  77616. };
  77617. A.BuiltInCallable$mixin_closure0.prototype = {
  77618. call$1($arguments) {
  77619. this.callback.call$1($arguments);
  77620. return B.C__SassNull0;
  77621. },
  77622. $signature: 3
  77623. };
  77624. A.BuiltInModule0.prototype = {
  77625. get$upstream() {
  77626. return B.List_empty18;
  77627. },
  77628. get$variableNodes() {
  77629. return B.Map_empty7;
  77630. },
  77631. get$extensionStore() {
  77632. return B.C_EmptyExtensionStore0;
  77633. },
  77634. get$css(_) {
  77635. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  77636. },
  77637. get$transitivelyContainsCss() {
  77638. return false;
  77639. },
  77640. get$transitivelyContainsExtensions() {
  77641. return false;
  77642. },
  77643. setVariable$3($name, value, nodeWithSpan) {
  77644. if (!this.variables.containsKey$1($name))
  77645. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  77646. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  77647. },
  77648. variableIdentity$1($name) {
  77649. return this;
  77650. },
  77651. cloneCss$0() {
  77652. return this;
  77653. },
  77654. $isModule0: 1,
  77655. get$url(receiver) {
  77656. return this.url;
  77657. },
  77658. get$functions(receiver) {
  77659. return this.functions;
  77660. },
  77661. get$mixins() {
  77662. return this.mixins;
  77663. },
  77664. get$variables() {
  77665. return this.variables;
  77666. }
  77667. };
  77668. A.CalculationExpression0.prototype = {
  77669. accept$1$1(visitor) {
  77670. return visitor.visitCalculationExpression$1(this);
  77671. },
  77672. accept$1(visitor) {
  77673. return this.accept$1$1(visitor, type$.dynamic);
  77674. },
  77675. toString$0(_) {
  77676. return this.name + "(" + B.JSArray_methods.join$1(this.$arguments, ", ") + ")";
  77677. },
  77678. $isExpression0: 1,
  77679. $isAstNode0: 1,
  77680. get$span(receiver) {
  77681. return this.span;
  77682. }
  77683. };
  77684. A.CalculationExpression__verifyArguments_closure0.prototype = {
  77685. call$1(arg) {
  77686. A.CalculationExpression__verify0(arg);
  77687. return arg;
  77688. },
  77689. $signature: 353
  77690. };
  77691. A.SassCalculation0.prototype = {
  77692. get$isSpecialNumber() {
  77693. return true;
  77694. },
  77695. accept$1$1(visitor) {
  77696. var t2,
  77697. t1 = visitor._serialize0$_buffer;
  77698. t1.write$1(0, this.name);
  77699. t1.writeCharCode$1(40);
  77700. t2 = visitor._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  77701. visitor._serialize0$_writeBetween$3(this.$arguments, t2, visitor.get$_serialize0$_writeCalculationValue());
  77702. t1.writeCharCode$1(41);
  77703. return null;
  77704. },
  77705. accept$1(visitor) {
  77706. return this.accept$1$1(visitor, type$.dynamic);
  77707. },
  77708. assertCalculation$1($name) {
  77709. return this;
  77710. },
  77711. plus$1(other) {
  77712. if (other instanceof A.SassString0)
  77713. return this.super$Value$plus0(other);
  77714. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  77715. },
  77716. minus$1(other) {
  77717. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  77718. },
  77719. unaryPlus$0() {
  77720. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  77721. },
  77722. unaryMinus$0() {
  77723. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  77724. },
  77725. $eq(_, other) {
  77726. if (other == null)
  77727. return false;
  77728. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  77729. },
  77730. get$hashCode(_) {
  77731. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  77732. }
  77733. };
  77734. A.SassCalculation__verifyLength_closure0.prototype = {
  77735. call$1(arg) {
  77736. return arg instanceof A.SassString0 || arg instanceof A.CalculationInterpolation0;
  77737. },
  77738. $signature: 112
  77739. };
  77740. A.CalculationOperation0.prototype = {
  77741. $eq(_, other) {
  77742. if (other == null)
  77743. return false;
  77744. return other instanceof A.CalculationOperation0 && this.operator === other.operator && J.$eq$(this.left, other.left) && J.$eq$(this.right, other.right);
  77745. },
  77746. get$hashCode(_) {
  77747. return (A.Primitives_objectHashCode(this.operator) ^ J.get$hashCode$(this.left) ^ J.get$hashCode$(this.right)) >>> 0;
  77748. },
  77749. toString$0(_) {
  77750. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  77751. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  77752. }
  77753. };
  77754. A.CalculationOperator0.prototype = {
  77755. toString$0(_) {
  77756. return this.name;
  77757. }
  77758. };
  77759. A.CalculationInterpolation0.prototype = {
  77760. $eq(_, other) {
  77761. if (other == null)
  77762. return false;
  77763. return other instanceof A.CalculationInterpolation0 && this.value === other.value;
  77764. },
  77765. get$hashCode(_) {
  77766. return B.JSString_methods.get$hashCode(this.value);
  77767. },
  77768. toString$0(_) {
  77769. return this.value;
  77770. }
  77771. };
  77772. A.CallableDeclaration0.prototype = {
  77773. get$span(receiver) {
  77774. return this.span;
  77775. }
  77776. };
  77777. A.Chokidar0.prototype = {};
  77778. A.ChokidarOptions0.prototype = {};
  77779. A.ChokidarWatcher0.prototype = {};
  77780. A.ClassSelector0.prototype = {
  77781. $eq(_, other) {
  77782. if (other == null)
  77783. return false;
  77784. return other instanceof A.ClassSelector0 && other.name === this.name;
  77785. },
  77786. accept$1$1(visitor) {
  77787. return visitor.visitClassSelector$1(this);
  77788. },
  77789. accept$1(visitor) {
  77790. return this.accept$1$1(visitor, type$.dynamic);
  77791. },
  77792. addSuffix$1(suffix) {
  77793. return new A.ClassSelector0(this.name + suffix);
  77794. },
  77795. get$hashCode(_) {
  77796. return B.JSString_methods.get$hashCode(this.name);
  77797. }
  77798. };
  77799. A._CloneCssVisitor0.prototype = {
  77800. visitCssAtRule$1(node) {
  77801. var t1 = node.isChildless,
  77802. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  77803. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  77804. },
  77805. visitCssComment$1(node) {
  77806. return new A.ModifiableCssComment0(node.text, node.span);
  77807. },
  77808. visitCssDeclaration$1(node) {
  77809. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  77810. },
  77811. visitCssImport$1(node) {
  77812. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  77813. },
  77814. visitCssKeyframeBlock$1(node) {
  77815. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  77816. },
  77817. visitCssMediaRule$1(node) {
  77818. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  77819. },
  77820. visitCssStyleRule$1(node) {
  77821. var newSelector = this._clone_css$_oldToNewSelectors.$index(0, node.selector);
  77822. if (newSelector == null)
  77823. throw A.wrapException(A.StateError$(string$.The_Ex));
  77824. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
  77825. },
  77826. visitCssStylesheet$1(node) {
  77827. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  77828. },
  77829. visitCssSupportsRule$1(node) {
  77830. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  77831. },
  77832. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  77833. var t1, t2, newChild;
  77834. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  77835. t2 = t1.get$current(t1);
  77836. newChild = t2.accept$1(this);
  77837. newChild.isGroupEnd = t2.get$isGroupEnd();
  77838. newParent.addChild$1(newChild);
  77839. }
  77840. return newParent;
  77841. },
  77842. _clone_css$_visitChildren$2(newParent, oldParent) {
  77843. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  77844. }
  77845. };
  77846. A.ColorExpression0.prototype = {
  77847. accept$1$1(visitor) {
  77848. return visitor.visitColorExpression$1(this);
  77849. },
  77850. accept$1(visitor) {
  77851. return this.accept$1$1(visitor, type$.dynamic);
  77852. },
  77853. toString$0(_) {
  77854. return A.serializeValue0(this.value, true, true);
  77855. },
  77856. $isExpression0: 1,
  77857. $isAstNode0: 1,
  77858. get$span(receiver) {
  77859. return this.span;
  77860. }
  77861. };
  77862. A.global_closure30.prototype = {
  77863. call$1($arguments) {
  77864. return A._rgb0("rgb", $arguments);
  77865. },
  77866. $signature: 3
  77867. };
  77868. A.global_closure31.prototype = {
  77869. call$1($arguments) {
  77870. return A._rgb0("rgb", $arguments);
  77871. },
  77872. $signature: 3
  77873. };
  77874. A.global_closure32.prototype = {
  77875. call$1($arguments) {
  77876. return A._rgbTwoArg0("rgb", $arguments);
  77877. },
  77878. $signature: 3
  77879. };
  77880. A.global_closure33.prototype = {
  77881. call$1($arguments) {
  77882. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  77883. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  77884. },
  77885. $signature: 3
  77886. };
  77887. A.global_closure34.prototype = {
  77888. call$1($arguments) {
  77889. return A._rgb0("rgba", $arguments);
  77890. },
  77891. $signature: 3
  77892. };
  77893. A.global_closure35.prototype = {
  77894. call$1($arguments) {
  77895. return A._rgb0("rgba", $arguments);
  77896. },
  77897. $signature: 3
  77898. };
  77899. A.global_closure36.prototype = {
  77900. call$1($arguments) {
  77901. return A._rgbTwoArg0("rgba", $arguments);
  77902. },
  77903. $signature: 3
  77904. };
  77905. A.global_closure37.prototype = {
  77906. call$1($arguments) {
  77907. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  77908. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  77909. },
  77910. $signature: 3
  77911. };
  77912. A.global_closure38.prototype = {
  77913. call$1($arguments) {
  77914. var color, t2,
  77915. t1 = J.getInterceptor$asx($arguments),
  77916. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  77917. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  77918. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  77919. throw A.wrapException(string$.Only_oa);
  77920. return A._functionString0("invert", t1.take$1($arguments, 1));
  77921. }
  77922. color = t1.$index($arguments, 0).assertColor$1("color");
  77923. t1 = color.get$red(color);
  77924. t2 = color.get$green(color);
  77925. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  77926. },
  77927. $signature: 3
  77928. };
  77929. A.global_closure39.prototype = {
  77930. call$1($arguments) {
  77931. return A._hsl0("hsl", $arguments);
  77932. },
  77933. $signature: 3
  77934. };
  77935. A.global_closure40.prototype = {
  77936. call$1($arguments) {
  77937. return A._hsl0("hsl", $arguments);
  77938. },
  77939. $signature: 3
  77940. };
  77941. A.global_closure41.prototype = {
  77942. call$1($arguments) {
  77943. var t1 = J.getInterceptor$asx($arguments);
  77944. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  77945. return A._functionString0("hsl", $arguments);
  77946. else
  77947. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  77948. },
  77949. $signature: 17
  77950. };
  77951. A.global_closure42.prototype = {
  77952. call$1($arguments) {
  77953. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  77954. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  77955. },
  77956. $signature: 3
  77957. };
  77958. A.global_closure43.prototype = {
  77959. call$1($arguments) {
  77960. return A._hsl0("hsla", $arguments);
  77961. },
  77962. $signature: 3
  77963. };
  77964. A.global_closure44.prototype = {
  77965. call$1($arguments) {
  77966. return A._hsl0("hsla", $arguments);
  77967. },
  77968. $signature: 3
  77969. };
  77970. A.global_closure45.prototype = {
  77971. call$1($arguments) {
  77972. var t1 = J.getInterceptor$asx($arguments);
  77973. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  77974. return A._functionString0("hsla", $arguments);
  77975. else
  77976. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  77977. },
  77978. $signature: 17
  77979. };
  77980. A.global_closure46.prototype = {
  77981. call$1($arguments) {
  77982. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  77983. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  77984. },
  77985. $signature: 3
  77986. };
  77987. A.global_closure47.prototype = {
  77988. call$1($arguments) {
  77989. var t1 = J.getInterceptor$asx($arguments);
  77990. if (t1.$index($arguments, 0) instanceof A.SassNumber0)
  77991. return A._functionString0("grayscale", $arguments);
  77992. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  77993. },
  77994. $signature: 3
  77995. };
  77996. A.global_closure48.prototype = {
  77997. call$1($arguments) {
  77998. var t1 = J.getInterceptor$asx($arguments),
  77999. color = t1.$index($arguments, 0).assertColor$1("color"),
  78000. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  78001. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  78002. },
  78003. $signature: 25
  78004. };
  78005. A.global_closure49.prototype = {
  78006. call$1($arguments) {
  78007. var t1 = J.getInterceptor$asx($arguments),
  78008. color = t1.$index($arguments, 0).assertColor$1("color"),
  78009. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78010. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78011. },
  78012. $signature: 25
  78013. };
  78014. A.global_closure50.prototype = {
  78015. call$1($arguments) {
  78016. var t1 = J.getInterceptor$asx($arguments),
  78017. color = t1.$index($arguments, 0).assertColor$1("color"),
  78018. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78019. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78020. },
  78021. $signature: 25
  78022. };
  78023. A.global_closure51.prototype = {
  78024. call$1($arguments) {
  78025. return new A.SassString0("saturate(" + A.serializeValue0(J.$index$asx($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  78026. },
  78027. $signature: 17
  78028. };
  78029. A.global_closure52.prototype = {
  78030. call$1($arguments) {
  78031. var t1 = J.getInterceptor$asx($arguments),
  78032. color = t1.$index($arguments, 0).assertColor$1("color"),
  78033. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78034. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78035. },
  78036. $signature: 25
  78037. };
  78038. A.global_closure53.prototype = {
  78039. call$1($arguments) {
  78040. var t1 = J.getInterceptor$asx($arguments),
  78041. color = t1.$index($arguments, 0).assertColor$1("color"),
  78042. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  78043. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  78044. },
  78045. $signature: 25
  78046. };
  78047. A.global_closure54.prototype = {
  78048. call$1($arguments) {
  78049. var argument = J.$index$asx($arguments, 0);
  78050. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  78051. return A._functionString0("alpha", $arguments);
  78052. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  78053. },
  78054. $signature: 3
  78055. };
  78056. A.global_closure55.prototype = {
  78057. call$1($arguments) {
  78058. var t1,
  78059. argList = J.$index$asx($arguments, 0).get$asList();
  78060. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  78061. return A._functionString0("alpha", $arguments);
  78062. t1 = argList.length;
  78063. if (t1 === 0)
  78064. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  78065. else
  78066. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  78067. },
  78068. $signature: 17
  78069. };
  78070. A.global__closure0.prototype = {
  78071. call$1(argument) {
  78072. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  78073. },
  78074. $signature: 45
  78075. };
  78076. A.global_closure56.prototype = {
  78077. call$1($arguments) {
  78078. var t1 = J.getInterceptor$asx($arguments);
  78079. if (t1.$index($arguments, 0) instanceof A.SassNumber0)
  78080. return A._functionString0("opacity", $arguments);
  78081. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  78082. },
  78083. $signature: 3
  78084. };
  78085. A.module_closure8.prototype = {
  78086. call$1($arguments) {
  78087. var result, t2, color,
  78088. t1 = J.getInterceptor$asx($arguments),
  78089. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  78090. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  78091. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  78092. throw A.wrapException(string$.Only_oa);
  78093. result = A._functionString0("invert", t1.take$1($arguments, 1));
  78094. t1 = A.S(t1.$index($arguments, 0));
  78095. t2 = result.toString$0(0);
  78096. A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, true);
  78097. return result;
  78098. }
  78099. color = t1.$index($arguments, 0).assertColor$1("color");
  78100. t1 = color.get$red(color);
  78101. t2 = color.get$green(color);
  78102. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  78103. },
  78104. $signature: 3
  78105. };
  78106. A.module_closure9.prototype = {
  78107. call$1($arguments) {
  78108. var result, t2,
  78109. t1 = J.getInterceptor$asx($arguments);
  78110. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  78111. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  78112. t1 = A.S(t1.$index($arguments, 0));
  78113. t2 = result.toString$0(0);
  78114. A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, true);
  78115. return result;
  78116. }
  78117. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  78118. },
  78119. $signature: 3
  78120. };
  78121. A.module_closure10.prototype = {
  78122. call$1($arguments) {
  78123. return A._hwb0($arguments);
  78124. },
  78125. $signature: 3
  78126. };
  78127. A.module_closure11.prototype = {
  78128. call$1($arguments) {
  78129. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  78130. if (parsed instanceof A.SassString0)
  78131. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  78132. else
  78133. return A._hwb0(type$.List_Value_2._as(parsed));
  78134. },
  78135. $signature: 3
  78136. };
  78137. A.module_closure12.prototype = {
  78138. call$1($arguments) {
  78139. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78140. return A.SassNumber_SassNumber0(t1.get$whiteness(t1), "%");
  78141. },
  78142. $signature: 10
  78143. };
  78144. A.module_closure13.prototype = {
  78145. call$1($arguments) {
  78146. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78147. return A.SassNumber_SassNumber0(t1.get$blackness(t1), "%");
  78148. },
  78149. $signature: 10
  78150. };
  78151. A.module_closure14.prototype = {
  78152. call$1($arguments) {
  78153. var result, t1,
  78154. argument = J.$index$asx($arguments, 0);
  78155. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  78156. result = A._functionString0("alpha", $arguments);
  78157. t1 = result.toString$0(0);
  78158. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
  78159. return result;
  78160. }
  78161. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  78162. },
  78163. $signature: 3
  78164. };
  78165. A.module_closure15.prototype = {
  78166. call$1($arguments) {
  78167. var result,
  78168. t1 = J.getInterceptor$asx($arguments);
  78169. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure0())) {
  78170. result = A._functionString0("alpha", $arguments);
  78171. t1 = result.toString$0(0);
  78172. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Using_c + t1, true);
  78173. return result;
  78174. }
  78175. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  78176. },
  78177. $signature: 17
  78178. };
  78179. A.module__closure0.prototype = {
  78180. call$1(argument) {
  78181. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  78182. },
  78183. $signature: 45
  78184. };
  78185. A.module_closure16.prototype = {
  78186. call$1($arguments) {
  78187. var result, t2,
  78188. t1 = J.getInterceptor$asx($arguments);
  78189. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  78190. result = A._functionString0("opacity", $arguments);
  78191. t1 = A.S(t1.$index($arguments, 0));
  78192. t2 = result.toString$0(0);
  78193. A.EvaluationContext_current0().warn$2$deprecation(0, "Passing a number (" + t1 + string$.x20to_co + t2, true);
  78194. return result;
  78195. }
  78196. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  78197. },
  78198. $signature: 3
  78199. };
  78200. A._red_closure0.prototype = {
  78201. call$1($arguments) {
  78202. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78203. return A.SassNumber_SassNumber0(t1.get$red(t1), null);
  78204. },
  78205. $signature: 10
  78206. };
  78207. A._green_closure0.prototype = {
  78208. call$1($arguments) {
  78209. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78210. return A.SassNumber_SassNumber0(t1.get$green(t1), null);
  78211. },
  78212. $signature: 10
  78213. };
  78214. A._blue_closure0.prototype = {
  78215. call$1($arguments) {
  78216. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78217. return A.SassNumber_SassNumber0(t1.get$blue(t1), null);
  78218. },
  78219. $signature: 10
  78220. };
  78221. A._mix_closure0.prototype = {
  78222. call$1($arguments) {
  78223. var t1 = J.getInterceptor$asx($arguments);
  78224. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  78225. },
  78226. $signature: 25
  78227. };
  78228. A._hue_closure0.prototype = {
  78229. call$1($arguments) {
  78230. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78231. return A.SassNumber_SassNumber0(t1.get$hue(t1), "deg");
  78232. },
  78233. $signature: 10
  78234. };
  78235. A._saturation_closure0.prototype = {
  78236. call$1($arguments) {
  78237. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78238. return A.SassNumber_SassNumber0(t1.get$saturation(t1), "%");
  78239. },
  78240. $signature: 10
  78241. };
  78242. A._lightness_closure0.prototype = {
  78243. call$1($arguments) {
  78244. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  78245. return A.SassNumber_SassNumber0(t1.get$lightness(t1), "%");
  78246. },
  78247. $signature: 10
  78248. };
  78249. A._complement_closure0.prototype = {
  78250. call$1($arguments) {
  78251. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  78252. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  78253. },
  78254. $signature: 25
  78255. };
  78256. A._adjust_closure0.prototype = {
  78257. call$1($arguments) {
  78258. return A._updateComponents0($arguments, true, false, false);
  78259. },
  78260. $signature: 25
  78261. };
  78262. A._scale_closure0.prototype = {
  78263. call$1($arguments) {
  78264. return A._updateComponents0($arguments, false, false, true);
  78265. },
  78266. $signature: 25
  78267. };
  78268. A._change_closure0.prototype = {
  78269. call$1($arguments) {
  78270. return A._updateComponents0($arguments, false, true, false);
  78271. },
  78272. $signature: 25
  78273. };
  78274. A._ieHexStr_closure0.prototype = {
  78275. call$1($arguments) {
  78276. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  78277. t1 = new A._ieHexStr_closure_hexString0();
  78278. 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);
  78279. },
  78280. $signature: 17
  78281. };
  78282. A._ieHexStr_closure_hexString0.prototype = {
  78283. call$1(component) {
  78284. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  78285. },
  78286. $signature: 222
  78287. };
  78288. A._updateComponents_getParam0.prototype = {
  78289. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  78290. var t2, t3, t4, _this = this,
  78291. t1 = _this.keywords.remove$1(0, $name),
  78292. number = t1 == null ? null : t1.assertNumber$1($name);
  78293. if (number == null)
  78294. return null;
  78295. t1 = _this.scale;
  78296. t2 = !t1;
  78297. if (t2 && checkUnitless)
  78298. if (number.get$hasUnits()) {
  78299. t3 = number.get$unitString();
  78300. t4 = number.unitSuggestion$1($name);
  78301. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, true);
  78302. }
  78303. if (t2 && checkPercent)
  78304. A._checkPercent0(number, $name);
  78305. if (!t2 || assertPercent)
  78306. number.assertUnit$2("%", $name);
  78307. if (t1)
  78308. max = 100;
  78309. if (!t2 || assertPercent)
  78310. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  78311. else {
  78312. t1 = _this.change ? 0 : -max;
  78313. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  78314. }
  78315. return t1;
  78316. },
  78317. call$2($name, max) {
  78318. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  78319. },
  78320. call$3$checkUnitless($name, max, checkUnitless) {
  78321. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  78322. },
  78323. call$3$checkPercent($name, max, checkPercent) {
  78324. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  78325. },
  78326. call$3$assertPercent($name, max, assertPercent) {
  78327. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  78328. },
  78329. $signature: 224
  78330. };
  78331. A._updateComponents_closure1.prototype = {
  78332. call$1(hue) {
  78333. return A._angleValue0(hue, "hue");
  78334. },
  78335. $signature: 95
  78336. };
  78337. A._updateComponents_closure2.prototype = {
  78338. call$1($name) {
  78339. return "$" + $name;
  78340. },
  78341. $signature: 5
  78342. };
  78343. A._updateComponents_updateValue0.prototype = {
  78344. call$3(current, param, max) {
  78345. var t1;
  78346. if (param == null)
  78347. return current;
  78348. if (this.change)
  78349. return param;
  78350. if (this.adjust)
  78351. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  78352. t1 = param > 0 ? max - current : current;
  78353. return current + t1 * (param / 100);
  78354. },
  78355. $signature: 229
  78356. };
  78357. A._updateComponents_updateRgb0.prototype = {
  78358. call$2(current, param) {
  78359. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  78360. },
  78361. $signature: 230
  78362. };
  78363. A._functionString_closure0.prototype = {
  78364. call$1(argument) {
  78365. return A.serializeValue0(argument, false, true);
  78366. },
  78367. $signature: 212
  78368. };
  78369. A._removedColorFunction_closure0.prototype = {
  78370. call$1($arguments) {
  78371. var t1 = this.name,
  78372. t2 = J.getInterceptor$asx($arguments),
  78373. t3 = A.S(t2.$index($arguments, 0)),
  78374. t4 = this.negative ? "-" : "";
  78375. throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Morx3a + t1, null));
  78376. },
  78377. $signature: 360
  78378. };
  78379. A._rgb_closure0.prototype = {
  78380. call$1(alpha) {
  78381. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  78382. },
  78383. $signature: 95
  78384. };
  78385. A._hsl_closure0.prototype = {
  78386. call$1(alpha) {
  78387. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  78388. },
  78389. $signature: 95
  78390. };
  78391. A._hwb_closure0.prototype = {
  78392. call$1(alpha) {
  78393. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  78394. },
  78395. $signature: 95
  78396. };
  78397. A._parseChannels_closure0.prototype = {
  78398. call$1(value) {
  78399. return value.get$isVar();
  78400. },
  78401. $signature: 45
  78402. };
  78403. A._NodeSassColor.prototype = {};
  78404. A.legacyColorClass_closure.prototype = {
  78405. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  78406. var red, t1, t2, t3, t4;
  78407. if (dartValue != null) {
  78408. J.set$dartValue$x(thisArg, dartValue);
  78409. return;
  78410. }
  78411. if (green == null || blue == null) {
  78412. A._asInt(redOrArgb);
  78413. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  78414. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  78415. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  78416. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  78417. } else {
  78418. redOrArgb.toString;
  78419. red = redOrArgb;
  78420. }
  78421. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  78422. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  78423. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  78424. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  78425. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  78426. },
  78427. call$2(thisArg, redOrArgb) {
  78428. return this.call$6(thisArg, redOrArgb, null, null, null, null);
  78429. },
  78430. call$3(thisArg, redOrArgb, green) {
  78431. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  78432. },
  78433. call$4(thisArg, redOrArgb, green, blue) {
  78434. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  78435. },
  78436. call$5(thisArg, redOrArgb, green, blue, alpha) {
  78437. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  78438. },
  78439. "call*": "call$6",
  78440. $requiredArgCount: 2,
  78441. $defaultValues() {
  78442. return [null, null, null, null];
  78443. },
  78444. $signature: 361
  78445. };
  78446. A.legacyColorClass_closure0.prototype = {
  78447. call$1(thisArg) {
  78448. return J.get$red$x(J.get$dartValue$x(thisArg));
  78449. },
  78450. $signature: 122
  78451. };
  78452. A.legacyColorClass_closure1.prototype = {
  78453. call$1(thisArg) {
  78454. return J.get$green$x(J.get$dartValue$x(thisArg));
  78455. },
  78456. $signature: 122
  78457. };
  78458. A.legacyColorClass_closure2.prototype = {
  78459. call$1(thisArg) {
  78460. return J.get$blue$x(J.get$dartValue$x(thisArg));
  78461. },
  78462. $signature: 122
  78463. };
  78464. A.legacyColorClass_closure3.prototype = {
  78465. call$1(thisArg) {
  78466. return J.get$dartValue$x(thisArg)._color1$_alpha;
  78467. },
  78468. $signature: 363
  78469. };
  78470. A.legacyColorClass_closure4.prototype = {
  78471. call$2(thisArg, value) {
  78472. var t1 = J.getInterceptor$x(thisArg);
  78473. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  78474. },
  78475. $signature: 87
  78476. };
  78477. A.legacyColorClass_closure5.prototype = {
  78478. call$2(thisArg, value) {
  78479. var t1 = J.getInterceptor$x(thisArg);
  78480. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  78481. },
  78482. $signature: 87
  78483. };
  78484. A.legacyColorClass_closure6.prototype = {
  78485. call$2(thisArg, value) {
  78486. var t1 = J.getInterceptor$x(thisArg);
  78487. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  78488. },
  78489. $signature: 87
  78490. };
  78491. A.legacyColorClass_closure7.prototype = {
  78492. call$2(thisArg, value) {
  78493. var t1 = J.getInterceptor$x(thisArg);
  78494. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  78495. },
  78496. $signature: 87
  78497. };
  78498. A.colorClass_closure.prototype = {
  78499. call$0() {
  78500. var t1 = type$.JSClass,
  78501. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  78502. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  78503. 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));
  78504. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, null).constructor), jsClass);
  78505. return jsClass;
  78506. },
  78507. $signature: 24
  78508. };
  78509. A.colorClass__closure.prototype = {
  78510. call$2($self, color) {
  78511. var t2, t3, t4,
  78512. t1 = J.getInterceptor$x(color);
  78513. if (t1.get$red(color) != null) {
  78514. t2 = t1.get$red(color);
  78515. t2.toString;
  78516. t2 = A.fuzzyRound0(t2);
  78517. t3 = t1.get$green(color);
  78518. t3.toString;
  78519. t3 = A.fuzzyRound0(t3);
  78520. t4 = t1.get$blue(color);
  78521. t4.toString;
  78522. return A.SassColor$rgb0(t2, t3, A.fuzzyRound0(t4), t1.get$alpha(color));
  78523. } else if (t1.get$saturation(color) != null) {
  78524. t2 = t1.get$hue(color);
  78525. t2.toString;
  78526. t3 = t1.get$saturation(color);
  78527. t3.toString;
  78528. t4 = t1.get$lightness(color);
  78529. t4.toString;
  78530. return A.SassColor$hsl(t2, t3, t4, t1.get$alpha(color));
  78531. } else {
  78532. t2 = t1.get$hue(color);
  78533. t2.toString;
  78534. t3 = t1.get$whiteness(color);
  78535. t3.toString;
  78536. t4 = t1.get$blackness(color);
  78537. t4.toString;
  78538. return A.SassColor_SassColor$hwb0(t2, t3, t4, t1.get$alpha(color));
  78539. }
  78540. },
  78541. $signature: 365
  78542. };
  78543. A.colorClass__closure0.prototype = {
  78544. call$2($self, options) {
  78545. var t2, t3, t4,
  78546. t1 = J.getInterceptor$x(options);
  78547. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  78548. t2 = t1.get$hue(options);
  78549. if (t2 == null)
  78550. t2 = $self.get$hue($self);
  78551. t3 = t1.get$whiteness(options);
  78552. if (t3 == null)
  78553. t3 = $self.get$whiteness($self);
  78554. t4 = t1.get$blackness(options);
  78555. if (t4 == null)
  78556. t4 = $self.get$blackness($self);
  78557. t1 = t1.get$alpha(options);
  78558. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  78559. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  78560. t2 = t1.get$hue(options);
  78561. if (t2 == null)
  78562. t2 = $self.get$hue($self);
  78563. t3 = t1.get$saturation(options);
  78564. if (t3 == null)
  78565. t3 = $self.get$saturation($self);
  78566. t4 = t1.get$lightness(options);
  78567. if (t4 == null)
  78568. t4 = $self.get$lightness($self);
  78569. t1 = t1.get$alpha(options);
  78570. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  78571. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  78572. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  78573. if (t2 == null)
  78574. t2 = $self.get$red($self);
  78575. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  78576. if (t3 == null)
  78577. t3 = $self.get$green($self);
  78578. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  78579. if (t4 == null)
  78580. t4 = $self.get$blue($self);
  78581. t1 = t1.get$alpha(options);
  78582. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  78583. } else {
  78584. t1 = t1.get$alpha(options);
  78585. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  78586. }
  78587. },
  78588. $signature: 366
  78589. };
  78590. A.colorClass__closure1.prototype = {
  78591. call$1($self) {
  78592. return $self.get$red($self);
  78593. },
  78594. $signature: 124
  78595. };
  78596. A.colorClass__closure2.prototype = {
  78597. call$1($self) {
  78598. return $self.get$green($self);
  78599. },
  78600. $signature: 124
  78601. };
  78602. A.colorClass__closure3.prototype = {
  78603. call$1($self) {
  78604. return $self.get$blue($self);
  78605. },
  78606. $signature: 124
  78607. };
  78608. A.colorClass__closure4.prototype = {
  78609. call$1($self) {
  78610. return $self.get$hue($self);
  78611. },
  78612. $signature: 52
  78613. };
  78614. A.colorClass__closure5.prototype = {
  78615. call$1($self) {
  78616. return $self.get$saturation($self);
  78617. },
  78618. $signature: 52
  78619. };
  78620. A.colorClass__closure6.prototype = {
  78621. call$1($self) {
  78622. return $self.get$lightness($self);
  78623. },
  78624. $signature: 52
  78625. };
  78626. A.colorClass__closure7.prototype = {
  78627. call$1($self) {
  78628. return $self.get$whiteness($self);
  78629. },
  78630. $signature: 52
  78631. };
  78632. A.colorClass__closure8.prototype = {
  78633. call$1($self) {
  78634. return $self.get$blackness($self);
  78635. },
  78636. $signature: 52
  78637. };
  78638. A.colorClass__closure9.prototype = {
  78639. call$1($self) {
  78640. return $self._color1$_alpha;
  78641. },
  78642. $signature: 52
  78643. };
  78644. A._Channels.prototype = {};
  78645. A.SassColor0.prototype = {
  78646. get$red(_) {
  78647. var t1;
  78648. if (this._color1$_red == null)
  78649. this._color1$_hslToRgb$0();
  78650. t1 = this._color1$_red;
  78651. t1.toString;
  78652. return t1;
  78653. },
  78654. get$green(_) {
  78655. var t1;
  78656. if (this._color1$_green == null)
  78657. this._color1$_hslToRgb$0();
  78658. t1 = this._color1$_green;
  78659. t1.toString;
  78660. return t1;
  78661. },
  78662. get$blue(_) {
  78663. var t1;
  78664. if (this._color1$_blue == null)
  78665. this._color1$_hslToRgb$0();
  78666. t1 = this._color1$_blue;
  78667. t1.toString;
  78668. return t1;
  78669. },
  78670. get$hue(_) {
  78671. var t1;
  78672. if (this._color1$_hue == null)
  78673. this._color1$_rgbToHsl$0();
  78674. t1 = this._color1$_hue;
  78675. t1.toString;
  78676. return t1;
  78677. },
  78678. get$saturation(_) {
  78679. var t1;
  78680. if (this._color1$_saturation == null)
  78681. this._color1$_rgbToHsl$0();
  78682. t1 = this._color1$_saturation;
  78683. t1.toString;
  78684. return t1;
  78685. },
  78686. get$lightness(_) {
  78687. var t1;
  78688. if (this._color1$_lightness == null)
  78689. this._color1$_rgbToHsl$0();
  78690. t1 = this._color1$_lightness;
  78691. t1.toString;
  78692. return t1;
  78693. },
  78694. get$whiteness(_) {
  78695. var _this = this;
  78696. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  78697. },
  78698. get$blackness(_) {
  78699. var _this = this;
  78700. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  78701. },
  78702. accept$1$1(visitor) {
  78703. var $name, hexLength, t1, format, t2, opaque, _this = this;
  78704. if (visitor._serialize0$_style === B.OutputStyle_10)
  78705. if (!A.fuzzyEquals0(_this._color1$_alpha, 1))
  78706. visitor._serialize0$_writeRgb$1(_this);
  78707. else {
  78708. $name = $.$get$namesByColor0().$index(0, _this);
  78709. hexLength = visitor._serialize0$_canUseShortHex$1(_this) ? 4 : 7;
  78710. if ($name != null && $name.length <= hexLength)
  78711. visitor._serialize0$_buffer.write$1(0, $name);
  78712. else {
  78713. t1 = visitor._serialize0$_buffer;
  78714. if (visitor._serialize0$_canUseShortHex$1(_this)) {
  78715. t1.writeCharCode$1(35);
  78716. t1.writeCharCode$1(A.hexCharFor0(_this.get$red(_this) & 15));
  78717. t1.writeCharCode$1(A.hexCharFor0(_this.get$green(_this) & 15));
  78718. t1.writeCharCode$1(A.hexCharFor0(_this.get$blue(_this) & 15));
  78719. } else {
  78720. t1.writeCharCode$1(35);
  78721. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  78722. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  78723. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  78724. }
  78725. }
  78726. }
  78727. else {
  78728. format = _this.format;
  78729. if (format != null)
  78730. if (format === B._ColorFormatEnum_rgbFunction0)
  78731. visitor._serialize0$_writeRgb$1(_this);
  78732. else {
  78733. t1 = visitor._serialize0$_buffer;
  78734. if (format === B._ColorFormatEnum_hslFunction0) {
  78735. t2 = _this._color1$_alpha;
  78736. opaque = A.fuzzyEquals0(t2, 1);
  78737. t1.write$1(0, opaque ? "hsl(" : "hsla(");
  78738. visitor._serialize0$_writeNumber$1(_this.get$hue(_this));
  78739. t1.write$1(0, "deg");
  78740. t1.write$1(0, ", ");
  78741. visitor._serialize0$_writeNumber$1(_this.get$saturation(_this));
  78742. t1.writeCharCode$1(37);
  78743. t1.write$1(0, ", ");
  78744. visitor._serialize0$_writeNumber$1(_this.get$lightness(_this));
  78745. t1.writeCharCode$1(37);
  78746. if (!opaque) {
  78747. t1.write$1(0, ", ");
  78748. visitor._serialize0$_writeNumber$1(t2);
  78749. }
  78750. t1.writeCharCode$1(41);
  78751. } else
  78752. t1.write$1(0, type$.SpanColorFormat_2._as(format)._color1$_span.get$text());
  78753. }
  78754. else {
  78755. t1 = $.$get$namesByColor0();
  78756. if (t1.containsKey$1(_this) && !A.fuzzyEquals0(_this._color1$_alpha, 0))
  78757. visitor._serialize0$_buffer.write$1(0, t1.$index(0, _this));
  78758. else if (A.fuzzyEquals0(_this._color1$_alpha, 1)) {
  78759. visitor._serialize0$_buffer.writeCharCode$1(35);
  78760. visitor._serialize0$_writeHexComponent$1(_this.get$red(_this));
  78761. visitor._serialize0$_writeHexComponent$1(_this.get$green(_this));
  78762. visitor._serialize0$_writeHexComponent$1(_this.get$blue(_this));
  78763. } else
  78764. visitor._serialize0$_writeRgb$1(_this);
  78765. }
  78766. }
  78767. return null;
  78768. },
  78769. accept$1(visitor) {
  78770. return this.accept$1$1(visitor, type$.dynamic);
  78771. },
  78772. assertColor$1($name) {
  78773. return this;
  78774. },
  78775. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  78776. var _this = this,
  78777. t1 = red == null ? _this.get$red(_this) : red,
  78778. t2 = green == null ? _this.get$green(_this) : green,
  78779. t3 = blue == null ? _this.get$blue(_this) : blue;
  78780. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  78781. },
  78782. changeRgb$3$blue$green$red(blue, green, red) {
  78783. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  78784. },
  78785. changeRgb$1$alpha(alpha) {
  78786. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  78787. },
  78788. changeRgb$1$blue(blue) {
  78789. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  78790. },
  78791. changeRgb$1$green(green) {
  78792. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  78793. },
  78794. changeRgb$1$red(red) {
  78795. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  78796. },
  78797. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  78798. var _this = this,
  78799. t1 = hue == null ? _this.get$hue(_this) : hue,
  78800. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  78801. t3 = lightness == null ? _this.get$lightness(_this) : lightness;
  78802. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  78803. },
  78804. changeHsl$1$saturation(saturation) {
  78805. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  78806. },
  78807. changeHsl$1$lightness(lightness) {
  78808. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  78809. },
  78810. changeHsl$1$hue(hue) {
  78811. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  78812. },
  78813. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  78814. var t1 = hue == null ? this.get$hue(this) : hue;
  78815. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  78816. },
  78817. changeAlpha$1(alpha) {
  78818. var _this = this;
  78819. 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);
  78820. },
  78821. plus$1(other) {
  78822. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  78823. return this.super$Value$plus0(other);
  78824. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  78825. },
  78826. minus$1(other) {
  78827. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  78828. return this.super$Value$minus0(other);
  78829. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  78830. },
  78831. dividedBy$1(other) {
  78832. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  78833. return this.super$Value$dividedBy0(other);
  78834. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  78835. },
  78836. $eq(_, other) {
  78837. var _this = this;
  78838. if (other == null)
  78839. return false;
  78840. 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;
  78841. },
  78842. get$hashCode(_) {
  78843. var _this = this;
  78844. 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);
  78845. },
  78846. _color1$_rgbToHsl$0() {
  78847. var t2, lightness, _this = this,
  78848. scaledRed = _this.get$red(_this) / 255,
  78849. scaledGreen = _this.get$green(_this) / 255,
  78850. scaledBlue = _this.get$blue(_this) / 255,
  78851. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  78852. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  78853. delta = max - min,
  78854. t1 = max === min;
  78855. if (t1)
  78856. _this._color1$_hue = 0;
  78857. else if (max === scaledRed)
  78858. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  78859. else if (max === scaledGreen)
  78860. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  78861. else if (max === scaledBlue)
  78862. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  78863. t2 = max + min;
  78864. lightness = 50 * t2;
  78865. _this._color1$_lightness = lightness;
  78866. if (t1)
  78867. _this._color1$_saturation = 0;
  78868. else {
  78869. t1 = 100 * delta;
  78870. if (lightness < 50)
  78871. _this._color1$_saturation = t1 / t2;
  78872. else
  78873. _this._color1$_saturation = t1 / (2 - max - min);
  78874. }
  78875. },
  78876. _color1$_hslToRgb$0() {
  78877. var _this = this,
  78878. scaledHue = _this.get$hue(_this) / 360,
  78879. scaledSaturation = _this.get$saturation(_this) / 100,
  78880. scaledLightness = _this.get$lightness(_this) / 100,
  78881. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  78882. m1 = scaledLightness * 2 - m2;
  78883. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  78884. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  78885. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  78886. }
  78887. };
  78888. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  78889. call$1(hue) {
  78890. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  78891. },
  78892. $signature: 161
  78893. };
  78894. A._ColorFormatEnum0.prototype = {
  78895. toString$0(_) {
  78896. return this._color1$_name;
  78897. }
  78898. };
  78899. A.SpanColorFormat0.prototype = {};
  78900. A.Combinator0.prototype = {
  78901. toString$0(_) {
  78902. return this._combinator0$_text;
  78903. }
  78904. };
  78905. A.ModifiableCssComment0.prototype = {
  78906. accept$1$1(visitor) {
  78907. return visitor.visitCssComment$1(this);
  78908. },
  78909. accept$1(visitor) {
  78910. return this.accept$1$1(visitor, type$.dynamic);
  78911. },
  78912. $isCssComment0: 1,
  78913. get$span(receiver) {
  78914. return this.span;
  78915. }
  78916. };
  78917. A.compileAsync_closure.prototype = {
  78918. call$0() {
  78919. var $async$goto = 0,
  78920. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  78921. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, result, t1, t2, t3, t4;
  78922. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78923. if ($async$errorCode === 1)
  78924. return A._asyncRethrow($async$result, $async$completer);
  78925. while (true)
  78926. switch ($async$goto) {
  78927. case 0:
  78928. // Function start
  78929. t1 = $async$self.options;
  78930. t2 = t1 == null;
  78931. t3 = t2 ? null : J.get$loadPaths$x(t1);
  78932. t4 = t2 ? null : J.get$quietDeps$x(t1);
  78933. if (t4 == null)
  78934. t4 = false;
  78935. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  78936. t6 = t2 ? null : J.get$verbose$x(t1);
  78937. if (t6 == null)
  78938. t6 = false;
  78939. t7 = t2 ? null : J.get$charset$x(t1);
  78940. if (t7 == null)
  78941. t7 = true;
  78942. t8 = t2 ? null : J.get$sourceMap$x(t1);
  78943. if (t8 == null)
  78944. t8 = false;
  78945. t9 = t2 ? null : J.get$logger$x(t1);
  78946. t9 = new A.NodeToDartLogger(t9, new A.StderrLogger0($async$self.color), $async$self.ascii);
  78947. if (t2)
  78948. t10 = null;
  78949. else {
  78950. t10 = J.get$importers$x(t1);
  78951. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  78952. }
  78953. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  78954. $async$goto = 3;
  78955. return A._asyncAwait(A.compileAsync0($async$self.path, t7, t11, A.AsyncImportCache$(t10, t3, t9, null), null, null, t9, null, t4, t8, t5, null, true, t6), $async$call$0);
  78956. case 3:
  78957. // returning from await.
  78958. result = $async$result;
  78959. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  78960. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  78961. // goto return
  78962. $async$goto = 1;
  78963. break;
  78964. case 1:
  78965. // return
  78966. return A._asyncReturn($async$returnValue, $async$completer);
  78967. }
  78968. });
  78969. return A._asyncStartSync($async$call$0, $async$completer);
  78970. },
  78971. $signature: 214
  78972. };
  78973. A.compileAsync__closure.prototype = {
  78974. call$1(importer) {
  78975. return A._parseAsyncImporter(importer);
  78976. },
  78977. $signature: 215
  78978. };
  78979. A.compileStringAsync_closure.prototype = {
  78980. call$0() {
  78981. var $async$goto = 0,
  78982. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  78983. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4, t5, t6;
  78984. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  78985. if ($async$errorCode === 1)
  78986. return A._asyncRethrow($async$result, $async$completer);
  78987. while (true)
  78988. switch ($async$goto) {
  78989. case 0:
  78990. // Function start
  78991. t1 = $async$self.options;
  78992. t2 = t1 == null;
  78993. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  78994. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  78995. t5 = t2 ? null : J.get$loadPaths$x(t1);
  78996. t6 = t2 ? null : J.get$quietDeps$x(t1);
  78997. if (t6 == null)
  78998. t6 = false;
  78999. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  79000. t8 = t2 ? null : J.get$verbose$x(t1);
  79001. if (t8 == null)
  79002. t8 = false;
  79003. t9 = t2 ? null : J.get$charset$x(t1);
  79004. if (t9 == null)
  79005. t9 = true;
  79006. t10 = t2 ? null : J.get$sourceMap$x(t1);
  79007. if (t10 == null)
  79008. t10 = false;
  79009. t11 = t2 ? null : J.get$logger$x(t1);
  79010. t11 = new A.NodeToDartLogger(t11, new A.StderrLogger0($async$self.color), $async$self.ascii);
  79011. if (t2)
  79012. t12 = null;
  79013. else {
  79014. t12 = J.get$importers$x(t1);
  79015. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  79016. }
  79017. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  79018. if (t13 == null)
  79019. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter() : null;
  79020. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  79021. $async$goto = 3;
  79022. 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);
  79023. case 3:
  79024. // returning from await.
  79025. result = $async$result;
  79026. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  79027. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  79028. // goto return
  79029. $async$goto = 1;
  79030. break;
  79031. case 1:
  79032. // return
  79033. return A._asyncReturn($async$returnValue, $async$completer);
  79034. }
  79035. });
  79036. return A._asyncStartSync($async$call$0, $async$completer);
  79037. },
  79038. $signature: 214
  79039. };
  79040. A.compileStringAsync__closure.prototype = {
  79041. call$1(importer) {
  79042. return A._parseAsyncImporter(importer);
  79043. },
  79044. $signature: 215
  79045. };
  79046. A.compileStringAsync__closure0.prototype = {
  79047. call$1(importer) {
  79048. return A._parseAsyncImporter(importer);
  79049. },
  79050. $signature: 371
  79051. };
  79052. A._wrapAsyncSassExceptions_closure.prototype = {
  79053. call$1(error) {
  79054. var t1;
  79055. if (error instanceof A.SassException0)
  79056. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  79057. else
  79058. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  79059. return t1;
  79060. },
  79061. $signature: 372
  79062. };
  79063. A._parseFunctions_closure0.prototype = {
  79064. call$2(signature, callback) {
  79065. var error, stackTrace, exception, t2, t3, t4, t1 = {};
  79066. t1.tuple = null;
  79067. try {
  79068. t1.tuple = A.ScssParser$0(signature, null, null).parseSignature$0();
  79069. } catch (exception) {
  79070. t2 = A.unwrapException(exception);
  79071. if (t2 instanceof A.SassFormatException0) {
  79072. error = t2;
  79073. stackTrace = A.getTraceFromException(exception);
  79074. t2 = error;
  79075. t3 = J.getInterceptor$z(t2);
  79076. A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace);
  79077. } else
  79078. throw exception;
  79079. }
  79080. t2 = this.result;
  79081. t3 = t1.tuple;
  79082. t4 = t3.item1;
  79083. t3 = t3.item2;
  79084. if (!this.asynch)
  79085. t2.push(new A.BuiltInCallable0(t4, A._setArrayType([new A.Tuple2(t3, new A._parseFunctions__closure2(t1, callback), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)));
  79086. else
  79087. t2.push(new A.AsyncBuiltInCallable0(t4, t3, new A._parseFunctions__closure3(t1, callback)));
  79088. },
  79089. $signature: 126
  79090. };
  79091. A._parseFunctions__closure2.prototype = {
  79092. call$1($arguments) {
  79093. var t1, t2,
  79094. _s42_ = string$.Invali,
  79095. result = type$.Function._as(this.callback).call$1(A.toJSArray($arguments));
  79096. if (result instanceof A.Value0)
  79097. return result;
  79098. t1 = result != null && result instanceof self.Promise;
  79099. t2 = this._box_0.tuple;
  79100. if (t1)
  79101. throw A.wrapException(_s42_ + A.S(t2.item1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  79102. else
  79103. throw A.wrapException(_s42_ + A.S(t2.item1) + '": ' + A.S(result) + " is not a sass.Value.");
  79104. },
  79105. $signature: 3
  79106. };
  79107. A._parseFunctions__closure3.prototype = {
  79108. call$1($arguments) {
  79109. return this.$call$body$_parseFunctions__closure0($arguments);
  79110. },
  79111. $call$body$_parseFunctions__closure0($arguments) {
  79112. var $async$goto = 0,
  79113. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  79114. $async$returnValue, $async$self = this, result;
  79115. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79116. if ($async$errorCode === 1)
  79117. return A._asyncRethrow($async$result, $async$completer);
  79118. while (true)
  79119. switch ($async$goto) {
  79120. case 0:
  79121. // Function start
  79122. result = type$.Function._as($async$self.callback).call$1(A.toJSArray($arguments));
  79123. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79124. break;
  79125. case 3:
  79126. // then
  79127. $async$goto = 5;
  79128. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  79129. case 5:
  79130. // returning from await.
  79131. result = $async$result;
  79132. case 4:
  79133. // join
  79134. if (result instanceof A.Value0) {
  79135. $async$returnValue = result;
  79136. // goto return
  79137. $async$goto = 1;
  79138. break;
  79139. }
  79140. throw A.wrapException(string$.Invali + A.S($async$self._box_0.tuple.item1) + '": ' + A.S(result) + " is not a sass.Value.");
  79141. case 1:
  79142. // return
  79143. return A._asyncReturn($async$returnValue, $async$completer);
  79144. }
  79145. });
  79146. return A._asyncStartSync($async$call$1, $async$completer);
  79147. },
  79148. $signature: 92
  79149. };
  79150. A._compileStylesheet_closure1.prototype = {
  79151. call$1(url) {
  79152. return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  79153. },
  79154. $signature: 5
  79155. };
  79156. A.CompileOptions.prototype = {};
  79157. A.CompileStringOptions.prototype = {};
  79158. A.NodeCompileResult.prototype = {};
  79159. A.CompileResult0.prototype = {};
  79160. A.ComplexSassNumber0.prototype = {
  79161. get$numeratorUnits(_) {
  79162. return this._complex0$_numeratorUnits;
  79163. },
  79164. get$denominatorUnits(_) {
  79165. return this._complex0$_denominatorUnits;
  79166. },
  79167. get$hasUnits() {
  79168. return true;
  79169. },
  79170. hasUnit$1(unit) {
  79171. return false;
  79172. },
  79173. compatibleWithUnit$1(unit) {
  79174. return false;
  79175. },
  79176. hasPossiblyCompatibleUnits$1(other) {
  79177. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  79178. },
  79179. withValue$1(value) {
  79180. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  79181. },
  79182. withSlash$2(numerator, denominator) {
  79183. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  79184. }
  79185. };
  79186. A.ComplexSelector0.prototype = {
  79187. get$specificity() {
  79188. var result, _this = this,
  79189. value = _this._complex$__ComplexSelector_specificity_FI;
  79190. if (value === $) {
  79191. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  79192. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  79193. _this._complex$__ComplexSelector_specificity_FI = result;
  79194. value = result;
  79195. }
  79196. return value;
  79197. },
  79198. get$singleCompound() {
  79199. if (this.leadingCombinators.length === 0) {
  79200. var t1 = this.components;
  79201. t1 = t1.length === 1 && B.JSArray_methods.get$first(t1).combinators.length === 0;
  79202. } else
  79203. t1 = false;
  79204. return t1 ? B.JSArray_methods.get$first(this.components).selector : null;
  79205. },
  79206. accept$1$1(visitor) {
  79207. return visitor.visitComplexSelector$1(this);
  79208. },
  79209. accept$1(visitor) {
  79210. return this.accept$1$1(visitor, type$.dynamic);
  79211. },
  79212. isSuperselector$1(other) {
  79213. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  79214. },
  79215. withAdditionalCombinators$1(combinators) {
  79216. var t1, t2, t3, _this = this;
  79217. if (combinators.length === 0)
  79218. return _this;
  79219. else {
  79220. t1 = _this.components;
  79221. t2 = _this.leadingCombinators;
  79222. if (t1.length === 0) {
  79223. t1 = A.List_List$of(t2, true, type$.Combinator_2);
  79224. B.JSArray_methods.addAll$1(t1, combinators);
  79225. return A.ComplexSelector$0(t1, B.List_empty15, _this.lineBreak || false);
  79226. } else {
  79227. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t1), true, type$.ComplexSelectorComponent_2);
  79228. t3.push(B.JSArray_methods.get$last(t1).withAdditionalCombinators$1(combinators));
  79229. return A.ComplexSelector$0(t2, t3, _this.lineBreak || false);
  79230. }
  79231. }
  79232. },
  79233. concatenate$2$forceLineBreak(child, forceLineBreak) {
  79234. var t2, t3, t4, t5, _this = this,
  79235. t1 = child.leadingCombinators;
  79236. if (t1.length === 0) {
  79237. t1 = A.List_List$of(_this.components, true, type$.ComplexSelectorComponent_2);
  79238. B.JSArray_methods.addAll$1(t1, child.components);
  79239. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  79240. return A.ComplexSelector$0(_this.leadingCombinators, t1, t2);
  79241. } else {
  79242. t2 = _this.components;
  79243. t3 = _this.leadingCombinators;
  79244. t4 = child.components;
  79245. if (t2.length === 0) {
  79246. t2 = A.List_List$of(t3, true, type$.Combinator_2);
  79247. B.JSArray_methods.addAll$1(t2, t1);
  79248. return A.ComplexSelector$0(t2, t4, _this.lineBreak || child.lineBreak || forceLineBreak);
  79249. } else {
  79250. t5 = A.List_List$of(A.IterableExtension_get_exceptLast0(t2), true, type$.ComplexSelectorComponent_2);
  79251. t5.push(B.JSArray_methods.get$last(t2).withAdditionalCombinators$1(t1));
  79252. B.JSArray_methods.addAll$1(t5, t4);
  79253. return A.ComplexSelector$0(t3, t5, _this.lineBreak || child.lineBreak || forceLineBreak);
  79254. }
  79255. }
  79256. },
  79257. concatenate$1(child) {
  79258. return this.concatenate$2$forceLineBreak(child, false);
  79259. },
  79260. get$hashCode(_) {
  79261. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  79262. },
  79263. $eq(_, other) {
  79264. if (other == null)
  79265. return false;
  79266. 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);
  79267. }
  79268. };
  79269. A.ComplexSelector_specificity_closure0.prototype = {
  79270. call$2(sum, component) {
  79271. return sum + component.selector.get$specificity();
  79272. },
  79273. $signature: 374
  79274. };
  79275. A.ComplexSelectorComponent0.prototype = {
  79276. withAdditionalCombinators$1(combinators) {
  79277. var t1, t2;
  79278. if (combinators.length === 0)
  79279. t1 = this;
  79280. else {
  79281. t1 = type$.Combinator_2;
  79282. t2 = A.List_List$of(this.combinators, true, t1);
  79283. B.JSArray_methods.addAll$1(t2, combinators);
  79284. t1 = new A.ComplexSelectorComponent0(this.selector, A.List_List$unmodifiable(t2, t1));
  79285. }
  79286. return t1;
  79287. },
  79288. get$hashCode(_) {
  79289. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  79290. },
  79291. $eq(_, other) {
  79292. var t1;
  79293. if (other == null)
  79294. return false;
  79295. if (other instanceof A.ComplexSelectorComponent0) {
  79296. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  79297. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  79298. } else
  79299. t1 = false;
  79300. return t1;
  79301. },
  79302. toString$0(_) {
  79303. var t1 = this.combinators;
  79304. 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, "");
  79305. }
  79306. };
  79307. A.ComplexSelectorComponent_toString_closure0.prototype = {
  79308. call$1(combinator) {
  79309. return " " + combinator.toString$0(0);
  79310. },
  79311. $signature: 375
  79312. };
  79313. A.CompoundSelector0.prototype = {
  79314. get$specificity() {
  79315. var result, _this = this,
  79316. value = _this._compound$__CompoundSelector_specificity_FI;
  79317. if (value === $) {
  79318. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  79319. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  79320. _this._compound$__CompoundSelector_specificity_FI = result;
  79321. value = result;
  79322. }
  79323. return value;
  79324. },
  79325. accept$1$1(visitor) {
  79326. return visitor.visitCompoundSelector$1(this);
  79327. },
  79328. accept$1(visitor) {
  79329. return this.accept$1$1(visitor, type$.dynamic);
  79330. },
  79331. get$hashCode(_) {
  79332. return B.C_ListEquality0.hash$1(this.components);
  79333. },
  79334. $eq(_, other) {
  79335. if (other == null)
  79336. return false;
  79337. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  79338. }
  79339. };
  79340. A.CompoundSelector_specificity_closure0.prototype = {
  79341. call$2(sum, component) {
  79342. return sum + component.get$specificity();
  79343. },
  79344. $signature: 376
  79345. };
  79346. A.Configuration0.prototype = {
  79347. throughForward$1($forward) {
  79348. var prefix, shownVariables, hiddenVariables, t1,
  79349. newValues = this._configuration$_values;
  79350. if (newValues.get$isEmpty(newValues))
  79351. return B.Configuration_Map_empty_null0;
  79352. prefix = $forward.prefix;
  79353. if (prefix != null)
  79354. newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
  79355. shownVariables = $forward.shownVariables;
  79356. hiddenVariables = $forward.hiddenVariables;
  79357. if (shownVariables != null)
  79358. newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  79359. else {
  79360. if (hiddenVariables != null) {
  79361. t1 = hiddenVariables._base;
  79362. t1 = t1.get$isNotEmpty(t1);
  79363. } else
  79364. t1 = false;
  79365. if (t1)
  79366. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  79367. }
  79368. return this._configuration$_withValues$1(newValues);
  79369. },
  79370. _configuration$_withValues$1(values) {
  79371. var t1 = this._configuration$__originalConfiguration;
  79372. return new A.Configuration0(values, t1 == null ? this : t1);
  79373. },
  79374. toString$0(_) {
  79375. var t1 = this._configuration$_values;
  79376. return "(" + t1.get$entries(t1).map$1$1(0, new A.Configuration_toString_closure0(), type$.String).join$1(0, ", ") + ")";
  79377. }
  79378. };
  79379. A.Configuration_toString_closure0.prototype = {
  79380. call$1(entry) {
  79381. return "$" + A.S(entry.key) + ": " + A.S(entry.value);
  79382. },
  79383. $signature: 377
  79384. };
  79385. A.ExplicitConfiguration0.prototype = {
  79386. _configuration$_withValues$1(values) {
  79387. var t1 = this._configuration$__originalConfiguration;
  79388. if (t1 == null)
  79389. t1 = this;
  79390. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  79391. }
  79392. };
  79393. A.ConfiguredValue0.prototype = {
  79394. toString$0(_) {
  79395. return A.serializeValue0(this.value, true, true);
  79396. }
  79397. };
  79398. A.ConfiguredVariable0.prototype = {
  79399. toString$0(_) {
  79400. var t1 = this.expression.toString$0(0),
  79401. t2 = this.isGuarded ? " !default" : "";
  79402. return "$" + this.name + ": " + t1 + t2;
  79403. },
  79404. $isAstNode0: 1,
  79405. get$span(receiver) {
  79406. return this.span;
  79407. }
  79408. };
  79409. A.ContentBlock0.prototype = {
  79410. accept$1$1(visitor) {
  79411. return visitor.visitContentBlock$1(this);
  79412. },
  79413. accept$1(visitor) {
  79414. return this.accept$1$1(visitor, type$.dynamic);
  79415. },
  79416. toString$0(_) {
  79417. var t2,
  79418. t1 = this.$arguments;
  79419. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  79420. t2 = this.children;
  79421. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  79422. }
  79423. };
  79424. A.ContentRule0.prototype = {
  79425. accept$1$1(visitor) {
  79426. return visitor.visitContentRule$1(this);
  79427. },
  79428. accept$1(visitor) {
  79429. return this.accept$1$1(visitor, type$.dynamic);
  79430. },
  79431. toString$0(_) {
  79432. var t1 = this.$arguments;
  79433. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  79434. },
  79435. $isAstNode0: 1,
  79436. $isStatement0: 1,
  79437. get$span(receiver) {
  79438. return this.span;
  79439. }
  79440. };
  79441. A._disallowedFunctionNames_closure0.prototype = {
  79442. call$1($function) {
  79443. return $function.name;
  79444. },
  79445. $signature: 378
  79446. };
  79447. A.CssParser0.prototype = {
  79448. get$plainCss() {
  79449. return true;
  79450. },
  79451. silentComment$0() {
  79452. var t1 = this.scanner,
  79453. t2 = t1._string_scanner$_position;
  79454. this.super$Parser$silentComment0();
  79455. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  79456. },
  79457. atRule$2$root(child, root) {
  79458. var $name, urlStart, next, url, urlSpan, modifiers, t2, _this = this,
  79459. t1 = _this.scanner,
  79460. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  79461. t1.expectChar$1(64);
  79462. $name = _this.interpolatedIdentifier$0();
  79463. _this.whitespace$0();
  79464. switch ($name.get$asPlain()) {
  79465. case "at-root":
  79466. case "content":
  79467. case "debug":
  79468. case "each":
  79469. case "error":
  79470. case "extend":
  79471. case "for":
  79472. case "function":
  79473. case "if":
  79474. case "include":
  79475. case "mixin":
  79476. case "return":
  79477. case "warn":
  79478. case "while":
  79479. _this.almostAnyValue$0();
  79480. _this.error$2(0, "This at-rule isn't allowed in plain CSS.", t1.spanFrom$1(start));
  79481. break;
  79482. case "import":
  79483. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  79484. next = t1.peekChar$0();
  79485. url = next === 117 || next === 85 ? _this.dynamicUrl$0() : new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  79486. urlSpan = t1.spanFrom$1(urlStart);
  79487. _this.whitespace$0();
  79488. modifiers = _this.tryImportModifiers$0();
  79489. _this.expectStatementSeparator$1("@import rule");
  79490. 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);
  79491. t1 = t1.spanFrom$1(start);
  79492. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  79493. case "media":
  79494. return _this.mediaRule$1(start);
  79495. case "-moz-document":
  79496. return _this.mozDocumentRule$2(start, $name);
  79497. case "supports":
  79498. return _this.supportsRule$1(start);
  79499. default:
  79500. return _this.unknownAtRule$2(start, $name);
  79501. }
  79502. },
  79503. identifierLike$0() {
  79504. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  79505. t1 = _this.scanner,
  79506. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  79507. identifier = _this.interpolatedIdentifier$0(),
  79508. plain = identifier.get$asPlain(),
  79509. lower = plain.toLowerCase(),
  79510. specialFunction = _this.trySpecialFunction$2(lower, start);
  79511. if (specialFunction != null)
  79512. return specialFunction;
  79513. t2 = t1._string_scanner$_position;
  79514. if (!t1.scanChar$1(40))
  79515. return new A.StringExpression0(identifier, false);
  79516. allowEmptySecondArg = lower === "var";
  79517. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  79518. if (!t1.scanChar$1(41)) {
  79519. do {
  79520. _this.whitespace$0();
  79521. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  79522. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  79523. t4 = t3.offset;
  79524. t4 = A._FileSpan$(t3.file, t4, t4);
  79525. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  79526. break;
  79527. }
  79528. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  79529. _this.whitespace$0();
  79530. } while (t1.scanChar$1(44));
  79531. t1.expectChar$1(41);
  79532. }
  79533. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  79534. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  79535. t3 = A.Interpolation$0(A._setArrayType([new A.StringExpression0(identifier, false)], type$.JSArray_Object), identifier.span);
  79536. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  79537. t4 = type$.Expression_2;
  79538. 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));
  79539. },
  79540. namespacedExpression$2(namespace, start) {
  79541. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  79542. this.error$2(0, string$.Modulen, expression.get$span(expression));
  79543. }
  79544. };
  79545. A.DebugRule0.prototype = {
  79546. accept$1$1(visitor) {
  79547. return visitor.visitDebugRule$1(this);
  79548. },
  79549. accept$1(visitor) {
  79550. return this.accept$1$1(visitor, type$.dynamic);
  79551. },
  79552. toString$0(_) {
  79553. return "@debug " + this.expression.toString$0(0) + ";";
  79554. },
  79555. $isAstNode0: 1,
  79556. $isStatement0: 1,
  79557. get$span(receiver) {
  79558. return this.span;
  79559. }
  79560. };
  79561. A.ModifiableCssDeclaration0.prototype = {
  79562. accept$1$1(visitor) {
  79563. return visitor.visitCssDeclaration$1(this);
  79564. },
  79565. accept$1(visitor) {
  79566. return this.accept$1$1(visitor, type$.dynamic);
  79567. },
  79568. toString$0(_) {
  79569. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  79570. },
  79571. get$span(receiver) {
  79572. return this.span;
  79573. }
  79574. };
  79575. A.Declaration0.prototype = {
  79576. accept$1$1(visitor) {
  79577. return visitor.visitDeclaration$1(this);
  79578. },
  79579. accept$1(visitor) {
  79580. return this.accept$1$1(visitor, type$.dynamic);
  79581. },
  79582. toString$0(_) {
  79583. var t3, children,
  79584. buffer = new A.StringBuffer(""),
  79585. t1 = this.name,
  79586. t2 = "" + t1.toString$0(0);
  79587. buffer._contents = t2;
  79588. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  79589. t3 = this.value;
  79590. if (t3 != null) {
  79591. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  79592. buffer._contents = t1 + t3.toString$0(0);
  79593. }
  79594. children = this.children;
  79595. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  79596. },
  79597. get$span(receiver) {
  79598. return this.span;
  79599. }
  79600. };
  79601. A.SupportsDeclaration0.prototype = {
  79602. get$isCustomProperty() {
  79603. var $name = this.name;
  79604. return $name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  79605. },
  79606. toString$0(_) {
  79607. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  79608. },
  79609. $isAstNode0: 1,
  79610. get$span(receiver) {
  79611. return this.span;
  79612. }
  79613. };
  79614. A.DynamicImport0.prototype = {
  79615. toString$0(_) {
  79616. return A.StringExpression_quoteText0(this.urlString);
  79617. },
  79618. $isImport0: 1,
  79619. $isAstNode0: 1,
  79620. get$span(receiver) {
  79621. return this.span;
  79622. }
  79623. };
  79624. A.EachRule0.prototype = {
  79625. accept$1$1(visitor) {
  79626. return visitor.visitEachRule$1(this);
  79627. },
  79628. accept$1(visitor) {
  79629. return this.accept$1$1(visitor, type$.dynamic);
  79630. },
  79631. toString$0(_) {
  79632. var t1 = this.variables,
  79633. t2 = this.children;
  79634. 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, " ") + "}";
  79635. },
  79636. get$span(receiver) {
  79637. return this.span;
  79638. }
  79639. };
  79640. A.EachRule_toString_closure0.prototype = {
  79641. call$1(variable) {
  79642. return "$" + variable;
  79643. },
  79644. $signature: 5
  79645. };
  79646. A.EmptyExtensionStore0.prototype = {
  79647. get$isEmpty(_) {
  79648. return true;
  79649. },
  79650. get$simpleSelectors() {
  79651. return B.C_EmptyUnmodifiableSet0;
  79652. },
  79653. extensionsWhereTarget$1(callback) {
  79654. return B.List_empty17;
  79655. },
  79656. addSelector$3(selector, span, mediaContext) {
  79657. throw A.wrapException(A.UnsupportedError$(string$.addSel));
  79658. },
  79659. addExtension$4(extender, target, extend, mediaContext) {
  79660. throw A.wrapException(A.UnsupportedError$(string$.addExt_));
  79661. },
  79662. addExtensions$1(extenders) {
  79663. throw A.wrapException(A.UnsupportedError$(string$.addExts));
  79664. },
  79665. clone$0() {
  79666. return B.Tuple2_EmptyExtensionStore_Map_empty0;
  79667. },
  79668. $isExtensionStore0: 1
  79669. };
  79670. A.Environment0.prototype = {
  79671. closure$0() {
  79672. var t4, t5, t6, _this = this,
  79673. t1 = _this._environment0$_forwardedModules,
  79674. t2 = _this._environment0$_nestedForwardedModules,
  79675. t3 = _this._environment0$_variables;
  79676. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  79677. t4 = _this._environment0$_variableNodes;
  79678. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  79679. t5 = _this._environment0$_functions;
  79680. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  79681. t6 = _this._environment0$_mixins;
  79682. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  79683. 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);
  79684. },
  79685. addModule$3$namespace(module, nodeWithSpan, namespace) {
  79686. var t1, t2, span, _this = this;
  79687. if (namespace == null) {
  79688. _this._environment0$_globalModules.$indexSet(0, module, nodeWithSpan);
  79689. _this._environment0$_allModules.push(module);
  79690. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.get$first(_this._environment0$_variables))); t1.moveNext$0();) {
  79691. t2 = t1.get$current(t1);
  79692. if (module.get$variables().containsKey$1(t2))
  79693. throw A.wrapException(A.SassScriptException$0(string$.This_ma + t2 + '".', null));
  79694. }
  79695. } else {
  79696. t1 = _this._environment0$_modules;
  79697. if (t1.containsKey$1(namespace)) {
  79698. t1 = _this._environment0$_namespaceNodes.$index(0, namespace);
  79699. span = t1 == null ? null : t1.span;
  79700. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79701. if (span != null)
  79702. t1.$indexSet(0, span, "original @use");
  79703. throw A.wrapException(A.MultiSpanSassScriptException$0(string$.There_ + namespace + '".', "new @use", t1));
  79704. }
  79705. t1.$indexSet(0, namespace, module);
  79706. _this._environment0$_namespaceNodes.$indexSet(0, namespace, nodeWithSpan);
  79707. _this._environment0$_allModules.push(module);
  79708. }
  79709. },
  79710. forwardModule$2(module, rule) {
  79711. var view, t1, t2, _this = this,
  79712. forwardedModules = _this._environment0$_forwardedModules;
  79713. if (forwardedModules == null)
  79714. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  79715. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  79716. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  79717. t2 = t1.__js_helper$_current;
  79718. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  79719. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  79720. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  79721. }
  79722. _this._environment0$_allModules.push(module);
  79723. forwardedModules.$indexSet(0, view, rule);
  79724. },
  79725. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  79726. var larger, smaller, t1, t2, $name, span;
  79727. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  79728. larger = oldMembers;
  79729. smaller = newMembers;
  79730. } else {
  79731. larger = newMembers;
  79732. smaller = oldMembers;
  79733. }
  79734. for (t1 = J.get$iterator$ax(smaller.get$keys(smaller)), t2 = type === "variable"; t1.moveNext$0();) {
  79735. $name = t1.get$current(t1);
  79736. if (!larger.containsKey$1($name))
  79737. continue;
  79738. if (t2 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(larger.$index(0, $name), smaller.$index(0, $name)))
  79739. continue;
  79740. if (t2)
  79741. $name = "$" + $name;
  79742. t1 = this._environment0$_forwardedModules;
  79743. if (t1 == null)
  79744. span = null;
  79745. else {
  79746. t1 = t1.$index(0, oldModule);
  79747. span = t1 == null ? null : J.get$span$z(t1);
  79748. }
  79749. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79750. if (span != null)
  79751. t1.$indexSet(0, span, "original @forward");
  79752. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t1));
  79753. }
  79754. },
  79755. importForwards$1(module) {
  79756. var forwardedModules, t1, t2, t3, t4, t5, forwardedVariableNames, forwardedFunctionNames, forwardedMixinNames, _i, entry, shadowed, t6, _length, _list, _this = this,
  79757. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  79758. if (forwarded == null)
  79759. return;
  79760. forwardedModules = _this._environment0$_forwardedModules;
  79761. if (forwardedModules != null) {
  79762. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  79763. for (t2 = forwarded.get$entries(forwarded), t2 = t2.get$iterator(t2), t3 = _this._environment0$_globalModules; t2.moveNext$0();) {
  79764. t4 = t2.get$current(t2);
  79765. t5 = t4.key;
  79766. if (!forwardedModules.containsKey$1(t5) || !t3.containsKey$1(t5))
  79767. t1.$indexSet(0, t5, t4.value);
  79768. }
  79769. forwarded = t1;
  79770. } else
  79771. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  79772. t1 = A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>");
  79773. t2 = t1._eval$1("ExpandIterable<Iterable.E,String>");
  79774. t3 = t2._eval$1("Iterable.E");
  79775. forwardedVariableNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure2(), t2), t3);
  79776. forwardedFunctionNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure3(), t2), t3);
  79777. forwardedMixinNames = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(new A.LinkedHashMapKeyIterable(forwarded, t1), new A.Environment_importForwards_closure4(), t2), t3);
  79778. t2 = _this._environment0$_variables;
  79779. t3 = t2.length;
  79780. if (t3 === 1) {
  79781. 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) {
  79782. entry = t3[_i];
  79783. module = entry.key;
  79784. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  79785. if (shadowed != null) {
  79786. t1.remove$1(0, module);
  79787. t6 = shadowed.variables;
  79788. if (t6.get$isEmpty(t6)) {
  79789. t6 = shadowed.functions;
  79790. if (t6.get$isEmpty(t6)) {
  79791. t6 = shadowed.mixins;
  79792. if (t6.get$isEmpty(t6)) {
  79793. t6 = shadowed._shadowed_view0$_inner;
  79794. t6 = t6.get$css(t6);
  79795. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  79796. } else
  79797. t6 = false;
  79798. } else
  79799. t6 = false;
  79800. } else
  79801. t6 = false;
  79802. if (!t6)
  79803. t1.$indexSet(0, shadowed, entry.value);
  79804. }
  79805. }
  79806. 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) {
  79807. entry = t3[_i];
  79808. module = entry.key;
  79809. shadowed = A.ShadowedModuleView_ifNecessary0(module, forwardedFunctionNames, forwardedMixinNames, forwardedVariableNames, t5);
  79810. if (shadowed != null) {
  79811. forwardedModules.remove$1(0, module);
  79812. t6 = shadowed.variables;
  79813. if (t6.get$isEmpty(t6)) {
  79814. t6 = shadowed.functions;
  79815. if (t6.get$isEmpty(t6)) {
  79816. t6 = shadowed.mixins;
  79817. if (t6.get$isEmpty(t6)) {
  79818. t6 = shadowed._shadowed_view0$_inner;
  79819. t6 = t6.get$css(t6);
  79820. t6 = J.get$isEmpty$asx(t6.get$children(t6));
  79821. } else
  79822. t6 = false;
  79823. } else
  79824. t6 = false;
  79825. } else
  79826. t6 = false;
  79827. if (!t6)
  79828. forwardedModules.$indexSet(0, shadowed, entry.value);
  79829. }
  79830. }
  79831. t1.addAll$1(0, forwarded);
  79832. forwardedModules.addAll$1(0, forwarded);
  79833. } else {
  79834. t4 = _this._environment0$_nestedForwardedModules;
  79835. if (t4 == null) {
  79836. _length = t3 - 1;
  79837. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  79838. for (t3 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  79839. _list[_i] = A._setArrayType([], t3);
  79840. _this._environment0$_nestedForwardedModules = _list;
  79841. t3 = _list;
  79842. } else
  79843. t3 = t4;
  79844. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t3), new A.LinkedHashMapKeyIterable(forwarded, t1));
  79845. }
  79846. for (t1 = A._LinkedHashSetIterator$(forwardedVariableNames, forwardedVariableNames._collection$_modifications), t3 = _this._environment0$_variableIndices, t4 = _this._environment0$_variableNodes, t5 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79847. t6 = t1._collection$_current;
  79848. if (t6 == null)
  79849. t6 = t5._as(t6);
  79850. t3.remove$1(0, t6);
  79851. J.remove$1$z(B.JSArray_methods.get$last(t2), t6);
  79852. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  79853. }
  79854. for (t1 = A._LinkedHashSetIterator$(forwardedFunctionNames, forwardedFunctionNames._collection$_modifications), t2 = _this._environment0$_functionIndices, t3 = _this._environment0$_functions, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79855. t5 = t1._collection$_current;
  79856. if (t5 == null)
  79857. t5 = t4._as(t5);
  79858. t2.remove$1(0, t5);
  79859. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  79860. }
  79861. for (t1 = A._LinkedHashSetIterator$(forwardedMixinNames, forwardedMixinNames._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79862. t5 = t1._collection$_current;
  79863. if (t5 == null)
  79864. t5 = t4._as(t5);
  79865. t2.remove$1(0, t5);
  79866. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  79867. }
  79868. },
  79869. getVariable$2$namespace($name, namespace) {
  79870. var t1, index, _this = this;
  79871. if (namespace != null)
  79872. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  79873. if (_this._environment0$_lastVariableName === $name) {
  79874. t1 = _this._environment0$_lastVariableIndex;
  79875. t1.toString;
  79876. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  79877. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  79878. }
  79879. t1 = _this._environment0$_variableIndices;
  79880. index = t1.$index(0, $name);
  79881. if (index != null) {
  79882. _this._environment0$_lastVariableName = $name;
  79883. _this._environment0$_lastVariableIndex = index;
  79884. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  79885. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  79886. }
  79887. index = _this._environment0$_variableIndex$1($name);
  79888. if (index == null)
  79889. return _this._environment0$_getVariableFromGlobalModule$1($name);
  79890. _this._environment0$_lastVariableName = $name;
  79891. _this._environment0$_lastVariableIndex = index;
  79892. t1.$indexSet(0, $name, index);
  79893. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  79894. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  79895. },
  79896. getVariable$1($name) {
  79897. return this.getVariable$2$namespace($name, null);
  79898. },
  79899. _environment0$_getVariableFromGlobalModule$1($name) {
  79900. return this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name), type$.Value_2);
  79901. },
  79902. getVariableNode$2$namespace($name, namespace) {
  79903. var t1, index, _this = this;
  79904. if (namespace != null)
  79905. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  79906. if (_this._environment0$_lastVariableName === $name) {
  79907. t1 = _this._environment0$_lastVariableIndex;
  79908. t1.toString;
  79909. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  79910. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79911. }
  79912. t1 = _this._environment0$_variableIndices;
  79913. index = t1.$index(0, $name);
  79914. if (index != null) {
  79915. _this._environment0$_lastVariableName = $name;
  79916. _this._environment0$_lastVariableIndex = index;
  79917. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  79918. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79919. }
  79920. index = _this._environment0$_variableIndex$1($name);
  79921. if (index == null)
  79922. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  79923. _this._environment0$_lastVariableName = $name;
  79924. _this._environment0$_lastVariableIndex = index;
  79925. t1.$indexSet(0, $name, index);
  79926. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  79927. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79928. },
  79929. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  79930. var t1, t2, value;
  79931. 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();) {
  79932. t1 = t2._currentIterator;
  79933. value = t1.get$current(t1).get$variableNodes().$index(0, $name);
  79934. if (value != null)
  79935. return value;
  79936. }
  79937. return null;
  79938. },
  79939. globalVariableExists$2$namespace($name, namespace) {
  79940. if (namespace != null)
  79941. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  79942. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  79943. return true;
  79944. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  79945. },
  79946. globalVariableExists$1($name) {
  79947. return this.globalVariableExists$2$namespace($name, null);
  79948. },
  79949. _environment0$_variableIndex$1($name) {
  79950. var t1, i;
  79951. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  79952. if (t1[i].containsKey$1($name))
  79953. return i;
  79954. return null;
  79955. },
  79956. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  79957. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  79958. if (namespace != null) {
  79959. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  79960. return;
  79961. }
  79962. if (global || _this._environment0$_variables.length === 1) {
  79963. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  79964. t1 = _this._environment0$_variables;
  79965. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  79966. moduleWithName = _this._environment0$_fromOneModule$1$3($name, "variable", new A.Environment_setVariable_closure3($name), type$.Module_Callable_2);
  79967. if (moduleWithName != null) {
  79968. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  79969. return;
  79970. }
  79971. }
  79972. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  79973. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  79974. return;
  79975. }
  79976. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  79977. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  79978. 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();) {
  79979. t3 = t1.__internal$_current;
  79980. 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();) {
  79981. t5 = t3.__internal$_current;
  79982. if (t5 == null)
  79983. t5 = t4._as(t5);
  79984. if (t5.get$variables().containsKey$1($name)) {
  79985. t5.setVariable$3($name, value, nodeWithSpan);
  79986. return;
  79987. }
  79988. }
  79989. }
  79990. if (_this._environment0$_lastVariableName === $name) {
  79991. t1 = _this._environment0$_lastVariableIndex;
  79992. t1.toString;
  79993. index = t1;
  79994. } else
  79995. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  79996. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  79997. index = _this._environment0$_variables.length - 1;
  79998. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  79999. }
  80000. _this._environment0$_lastVariableName = $name;
  80001. _this._environment0$_lastVariableIndex = index;
  80002. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  80003. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  80004. },
  80005. setVariable$4$global($name, value, nodeWithSpan, global) {
  80006. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  80007. },
  80008. setLocalVariable$3($name, value, nodeWithSpan) {
  80009. var index, _this = this,
  80010. t1 = _this._environment0$_variables,
  80011. t2 = t1.length;
  80012. _this._environment0$_lastVariableName = $name;
  80013. index = _this._environment0$_lastVariableIndex = t2 - 1;
  80014. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  80015. J.$indexSet$ax(t1[index], $name, value);
  80016. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  80017. },
  80018. getFunction$2$namespace($name, namespace) {
  80019. var t1, index, _this = this;
  80020. if (namespace != null) {
  80021. t1 = _this._environment0$_getModule$1(namespace);
  80022. return t1.get$functions(t1).$index(0, $name);
  80023. }
  80024. t1 = _this._environment0$_functionIndices;
  80025. index = t1.$index(0, $name);
  80026. if (index != null) {
  80027. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  80028. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80029. }
  80030. index = _this._environment0$_functionIndex$1($name);
  80031. if (index == null)
  80032. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  80033. t1.$indexSet(0, $name, index);
  80034. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  80035. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80036. },
  80037. _environment0$_getFunctionFromGlobalModule$1($name) {
  80038. return this._environment0$_fromOneModule$1$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name), type$.Callable_2);
  80039. },
  80040. _environment0$_functionIndex$1($name) {
  80041. var t1, i;
  80042. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  80043. if (t1[i].containsKey$1($name))
  80044. return i;
  80045. return null;
  80046. },
  80047. getMixin$2$namespace($name, namespace) {
  80048. var t1, index, _this = this;
  80049. if (namespace != null)
  80050. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  80051. t1 = _this._environment0$_mixinIndices;
  80052. index = t1.$index(0, $name);
  80053. if (index != null) {
  80054. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  80055. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  80056. }
  80057. index = _this._environment0$_mixinIndex$1($name);
  80058. if (index == null)
  80059. return _this._environment0$_getMixinFromGlobalModule$1($name);
  80060. t1.$indexSet(0, $name, index);
  80061. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  80062. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  80063. },
  80064. _environment0$_getMixinFromGlobalModule$1($name) {
  80065. return this._environment0$_fromOneModule$1$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name), type$.Callable_2);
  80066. },
  80067. _environment0$_mixinIndex$1($name) {
  80068. var t1, i;
  80069. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  80070. if (t1[i].containsKey$1($name))
  80071. return i;
  80072. return null;
  80073. },
  80074. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  80075. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  80076. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  80077. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  80078. _this._environment0$_inSemiGlobalScope = semiGlobal;
  80079. if (!when)
  80080. try {
  80081. t1 = callback.call$0();
  80082. return t1;
  80083. } finally {
  80084. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80085. }
  80086. t1 = _this._environment0$_variables;
  80087. t2 = type$.String;
  80088. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  80089. t3 = _this._environment0$_variableNodes;
  80090. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  80091. t4 = _this._environment0$_functions;
  80092. t5 = type$.Callable_2;
  80093. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80094. t6 = _this._environment0$_mixins;
  80095. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80096. t5 = _this._environment0$_nestedForwardedModules;
  80097. if (t5 != null)
  80098. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  80099. try {
  80100. t2 = callback.call$0();
  80101. return t2;
  80102. } finally {
  80103. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80104. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  80105. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  80106. $name = t1.get$current(t1);
  80107. t2.remove$1(0, $name);
  80108. }
  80109. B.JSArray_methods.removeLast$0(t3);
  80110. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  80111. name0 = t1.get$current(t1);
  80112. t2.remove$1(0, name0);
  80113. }
  80114. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  80115. name1 = t1.get$current(t1);
  80116. t2.remove$1(0, name1);
  80117. }
  80118. t1 = _this._environment0$_nestedForwardedModules;
  80119. if (t1 != null)
  80120. t1.pop();
  80121. }
  80122. },
  80123. scope$1$1(callback, $T) {
  80124. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  80125. },
  80126. scope$1$2$when(callback, when, $T) {
  80127. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  80128. },
  80129. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  80130. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  80131. },
  80132. toImplicitConfiguration$0() {
  80133. var t1, t2, i, values, nodes, t3, t4, t5, t6,
  80134. configuration = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  80135. for (t1 = this._environment0$_variables, t2 = this._environment0$_variableNodes, i = 0; i < t1.length; ++i) {
  80136. values = t1[i];
  80137. nodes = t2[i];
  80138. for (t3 = values.get$entries(values), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  80139. t4 = t3.get$current(t3);
  80140. t5 = t4.key;
  80141. t4 = t4.value;
  80142. t6 = nodes.$index(0, t5);
  80143. t6.toString;
  80144. configuration.$indexSet(0, t5, new A.ConfiguredValue0(t4, null, t6));
  80145. }
  80146. }
  80147. return new A.Configuration0(configuration, null);
  80148. },
  80149. toModule$2(css, extensionStore) {
  80150. return A._EnvironmentModule__EnvironmentModule1(this, css, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  80151. },
  80152. toDummyModule$0() {
  80153. 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()));
  80154. },
  80155. _environment0$_getModule$1(namespace) {
  80156. var module = this._environment0$_modules.$index(0, namespace);
  80157. if (module != null)
  80158. return module;
  80159. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  80160. },
  80161. _environment0$_fromOneModule$1$3($name, type, callback, $T) {
  80162. var t1, t2, t3, t4, t5, value, identity, valueInModule, identityFromModule, spans,
  80163. nestedForwardedModules = this._environment0$_nestedForwardedModules;
  80164. if (nestedForwardedModules != null)
  80165. 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();) {
  80166. t3 = t1.__internal$_current;
  80167. 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();) {
  80168. t5 = t3.__internal$_current;
  80169. value = callback.call$1(t5 == null ? t4._as(t5) : t5);
  80170. if (value != null)
  80171. return value;
  80172. }
  80173. }
  80174. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  80175. value = callback.call$1(t1.__js_helper$_current);
  80176. if (value != null)
  80177. return value;
  80178. }
  80179. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  80180. t4 = t2.__js_helper$_current;
  80181. valueInModule = callback.call$1(t4);
  80182. if (valueInModule == null)
  80183. continue;
  80184. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  80185. if (identityFromModule.$eq(0, identity))
  80186. continue;
  80187. if (value != null) {
  80188. spans = t1.get$entries(t1).map$1$1(0, new A.Environment__fromOneModule_closure0(callback, $T), type$.nullable_FileSpan);
  80189. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80190. for (t1 = spans.get$iterator(spans), t3 = "includes " + type; t1.moveNext$0();) {
  80191. t4 = t1.get$current(t1);
  80192. if (t4 != null)
  80193. t2.$indexSet(0, t4, t3);
  80194. }
  80195. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  80196. }
  80197. identity = identityFromModule;
  80198. value = valueInModule;
  80199. }
  80200. return value;
  80201. }
  80202. };
  80203. A.Environment_importForwards_closure2.prototype = {
  80204. call$1(module) {
  80205. var t1 = module.get$variables();
  80206. return t1.get$keys(t1);
  80207. },
  80208. $signature: 140
  80209. };
  80210. A.Environment_importForwards_closure3.prototype = {
  80211. call$1(module) {
  80212. var t1 = module.get$functions(module);
  80213. return t1.get$keys(t1);
  80214. },
  80215. $signature: 140
  80216. };
  80217. A.Environment_importForwards_closure4.prototype = {
  80218. call$1(module) {
  80219. var t1 = module.get$mixins();
  80220. return t1.get$keys(t1);
  80221. },
  80222. $signature: 140
  80223. };
  80224. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  80225. call$1(module) {
  80226. return module.get$variables().$index(0, this.name);
  80227. },
  80228. $signature: 381
  80229. };
  80230. A.Environment_setVariable_closure2.prototype = {
  80231. call$0() {
  80232. var t1 = this.$this;
  80233. t1._environment0$_lastVariableName = this.name;
  80234. return t1._environment0$_lastVariableIndex = 0;
  80235. },
  80236. $signature: 12
  80237. };
  80238. A.Environment_setVariable_closure3.prototype = {
  80239. call$1(module) {
  80240. return module.get$variables().containsKey$1(this.name) ? module : null;
  80241. },
  80242. $signature: 382
  80243. };
  80244. A.Environment_setVariable_closure4.prototype = {
  80245. call$0() {
  80246. var t1 = this.$this,
  80247. t2 = t1._environment0$_variableIndex$1(this.name);
  80248. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  80249. },
  80250. $signature: 12
  80251. };
  80252. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  80253. call$1(module) {
  80254. return module.get$functions(module).$index(0, this.name);
  80255. },
  80256. $signature: 218
  80257. };
  80258. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  80259. call$1(module) {
  80260. return module.get$mixins().$index(0, this.name);
  80261. },
  80262. $signature: 218
  80263. };
  80264. A.Environment_toModule_closure0.prototype = {
  80265. call$1(modules) {
  80266. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  80267. },
  80268. $signature: 219
  80269. };
  80270. A.Environment_toDummyModule_closure0.prototype = {
  80271. call$1(modules) {
  80272. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  80273. },
  80274. $signature: 219
  80275. };
  80276. A.Environment__fromOneModule_closure0.prototype = {
  80277. call$1(entry) {
  80278. return A.NullableExtension_andThen0(this.callback.call$1(entry.key), new A.Environment__fromOneModule__closure0(entry, this.T));
  80279. },
  80280. $signature: 385
  80281. };
  80282. A.Environment__fromOneModule__closure0.prototype = {
  80283. call$1(_) {
  80284. return J.get$span$z(this.entry.value);
  80285. },
  80286. $signature() {
  80287. return this.T._eval$1("FileSpan(0)");
  80288. }
  80289. };
  80290. A._EnvironmentModule1.prototype = {
  80291. get$url(_) {
  80292. var t1 = this.css;
  80293. return t1.get$span(t1).file.url;
  80294. },
  80295. setVariable$3($name, value, nodeWithSpan) {
  80296. var t1, t2,
  80297. module = this._environment0$_modulesByVariable.$index(0, $name);
  80298. if (module != null) {
  80299. module.setVariable$3($name, value, nodeWithSpan);
  80300. return;
  80301. }
  80302. t1 = this._environment0$_environment;
  80303. t2 = t1._environment0$_variables;
  80304. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  80305. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  80306. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  80307. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  80308. return;
  80309. },
  80310. variableIdentity$1($name) {
  80311. var module = this._environment0$_modulesByVariable.$index(0, $name);
  80312. return module == null ? this : module.variableIdentity$1($name);
  80313. },
  80314. cloneCss$0() {
  80315. var newCssAndExtensionStore, _this = this;
  80316. if (!_this.transitivelyContainsCss)
  80317. return _this;
  80318. newCssAndExtensionStore = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  80319. 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);
  80320. },
  80321. toString$0(_) {
  80322. var t1 = this.css;
  80323. if (t1.get$span(t1).file.url == null)
  80324. t1 = "<unknown url>";
  80325. else {
  80326. t1 = t1.get$span(t1);
  80327. t1 = $.$get$context().prettyUri$1(t1.file.url);
  80328. }
  80329. return t1;
  80330. },
  80331. $isModule0: 1,
  80332. get$upstream() {
  80333. return this.upstream;
  80334. },
  80335. get$variables() {
  80336. return this.variables;
  80337. },
  80338. get$variableNodes() {
  80339. return this.variableNodes;
  80340. },
  80341. get$functions(receiver) {
  80342. return this.functions;
  80343. },
  80344. get$mixins() {
  80345. return this.mixins;
  80346. },
  80347. get$extensionStore() {
  80348. return this.extensionStore;
  80349. },
  80350. get$css(receiver) {
  80351. return this.css;
  80352. },
  80353. get$transitivelyContainsCss() {
  80354. return this.transitivelyContainsCss;
  80355. },
  80356. get$transitivelyContainsExtensions() {
  80357. return this.transitivelyContainsExtensions;
  80358. }
  80359. };
  80360. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  80361. call$1(module) {
  80362. return module.get$variables();
  80363. },
  80364. $signature: 386
  80365. };
  80366. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  80367. call$1(module) {
  80368. return module.get$variableNodes();
  80369. },
  80370. $signature: 387
  80371. };
  80372. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  80373. call$1(module) {
  80374. return module.get$functions(module);
  80375. },
  80376. $signature: 220
  80377. };
  80378. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  80379. call$1(module) {
  80380. return module.get$mixins();
  80381. },
  80382. $signature: 220
  80383. };
  80384. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  80385. call$1(module) {
  80386. return module.get$transitivelyContainsCss();
  80387. },
  80388. $signature: 128
  80389. };
  80390. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  80391. call$1(module) {
  80392. return module.get$transitivelyContainsExtensions();
  80393. },
  80394. $signature: 128
  80395. };
  80396. A.ErrorRule0.prototype = {
  80397. accept$1$1(visitor) {
  80398. return visitor.visitErrorRule$1(this);
  80399. },
  80400. accept$1(visitor) {
  80401. return this.accept$1$1(visitor, type$.dynamic);
  80402. },
  80403. toString$0(_) {
  80404. return "@error " + this.expression.toString$0(0) + ";";
  80405. },
  80406. $isAstNode0: 1,
  80407. $isStatement0: 1,
  80408. get$span(receiver) {
  80409. return this.span;
  80410. }
  80411. };
  80412. A._EvaluateVisitor1.prototype = {
  80413. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  80414. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  80415. _s20_ = "$name, $module: null",
  80416. _s9_ = "sass:meta",
  80417. t1 = type$.JSArray_BuiltInCallable_2,
  80418. 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),
  80419. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure28(_this), _s9_)], t1);
  80420. t1 = type$.BuiltInCallable_2;
  80421. t2 = A.List_List$of($.$get$global6(), true, t1);
  80422. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  80423. B.JSArray_methods.addAll$1(t2, metaFunctions);
  80424. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  80425. 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) {
  80426. module = t1[_i];
  80427. t3.$indexSet(0, module.url, module);
  80428. }
  80429. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  80430. B.JSArray_methods.addAll$1(t1, functions);
  80431. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  80432. B.JSArray_methods.addAll$1(t1, metaFunctions);
  80433. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  80434. $function = t1[_i];
  80435. t4 = J.get$name$x($function);
  80436. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  80437. }
  80438. },
  80439. run$2(_, importer, node) {
  80440. var t1 = type$.nullable_Object;
  80441. return A.runZoned(new A._EvaluateVisitor_run_closure1(this, node, importer), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__evaluationContext, new A._EvaluationContext1(this, node)], t1, t1), type$.EvaluateResult_2);
  80442. },
  80443. _evaluate0$_assertInModule$1$2(value, $name) {
  80444. if (value != null)
  80445. return value;
  80446. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  80447. },
  80448. _evaluate0$_assertInModule$2(value, $name) {
  80449. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  80450. },
  80451. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  80452. var t1, t2, _this = this,
  80453. builtInModule = _this._evaluate0$_builtInModules.$index(0, url);
  80454. if (builtInModule != null) {
  80455. if (configuration instanceof A.ExplicitConfiguration0) {
  80456. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  80457. t2 = configuration.nodeWithSpan;
  80458. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  80459. }
  80460. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(callback, builtInModule));
  80461. return;
  80462. }
  80463. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  80464. },
  80465. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  80466. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  80467. },
  80468. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  80469. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  80470. },
  80471. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  80472. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, extensionStore, module, _this = this,
  80473. url = stylesheet.span.file.url,
  80474. t1 = _this._evaluate0$_modules,
  80475. alreadyLoaded = t1.$index(0, url);
  80476. if (alreadyLoaded != null) {
  80477. t1 = configuration == null;
  80478. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  80479. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  80480. t3 = t2._configuration$__originalConfiguration;
  80481. t2 = t3 == null ? t2 : t3;
  80482. t3 = currentConfiguration._configuration$__originalConfiguration;
  80483. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  80484. message = namesInErrors ? $.$get$context().prettyUri$1(url) + string$.x20was_a : string$.This_mw;
  80485. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  80486. existingSpan = t2 == null ? null : J.get$span$z(t2);
  80487. if (t1) {
  80488. t1 = currentConfiguration.nodeWithSpan;
  80489. configurationSpan = t1.get$span(t1);
  80490. } else
  80491. configurationSpan = null;
  80492. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80493. if (existingSpan != null)
  80494. t1.$indexSet(0, existingSpan, "original load");
  80495. if (configurationSpan != null)
  80496. t1.$indexSet(0, configurationSpan, "configuration");
  80497. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  80498. }
  80499. return alreadyLoaded;
  80500. }
  80501. environment = A.Environment$0();
  80502. css = A._Cell$();
  80503. extensionStore = A.ExtensionStore$0();
  80504. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css));
  80505. module = environment.toModule$2(css._readLocal$0(), extensionStore);
  80506. if (url != null) {
  80507. t1.$indexSet(0, url, module);
  80508. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  80509. if (nodeWithSpan != null)
  80510. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  80511. }
  80512. return module;
  80513. },
  80514. _evaluate0$_execute$2(importer, stylesheet) {
  80515. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  80516. },
  80517. _evaluate0$_addOutOfOrderImports$0() {
  80518. var t1, t2, _this = this, _s5_ = "_root",
  80519. _s13_ = "_endOfImports",
  80520. outOfOrderImports = _this._evaluate0$_outOfOrderImports;
  80521. if (outOfOrderImports == null)
  80522. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  80523. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  80524. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListMixin.E")), true, type$.ModifiableCssNode_2);
  80525. B.JSArray_methods.addAll$1(t1, outOfOrderImports);
  80526. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  80527. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListMixin.E")));
  80528. return t1;
  80529. },
  80530. _evaluate0$_combineCss$2$clone(root, clone) {
  80531. var selectors, unsatisfiedExtension, sortedModules, t1, imports, css, t2, t3, statements, index, _this = this;
  80532. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  80533. selectors = root.get$extensionStore().get$simpleSelectors();
  80534. unsatisfiedExtension = A.firstOrNull0(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  80535. if (unsatisfiedExtension != null)
  80536. _this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  80537. return root.get$css(root);
  80538. }
  80539. sortedModules = _this._evaluate0$_topologicalModules$1(root);
  80540. if (clone) {
  80541. t1 = sortedModules.$ti._eval$1("MappedListIterable<ListMixin.E,Module0<Callable0>>");
  80542. sortedModules = A.List_List$of(new A.MappedListIterable(sortedModules, new A._EvaluateVisitor__combineCss_closure7(), t1), true, t1._eval$1("ListIterable.E"));
  80543. }
  80544. _this._evaluate0$_extendModules$1(sortedModules);
  80545. t1 = type$.JSArray_CssNode_2;
  80546. imports = A._setArrayType([], t1);
  80547. css = A._setArrayType([], t1);
  80548. for (t1 = J.get$reversed$ax(sortedModules), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  80549. t3 = t1.__internal$_current;
  80550. if (t3 == null)
  80551. t3 = t2._as(t3);
  80552. t3 = t3.get$css(t3);
  80553. statements = t3.get$children(t3);
  80554. index = _this._evaluate0$_indexAfterImports$1(statements);
  80555. t3 = J.getInterceptor$ax(statements);
  80556. B.JSArray_methods.addAll$1(imports, t3.getRange$2(statements, 0, index));
  80557. B.JSArray_methods.addAll$1(css, t3.getRange$2(statements, index, t3.get$length(statements)));
  80558. }
  80559. t1 = B.JSArray_methods.$add(imports, css);
  80560. t2 = root.get$css(root);
  80561. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  80562. },
  80563. _evaluate0$_combineCss$1(root) {
  80564. return this._evaluate0$_combineCss$2$clone(root, false);
  80565. },
  80566. _evaluate0$_extendModules$1(sortedModules) {
  80567. var t1, t2, originalSelectors, $self, t3, t4, _i, upstream, url,
  80568. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  80569. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  80570. for (t1 = J.get$iterator$ax(sortedModules); t1.moveNext$0();) {
  80571. t2 = t1.get$current(t1);
  80572. originalSelectors = t2.get$extensionStore().get$simpleSelectors().toSet$0(0);
  80573. unsatisfiedExtensions.addAll$1(0, t2.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  80574. $self = downstreamExtensionStores.$index(0, t2.get$url(t2));
  80575. t3 = t2.get$extensionStore().get$addExtensions();
  80576. if ($self != null)
  80577. t3.call$1($self);
  80578. t3 = t2.get$extensionStore();
  80579. if (t3.get$isEmpty(t3))
  80580. continue;
  80581. for (t3 = t2.get$upstream(), t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  80582. upstream = t3[_i];
  80583. url = upstream.get$url(upstream);
  80584. if (url == null)
  80585. continue;
  80586. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t2.get$extensionStore());
  80587. }
  80588. unsatisfiedExtensions.removeAll$1(t2.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  80589. }
  80590. if (unsatisfiedExtensions._collection$_length !== 0)
  80591. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  80592. },
  80593. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  80594. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span));
  80595. },
  80596. _evaluate0$_topologicalModules$1(root) {
  80597. var t1 = type$.Module_Callable_2,
  80598. sorted = A.QueueList$(null, t1);
  80599. new A._EvaluateVisitor__topologicalModules_visitModule1(A.LinkedHashSet_LinkedHashSet$_empty(t1), sorted).call$1(root);
  80600. return sorted;
  80601. },
  80602. _evaluate0$_indexAfterImports$1(statements) {
  80603. var t1, t2, t3, lastImport, i, statement;
  80604. for (t1 = J.getInterceptor$asx(statements), t2 = type$.CssComment_2, t3 = type$.CssImport_2, lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  80605. statement = t1.$index(statements, i);
  80606. if (t3._is(statement))
  80607. lastImport = i;
  80608. else if (!t2._is(statement))
  80609. break;
  80610. }
  80611. return lastImport + 1;
  80612. },
  80613. visitStylesheet$1(node) {
  80614. var t1, t2, _i;
  80615. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80616. t1[_i].accept$1(this);
  80617. return null;
  80618. },
  80619. visitAtRootRule$1(node) {
  80620. var t1, grandparent, root, innerCopy, t2, outerCopy, t3, copy, _this = this,
  80621. _s8_ = "__parent",
  80622. unparsedQuery = node.query,
  80623. query = unparsedQuery != null ? _this._evaluate0$_adjustParseError$2(unparsedQuery, new A._EvaluateVisitor_visitAtRootRule_closure5(_this, _this._evaluate0$_performInterpolation$2$warnForColor(unparsedQuery, true))) : B.AtRootQuery_UsS0,
  80624. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  80625. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  80626. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  80627. if (!query.excludes$1($parent))
  80628. included.push($parent);
  80629. grandparent = $parent._node0$_parent;
  80630. if (grandparent == null)
  80631. throw A.wrapException(A.StateError$(string$.CssNod));
  80632. }
  80633. root = _this._evaluate0$_trimIncluded$1(included);
  80634. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  80635. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure6(_this, node), node.hasDeclarations, type$.Null);
  80636. return null;
  80637. }
  80638. if (included.length !== 0) {
  80639. innerCopy = B.JSArray_methods.get$first(included).copyWithoutChildren$0();
  80640. 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) {
  80641. t3 = t1.__internal$_current;
  80642. copy = (t3 == null ? t2._as(t3) : t3).copyWithoutChildren$0();
  80643. copy.addChild$1(outerCopy);
  80644. }
  80645. root.addChild$1(outerCopy);
  80646. } else
  80647. innerCopy = root;
  80648. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure7(_this, node));
  80649. return null;
  80650. },
  80651. _evaluate0$_trimIncluded$1(nodes) {
  80652. var $parent, t1, innermostContiguous, i, t2, grandparent, root, _this = this, _null = null, _s5_ = "_root",
  80653. _s22_ = " to be an ancestor of ";
  80654. if (nodes.length === 0)
  80655. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  80656. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  80657. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  80658. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  80659. grandparent = $parent._node0$_parent;
  80660. if (grandparent == null)
  80661. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  80662. }
  80663. if (innermostContiguous == null)
  80664. innermostContiguous = i;
  80665. grandparent = $parent._node0$_parent;
  80666. if (grandparent == null)
  80667. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  80668. }
  80669. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  80670. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  80671. innermostContiguous.toString;
  80672. root = nodes[innermostContiguous];
  80673. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  80674. return root;
  80675. },
  80676. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  80677. var _this = this,
  80678. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  80679. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  80680. if (t1 !== query.include)
  80681. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  80682. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  80683. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  80684. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  80685. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  80686. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  80687. },
  80688. visitContentBlock$1(node) {
  80689. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  80690. },
  80691. visitContentRule$1(node) {
  80692. var $content = this._evaluate0$_environment._environment0$_content;
  80693. if ($content == null)
  80694. return null;
  80695. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  80696. return null;
  80697. },
  80698. visitDebugRule$1(node) {
  80699. var value = node.expression.accept$1(this),
  80700. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  80701. this._evaluate0$_logger.debug$2(0, t1, node.span);
  80702. return null;
  80703. },
  80704. visitDeclaration$1(node) {
  80705. var t1, $name, t2, cssValue, t3, t4, children, oldDeclarationName, _this = this, _null = null;
  80706. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  80707. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  80708. t1 = node.name;
  80709. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  80710. t2 = _this._evaluate0$_declarationName;
  80711. if (t2 != null)
  80712. $name = new A.CssValue0(t2 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  80713. t2 = node.value;
  80714. cssValue = A.NullableExtension_andThen0(t2, new A._EvaluateVisitor_visitDeclaration_closure3(_this));
  80715. t3 = cssValue != null;
  80716. if (t3)
  80717. t4 = !cssValue.get$value(cssValue).get$isBlank() || cssValue.get$value(cssValue).get$asList().length === 0;
  80718. else
  80719. t4 = false;
  80720. if (t4) {
  80721. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  80722. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  80723. if (_this._evaluate0$_sourceMap) {
  80724. t2 = A.NullableExtension_andThen0(t2, _this.get$_evaluate0$_expressionNode());
  80725. t2 = t2 == null ? _null : J.get$span$z(t2);
  80726. } else
  80727. t2 = _null;
  80728. t3.addChild$1(A.ModifiableCssDeclaration$0($name, cssValue, node.span, t1, t2));
  80729. } else if (J.startsWith$1$s($name.value, "--") && t3)
  80730. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", cssValue.get$span(cssValue)));
  80731. children = node.children;
  80732. if (children != null) {
  80733. oldDeclarationName = _this._evaluate0$_declarationName;
  80734. _this._evaluate0$_declarationName = $name.value;
  80735. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure4(_this, children), node.hasDeclarations, type$.Null);
  80736. _this._evaluate0$_declarationName = oldDeclarationName;
  80737. }
  80738. return _null;
  80739. },
  80740. visitEachRule$1(node) {
  80741. var _this = this,
  80742. t1 = node.list,
  80743. list = t1.accept$1(_this),
  80744. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  80745. setVariables = node.variables.length === 1 ? new A._EvaluateVisitor_visitEachRule_closure5(_this, node, nodeWithSpan) : new A._EvaluateVisitor_visitEachRule_closure6(_this, node, nodeWithSpan);
  80746. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, setVariables, node), true, type$.nullable_Value_2);
  80747. },
  80748. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  80749. var i,
  80750. list = value.get$asList(),
  80751. t1 = variables.length,
  80752. minLength = Math.min(t1, list.length);
  80753. for (i = 0; i < minLength; ++i)
  80754. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  80755. for (i = minLength; i < t1; ++i)
  80756. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  80757. },
  80758. visitErrorRule$1(node) {
  80759. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  80760. },
  80761. visitExtendRule$1(node) {
  80762. var t1, t2, t3, t4, t5, t6, t7, _i, complex, visitor, t8, t9, targetText, compound, _this = this, _null = null,
  80763. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  80764. if (styleRule == null || _this._evaluate0$_declarationName != null)
  80765. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  80766. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = styleRule.selector, t4 = t3.span, t5 = node.span, t6 = type$.SourceSpan, t7 = type$.String, _i = 0; _i < t2; ++_i) {
  80767. complex = t1[_i];
  80768. if (!complex.accept$1(B._IsBogusVisitor_true0))
  80769. continue;
  80770. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  80771. complex.accept$1(visitor);
  80772. t8 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  80773. t9 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  80774. _this._evaluate0$_warn$3$deprecation('The selector "' + t8 + '" is invalid CSS and ' + t9 + string$.x20be_an, new A.MultiSpan0(t4, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t5, "@extend rule"], t6, t7), t6, t7)), true);
  80775. }
  80776. targetText = _this._evaluate0$_interpolationToValue$2$warnForColor(node.selector, true);
  80777. for (t1 = _this._evaluate0$_adjustParseError$2(targetText, new A._EvaluateVisitor_visitExtendRule_closure1(_this, targetText)).components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  80778. complex = t1[_i];
  80779. if (complex.leadingCombinators.length === 0) {
  80780. t4 = complex.components;
  80781. t4 = t4.length === 1 && B.JSArray_methods.get$first(t4).combinators.length === 0;
  80782. } else
  80783. t4 = false;
  80784. compound = t4 ? B.JSArray_methods.get$first(complex.components).selector : _null;
  80785. if (compound == null)
  80786. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", targetText.span));
  80787. t4 = compound.components;
  80788. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  80789. if (t5 == null)
  80790. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, targetText.span));
  80791. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3, t5, node, _this._evaluate0$_mediaQueries);
  80792. }
  80793. return _null;
  80794. },
  80795. visitAtRule$1(node) {
  80796. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  80797. if (_this._evaluate0$_declarationName != null)
  80798. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  80799. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  80800. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  80801. children = node.children;
  80802. if (children == null) {
  80803. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  80804. return null;
  80805. }
  80806. wasInKeyframes = _this._evaluate0$_inKeyframes;
  80807. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  80808. if (A.unvendor0($name.value) === "keyframes")
  80809. _this._evaluate0$_inKeyframes = true;
  80810. else
  80811. _this._evaluate0$_inUnknownAtRule = true;
  80812. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
  80813. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  80814. _this._evaluate0$_inKeyframes = wasInKeyframes;
  80815. return null;
  80816. },
  80817. visitForRule$1(node) {
  80818. var _this = this, t1 = {},
  80819. t2 = node.from,
  80820. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  80821. t3 = node.to,
  80822. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  80823. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  80824. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  80825. direction = from > to ? -1 : 1;
  80826. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  80827. return null;
  80828. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  80829. },
  80830. visitForwardRule$1(node) {
  80831. var newConfiguration, t4, _i, variable, $name, _this = this,
  80832. _s8_ = "@forward",
  80833. oldConfiguration = _this._evaluate0$_configuration,
  80834. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  80835. t1 = node.configuration,
  80836. t2 = t1.length,
  80837. t3 = node.url;
  80838. if (t2 !== 0) {
  80839. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  80840. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  80841. t3 = type$.String;
  80842. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  80843. for (_i = 0; _i < t2; ++_i) {
  80844. variable = t1[_i];
  80845. if (!variable.isGuarded)
  80846. t4.add$1(0, variable.name);
  80847. }
  80848. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  80849. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  80850. for (_i = 0; _i < t2; ++_i)
  80851. t3.add$1(0, t1[_i].name);
  80852. 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) {
  80853. $name = t2[_i];
  80854. if (!t3.contains$1(0, $name))
  80855. if (!t1.get$isEmpty(t1))
  80856. t1.remove$1(0, $name);
  80857. }
  80858. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  80859. } else {
  80860. _this._evaluate0$_configuration = adjustedConfiguration;
  80861. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  80862. _this._evaluate0$_configuration = oldConfiguration;
  80863. }
  80864. return null;
  80865. },
  80866. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  80867. var t2, t3, _i, variable, t4, t5, variableNodeWithSpan,
  80868. t1 = configuration._configuration$_values,
  80869. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  80870. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80871. variable = t2[_i];
  80872. if (variable.isGuarded) {
  80873. t4 = variable.name;
  80874. t5 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t4);
  80875. if (t5 != null && !t5.value.$eq(0, B.C__SassNull0)) {
  80876. newValues.$indexSet(0, t4, t5);
  80877. continue;
  80878. }
  80879. }
  80880. t4 = variable.expression;
  80881. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  80882. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  80883. }
  80884. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  80885. return new A.ExplicitConfiguration0(node, newValues, null);
  80886. else
  80887. return new A.Configuration0(newValues, null);
  80888. },
  80889. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  80890. var t1, t2, t3, t4, _i, $name;
  80891. 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) {
  80892. $name = t2[_i];
  80893. if (except.contains$1(0, $name))
  80894. continue;
  80895. if (!t4.containsKey$1($name))
  80896. if (!t1.get$isEmpty(t1))
  80897. t1.remove$1(0, $name);
  80898. }
  80899. },
  80900. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  80901. var t1, entry;
  80902. if (!(configuration instanceof A.ExplicitConfiguration0))
  80903. return;
  80904. t1 = configuration._configuration$_values;
  80905. if (t1.get$isEmpty(t1))
  80906. return;
  80907. t1 = t1.get$entries(t1);
  80908. entry = t1.get$first(t1);
  80909. t1 = nameInError ? "$" + A.S(entry.key) + string$.x20was_n : string$.This_v;
  80910. throw A.wrapException(this._evaluate0$_exception$2(t1, entry.value.configurationSpan));
  80911. },
  80912. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  80913. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  80914. },
  80915. visitFunctionRule$1(node) {
  80916. var t1 = this._evaluate0$_environment,
  80917. t2 = t1.closure$0(),
  80918. t3 = this._evaluate0$_inDependency,
  80919. t4 = t1._environment0$_functions,
  80920. index = t4.length - 1,
  80921. t5 = node.name;
  80922. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  80923. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  80924. return null;
  80925. },
  80926. visitIfRule$1(node) {
  80927. var t1, t2, _i, clauseToCheck, _box_0 = {};
  80928. _box_0.clause = node.lastClause;
  80929. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  80930. clauseToCheck = t1[_i];
  80931. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  80932. _box_0.clause = clauseToCheck;
  80933. break;
  80934. }
  80935. }
  80936. t1 = _box_0.clause;
  80937. if (t1 == null)
  80938. return null;
  80939. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule_closure1(_box_0, this), true, t1.hasDeclarations, type$.nullable_Value_2);
  80940. },
  80941. visitImportRule$1(node) {
  80942. var t1, t2, t3, t4, t5, t6, _i, $import, t7, result, $self, t8, _this = this,
  80943. _s8_ = "__parent",
  80944. _s5_ = "_root",
  80945. _s13_ = "_endOfImports";
  80946. 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) {
  80947. $import = t1[_i];
  80948. if ($import instanceof A.DynamicImport0)
  80949. _this._evaluate0$_visitDynamicImport$1($import);
  80950. else {
  80951. t5._as($import);
  80952. t7 = $import.url;
  80953. result = _this._evaluate0$_performInterpolation$2$warnForColor(t7, false);
  80954. $self = $import.modifiers;
  80955. t8 = $self == null ? null : t4.call$1($self);
  80956. node = new A.ModifiableCssImport0(new A.CssValue0(result, t7.span, t3), t8, $import.span);
  80957. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  80958. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  80959. 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)) {
  80960. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  80961. node._node0$_parent = t7;
  80962. t7 = t7._node0$_children;
  80963. node._node0$_indexInParent = t7.length;
  80964. t7.push(node);
  80965. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  80966. } else {
  80967. t7 = _this._evaluate0$_outOfOrderImports;
  80968. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  80969. }
  80970. }
  80971. }
  80972. return null;
  80973. },
  80974. _evaluate0$_visitDynamicImport$1($import) {
  80975. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  80976. },
  80977. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  80978. var importCache, tuple, isDependency, stylesheet, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, t1, t2, t3, t4, exception, message0, _this = this,
  80979. _s11_ = "_stylesheet";
  80980. baseUrl = baseUrl;
  80981. try {
  80982. _this._evaluate0$_importSpan = span;
  80983. importCache = _this._evaluate0$_importCache;
  80984. if (importCache != null) {
  80985. if (baseUrl == null)
  80986. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  80987. tuple = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  80988. if (tuple != null) {
  80989. isDependency = _this._evaluate0$_inDependency || tuple.item1 !== _this._evaluate0$_importer;
  80990. t1 = tuple.item1;
  80991. t2 = tuple.item2;
  80992. t3 = tuple.item3;
  80993. t4 = _this._evaluate0$_quietDeps && isDependency;
  80994. stylesheet = importCache.importCanonical$4$originalUrl$quiet(t1, t2, t3, t4);
  80995. if (stylesheet != null) {
  80996. _this._evaluate0$_loadedUrls.add$1(0, tuple.item2);
  80997. t1 = tuple.item1;
  80998. return new A._LoadedStylesheet1(stylesheet, t1, isDependency);
  80999. }
  81000. }
  81001. } else {
  81002. t1 = baseUrl;
  81003. result = _this._evaluate0$_importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  81004. if (result != null) {
  81005. t1 = _this._evaluate0$_loadedUrls;
  81006. A.NullableExtension_andThen0(result.stylesheet.span.file.url, t1.get$add(t1));
  81007. return result;
  81008. }
  81009. }
  81010. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  81011. throw A.wrapException(string$.x22packa);
  81012. else
  81013. throw A.wrapException("Can't find stylesheet to import.");
  81014. } catch (exception) {
  81015. t1 = A.unwrapException(exception);
  81016. if (t1 instanceof A.SassException0) {
  81017. error = t1;
  81018. stackTrace = A.getTraceFromException(exception);
  81019. t1 = error;
  81020. t2 = J.getInterceptor$z(t1);
  81021. A.throwWithTrace0(_this._evaluate0$_exception$2(error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  81022. } else if (t1 instanceof A.ArgumentError) {
  81023. error0 = t1;
  81024. stackTrace0 = A.getTraceFromException(exception);
  81025. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error0)), stackTrace0);
  81026. } else {
  81027. error1 = t1;
  81028. stackTrace1 = A.getTraceFromException(exception);
  81029. message = null;
  81030. try {
  81031. message = A._asString(J.get$message$x(error1));
  81032. } catch (exception) {
  81033. message0 = J.toString$0$(error1);
  81034. message = message0;
  81035. }
  81036. A.throwWithTrace0(_this._evaluate0$_exception$1(message), stackTrace1);
  81037. }
  81038. } finally {
  81039. _this._evaluate0$_importSpan = null;
  81040. }
  81041. },
  81042. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  81043. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  81044. },
  81045. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  81046. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  81047. },
  81048. _evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  81049. var isDependency, url, t2, _this = this,
  81050. t1 = _this._evaluate0$_nodeImporter,
  81051. result = t1.loadRelative$3(originalUrl, previous, forImport);
  81052. if (result != null)
  81053. isDependency = _this._evaluate0$_inDependency;
  81054. else {
  81055. result = t1.load$3(0, originalUrl, previous, forImport);
  81056. if (result == null)
  81057. return null;
  81058. isDependency = true;
  81059. }
  81060. url = result.item2;
  81061. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  81062. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  81063. return new A._LoadedStylesheet1(A.Stylesheet_Stylesheet$parse0(result.item1, t1, t2, url), null, isDependency);
  81064. },
  81065. visitIncludeRule$1(node) {
  81066. var nodeWithSpan, t1, _this = this,
  81067. _s37_ = "Mixin doesn't accept a content block.",
  81068. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure7(_this, node));
  81069. if (mixin == null)
  81070. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", node.span));
  81071. nodeWithSpan = new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure8(node));
  81072. if (mixin instanceof A.BuiltInCallable0) {
  81073. if (node.content != null)
  81074. throw A.wrapException(_this._evaluate0$_exception$2(_s37_, node.span));
  81075. _this._evaluate0$_runBuiltInCallable$3(node.$arguments, mixin, nodeWithSpan);
  81076. } else if (type$.UserDefinedCallable_Environment_2._is(mixin)) {
  81077. t1 = node.content;
  81078. if (t1 != null && !type$.MixinRule_2._as(mixin.declaration).get$hasContent())
  81079. 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())));
  81080. _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);
  81081. } else
  81082. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  81083. return null;
  81084. },
  81085. visitMixinRule$1(node) {
  81086. var t1 = this._evaluate0$_environment,
  81087. t2 = t1.closure$0(),
  81088. t3 = this._evaluate0$_inDependency,
  81089. t4 = t1._environment0$_mixins,
  81090. index = t4.length - 1,
  81091. t5 = node.name;
  81092. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  81093. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  81094. return null;
  81095. },
  81096. visitLoudComment$1(node) {
  81097. var t1, _this = this,
  81098. _s8_ = "__parent",
  81099. _s13_ = "_endOfImports";
  81100. if (_this._evaluate0$_inFunction)
  81101. return null;
  81102. 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))
  81103. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  81104. t1 = node.text;
  81105. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  81106. return null;
  81107. },
  81108. visitMediaRule$1(node) {
  81109. var queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  81110. if (_this._evaluate0$_declarationName != null)
  81111. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  81112. queries = _this._evaluate0$_visitMediaQueries$1(node.query);
  81113. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  81114. t1 = mergedQueries == null;
  81115. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  81116. return null;
  81117. if (t1)
  81118. mergedSources = B.Set_empty4;
  81119. else {
  81120. t2 = _this._evaluate0$_mediaQuerySources;
  81121. t2.toString;
  81122. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  81123. t3 = _this._evaluate0$_mediaQueries;
  81124. t3.toString;
  81125. t2.addAll$1(0, t3);
  81126. t2.addAll$1(0, queries);
  81127. mergedSources = t2;
  81128. }
  81129. t1 = t1 ? queries : mergedQueries;
  81130. _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);
  81131. return null;
  81132. },
  81133. _evaluate0$_visitMediaQueries$1(interpolation) {
  81134. return this._evaluate0$_adjustParseError$2(interpolation, new A._EvaluateVisitor__visitMediaQueries_closure1(this, this._evaluate0$_performInterpolation$2$warnForColor(interpolation, true)));
  81135. },
  81136. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  81137. var t1, t2, t3, t4, t5, result,
  81138. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  81139. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2), t3 = type$.MediaQuerySuccessfulMergeResult_2; t1.moveNext$0();) {
  81140. t4 = t1.get$current(t1);
  81141. for (t5 = t2.get$iterator(queries2); t5.moveNext$0();) {
  81142. result = t4.merge$1(t5.get$current(t5));
  81143. if (result === B._SingletonCssMediaQueryMergeResult_empty0)
  81144. continue;
  81145. if (result === B._SingletonCssMediaQueryMergeResult_unrepresentable0)
  81146. return null;
  81147. queries.push(t3._as(result).query);
  81148. }
  81149. }
  81150. return queries;
  81151. },
  81152. visitReturnRule$1(node) {
  81153. var t1 = node.expression;
  81154. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  81155. },
  81156. visitSilentComment$1(node) {
  81157. return null;
  81158. },
  81159. visitStyleRule$1(node) {
  81160. var t1, selectorText, rule, oldAtRootExcludingStyleRule, t2, t3, t4, t5, t6, _i, complex, visitor, t7, t8, t9, _this = this, _null = null,
  81161. _s8_ = "__parent",
  81162. _box_0 = {};
  81163. if (_this._evaluate0$_declarationName != null)
  81164. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  81165. t1 = node.selector;
  81166. selectorText = _this._evaluate0$_interpolationToValue$3$trim$warnForColor(t1, true, true);
  81167. if (_this._evaluate0$_inKeyframes) {
  81168. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(_this._evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure15(_this, selectorText)), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure16(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure17(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  81169. return _null;
  81170. }
  81171. _box_0.parsedSelector = _this._evaluate0$_adjustParseError$2(t1, new A._EvaluateVisitor_visitStyleRule_closure18(_this, selectorText));
  81172. _box_0.parsedSelector = _this._evaluate0$_addExceptionSpan$2(t1, new A._EvaluateVisitor_visitStyleRule_closure19(_box_0, _this));
  81173. t1 = t1.span;
  81174. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(_box_0.parsedSelector, t1, _this._evaluate0$_mediaQueries), node.span, _box_0.parsedSelector);
  81175. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  81176. _this._evaluate0$_atRootExcludingStyleRule = false;
  81177. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure20(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure21(), type$.ModifiableCssStyleRule_2, type$.Null);
  81178. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  81179. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  81180. for (t2 = _box_0.parsedSelector.components, t3 = t2.length, t4 = type$.SourceSpan, t5 = type$.String, t6 = rule.children, _i = 0; _i < t3; ++_i) {
  81181. complex = t2[_i];
  81182. if (!complex.accept$1(B._IsBogusVisitor_true0))
  81183. continue;
  81184. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  81185. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  81186. complex.accept$1(visitor);
  81187. _this._evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, t1, true);
  81188. } else if (complex.leadingCombinators.length !== 0) {
  81189. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  81190. complex.accept$1(visitor);
  81191. _this._evaluate0$_warn$3$deprecation('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, t1, true);
  81192. } else {
  81193. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  81194. complex.accept$1(visitor);
  81195. t7 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  81196. t8 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  81197. if (t6.get$length(t6) === 0)
  81198. A.throwExpression(A.IterableElementError_noElement());
  81199. t9 = J.get$span$z(t6.$index(0, 0));
  81200. _this._evaluate0$_warn$3$deprecation('The selector "' + t7 + string$.x22x20is_o + t8 + string$.x0aThis_, new A.MultiSpan0(t1, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t6.every$1(t6, new A._EvaluateVisitor_visitStyleRule_closure22()) ? "\n(try converting to a //-style comment)" : "")], t4, t5), t4, t5)), true);
  81201. }
  81202. }
  81203. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  81204. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81205. t1 = !t1.get$isEmpty(t1);
  81206. } else
  81207. t1 = false;
  81208. if (t1) {
  81209. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81210. t1.get$last(t1).isGroupEnd = true;
  81211. }
  81212. return _null;
  81213. },
  81214. visitSupportsRule$1(node) {
  81215. var t1, _this = this;
  81216. if (_this._evaluate0$_declarationName != null)
  81217. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  81218. t1 = node.condition;
  81219. _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);
  81220. return null;
  81221. },
  81222. _evaluate0$_visitSupportsCondition$1(condition) {
  81223. var t1, oldInSupportsDeclaration, t2, t3, _this = this;
  81224. if (condition instanceof A.SupportsOperation0) {
  81225. t1 = condition.operator;
  81226. return _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  81227. } else if (condition instanceof A.SupportsNegation0)
  81228. return "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  81229. else if (condition instanceof A.SupportsInterpolation0) {
  81230. t1 = condition.expression;
  81231. return _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  81232. } else if (condition instanceof A.SupportsDeclaration0) {
  81233. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  81234. _this._evaluate0$_inSupportsDeclaration = true;
  81235. t1 = condition.name;
  81236. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, true);
  81237. t2 = condition.get$isCustomProperty() ? "" : " ";
  81238. t3 = condition.value;
  81239. t3 = _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  81240. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  81241. return "(" + t1 + ":" + t2 + t3 + ")";
  81242. } else if (condition instanceof A.SupportsFunction0)
  81243. return _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  81244. else if (condition instanceof A.SupportsAnything0)
  81245. return "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  81246. else
  81247. throw A.wrapException(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeType(condition).toString$0(0) + ".", null));
  81248. },
  81249. _evaluate0$_parenthesize$2(condition, operator) {
  81250. var t1;
  81251. if (!(condition instanceof A.SupportsNegation0))
  81252. if (condition instanceof A.SupportsOperation0)
  81253. t1 = operator == null || operator !== condition.operator;
  81254. else
  81255. t1 = false;
  81256. else
  81257. t1 = true;
  81258. if (t1)
  81259. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  81260. else
  81261. return this._evaluate0$_visitSupportsCondition$1(condition);
  81262. },
  81263. _evaluate0$_parenthesize$1(condition) {
  81264. return this._evaluate0$_parenthesize$2(condition, null);
  81265. },
  81266. visitVariableDeclaration$1(node) {
  81267. var t1, value, _this = this, _null = null;
  81268. if (node.isGuarded) {
  81269. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  81270. t1 = _this._evaluate0$_configuration._configuration$_values;
  81271. t1 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  81272. if (t1 != null && !t1.value.$eq(0, B.C__SassNull0)) {
  81273. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(_this, node, t1));
  81274. return _null;
  81275. }
  81276. }
  81277. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  81278. if (value != null && !value.$eq(0, B.C__SassNull0))
  81279. return _null;
  81280. }
  81281. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  81282. 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.";
  81283. _this._evaluate0$_warn$3$deprecation(t1, node.span, true);
  81284. }
  81285. t1 = node.expression;
  81286. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  81287. return _null;
  81288. },
  81289. visitUseRule$1(node) {
  81290. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  81291. t1 = node.configuration,
  81292. t2 = t1.length;
  81293. if (t2 !== 0) {
  81294. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  81295. for (_i = 0; _i < t2; ++_i) {
  81296. variable = t1[_i];
  81297. t3 = variable.expression;
  81298. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  81299. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  81300. }
  81301. configuration = new A.ExplicitConfiguration0(node, values, null);
  81302. } else
  81303. configuration = B.Configuration_Map_empty_null0;
  81304. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  81305. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  81306. return null;
  81307. },
  81308. visitWarnRule$1(node) {
  81309. var _this = this,
  81310. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  81311. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  81312. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  81313. return null;
  81314. },
  81315. visitWhileRule$1(node) {
  81316. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  81317. },
  81318. visitBinaryOperationExpression$1(node) {
  81319. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(this, node));
  81320. },
  81321. visitValueExpression$1(node) {
  81322. return node.value;
  81323. },
  81324. visitVariableExpression$1(node) {
  81325. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  81326. if (result != null)
  81327. return result;
  81328. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  81329. },
  81330. visitUnaryOperationExpression$1(node) {
  81331. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  81332. },
  81333. visitBooleanExpression$1(node) {
  81334. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  81335. },
  81336. visitIfExpression$1(node) {
  81337. var condition, t2, ifTrue, ifFalse, result, _this = this,
  81338. pair = _this._evaluate0$_evaluateMacroArguments$1(node),
  81339. positional = pair.item1,
  81340. named = pair.item2,
  81341. t1 = J.getInterceptor$asx(positional);
  81342. _this._evaluate0$_verifyArguments$4(t1.get$length(positional), named, $.$get$IfExpression_declaration0(), node);
  81343. if (t1.get$length(positional) > 0)
  81344. condition = t1.$index(positional, 0);
  81345. else {
  81346. t2 = named.$index(0, "condition");
  81347. t2.toString;
  81348. condition = t2;
  81349. }
  81350. if (t1.get$length(positional) > 1)
  81351. ifTrue = t1.$index(positional, 1);
  81352. else {
  81353. t2 = named.$index(0, "if-true");
  81354. t2.toString;
  81355. ifTrue = t2;
  81356. }
  81357. if (t1.get$length(positional) > 2)
  81358. ifFalse = t1.$index(positional, 2);
  81359. else {
  81360. t1 = named.$index(0, "if-false");
  81361. t1.toString;
  81362. ifFalse = t1;
  81363. }
  81364. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  81365. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  81366. },
  81367. visitNullExpression$1(node) {
  81368. return B.C__SassNull0;
  81369. },
  81370. visitNumberExpression$1(node) {
  81371. return A.SassNumber_SassNumber0(node.value, node.unit);
  81372. },
  81373. visitParenthesizedExpression$1(node) {
  81374. return node.expression.accept$1(this);
  81375. },
  81376. visitCalculationExpression$1(node) {
  81377. var $arguments, error, stackTrace, t2, t3, t4, t5, t6, _i, argument, exception, _this = this,
  81378. t1 = A._setArrayType([], type$.JSArray_Object);
  81379. for (t2 = node.$arguments, t3 = t2.length, t4 = node.name, t5 = t4 !== "min", t6 = t4 === "max", _i = 0; _i < t3; ++_i) {
  81380. argument = t2[_i];
  81381. t1.push(_this._evaluate0$_visitCalculationValue$2$inMinMax(argument, !t5 || t6));
  81382. }
  81383. $arguments = t1;
  81384. if (_this._evaluate0$_inSupportsDeclaration)
  81385. return new A.SassCalculation0(t4, A.List_List$unmodifiable($arguments, type$.Object));
  81386. try {
  81387. switch (t4) {
  81388. case "calc":
  81389. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  81390. return t1;
  81391. case "min":
  81392. t1 = A.SassCalculation_min0($arguments);
  81393. return t1;
  81394. case "max":
  81395. t1 = A.SassCalculation_max0($arguments);
  81396. return t1;
  81397. case "clamp":
  81398. t1 = J.$index$asx($arguments, 0);
  81399. t3 = J.get$length$asx($arguments) > 1 ? J.$index$asx($arguments, 1) : null;
  81400. t1 = A.SassCalculation_clamp0(t1, t3, J.get$length$asx($arguments) > 2 ? J.$index$asx($arguments, 2) : null);
  81401. return t1;
  81402. default:
  81403. t1 = A.UnsupportedError$('Unknown calculation name "' + t4 + '".');
  81404. throw A.wrapException(t1);
  81405. }
  81406. } catch (exception) {
  81407. t1 = A.unwrapException(exception);
  81408. if (t1 instanceof A.SassScriptException0) {
  81409. error = t1;
  81410. stackTrace = A.getTraceFromException(exception);
  81411. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  81412. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), stackTrace);
  81413. } else
  81414. throw exception;
  81415. }
  81416. },
  81417. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  81418. var i, t1, arg, number1, j, number2;
  81419. for (i = 0; t1 = args.length, i < t1; ++i) {
  81420. arg = args[i];
  81421. if (!(arg instanceof A.SassNumber0))
  81422. continue;
  81423. if (arg.get$numeratorUnits(arg).length > 1 || arg.get$denominatorUnits(arg).length !== 0)
  81424. throw A.wrapException(this._evaluate0$_exception$2("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  81425. }
  81426. for (i = 0; i < t1 - 1; ++i) {
  81427. number1 = args[i];
  81428. if (!(number1 instanceof A.SassNumber0))
  81429. continue;
  81430. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  81431. number2 = args[j];
  81432. if (!(number2 instanceof A.SassNumber0))
  81433. continue;
  81434. if (number1.hasPossiblyCompatibleUnits$1(number2))
  81435. continue;
  81436. 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]))));
  81437. }
  81438. }
  81439. },
  81440. _evaluate0$_visitCalculationValue$2$inMinMax(node, inMinMax) {
  81441. var inner, result, t1, _this = this;
  81442. if (node instanceof A.ParenthesizedExpression0) {
  81443. inner = node.expression;
  81444. result = _this._evaluate0$_visitCalculationValue$2$inMinMax(inner, inMinMax);
  81445. if (inner instanceof A.FunctionExpression0)
  81446. t1 = A.stringReplaceAllUnchecked(inner.originalName, "_", "-").toLowerCase() === "var" && result instanceof A.SassString0 && !result._string0$_hasQuotes;
  81447. else
  81448. t1 = false;
  81449. return t1 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  81450. } else if (node instanceof A.StringExpression0)
  81451. return new A.CalculationInterpolation0(_this._evaluate0$_performInterpolation$1(node.text));
  81452. else if (node instanceof A.BinaryOperationExpression0)
  81453. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationValue_closure1(_this, node, inMinMax));
  81454. else {
  81455. result = node.accept$1(_this);
  81456. if (result instanceof A.SassNumber0 || result instanceof A.SassCalculation0)
  81457. return result;
  81458. if (result instanceof A.SassString0 && !result._string0$_hasQuotes)
  81459. return result;
  81460. throw A.wrapException(_this._evaluate0$_exception$2("Value " + result.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  81461. }
  81462. },
  81463. _evaluate0$_binaryOperatorToCalculationOperator$1(operator) {
  81464. switch (operator) {
  81465. case B.BinaryOperator_qbf0:
  81466. return B.CalculationOperator_IyK0;
  81467. case B.BinaryOperator_KlB0:
  81468. return B.CalculationOperator_2bx0;
  81469. case B.BinaryOperator_6pl0:
  81470. return B.CalculationOperator_jFr0;
  81471. case B.BinaryOperator_qpm0:
  81472. return B.CalculationOperator_OvN0;
  81473. default:
  81474. throw A.wrapException(A.UnsupportedError$("Invalid calculation operator " + operator.toString$0(0) + "."));
  81475. }
  81476. },
  81477. visitColorExpression$1(node) {
  81478. return node.value;
  81479. },
  81480. visitListExpression$1(node) {
  81481. var t1 = node.contents;
  81482. 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);
  81483. },
  81484. visitMapExpression$1(node) {
  81485. var t2, t3, _i, pair, t4, keyValue, valueValue, oldValueSpan,
  81486. t1 = type$.Value_2,
  81487. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  81488. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  81489. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  81490. pair = t2[_i];
  81491. t4 = pair.item1;
  81492. keyValue = t4.accept$1(this);
  81493. valueValue = pair.item2.accept$1(this);
  81494. if (map.$index(0, keyValue) != null) {
  81495. t1 = keyNodes.$index(0, keyValue);
  81496. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  81497. t1 = J.getInterceptor$z(t4);
  81498. t2 = t1.get$span(t4);
  81499. t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81500. if (oldValueSpan != null)
  81501. t3.$indexSet(0, oldValueSpan, "first key");
  81502. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t2, "second key", t3, this._evaluate0$_stackTrace$1(t1.get$span(t4))));
  81503. }
  81504. map.$indexSet(0, keyValue, valueValue);
  81505. keyNodes.$indexSet(0, keyValue, t4);
  81506. }
  81507. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  81508. },
  81509. visitFunctionExpression$1(node) {
  81510. var oldInFunction, result, _this = this, t1 = {},
  81511. $function = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure3(_this, node));
  81512. t1.$function = $function;
  81513. if ($function == null) {
  81514. if (node.namespace != null)
  81515. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  81516. t1.$function = new A.PlainCssCallable0(node.originalName);
  81517. }
  81518. oldInFunction = _this._evaluate0$_inFunction;
  81519. _this._evaluate0$_inFunction = true;
  81520. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, _this, node));
  81521. _this._evaluate0$_inFunction = oldInFunction;
  81522. return result;
  81523. },
  81524. visitInterpolatedFunctionExpression$1(node) {
  81525. var result, _this = this,
  81526. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  81527. oldInFunction = _this._evaluate0$_inFunction;
  81528. _this._evaluate0$_inFunction = true;
  81529. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  81530. _this._evaluate0$_inFunction = oldInFunction;
  81531. return result;
  81532. },
  81533. _evaluate0$_getFunction$2$namespace($name, namespace) {
  81534. var local = this._evaluate0$_environment.getFunction$2$namespace($name, namespace);
  81535. if (local != null || namespace != null)
  81536. return local;
  81537. return this._evaluate0$_builtInFunctions.$index(0, $name);
  81538. },
  81539. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  81540. var oldCallable, result, _this = this,
  81541. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  81542. $name = callable.declaration.name;
  81543. if ($name !== "@content")
  81544. $name += "()";
  81545. oldCallable = _this._evaluate0$_currentCallable;
  81546. _this._evaluate0$_currentCallable = callable;
  81547. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  81548. _this._evaluate0$_currentCallable = oldCallable;
  81549. return result;
  81550. },
  81551. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  81552. var t1, t2, t3, first, _i, argument, restArg, rest, _this = this;
  81553. if (callable instanceof A.BuiltInCallable0)
  81554. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  81555. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  81556. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  81557. else if (callable instanceof A.PlainCssCallable0) {
  81558. t1 = $arguments.named;
  81559. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  81560. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  81561. t1 = callable.name + "(";
  81562. for (t2 = $arguments.positional, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i) {
  81563. argument = t2[_i];
  81564. if (first)
  81565. first = false;
  81566. else
  81567. t1 += ", ";
  81568. t1 += _this._evaluate0$_serialize$3$quote(argument.accept$1(_this), argument, true);
  81569. }
  81570. restArg = $arguments.rest;
  81571. if (restArg != null) {
  81572. rest = restArg.accept$1(_this);
  81573. if (!first)
  81574. t1 += ", ";
  81575. t1 += _this._evaluate0$_serialize$2(rest, restArg);
  81576. }
  81577. t1 += A.Primitives_stringFromCharCode(41);
  81578. return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  81579. } else
  81580. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$u(callable).toString$0(0) + ".", null));
  81581. },
  81582. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  81583. var callback, result, error, stackTrace, error0, stackTrace0, error1, stackTrace1, message, namedSet, tuple, overload, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, t4, t5, t6, message0, _this = this,
  81584. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  81585. oldCallableNode = _this._evaluate0$_callableNode;
  81586. _this._evaluate0$_callableNode = nodeWithSpan;
  81587. namedSet = new A.MapKeySet(evaluated.named, type$.MapKeySet_String);
  81588. tuple = callable.callbackFor$2(evaluated.positional.length, namedSet);
  81589. overload = tuple.item1;
  81590. callback = tuple.item2;
  81591. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(overload, evaluated, namedSet));
  81592. declaredArguments = overload.$arguments;
  81593. for (i = evaluated.positional.length, t1 = declaredArguments.length; i < t1; ++i) {
  81594. argument = declaredArguments[i];
  81595. t2 = evaluated.positional;
  81596. t3 = evaluated.named.remove$1(0, argument.name);
  81597. if (t3 == null) {
  81598. t3 = argument.defaultValue;
  81599. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  81600. }
  81601. t2.push(t3);
  81602. }
  81603. if (overload.restArgument != null) {
  81604. if (evaluated.positional.length > t1) {
  81605. rest = B.JSArray_methods.sublist$1(evaluated.positional, t1);
  81606. B.JSArray_methods.removeRange$2(evaluated.positional, t1, evaluated.positional.length);
  81607. } else
  81608. rest = B.List_empty19;
  81609. t1 = evaluated.named;
  81610. argumentList = A.SassArgumentList$0(rest, t1, evaluated.separator === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated.separator);
  81611. evaluated.positional.push(argumentList);
  81612. } else
  81613. argumentList = null;
  81614. result = null;
  81615. try {
  81616. result = callback.call$1(evaluated.positional);
  81617. } catch (exception) {
  81618. t1 = A.unwrapException(exception);
  81619. if (type$.SassRuntimeException_2._is(t1))
  81620. throw exception;
  81621. else if (t1 instanceof A.MultiSpanSassScriptException0) {
  81622. error = t1;
  81623. stackTrace = A.getTraceFromException(exception);
  81624. t1 = error.message;
  81625. t2 = nodeWithSpan.get$span(nodeWithSpan);
  81626. t3 = error.primaryLabel;
  81627. t4 = error.secondarySpans;
  81628. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  81629. } else if (t1 instanceof A.MultiSpanSassException0) {
  81630. error0 = t1;
  81631. stackTrace0 = A.getTraceFromException(exception);
  81632. t1 = error0._span_exception$_message;
  81633. t2 = error0;
  81634. t3 = J.getInterceptor$z(t2);
  81635. t2 = A.SourceSpanException.prototype.get$span.call(t3, t2);
  81636. t3 = error0.primaryLabel;
  81637. t4 = error0.secondarySpans;
  81638. t5 = error0;
  81639. t6 = J.getInterceptor$z(t5);
  81640. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(_this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t6, t5)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace0);
  81641. } else {
  81642. error1 = t1;
  81643. stackTrace1 = A.getTraceFromException(exception);
  81644. message = null;
  81645. try {
  81646. message = A._asString(J.get$message$x(error1));
  81647. } catch (exception) {
  81648. message0 = J.toString$0$(error1);
  81649. message = message0;
  81650. }
  81651. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace1);
  81652. }
  81653. }
  81654. _this._evaluate0$_callableNode = oldCallableNode;
  81655. if (argumentList == null)
  81656. return result;
  81657. if (evaluated.named.__js_helper$_length === 0)
  81658. return result;
  81659. if (argumentList._argument_list$_wereKeywordsAccessed)
  81660. return result;
  81661. t1 = evaluated.named;
  81662. t1 = t1.get$keys(t1);
  81663. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  81664. t2 = evaluated.named;
  81665. 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_closure4(), 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))));
  81666. },
  81667. _evaluate0$_evaluateArguments$1($arguments) {
  81668. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, t5, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  81669. positional = A._setArrayType([], type$.JSArray_Value_2),
  81670. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  81671. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  81672. expression = t1[_i];
  81673. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  81674. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  81675. positionalNodes.push(nodeForSpan);
  81676. }
  81677. t1 = type$.String;
  81678. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  81679. t2 = type$.AstNode_2;
  81680. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  81681. for (t3 = $arguments.named, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  81682. t4 = t3.get$current(t3);
  81683. t5 = t4.value;
  81684. nodeForSpan = _this._evaluate0$_expressionNode$1(t5);
  81685. t4 = t4.key;
  81686. named.$indexSet(0, t4, _this._evaluate0$_withoutSlash$2(t5.accept$1(_this), nodeForSpan));
  81687. namedNodes.$indexSet(0, t4, nodeForSpan);
  81688. }
  81689. restArgs = $arguments.rest;
  81690. if (restArgs == null)
  81691. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, B.ListSeparator_undecided_null_undecided0);
  81692. rest = restArgs.accept$1(_this);
  81693. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  81694. if (rest instanceof A.SassMap0) {
  81695. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  81696. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  81697. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  81698. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  81699. namedNodes.addAll$1(0, t3);
  81700. separator = B.ListSeparator_undecided_null_undecided0;
  81701. } else if (rest instanceof A.SassList0) {
  81702. t3 = rest._list1$_contents;
  81703. 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>")));
  81704. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  81705. separator = rest._list1$_separator;
  81706. if (rest instanceof A.SassArgumentList0) {
  81707. rest._argument_list$_wereKeywordsAccessed = true;
  81708. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  81709. }
  81710. } else {
  81711. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  81712. positionalNodes.push(restNodeForSpan);
  81713. separator = B.ListSeparator_undecided_null_undecided0;
  81714. }
  81715. keywordRestArgs = $arguments.keywordRest;
  81716. if (keywordRestArgs == null)
  81717. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  81718. keywordRest = keywordRestArgs.accept$1(_this);
  81719. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  81720. if (keywordRest instanceof A.SassMap0) {
  81721. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  81722. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  81723. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  81724. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  81725. namedNodes.addAll$1(0, t1);
  81726. return new A._ArgumentResults1(positional, positionalNodes, named, namedNodes, separator);
  81727. } else
  81728. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  81729. },
  81730. _evaluate0$_evaluateMacroArguments$1(invocation) {
  81731. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  81732. t1 = invocation.$arguments,
  81733. restArgs_ = t1.rest;
  81734. if (restArgs_ == null)
  81735. return new A.Tuple2(t1.positional, t1.named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  81736. t2 = t1.positional;
  81737. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  81738. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  81739. rest = restArgs_.accept$1(_this);
  81740. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  81741. if (rest instanceof A.SassMap0)
  81742. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  81743. else if (rest instanceof A.SassList0) {
  81744. t2 = rest._list1$_contents;
  81745. 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>")));
  81746. if (rest instanceof A.SassArgumentList0) {
  81747. rest._argument_list$_wereKeywordsAccessed = true;
  81748. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  81749. }
  81750. } else
  81751. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  81752. keywordRestArgs_ = t1.keywordRest;
  81753. if (keywordRestArgs_ == null)
  81754. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  81755. keywordRest = keywordRestArgs_.accept$1(_this);
  81756. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  81757. if (keywordRest instanceof A.SassMap0) {
  81758. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  81759. return new A.Tuple2(positional, named, type$.Tuple2_of_List_Expression_and_Map_String_Expression_2);
  81760. } else
  81761. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  81762. },
  81763. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  81764. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  81765. },
  81766. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  81767. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  81768. },
  81769. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  81770. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  81771. },
  81772. visitSelectorExpression$1(node) {
  81773. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  81774. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  81775. return t1 == null ? B.C__SassNull0 : t1;
  81776. },
  81777. visitStringExpression$1(node) {
  81778. var t1, _this = this,
  81779. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  81780. _this._evaluate0$_inSupportsDeclaration = false;
  81781. t1 = node.text.contents;
  81782. t1 = new A.MappedListIterable(t1, new A._EvaluateVisitor_visitStringExpression_closure1(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  81783. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  81784. return new A.SassString0(t1, node.hasQuotes);
  81785. },
  81786. visitSupportsExpression$1(expression) {
  81787. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  81788. },
  81789. visitCssAtRule$1(node) {
  81790. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  81791. if (_this._evaluate0$_declarationName != null)
  81792. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  81793. if (node.isChildless) {
  81794. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  81795. return;
  81796. }
  81797. wasInKeyframes = _this._evaluate0$_inKeyframes;
  81798. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  81799. t1 = node.name;
  81800. if (A.unvendor0(t1.get$value(t1)) === "keyframes")
  81801. _this._evaluate0$_inKeyframes = true;
  81802. else
  81803. _this._evaluate0$_inUnknownAtRule = true;
  81804. _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);
  81805. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  81806. _this._evaluate0$_inKeyframes = wasInKeyframes;
  81807. },
  81808. visitCssComment$1(node) {
  81809. var _this = this,
  81810. _s8_ = "__parent",
  81811. _s13_ = "_endOfImports";
  81812. 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))
  81813. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  81814. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  81815. },
  81816. visitCssDeclaration$1(node) {
  81817. var t1 = node.name;
  81818. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(t1, node.value, node.span, J.startsWith$1$s(t1.get$value(t1), "--"), node.valueSpanForMap));
  81819. },
  81820. visitCssImport$1(node) {
  81821. var t1, _this = this,
  81822. _s8_ = "__parent",
  81823. _s5_ = "_root",
  81824. _s13_ = "_endOfImports",
  81825. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  81826. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  81827. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  81828. 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)) {
  81829. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  81830. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  81831. } else {
  81832. t1 = _this._evaluate0$_outOfOrderImports;
  81833. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  81834. }
  81835. },
  81836. visitCssKeyframeBlock$1(node) {
  81837. 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);
  81838. },
  81839. visitCssMediaRule$1(node) {
  81840. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  81841. if (_this._evaluate0$_declarationName != null)
  81842. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  81843. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  81844. t1 = mergedQueries == null;
  81845. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  81846. return;
  81847. if (t1)
  81848. mergedSources = B.Set_empty4;
  81849. else {
  81850. t2 = _this._evaluate0$_mediaQuerySources;
  81851. t2.toString;
  81852. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  81853. t3 = _this._evaluate0$_mediaQueries;
  81854. t3.toString;
  81855. t2.addAll$1(0, t3);
  81856. t2.addAll$1(0, node.queries);
  81857. mergedSources = t2;
  81858. }
  81859. t1 = t1 ? node.queries : mergedQueries;
  81860. _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);
  81861. },
  81862. visitCssStyleRule$1(node) {
  81863. var t1, styleRule, t2, t3, t4, t5, originalSelector, rule, oldAtRootExcludingStyleRule, _this = this,
  81864. _s8_ = "__parent";
  81865. if (_this._evaluate0$_declarationName != null)
  81866. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  81867. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  81868. styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  81869. t2 = node.selector;
  81870. t3 = t2.value;
  81871. t4 = styleRule == null;
  81872. t5 = t4 ? null : styleRule.originalSelector;
  81873. originalSelector = t3.resolveParentSelectors$2$implicitParent(t5, !t1);
  81874. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$3(originalSelector, t2.span, _this._evaluate0$_mediaQueries), node.span, originalSelector);
  81875. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  81876. _this._evaluate0$_atRootExcludingStyleRule = false;
  81877. _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);
  81878. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  81879. if (t4) {
  81880. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81881. t1 = !t1.get$isEmpty(t1);
  81882. } else
  81883. t1 = false;
  81884. if (t1) {
  81885. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  81886. t1.get$last(t1).isGroupEnd = true;
  81887. }
  81888. },
  81889. visitCssStylesheet$1(node) {
  81890. var t1;
  81891. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  81892. t1.get$current(t1).accept$1(this);
  81893. },
  81894. visitCssSupportsRule$1(node) {
  81895. var _this = this;
  81896. if (_this._evaluate0$_declarationName != null)
  81897. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  81898. _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);
  81899. },
  81900. _evaluate0$_handleReturn$1$2(list, callback) {
  81901. var t1, _i, result;
  81902. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  81903. result = callback.call$1(list[_i]);
  81904. if (result != null)
  81905. return result;
  81906. }
  81907. return null;
  81908. },
  81909. _evaluate0$_handleReturn$2(list, callback) {
  81910. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  81911. },
  81912. _evaluate0$_withEnvironment$1$2(environment, callback) {
  81913. var result,
  81914. oldEnvironment = this._evaluate0$_environment;
  81915. this._evaluate0$_environment = environment;
  81916. result = callback.call$0();
  81917. this._evaluate0$_environment = oldEnvironment;
  81918. return result;
  81919. },
  81920. _evaluate0$_withEnvironment$2(environment, callback) {
  81921. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  81922. },
  81923. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  81924. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  81925. t1 = trim ? A.trimAscii0(result, true) : result;
  81926. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  81927. },
  81928. _evaluate0$_interpolationToValue$1(interpolation) {
  81929. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  81930. },
  81931. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  81932. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  81933. },
  81934. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  81935. var t1, result, _this = this,
  81936. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  81937. _this._evaluate0$_inSupportsDeclaration = false;
  81938. t1 = interpolation.contents;
  81939. result = new A.MappedListIterable(t1, new A._EvaluateVisitor__performInterpolation_closure1(_this, warnForColor, interpolation), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  81940. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  81941. return result;
  81942. },
  81943. _evaluate0$_performInterpolation$1(interpolation) {
  81944. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  81945. },
  81946. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  81947. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  81948. },
  81949. _evaluate0$_serialize$2(value, nodeWithSpan) {
  81950. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  81951. },
  81952. _evaluate0$_expressionNode$1(expression) {
  81953. var t1;
  81954. if (expression instanceof A.VariableExpression0) {
  81955. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  81956. return t1 == null ? expression : t1;
  81957. } else
  81958. return expression;
  81959. },
  81960. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  81961. var t1, result, _this = this;
  81962. _this._evaluate0$_addChild$2$through(node, through);
  81963. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  81964. _this._evaluate0$__parent = node;
  81965. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  81966. _this._evaluate0$__parent = t1;
  81967. return result;
  81968. },
  81969. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  81970. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  81971. },
  81972. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  81973. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  81974. },
  81975. _evaluate0$_addChild$2$through(node, through) {
  81976. var grandparent, t1,
  81977. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  81978. if (through != null) {
  81979. for (; through.call$1($parent); $parent = grandparent) {
  81980. grandparent = $parent._node0$_parent;
  81981. if (grandparent == null)
  81982. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  81983. }
  81984. if ($parent.get$hasFollowingSibling()) {
  81985. t1 = $parent._node0$_parent;
  81986. t1.toString;
  81987. $parent = $parent.copyWithoutChildren$0();
  81988. t1.addChild$1($parent);
  81989. }
  81990. }
  81991. $parent.addChild$1(node);
  81992. },
  81993. _evaluate0$_addChild$1(node) {
  81994. return this._evaluate0$_addChild$2$through(node, null);
  81995. },
  81996. _evaluate0$_withStyleRule$1$2(rule, callback) {
  81997. var result,
  81998. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  81999. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  82000. result = callback.call$0();
  82001. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  82002. return result;
  82003. },
  82004. _evaluate0$_withStyleRule$2(rule, callback) {
  82005. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  82006. },
  82007. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  82008. var result, _this = this,
  82009. oldMediaQueries = _this._evaluate0$_mediaQueries,
  82010. oldSources = _this._evaluate0$_mediaQuerySources;
  82011. _this._evaluate0$_mediaQueries = queries;
  82012. _this._evaluate0$_mediaQuerySources = sources;
  82013. result = callback.call$0();
  82014. _this._evaluate0$_mediaQueries = oldMediaQueries;
  82015. _this._evaluate0$_mediaQuerySources = oldSources;
  82016. return result;
  82017. },
  82018. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  82019. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  82020. },
  82021. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  82022. var oldMember, result, _this = this,
  82023. t1 = _this._evaluate0$_stack;
  82024. t1.push(new A.Tuple2(_this._evaluate0$_member, nodeWithSpan, type$.Tuple2_String_AstNode_2));
  82025. oldMember = _this._evaluate0$_member;
  82026. _this._evaluate0$_member = member;
  82027. result = callback.call$0();
  82028. _this._evaluate0$_member = oldMember;
  82029. t1.pop();
  82030. return result;
  82031. },
  82032. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  82033. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  82034. },
  82035. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  82036. if (value instanceof A.SassNumber0 && value.asSlash != null)
  82037. this._evaluate0$_warn$3$deprecation(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), true);
  82038. return value.withoutSlash$0();
  82039. },
  82040. _evaluate0$_stackFrame$2(member, span) {
  82041. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  82042. },
  82043. _evaluate0$_stackTrace$1(span) {
  82044. var _this = this,
  82045. t1 = _this._evaluate0$_stack;
  82046. 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);
  82047. if (span != null)
  82048. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  82049. return A.Trace$(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), null);
  82050. },
  82051. _evaluate0$_stackTrace$0() {
  82052. return this._evaluate0$_stackTrace$1(null);
  82053. },
  82054. _evaluate0$_warn$3$deprecation(message, span, deprecation) {
  82055. var t1, _this = this;
  82056. if (_this._evaluate0$_quietDeps)
  82057. if (!_this._evaluate0$_inDependency) {
  82058. t1 = _this._evaluate0$_currentCallable;
  82059. t1 = t1 == null ? null : t1.inDependency;
  82060. t1 = t1 === true;
  82061. } else
  82062. t1 = true;
  82063. else
  82064. t1 = false;
  82065. if (t1)
  82066. return;
  82067. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A.Tuple2(message, span, type$.Tuple2_String_SourceSpan)))
  82068. return;
  82069. _this._evaluate0$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, _this._evaluate0$_stackTrace$1(span));
  82070. },
  82071. _evaluate0$_warn$2(message, span) {
  82072. return this._evaluate0$_warn$3$deprecation(message, span, false);
  82073. },
  82074. _evaluate0$_exception$2(message, span) {
  82075. var t1 = span == null ? J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2) : span;
  82076. return new A.SassRuntimeException0(this._evaluate0$_stackTrace$1(span), message, t1);
  82077. },
  82078. _evaluate0$_exception$1(message) {
  82079. return this._evaluate0$_exception$2(message, null);
  82080. },
  82081. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  82082. var t1 = J.get$span$z(B.JSArray_methods.get$last(this._evaluate0$_stack).item2);
  82083. return new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$0(), primaryLabel, A.ConstantMap_ConstantMap$from(secondaryLabels, type$.FileSpan, type$.String), message, t1);
  82084. },
  82085. _evaluate0$_adjustParseError$1$2(nodeWithSpan, callback) {
  82086. var error, stackTrace, errorText, span, syntheticFile, syntheticSpan, t1, exception, t2, t3, t4, t5, t6, _null = null;
  82087. try {
  82088. t1 = callback.call$0();
  82089. return t1;
  82090. } catch (exception) {
  82091. t1 = A.unwrapException(exception);
  82092. if (t1 instanceof A.SassFormatException0) {
  82093. error = t1;
  82094. stackTrace = A.getTraceFromException(exception);
  82095. t1 = error;
  82096. t2 = J.getInterceptor$z(t1);
  82097. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  82098. errorText = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, _null), 0, _null);
  82099. span = nodeWithSpan.get$span(nodeWithSpan);
  82100. syntheticFile = B.JSString_methods.replaceRange$3(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(J.get$file$x(span)._decodedChars, 0, _null), 0, _null), J.get$start$z(span).offset, J.get$end$z(span).offset, errorText);
  82101. t1 = A.SourceFile$fromString(syntheticFile, J.get$file$x(span).url);
  82102. t2 = J.get$start$z(span);
  82103. t3 = error;
  82104. t4 = J.getInterceptor$z(t3);
  82105. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  82106. t3 = t3.get$start(t3);
  82107. t4 = J.get$start$z(span);
  82108. t5 = error;
  82109. t6 = J.getInterceptor$z(t5);
  82110. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  82111. syntheticSpan = t1.span$2(0, t2.offset + t3.offset, t4.offset + t5.get$end(t5).offset);
  82112. A.throwWithTrace0(this._evaluate0$_exception$2(error._span_exception$_message, syntheticSpan), stackTrace);
  82113. } else
  82114. throw exception;
  82115. }
  82116. },
  82117. _evaluate0$_adjustParseError$2(nodeWithSpan, callback) {
  82118. return this._evaluate0$_adjustParseError$1$2(nodeWithSpan, callback, type$.dynamic);
  82119. },
  82120. _evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  82121. var error, stackTrace, error0, stackTrace0, t1, exception, t2, t3, t4;
  82122. try {
  82123. t1 = callback.call$0();
  82124. return t1;
  82125. } catch (exception) {
  82126. t1 = A.unwrapException(exception);
  82127. if (t1 instanceof A.MultiSpanSassScriptException0) {
  82128. error = t1;
  82129. stackTrace = A.getTraceFromException(exception);
  82130. t1 = error.message;
  82131. t2 = nodeWithSpan.get$span(nodeWithSpan);
  82132. t3 = error.primaryLabel;
  82133. t4 = error.secondarySpans;
  82134. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), t3, A.ConstantMap_ConstantMap$from(t4, type$.FileSpan, type$.String), t1, t2), stackTrace);
  82135. } else if (t1 instanceof A.SassScriptException0) {
  82136. error0 = t1;
  82137. stackTrace0 = A.getTraceFromException(exception);
  82138. A.throwWithTrace0(this._evaluate0$_exception$2(error0.message, nodeWithSpan.get$span(nodeWithSpan)), stackTrace0);
  82139. } else
  82140. throw exception;
  82141. }
  82142. },
  82143. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  82144. return this._evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  82145. },
  82146. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  82147. var error, stackTrace, t1, exception, t2;
  82148. try {
  82149. t1 = callback.call$0();
  82150. return t1;
  82151. } catch (exception) {
  82152. t1 = A.unwrapException(exception);
  82153. if (type$.SassRuntimeException_2._is(t1)) {
  82154. error = t1;
  82155. stackTrace = A.getTraceFromException(exception);
  82156. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  82157. throw exception;
  82158. t1 = error._span_exception$_message;
  82159. t2 = nodeWithSpan.get$span(nodeWithSpan);
  82160. A.throwWithTrace0(new A.SassRuntimeException0(this._evaluate0$_stackTrace$0(), t1, t2), stackTrace);
  82161. } else
  82162. throw exception;
  82163. }
  82164. },
  82165. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  82166. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  82167. }
  82168. };
  82169. A._EvaluateVisitor_closure19.prototype = {
  82170. call$1($arguments) {
  82171. var module, t2,
  82172. t1 = J.getInterceptor$asx($arguments),
  82173. variable = t1.$index($arguments, 0).assertString$1("name");
  82174. t1 = t1.$index($arguments, 1).get$realNull();
  82175. module = t1 == null ? null : t1.assertString$1("module");
  82176. t1 = this.$this._evaluate0$_environment;
  82177. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  82178. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82179. },
  82180. $signature: 19
  82181. };
  82182. A._EvaluateVisitor_closure20.prototype = {
  82183. call$1($arguments) {
  82184. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  82185. t1 = this.$this._evaluate0$_environment;
  82186. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82187. },
  82188. $signature: 19
  82189. };
  82190. A._EvaluateVisitor_closure21.prototype = {
  82191. call$1($arguments) {
  82192. var module, t2, t3, t4,
  82193. t1 = J.getInterceptor$asx($arguments),
  82194. variable = t1.$index($arguments, 0).assertString$1("name");
  82195. t1 = t1.$index($arguments, 1).get$realNull();
  82196. module = t1 == null ? null : t1.assertString$1("module");
  82197. t1 = this.$this;
  82198. t2 = t1._evaluate0$_environment;
  82199. t3 = variable._string0$_text;
  82200. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  82201. 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;
  82202. },
  82203. $signature: 19
  82204. };
  82205. A._EvaluateVisitor_closure22.prototype = {
  82206. call$1($arguments) {
  82207. var module, t2,
  82208. t1 = J.getInterceptor$asx($arguments),
  82209. variable = t1.$index($arguments, 0).assertString$1("name");
  82210. t1 = t1.$index($arguments, 1).get$realNull();
  82211. module = t1 == null ? null : t1.assertString$1("module");
  82212. t1 = this.$this._evaluate0$_environment;
  82213. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  82214. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82215. },
  82216. $signature: 19
  82217. };
  82218. A._EvaluateVisitor_closure23.prototype = {
  82219. call$1($arguments) {
  82220. var t1 = this.$this._evaluate0$_environment;
  82221. if (!t1._environment0$_inMixin)
  82222. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  82223. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  82224. },
  82225. $signature: 19
  82226. };
  82227. A._EvaluateVisitor_closure24.prototype = {
  82228. call$1($arguments) {
  82229. var t2, t3, t4,
  82230. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  82231. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  82232. if (module == null)
  82233. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  82234. t1 = type$.Value_2;
  82235. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  82236. for (t3 = module.get$variables(), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  82237. t4 = t3.get$current(t3);
  82238. t2.$indexSet(0, new A.SassString0(t4.key, true), t4.value);
  82239. }
  82240. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  82241. },
  82242. $signature: 40
  82243. };
  82244. A._EvaluateVisitor_closure25.prototype = {
  82245. call$1($arguments) {
  82246. var t2, t3, t4,
  82247. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  82248. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  82249. if (module == null)
  82250. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  82251. t1 = type$.Value_2;
  82252. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  82253. for (t3 = module.get$functions(module), t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  82254. t4 = t3.get$current(t3);
  82255. t2.$indexSet(0, new A.SassString0(t4.key, true), new A.SassFunction0(t4.value));
  82256. }
  82257. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  82258. },
  82259. $signature: 40
  82260. };
  82261. A._EvaluateVisitor_closure26.prototype = {
  82262. call$1($arguments) {
  82263. var module, callable, t2,
  82264. t1 = J.getInterceptor$asx($arguments),
  82265. $name = t1.$index($arguments, 0).assertString$1("name"),
  82266. css = t1.$index($arguments, 1).get$isTruthy();
  82267. t1 = t1.$index($arguments, 2).get$realNull();
  82268. module = t1 == null ? null : t1.assertString$1("module");
  82269. if (css && module != null)
  82270. throw A.wrapException(string$.x24css_a);
  82271. if (css)
  82272. callable = new A.PlainCssCallable0($name._string0$_text);
  82273. else {
  82274. t1 = this.$this;
  82275. t2 = t1._evaluate0$_callableNode;
  82276. t2.toString;
  82277. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure7(t1, $name, module));
  82278. }
  82279. if (callable != null)
  82280. return new A.SassFunction0(callable);
  82281. throw A.wrapException("Function not found: " + $name.toString$0(0));
  82282. },
  82283. $signature: 196
  82284. };
  82285. A._EvaluateVisitor__closure7.prototype = {
  82286. call$0() {
  82287. var t1 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  82288. t2 = this.module;
  82289. t2 = t2 == null ? null : t2._string0$_text;
  82290. return this.$this._evaluate0$_getFunction$2$namespace(t1, t2);
  82291. },
  82292. $signature: 129
  82293. };
  82294. A._EvaluateVisitor_closure27.prototype = {
  82295. call$1($arguments) {
  82296. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  82297. t1 = J.getInterceptor$asx($arguments),
  82298. $function = t1.$index($arguments, 0),
  82299. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  82300. t1 = this.$this;
  82301. t2 = t1._evaluate0$_callableNode;
  82302. t2.toString;
  82303. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  82304. t4 = type$.String;
  82305. t5 = type$.Expression_2;
  82306. t6 = t2.get$span(t2);
  82307. t7 = t2.get$span(t2);
  82308. args._argument_list$_wereKeywordsAccessed = true;
  82309. t8 = args._argument_list$_keywords;
  82310. if (t8.get$isEmpty(t8))
  82311. t2 = null;
  82312. else {
  82313. t9 = type$.Value_2;
  82314. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  82315. for (args._argument_list$_wereKeywordsAccessed = true, t8 = t8.get$entries(t8), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  82316. t11 = t8.get$current(t8);
  82317. t10.$indexSet(0, new A.SassString0(t11.key, false), t11.value);
  82318. }
  82319. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  82320. }
  82321. 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);
  82322. if ($function instanceof A.SassString0) {
  82323. t2 = $function.toString$0(0);
  82324. A.EvaluationContext_current0().warn$2$deprecation(0, string$.Passin + t2 + "))", true);
  82325. callableNode = t1._evaluate0$_callableNode;
  82326. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  82327. }
  82328. callable = $function.assertFunction$1("function").callable;
  82329. if (type$.Callable_2._is(callable)) {
  82330. t2 = t1._evaluate0$_callableNode;
  82331. t2.toString;
  82332. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  82333. } else
  82334. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  82335. },
  82336. $signature: 3
  82337. };
  82338. A._EvaluateVisitor_closure28.prototype = {
  82339. call$1($arguments) {
  82340. var withMap, t2, values, configuration, t3,
  82341. t1 = J.getInterceptor$asx($arguments),
  82342. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  82343. t1 = t1.$index($arguments, 1).get$realNull();
  82344. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  82345. t1 = this.$this;
  82346. t2 = t1._evaluate0$_callableNode;
  82347. t2.toString;
  82348. if (withMap != null) {
  82349. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  82350. withMap.forEach$1(0, new A._EvaluateVisitor__closure5(values, t2.get$span(t2), t2));
  82351. configuration = new A.ExplicitConfiguration0(t2, values, null);
  82352. } else
  82353. configuration = B.Configuration_Map_empty_null0;
  82354. t3 = t2.get$span(t2);
  82355. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure6(t1), t3.get$sourceUrl(t3), configuration, true);
  82356. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  82357. },
  82358. $signature: 491
  82359. };
  82360. A._EvaluateVisitor__closure5.prototype = {
  82361. call$2(variable, value) {
  82362. var t1 = variable.assertString$1("with key"),
  82363. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  82364. t1 = this.values;
  82365. if (t1.containsKey$1($name))
  82366. throw A.wrapException("The variable $" + $name + " was configured twice.");
  82367. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  82368. },
  82369. $signature: 56
  82370. };
  82371. A._EvaluateVisitor__closure6.prototype = {
  82372. call$1(module) {
  82373. var t1 = this.$this;
  82374. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  82375. },
  82376. $signature: 62
  82377. };
  82378. A._EvaluateVisitor_run_closure1.prototype = {
  82379. call$0() {
  82380. var t2, _this = this,
  82381. t1 = _this.node,
  82382. url = t1.span.file.url;
  82383. if (url != null) {
  82384. t2 = _this.$this;
  82385. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  82386. if (!(t2._evaluate0$_nodeImporter != null && url.toString$0(0) === "stdin"))
  82387. t2._evaluate0$_loadedUrls.add$1(0, url);
  82388. }
  82389. t2 = _this.$this;
  82390. return new A.EvaluateResult0(t2._evaluate0$_combineCss$1(t2._evaluate0$_execute$2(_this.importer, t1)), t2._evaluate0$_loadedUrls);
  82391. },
  82392. $signature: 394
  82393. };
  82394. A._EvaluateVisitor__loadModule_closure3.prototype = {
  82395. call$0() {
  82396. return this.callback.call$1(this.builtInModule);
  82397. },
  82398. $signature: 0
  82399. };
  82400. A._EvaluateVisitor__loadModule_closure4.prototype = {
  82401. call$0() {
  82402. var oldInDependency, module, error, stackTrace, error0, stackTrace0, error1, stackTrace1, error2, stackTrace2, message, exception, t3, t4, t5, t6, t7, _this = this,
  82403. t1 = _this.$this,
  82404. t2 = _this.nodeWithSpan,
  82405. result = t1._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t2.get$span(t2), _this.baseUrl),
  82406. stylesheet = result.stylesheet,
  82407. canonicalUrl = stylesheet.span.file.url;
  82408. if (canonicalUrl != null && t1._evaluate0$_activeModules.containsKey$1(canonicalUrl)) {
  82409. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  82410. t2 = A.NullableExtension_andThen0(t1._evaluate0$_activeModules.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t1, message));
  82411. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1(message) : t2);
  82412. }
  82413. if (canonicalUrl != null)
  82414. t1._evaluate0$_activeModules.$indexSet(0, canonicalUrl, t2);
  82415. oldInDependency = t1._evaluate0$_inDependency;
  82416. t1._evaluate0$_inDependency = result.isDependency;
  82417. module = null;
  82418. try {
  82419. module = t1._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(result.importer, stylesheet, _this.configuration, _this.namesInErrors, t2);
  82420. } finally {
  82421. t1._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  82422. t1._evaluate0$_inDependency = oldInDependency;
  82423. }
  82424. try {
  82425. _this.callback.call$1(module);
  82426. } catch (exception) {
  82427. t2 = A.unwrapException(exception);
  82428. if (type$.SassRuntimeException_2._is(t2))
  82429. throw exception;
  82430. else if (t2 instanceof A.MultiSpanSassException0) {
  82431. error = t2;
  82432. stackTrace = A.getTraceFromException(exception);
  82433. t2 = error._span_exception$_message;
  82434. t3 = error;
  82435. t4 = J.getInterceptor$z(t3);
  82436. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  82437. t4 = error.primaryLabel;
  82438. t5 = error.secondarySpans;
  82439. t6 = error;
  82440. t7 = J.getInterceptor$z(t6);
  82441. A.throwWithTrace0(new A.MultiSpanSassRuntimeException0(t1._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t7, t6)), t4, A.ConstantMap_ConstantMap$from(t5, type$.FileSpan, type$.String), t2, t3), stackTrace);
  82442. } else if (t2 instanceof A.SassException0) {
  82443. error0 = t2;
  82444. stackTrace0 = A.getTraceFromException(exception);
  82445. t2 = error0;
  82446. t3 = J.getInterceptor$z(t2);
  82447. A.throwWithTrace0(t1._evaluate0$_exception$2(error0._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t3, t2)), stackTrace0);
  82448. } else if (t2 instanceof A.MultiSpanSassScriptException0) {
  82449. error1 = t2;
  82450. stackTrace1 = A.getTraceFromException(exception);
  82451. A.throwWithTrace0(t1._evaluate0$_multiSpanException$3(error1.message, error1.primaryLabel, error1.secondarySpans), stackTrace1);
  82452. } else if (t2 instanceof A.SassScriptException0) {
  82453. error2 = t2;
  82454. stackTrace2 = A.getTraceFromException(exception);
  82455. A.throwWithTrace0(t1._evaluate0$_exception$1(error2.message), stackTrace2);
  82456. } else
  82457. throw exception;
  82458. }
  82459. },
  82460. $signature: 1
  82461. };
  82462. A._EvaluateVisitor__loadModule__closure1.prototype = {
  82463. call$1(previousLoad) {
  82464. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  82465. },
  82466. $signature: 98
  82467. };
  82468. A._EvaluateVisitor__execute_closure1.prototype = {
  82469. call$0() {
  82470. var t3, t4, t5, t6, _this = this,
  82471. t1 = _this.$this,
  82472. oldImporter = t1._evaluate0$_importer,
  82473. oldStylesheet = t1._evaluate0$__stylesheet,
  82474. oldRoot = t1._evaluate0$__root,
  82475. oldParent = t1._evaluate0$__parent,
  82476. oldEndOfImports = t1._evaluate0$__endOfImports,
  82477. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  82478. oldExtensionStore = t1._evaluate0$__extensionStore,
  82479. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  82480. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  82481. oldMediaQueries = t1._evaluate0$_mediaQueries,
  82482. oldDeclarationName = t1._evaluate0$_declarationName,
  82483. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  82484. oldInKeyframes = t1._evaluate0$_inKeyframes,
  82485. oldConfiguration = t1._evaluate0$_configuration;
  82486. t1._evaluate0$_importer = _this.importer;
  82487. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  82488. t4 = t3.span;
  82489. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  82490. t1._evaluate0$__endOfImports = 0;
  82491. t1._evaluate0$_outOfOrderImports = null;
  82492. t1._evaluate0$__extensionStore = _this.extensionStore;
  82493. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  82494. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  82495. t6 = _this.configuration;
  82496. if (t6 != null)
  82497. t1._evaluate0$_configuration = t6;
  82498. t1.visitStylesheet$1(t3);
  82499. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  82500. _this.css._value = t3;
  82501. t1._evaluate0$_importer = oldImporter;
  82502. t1._evaluate0$__stylesheet = oldStylesheet;
  82503. t1._evaluate0$__root = oldRoot;
  82504. t1._evaluate0$__parent = oldParent;
  82505. t1._evaluate0$__endOfImports = oldEndOfImports;
  82506. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  82507. t1._evaluate0$__extensionStore = oldExtensionStore;
  82508. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  82509. t1._evaluate0$_mediaQueries = oldMediaQueries;
  82510. t1._evaluate0$_declarationName = oldDeclarationName;
  82511. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  82512. t1._evaluate0$_atRootExcludingStyleRule = t2;
  82513. t1._evaluate0$_inKeyframes = oldInKeyframes;
  82514. t1._evaluate0$_configuration = oldConfiguration;
  82515. },
  82516. $signature: 1
  82517. };
  82518. A._EvaluateVisitor__combineCss_closure5.prototype = {
  82519. call$1(module) {
  82520. return module.get$transitivelyContainsCss();
  82521. },
  82522. $signature: 128
  82523. };
  82524. A._EvaluateVisitor__combineCss_closure6.prototype = {
  82525. call$1(target) {
  82526. return !this.selectors.contains$1(0, target);
  82527. },
  82528. $signature: 13
  82529. };
  82530. A._EvaluateVisitor__combineCss_closure7.prototype = {
  82531. call$1(module) {
  82532. return module.cloneCss$0();
  82533. },
  82534. $signature: 395
  82535. };
  82536. A._EvaluateVisitor__extendModules_closure3.prototype = {
  82537. call$1(target) {
  82538. return !this.originalSelectors.contains$1(0, target);
  82539. },
  82540. $signature: 13
  82541. };
  82542. A._EvaluateVisitor__extendModules_closure4.prototype = {
  82543. call$0() {
  82544. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  82545. },
  82546. $signature: 199
  82547. };
  82548. A._EvaluateVisitor__topologicalModules_visitModule1.prototype = {
  82549. call$1(module) {
  82550. var t1, t2, t3, _i, upstream;
  82551. for (t1 = module.get$upstream(), t2 = t1.length, t3 = this.seen, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  82552. upstream = t1[_i];
  82553. if (upstream.get$transitivelyContainsCss() && t3.add$1(0, upstream))
  82554. this.call$1(upstream);
  82555. }
  82556. this.sorted.addFirst$1(module);
  82557. },
  82558. $signature: 62
  82559. };
  82560. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  82561. call$0() {
  82562. var t1 = A.SpanScanner$(this.resolved, null);
  82563. return new A.AtRootQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
  82564. },
  82565. $signature: 127
  82566. };
  82567. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  82568. call$0() {
  82569. var t1, t2, t3, _i;
  82570. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82571. t1[_i].accept$1(t3);
  82572. },
  82573. $signature: 1
  82574. };
  82575. A._EvaluateVisitor_visitAtRootRule_closure7.prototype = {
  82576. call$0() {
  82577. var t1, t2, t3, _i;
  82578. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82579. t1[_i].accept$1(t3);
  82580. },
  82581. $signature: 0
  82582. };
  82583. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  82584. call$1(callback) {
  82585. var t1 = this.$this,
  82586. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  82587. t1._evaluate0$__parent = this.newParent;
  82588. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  82589. t1._evaluate0$__parent = t2;
  82590. },
  82591. $signature: 28
  82592. };
  82593. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  82594. call$1(callback) {
  82595. var t1 = this.$this,
  82596. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  82597. t1._evaluate0$_atRootExcludingStyleRule = true;
  82598. this.innerScope.call$1(callback);
  82599. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  82600. },
  82601. $signature: 28
  82602. };
  82603. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  82604. call$1(callback) {
  82605. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  82606. },
  82607. $signature: 28
  82608. };
  82609. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  82610. call$0() {
  82611. return this.innerScope.call$1(this.callback);
  82612. },
  82613. $signature: 1
  82614. };
  82615. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  82616. call$1(callback) {
  82617. var t1 = this.$this,
  82618. wasInKeyframes = t1._evaluate0$_inKeyframes;
  82619. t1._evaluate0$_inKeyframes = false;
  82620. this.innerScope.call$1(callback);
  82621. t1._evaluate0$_inKeyframes = wasInKeyframes;
  82622. },
  82623. $signature: 28
  82624. };
  82625. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  82626. call$1($parent) {
  82627. return type$.CssAtRule_2._is($parent);
  82628. },
  82629. $signature: 201
  82630. };
  82631. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  82632. call$1(callback) {
  82633. var t1 = this.$this,
  82634. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  82635. t1._evaluate0$_inUnknownAtRule = false;
  82636. this.innerScope.call$1(callback);
  82637. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  82638. },
  82639. $signature: 28
  82640. };
  82641. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  82642. call$0() {
  82643. var t1, t2, t3, _i;
  82644. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82645. t1[_i].accept$1(t3);
  82646. return null;
  82647. },
  82648. $signature: 1
  82649. };
  82650. A._EvaluateVisitor_visitDeclaration_closure3.prototype = {
  82651. call$1(value) {
  82652. return new A.CssValue0(value.accept$1(this.$this), value.get$span(value), type$.CssValue_Value_2);
  82653. },
  82654. $signature: 396
  82655. };
  82656. A._EvaluateVisitor_visitDeclaration_closure4.prototype = {
  82657. call$0() {
  82658. var t1, t2, t3, _i;
  82659. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82660. t1[_i].accept$1(t3);
  82661. },
  82662. $signature: 1
  82663. };
  82664. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  82665. call$1(value) {
  82666. var t1 = this.$this,
  82667. t2 = this.nodeWithSpan;
  82668. return t1._evaluate0$_environment.setLocalVariable$3(B.JSArray_methods.get$first(this.node.variables), t1._evaluate0$_withoutSlash$2(value, t2), t2);
  82669. },
  82670. $signature: 60
  82671. };
  82672. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  82673. call$1(value) {
  82674. return this.$this._evaluate0$_setMultipleVariables$3(this.node.variables, value, this.nodeWithSpan);
  82675. },
  82676. $signature: 60
  82677. };
  82678. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  82679. call$0() {
  82680. var _this = this,
  82681. t1 = _this.$this;
  82682. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  82683. },
  82684. $signature: 34
  82685. };
  82686. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  82687. call$1(element) {
  82688. var t1;
  82689. this.setVariables.call$1(element);
  82690. t1 = this.$this;
  82691. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  82692. },
  82693. $signature: 223
  82694. };
  82695. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  82696. call$1(child) {
  82697. return child.accept$1(this.$this);
  82698. },
  82699. $signature: 97
  82700. };
  82701. A._EvaluateVisitor_visitExtendRule_closure1.prototype = {
  82702. call$0() {
  82703. return A.SelectorList_SelectorList$parse0(A.trimAscii0(this.targetText.value, true), false, true, this.$this._evaluate0$_logger);
  82704. },
  82705. $signature: 49
  82706. };
  82707. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  82708. call$1(value) {
  82709. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  82710. },
  82711. $signature: 399
  82712. };
  82713. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  82714. call$0() {
  82715. var t2, t3, _i,
  82716. t1 = this.$this,
  82717. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  82718. if (styleRule == null || t1._evaluate0$_inKeyframes)
  82719. for (t2 = this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82720. t2[_i].accept$1(t1);
  82721. else
  82722. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  82723. },
  82724. $signature: 1
  82725. };
  82726. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  82727. call$0() {
  82728. var t1, t2, t3, _i;
  82729. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  82730. t1[_i].accept$1(t3);
  82731. },
  82732. $signature: 1
  82733. };
  82734. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  82735. call$1(node) {
  82736. return type$.CssStyleRule_2._is(node);
  82737. },
  82738. $signature: 7
  82739. };
  82740. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  82741. call$0() {
  82742. return this.node.from.accept$1(this.$this).assertNumber$0();
  82743. },
  82744. $signature: 225
  82745. };
  82746. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  82747. call$0() {
  82748. return this.node.to.accept$1(this.$this).assertNumber$0();
  82749. },
  82750. $signature: 225
  82751. };
  82752. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  82753. call$0() {
  82754. return this.fromNumber.assertInt$0();
  82755. },
  82756. $signature: 12
  82757. };
  82758. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  82759. call$0() {
  82760. var t1 = this.fromNumber;
  82761. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  82762. },
  82763. $signature: 12
  82764. };
  82765. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  82766. call$0() {
  82767. var i, t3, t4, t5, t6, t7, t8, result, _this = this,
  82768. t1 = _this.$this,
  82769. t2 = _this.node,
  82770. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  82771. 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) {
  82772. t7 = t1._evaluate0$_environment;
  82773. t8 = t6.get$numeratorUnits(t6);
  82774. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  82775. result = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  82776. if (result != null)
  82777. return result;
  82778. }
  82779. return null;
  82780. },
  82781. $signature: 34
  82782. };
  82783. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  82784. call$1(child) {
  82785. return child.accept$1(this.$this);
  82786. },
  82787. $signature: 97
  82788. };
  82789. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  82790. call$1(module) {
  82791. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  82792. },
  82793. $signature: 62
  82794. };
  82795. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  82796. call$1(module) {
  82797. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  82798. },
  82799. $signature: 62
  82800. };
  82801. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  82802. call$0() {
  82803. var t1 = this.$this;
  82804. return t1._evaluate0$_handleReturn$2(this._box_0.clause.children, new A._EvaluateVisitor_visitIfRule__closure1(t1));
  82805. },
  82806. $signature: 34
  82807. };
  82808. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  82809. call$1(child) {
  82810. return child.accept$1(this.$this);
  82811. },
  82812. $signature: 97
  82813. };
  82814. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  82815. call$0() {
  82816. var t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor,
  82817. t1 = this.$this,
  82818. t2 = this.$import,
  82819. result = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true),
  82820. stylesheet = result.stylesheet,
  82821. url = stylesheet.span.file.url;
  82822. if (url != null) {
  82823. t3 = t1._evaluate0$_activeModules;
  82824. if (t3.containsKey$1(url)) {
  82825. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  82826. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  82827. }
  82828. t3.$indexSet(0, url, t2);
  82829. }
  82830. t2 = stylesheet._stylesheet1$_uses;
  82831. t3 = type$.UnmodifiableListView_UseRule_2;
  82832. t4 = new A.UnmodifiableListView(t2, t3);
  82833. if (t4.get$length(t4) === 0) {
  82834. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  82835. t4 = t4.get$length(t4) === 0;
  82836. } else
  82837. t4 = false;
  82838. if (t4) {
  82839. oldImporter = t1._evaluate0$_importer;
  82840. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  82841. oldInDependency = t1._evaluate0$_inDependency;
  82842. t1._evaluate0$_importer = result.importer;
  82843. t1._evaluate0$__stylesheet = stylesheet;
  82844. t1._evaluate0$_inDependency = result.isDependency;
  82845. t1.visitStylesheet$1(stylesheet);
  82846. t1._evaluate0$_importer = oldImporter;
  82847. t1._evaluate0$__stylesheet = t2;
  82848. t1._evaluate0$_inDependency = oldInDependency;
  82849. t1._evaluate0$_activeModules.remove$1(0, url);
  82850. return;
  82851. }
  82852. t2 = new A.UnmodifiableListView(t2, t3);
  82853. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  82854. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  82855. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  82856. } else
  82857. loadsUserDefinedModules = true;
  82858. children = A._Cell$();
  82859. t2 = t1._evaluate0$_environment;
  82860. t3 = type$.String;
  82861. t4 = type$.Module_Callable_2;
  82862. t5 = type$.AstNode_2;
  82863. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  82864. t7 = t2._environment0$_variables;
  82865. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  82866. t8 = t2._environment0$_variableNodes;
  82867. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  82868. t9 = t2._environment0$_functions;
  82869. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  82870. t10 = t2._environment0$_mixins;
  82871. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  82872. 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);
  82873. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(t1, result, stylesheet, loadsUserDefinedModules, environment, children));
  82874. module = environment.toDummyModule$0();
  82875. t1._evaluate0$_environment.importForwards$1(module);
  82876. if (loadsUserDefinedModules) {
  82877. if (module.transitivelyContainsCss)
  82878. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  82879. visitor = new A._ImportedCssVisitor1(t1);
  82880. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  82881. t2.get$current(t2).accept$1(visitor);
  82882. }
  82883. t1._evaluate0$_activeModules.remove$1(0, url);
  82884. },
  82885. $signature: 0
  82886. };
  82887. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  82888. call$1(previousLoad) {
  82889. 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));
  82890. },
  82891. $signature: 98
  82892. };
  82893. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  82894. call$1(rule) {
  82895. return rule.url.get$scheme() !== "sass";
  82896. },
  82897. $signature: 204
  82898. };
  82899. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  82900. call$1(rule) {
  82901. return rule.url.get$scheme() !== "sass";
  82902. },
  82903. $signature: 205
  82904. };
  82905. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  82906. call$0() {
  82907. var t7, t8, t9, _this = this,
  82908. t1 = _this.$this,
  82909. oldImporter = t1._evaluate0$_importer,
  82910. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  82911. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  82912. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  82913. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  82914. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  82915. oldConfiguration = t1._evaluate0$_configuration,
  82916. oldInDependency = t1._evaluate0$_inDependency,
  82917. t6 = _this.result;
  82918. t1._evaluate0$_importer = t6.importer;
  82919. t7 = t1._evaluate0$__stylesheet = _this.stylesheet;
  82920. t8 = _this.loadsUserDefinedModules;
  82921. if (t8) {
  82922. t9 = A.ModifiableCssStylesheet$0(t7.span);
  82923. t1._evaluate0$__root = t9;
  82924. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t9, "_root");
  82925. t1._evaluate0$__endOfImports = 0;
  82926. t1._evaluate0$_outOfOrderImports = null;
  82927. }
  82928. t1._evaluate0$_inDependency = t6.isDependency;
  82929. t6 = new A.UnmodifiableListView(t7._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  82930. if (!t6.get$isEmpty(t6))
  82931. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  82932. t1.visitStylesheet$1(t7);
  82933. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  82934. _this.children._value = t6;
  82935. t1._evaluate0$_importer = oldImporter;
  82936. t1._evaluate0$__stylesheet = t2;
  82937. if (t8) {
  82938. t1._evaluate0$__root = t3;
  82939. t1._evaluate0$__parent = t4;
  82940. t1._evaluate0$__endOfImports = t5;
  82941. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  82942. }
  82943. t1._evaluate0$_configuration = oldConfiguration;
  82944. t1._evaluate0$_inDependency = oldInDependency;
  82945. },
  82946. $signature: 1
  82947. };
  82948. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  82949. call$0() {
  82950. var t1 = this.node;
  82951. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  82952. },
  82953. $signature: 129
  82954. };
  82955. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  82956. call$0() {
  82957. return this.node.get$spanWithoutContent();
  82958. },
  82959. $signature: 30
  82960. };
  82961. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  82962. call$1($content) {
  82963. var t1 = this.$this;
  82964. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  82965. },
  82966. $signature: 401
  82967. };
  82968. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  82969. call$0() {
  82970. var _this = this,
  82971. t1 = _this.$this,
  82972. t2 = t1._evaluate0$_environment,
  82973. oldContent = t2._environment0$_content;
  82974. t2._environment0$_content = _this.contentCallable;
  82975. new A._EvaluateVisitor_visitIncludeRule__closure1(t1, _this.mixin, _this.nodeWithSpan).call$0();
  82976. t2._environment0$_content = oldContent;
  82977. },
  82978. $signature: 1
  82979. };
  82980. A._EvaluateVisitor_visitIncludeRule__closure1.prototype = {
  82981. call$0() {
  82982. var t1 = this.$this,
  82983. t2 = t1._evaluate0$_environment,
  82984. oldInMixin = t2._environment0$_inMixin;
  82985. t2._environment0$_inMixin = true;
  82986. new A._EvaluateVisitor_visitIncludeRule___closure1(t1, this.mixin, this.nodeWithSpan).call$0();
  82987. t2._environment0$_inMixin = oldInMixin;
  82988. },
  82989. $signature: 0
  82990. };
  82991. A._EvaluateVisitor_visitIncludeRule___closure1.prototype = {
  82992. call$0() {
  82993. var t1, t2, t3, t4, _i;
  82994. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpan, _i = 0; _i < t2; ++_i)
  82995. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor_visitIncludeRule____closure1(t3, t1[_i]));
  82996. },
  82997. $signature: 0
  82998. };
  82999. A._EvaluateVisitor_visitIncludeRule____closure1.prototype = {
  83000. call$0() {
  83001. return this.statement.accept$1(this.$this);
  83002. },
  83003. $signature: 34
  83004. };
  83005. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  83006. call$1(mediaQueries) {
  83007. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  83008. },
  83009. $signature: 82
  83010. };
  83011. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  83012. call$0() {
  83013. var _this = this,
  83014. t1 = _this.$this,
  83015. t2 = _this.mergedQueries;
  83016. if (t2 == null)
  83017. t2 = _this.queries;
  83018. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  83019. },
  83020. $signature: 1
  83021. };
  83022. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  83023. call$0() {
  83024. var t2, t3, _i,
  83025. t1 = this.$this,
  83026. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83027. if (styleRule == null)
  83028. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  83029. t2[_i].accept$1(t1);
  83030. else
  83031. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  83032. },
  83033. $signature: 1
  83034. };
  83035. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  83036. call$0() {
  83037. var t1, t2, t3, _i;
  83038. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83039. t1[_i].accept$1(t3);
  83040. },
  83041. $signature: 1
  83042. };
  83043. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  83044. call$1(node) {
  83045. var t1;
  83046. if (!type$.CssStyleRule_2._is(node)) {
  83047. t1 = this.mergedSources;
  83048. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  83049. } else
  83050. t1 = true;
  83051. return t1;
  83052. },
  83053. $signature: 7
  83054. };
  83055. A._EvaluateVisitor__visitMediaQueries_closure1.prototype = {
  83056. call$0() {
  83057. var t1 = A.SpanScanner$(this.resolved, null);
  83058. return new A.MediaQueryParser0(t1, this.$this._evaluate0$_logger).parse$0();
  83059. },
  83060. $signature: 107
  83061. };
  83062. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  83063. call$0() {
  83064. return A.KeyframeSelectorParser$0(this.selectorText.value, this.$this._evaluate0$_logger).parse$0();
  83065. },
  83066. $signature: 48
  83067. };
  83068. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  83069. call$0() {
  83070. var t1, t2, t3, _i;
  83071. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83072. t1[_i].accept$1(t3);
  83073. },
  83074. $signature: 1
  83075. };
  83076. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  83077. call$1(node) {
  83078. return type$.CssStyleRule_2._is(node);
  83079. },
  83080. $signature: 7
  83081. };
  83082. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  83083. call$0() {
  83084. var _s11_ = "_stylesheet",
  83085. t1 = this.$this;
  83086. return A.SelectorList_SelectorList$parse0(this.selectorText.value, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, !t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, _s11_).plainCss, t1._evaluate0$_logger);
  83087. },
  83088. $signature: 49
  83089. };
  83090. A._EvaluateVisitor_visitStyleRule_closure19.prototype = {
  83091. call$0() {
  83092. var t1 = this._box_0.parsedSelector,
  83093. t2 = this.$this,
  83094. t3 = t2._evaluate0$_styleRuleIgnoringAtRoot;
  83095. t3 = t3 == null ? null : t3.originalSelector;
  83096. return t1.resolveParentSelectors$2$implicitParent(t3, !t2._evaluate0$_atRootExcludingStyleRule);
  83097. },
  83098. $signature: 49
  83099. };
  83100. A._EvaluateVisitor_visitStyleRule_closure20.prototype = {
  83101. call$0() {
  83102. var t1 = this.$this;
  83103. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  83104. },
  83105. $signature: 1
  83106. };
  83107. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  83108. call$0() {
  83109. var t1, t2, t3, _i;
  83110. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83111. t1[_i].accept$1(t3);
  83112. },
  83113. $signature: 1
  83114. };
  83115. A._EvaluateVisitor_visitStyleRule_closure21.prototype = {
  83116. call$1(node) {
  83117. return type$.CssStyleRule_2._is(node);
  83118. },
  83119. $signature: 7
  83120. };
  83121. A._EvaluateVisitor_visitStyleRule_closure22.prototype = {
  83122. call$1(child) {
  83123. return type$.CssComment_2._is(child);
  83124. },
  83125. $signature: 108
  83126. };
  83127. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  83128. call$0() {
  83129. var t2, t3, _i,
  83130. t1 = this.$this,
  83131. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83132. if (styleRule == null)
  83133. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  83134. t2[_i].accept$1(t1);
  83135. else
  83136. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  83137. },
  83138. $signature: 1
  83139. };
  83140. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  83141. call$0() {
  83142. var t1, t2, t3, _i;
  83143. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  83144. t1[_i].accept$1(t3);
  83145. },
  83146. $signature: 1
  83147. };
  83148. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  83149. call$1(node) {
  83150. return type$.CssStyleRule_2._is(node);
  83151. },
  83152. $signature: 7
  83153. };
  83154. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  83155. call$0() {
  83156. var t1 = this.override;
  83157. this.$this._evaluate0$_environment.setVariable$4$global(this.node.name, t1.value, t1.assignmentNode, true);
  83158. },
  83159. $signature: 1
  83160. };
  83161. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  83162. call$0() {
  83163. var t1 = this.node;
  83164. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  83165. },
  83166. $signature: 34
  83167. };
  83168. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  83169. call$0() {
  83170. var t1 = this.$this,
  83171. t2 = this.node;
  83172. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  83173. },
  83174. $signature: 1
  83175. };
  83176. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  83177. call$1(module) {
  83178. var t1 = this.node;
  83179. this.$this._evaluate0$_environment.addModule$3$namespace(module, t1, t1.namespace);
  83180. },
  83181. $signature: 62
  83182. };
  83183. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  83184. call$0() {
  83185. return this.node.expression.accept$1(this.$this);
  83186. },
  83187. $signature: 51
  83188. };
  83189. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  83190. call$0() {
  83191. var t1, t2, t3, result;
  83192. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  83193. result = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  83194. if (result != null)
  83195. return result;
  83196. }
  83197. return null;
  83198. },
  83199. $signature: 34
  83200. };
  83201. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  83202. call$1(child) {
  83203. return child.accept$1(this.$this);
  83204. },
  83205. $signature: 97
  83206. };
  83207. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  83208. call$0() {
  83209. var right, result,
  83210. t1 = this.node,
  83211. t2 = this.$this,
  83212. left = t1.left.accept$1(t2),
  83213. t3 = t1.operator;
  83214. switch (t3) {
  83215. case B.BinaryOperator_axY0:
  83216. right = t1.right.accept$1(t2);
  83217. return new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(right, false, true), false);
  83218. case B.BinaryOperator_or_or_1_or0:
  83219. return left.get$isTruthy() ? left : t1.right.accept$1(t2);
  83220. case B.BinaryOperator_and_and_2_and0:
  83221. return left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  83222. case B.BinaryOperator_nZh0:
  83223. return left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83224. case B.BinaryOperator_Vr90:
  83225. return !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83226. case B.BinaryOperator_cw10:
  83227. return left.greaterThan$1(t1.right.accept$1(t2));
  83228. case B.BinaryOperator_Wma0:
  83229. return left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  83230. case B.BinaryOperator_apg0:
  83231. return left.lessThan$1(t1.right.accept$1(t2));
  83232. case B.BinaryOperator_oqF0:
  83233. return left.lessThanOrEquals$1(t1.right.accept$1(t2));
  83234. case B.BinaryOperator_qbf0:
  83235. return left.plus$1(t1.right.accept$1(t2));
  83236. case B.BinaryOperator_KlB0:
  83237. return left.minus$1(t1.right.accept$1(t2));
  83238. case B.BinaryOperator_6pl0:
  83239. return left.times$1(t1.right.accept$1(t2));
  83240. case B.BinaryOperator_qpm0:
  83241. right = t1.right.accept$1(t2);
  83242. result = left.dividedBy$1(right);
  83243. if (t1.allowsSlash && left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  83244. return type$.SassNumber_2._as(result).withSlash$2(left, right);
  83245. else {
  83246. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  83247. t2._evaluate0$_warn$3$deprecation(string$.Using__o + A.S(new A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1().call$1(t1)) + " or calc(" + t1.toString$0(0) + string$.x29x0a_Morx20, t1.get$span(t1), true);
  83248. return result;
  83249. }
  83250. case B.BinaryOperator_PHH0:
  83251. return left.modulo$1(t1.right.accept$1(t2));
  83252. default:
  83253. throw A.wrapException(A.ArgumentError$("Unknown binary operator " + t3.toString$0(0) + ".", null));
  83254. }
  83255. },
  83256. $signature: 51
  83257. };
  83258. A._EvaluateVisitor_visitBinaryOperationExpression_closure_recommendation1.prototype = {
  83259. call$1(expression) {
  83260. if (expression instanceof A.BinaryOperationExpression0 && expression.operator === B.BinaryOperator_qpm0)
  83261. return "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  83262. else if (expression instanceof A.ParenthesizedExpression0)
  83263. return expression.expression.toString$0(0);
  83264. else
  83265. return expression.toString$0(0);
  83266. },
  83267. $signature: 111
  83268. };
  83269. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  83270. call$0() {
  83271. var t1 = this.node;
  83272. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  83273. },
  83274. $signature: 34
  83275. };
  83276. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  83277. call$0() {
  83278. var _this = this,
  83279. t1 = _this.node.operator;
  83280. switch (t1) {
  83281. case B.UnaryOperator_gg40:
  83282. return _this.operand.unaryPlus$0();
  83283. case B.UnaryOperator_TLI0:
  83284. return _this.operand.unaryMinus$0();
  83285. case B.UnaryOperator_Ix10:
  83286. return new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  83287. case B.UnaryOperator_not_not_not0:
  83288. return _this.operand.unaryNot$0();
  83289. default:
  83290. throw A.wrapException(A.StateError$("Unknown unary operator " + t1.toString$0(0) + "."));
  83291. }
  83292. },
  83293. $signature: 51
  83294. };
  83295. A._EvaluateVisitor__visitCalculationValue_closure1.prototype = {
  83296. call$0() {
  83297. var t1 = this.$this,
  83298. t2 = this.node,
  83299. t3 = this.inMinMax;
  83300. 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);
  83301. },
  83302. $signature: 85
  83303. };
  83304. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  83305. call$1(expression) {
  83306. return expression.accept$1(this.$this);
  83307. },
  83308. $signature: 402
  83309. };
  83310. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  83311. call$0() {
  83312. var t1 = this.node;
  83313. return this.$this._evaluate0$_getFunction$2$namespace(A.stringReplaceAllUnchecked(t1.originalName, "_", "-"), t1.namespace);
  83314. },
  83315. $signature: 129
  83316. };
  83317. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  83318. call$0() {
  83319. var t1 = this.node;
  83320. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  83321. },
  83322. $signature: 51
  83323. };
  83324. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  83325. call$0() {
  83326. var t1 = this.node;
  83327. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  83328. },
  83329. $signature: 51
  83330. };
  83331. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  83332. call$0() {
  83333. var _this = this,
  83334. t1 = _this.$this,
  83335. t2 = _this.callable;
  83336. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  83337. },
  83338. $signature() {
  83339. return this.V._eval$1("0()");
  83340. }
  83341. };
  83342. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  83343. call$0() {
  83344. var _this = this,
  83345. t1 = _this.$this,
  83346. t2 = _this.V;
  83347. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  83348. },
  83349. $signature() {
  83350. return this.V._eval$1("0()");
  83351. }
  83352. };
  83353. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  83354. call$0() {
  83355. var declaredArguments, t7, minLength, t8, i, argument, t9, value, t10, t11, restArgument, rest, argumentList, result, _this = this,
  83356. t1 = _this.$this,
  83357. t2 = _this.evaluated,
  83358. t3 = t2.positional,
  83359. t4 = t2.named,
  83360. t5 = _this.callable.declaration.$arguments,
  83361. t6 = _this.nodeWithSpan;
  83362. t1._evaluate0$_verifyArguments$4(t3.length, t4, t5, t6);
  83363. declaredArguments = t5.$arguments;
  83364. t7 = declaredArguments.length;
  83365. minLength = Math.min(t3.length, t7);
  83366. for (t8 = t2.positionalNodes, i = 0; i < minLength; ++i)
  83367. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, t3[i], t8[i]);
  83368. for (i = t3.length, t8 = t2.namedNodes; i < t7; ++i) {
  83369. argument = declaredArguments[i];
  83370. t9 = argument.name;
  83371. value = t4.remove$1(0, t9);
  83372. if (value == null) {
  83373. t10 = argument.defaultValue;
  83374. value = t1._evaluate0$_withoutSlash$2(t10.accept$1(t1), t1._evaluate0$_expressionNode$1(t10));
  83375. }
  83376. t10 = t1._evaluate0$_environment;
  83377. t11 = t8.$index(0, t9);
  83378. if (t11 == null) {
  83379. t11 = argument.defaultValue;
  83380. t11.toString;
  83381. t11 = t1._evaluate0$_expressionNode$1(t11);
  83382. }
  83383. t10.setLocalVariable$3(t9, value, t11);
  83384. }
  83385. restArgument = t5.restArgument;
  83386. if (restArgument != null) {
  83387. rest = t3.length > t7 ? B.JSArray_methods.sublist$1(t3, t7) : B.List_empty19;
  83388. t2 = t2.separator;
  83389. argumentList = A.SassArgumentList$0(rest, t4, t2 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t2);
  83390. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t6);
  83391. } else
  83392. argumentList = null;
  83393. result = _this.run.call$0();
  83394. if (argumentList == null)
  83395. return result;
  83396. t2 = t4.__js_helper$_length;
  83397. if (t2 === 0)
  83398. return result;
  83399. if (argumentList._argument_list$_wereKeywordsAccessed)
  83400. return result;
  83401. t3 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>");
  83402. 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))));
  83403. },
  83404. $signature() {
  83405. return this.V._eval$1("0()");
  83406. }
  83407. };
  83408. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  83409. call$1($name) {
  83410. return "$" + $name;
  83411. },
  83412. $signature: 5
  83413. };
  83414. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  83415. call$0() {
  83416. var t1, t2, t3, t4, _i, $returnValue;
  83417. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  83418. $returnValue = t2[_i].accept$1(t4);
  83419. if ($returnValue instanceof A.Value0)
  83420. return $returnValue;
  83421. }
  83422. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  83423. },
  83424. $signature: 51
  83425. };
  83426. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  83427. call$0() {
  83428. return this.overload.verify$2(this.evaluated.positional.length, this.namedSet);
  83429. },
  83430. $signature: 0
  83431. };
  83432. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  83433. call$1($name) {
  83434. return "$" + $name;
  83435. },
  83436. $signature: 5
  83437. };
  83438. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  83439. call$1(value) {
  83440. return value;
  83441. },
  83442. $signature: 41
  83443. };
  83444. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  83445. call$1(value) {
  83446. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  83447. },
  83448. $signature: 41
  83449. };
  83450. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  83451. call$2(key, value) {
  83452. var _this = this,
  83453. t1 = _this.restNodeForSpan;
  83454. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  83455. _this.namedNodes.$indexSet(0, key, t1);
  83456. },
  83457. $signature: 86
  83458. };
  83459. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  83460. call$1(value) {
  83461. return value;
  83462. },
  83463. $signature: 41
  83464. };
  83465. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  83466. call$1(value) {
  83467. var t1 = this.restArgs;
  83468. return new A.ValueExpression0(value, t1.get$span(t1));
  83469. },
  83470. $signature: 54
  83471. };
  83472. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  83473. call$1(value) {
  83474. var t1 = this.restArgs;
  83475. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  83476. },
  83477. $signature: 54
  83478. };
  83479. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  83480. call$2(key, value) {
  83481. var _this = this,
  83482. t1 = _this.restArgs;
  83483. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  83484. },
  83485. $signature: 86
  83486. };
  83487. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  83488. call$1(value) {
  83489. var t1 = this.keywordRestArgs;
  83490. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  83491. },
  83492. $signature: 54
  83493. };
  83494. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  83495. call$2(key, value) {
  83496. var t2, _this = this,
  83497. t1 = _this.$this;
  83498. if (key instanceof A.SassString0)
  83499. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  83500. else {
  83501. t2 = _this.nodeWithSpan;
  83502. 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)));
  83503. }
  83504. },
  83505. $signature: 56
  83506. };
  83507. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  83508. call$0() {
  83509. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  83510. },
  83511. $signature: 0
  83512. };
  83513. A._EvaluateVisitor_visitStringExpression_closure1.prototype = {
  83514. call$1(value) {
  83515. var t1, result;
  83516. if (typeof value == "string")
  83517. return value;
  83518. type$.Expression_2._as(value);
  83519. t1 = this.$this;
  83520. result = value.accept$1(t1);
  83521. return result instanceof A.SassString0 ? result._string0$_text : t1._evaluate0$_serialize$3$quote(result, value, false);
  83522. },
  83523. $signature: 44
  83524. };
  83525. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  83526. call$0() {
  83527. var t1, t2, t3, t4;
  83528. 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();) {
  83529. t4 = t1.__internal$_current;
  83530. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83531. }
  83532. },
  83533. $signature: 1
  83534. };
  83535. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  83536. call$1(node) {
  83537. return type$.CssStyleRule_2._is(node);
  83538. },
  83539. $signature: 7
  83540. };
  83541. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  83542. call$0() {
  83543. var t1, t2, t3, t4;
  83544. 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();) {
  83545. t4 = t1.__internal$_current;
  83546. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83547. }
  83548. },
  83549. $signature: 1
  83550. };
  83551. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  83552. call$1(node) {
  83553. return type$.CssStyleRule_2._is(node);
  83554. },
  83555. $signature: 7
  83556. };
  83557. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  83558. call$1(mediaQueries) {
  83559. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  83560. },
  83561. $signature: 82
  83562. };
  83563. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  83564. call$0() {
  83565. var _this = this,
  83566. t1 = _this.$this,
  83567. t2 = _this.mergedQueries;
  83568. if (t2 == null)
  83569. t2 = _this.node.queries;
  83570. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  83571. },
  83572. $signature: 1
  83573. };
  83574. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  83575. call$0() {
  83576. var t2, t3, t4,
  83577. t1 = this.$this,
  83578. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83579. if (styleRule == null)
  83580. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  83581. t4 = t2.__internal$_current;
  83582. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  83583. }
  83584. else
  83585. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  83586. },
  83587. $signature: 1
  83588. };
  83589. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  83590. call$0() {
  83591. var t1, t2, t3, t4;
  83592. 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();) {
  83593. t4 = t1.__internal$_current;
  83594. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83595. }
  83596. },
  83597. $signature: 1
  83598. };
  83599. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  83600. call$1(node) {
  83601. var t1;
  83602. if (!type$.CssStyleRule_2._is(node)) {
  83603. t1 = this.mergedSources;
  83604. t1 = t1.get$isNotEmpty(t1) && type$.CssMediaRule_2._is(node) && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  83605. } else
  83606. t1 = true;
  83607. return t1;
  83608. },
  83609. $signature: 7
  83610. };
  83611. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  83612. call$0() {
  83613. var t1 = this.$this;
  83614. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  83615. },
  83616. $signature: 1
  83617. };
  83618. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  83619. call$0() {
  83620. var t1, t2, t3, t4;
  83621. 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();) {
  83622. t4 = t1.__internal$_current;
  83623. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83624. }
  83625. },
  83626. $signature: 1
  83627. };
  83628. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  83629. call$1(node) {
  83630. return type$.CssStyleRule_2._is(node);
  83631. },
  83632. $signature: 7
  83633. };
  83634. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  83635. call$0() {
  83636. var t2, t3, t4,
  83637. t1 = this.$this,
  83638. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  83639. if (styleRule == null)
  83640. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  83641. t4 = t2.__internal$_current;
  83642. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  83643. }
  83644. else
  83645. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule.selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  83646. },
  83647. $signature: 1
  83648. };
  83649. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  83650. call$0() {
  83651. var t1, t2, t3, t4;
  83652. 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();) {
  83653. t4 = t1.__internal$_current;
  83654. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  83655. }
  83656. },
  83657. $signature: 1
  83658. };
  83659. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  83660. call$1(node) {
  83661. return type$.CssStyleRule_2._is(node);
  83662. },
  83663. $signature: 7
  83664. };
  83665. A._EvaluateVisitor__performInterpolation_closure1.prototype = {
  83666. call$1(value) {
  83667. var t1, result, t2, t3;
  83668. if (typeof value == "string")
  83669. return value;
  83670. type$.Expression_2._as(value);
  83671. t1 = this.$this;
  83672. result = value.accept$1(t1);
  83673. if (this.warnForColor && result instanceof A.SassColor0 && $.$get$namesByColor0().containsKey$1(result)) {
  83674. t2 = A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), this.interpolation.span);
  83675. t3 = $.$get$namesByColor0();
  83676. t1._evaluate0$_warn$2(string$.You_pr + A.S(t3.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whic + A.S(t3.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_qbf0, new A.StringExpression0(t2, true), value, false).toString$0(0) + "'.", value.get$span(value));
  83677. }
  83678. return t1._evaluate0$_serialize$3$quote(result, value, false);
  83679. },
  83680. $signature: 44
  83681. };
  83682. A._EvaluateVisitor__serialize_closure1.prototype = {
  83683. call$0() {
  83684. return A.serializeValue0(this.value, false, this.quote);
  83685. },
  83686. $signature: 32
  83687. };
  83688. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  83689. call$0() {
  83690. var t1 = this.expression;
  83691. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  83692. },
  83693. $signature: 207
  83694. };
  83695. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  83696. call$1(number) {
  83697. var asSlash = number.asSlash;
  83698. if (asSlash != null)
  83699. return "math.div(" + A.S(this.call$1(asSlash.item1)) + ", " + A.S(this.call$1(asSlash.item2)) + ")";
  83700. else
  83701. return A.serializeValue0(number, true, true);
  83702. },
  83703. $signature: 208
  83704. };
  83705. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  83706. call$1(url) {
  83707. var t1 = this.$this._evaluate0$_importCache;
  83708. t1 = t1 == null ? null : t1.humanize$1(url);
  83709. return t1 == null ? url : t1;
  83710. },
  83711. $signature: 81
  83712. };
  83713. A._EvaluateVisitor__stackTrace_closure1.prototype = {
  83714. call$1(tuple) {
  83715. return this.$this._evaluate0$_stackFrame$2(tuple.item1, J.get$span$z(tuple.item2));
  83716. },
  83717. $signature: 209
  83718. };
  83719. A._ImportedCssVisitor1.prototype = {
  83720. visitCssAtRule$1(node) {
  83721. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  83722. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  83723. },
  83724. visitCssComment$1(node) {
  83725. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  83726. },
  83727. visitCssDeclaration$1(node) {
  83728. },
  83729. visitCssImport$1(node) {
  83730. var t2,
  83731. _s13_ = "_endOfImports",
  83732. t1 = this._evaluate0$_visitor;
  83733. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  83734. t1._evaluate0$_addChild$1(node);
  83735. 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)) {
  83736. t1._evaluate0$_addChild$1(node);
  83737. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  83738. } else {
  83739. t2 = t1._evaluate0$_outOfOrderImports;
  83740. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  83741. }
  83742. },
  83743. visitCssKeyframeBlock$1(node) {
  83744. },
  83745. visitCssMediaRule$1(node) {
  83746. var t1 = this._evaluate0$_visitor,
  83747. mediaQueries = t1._evaluate0$_mediaQueries;
  83748. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  83749. },
  83750. visitCssStyleRule$1(node) {
  83751. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  83752. },
  83753. visitCssStylesheet$1(node) {
  83754. var t1, t2, t3;
  83755. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  83756. t3 = t1.__internal$_current;
  83757. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  83758. }
  83759. },
  83760. visitCssSupportsRule$1(node) {
  83761. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  83762. }
  83763. };
  83764. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  83765. call$1(node) {
  83766. return type$.CssStyleRule_2._is(node);
  83767. },
  83768. $signature: 7
  83769. };
  83770. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  83771. call$1(node) {
  83772. var t1;
  83773. if (!type$.CssStyleRule_2._is(node))
  83774. t1 = this.hasBeenMerged && type$.CssMediaRule_2._is(node);
  83775. else
  83776. t1 = true;
  83777. return t1;
  83778. },
  83779. $signature: 7
  83780. };
  83781. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  83782. call$1(node) {
  83783. return type$.CssStyleRule_2._is(node);
  83784. },
  83785. $signature: 7
  83786. };
  83787. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  83788. call$1(node) {
  83789. return type$.CssStyleRule_2._is(node);
  83790. },
  83791. $signature: 7
  83792. };
  83793. A._EvaluationContext1.prototype = {
  83794. get$currentCallableSpan() {
  83795. var callableNode = this._evaluate0$_visitor._evaluate0$_callableNode;
  83796. if (callableNode != null)
  83797. return callableNode.get$span(callableNode);
  83798. throw A.wrapException(A.StateError$(string$.No_Sasc));
  83799. },
  83800. warn$2$deprecation(_, message, deprecation) {
  83801. var t1 = this._evaluate0$_visitor,
  83802. t2 = t1._evaluate0$_importSpan;
  83803. if (t2 == null) {
  83804. t2 = t1._evaluate0$_callableNode;
  83805. t2 = t2 == null ? null : t2.get$span(t2);
  83806. }
  83807. t1._evaluate0$_warn$3$deprecation(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  83808. },
  83809. $isEvaluationContext0: 1
  83810. };
  83811. A._ArgumentResults1.prototype = {};
  83812. A._LoadedStylesheet1.prototype = {};
  83813. A.EveryCssVisitor0.prototype = {
  83814. visitCssAtRule$1(node) {
  83815. var t1 = node.children;
  83816. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  83817. },
  83818. visitCssComment$1(node) {
  83819. return false;
  83820. },
  83821. visitCssDeclaration$1(node) {
  83822. return false;
  83823. },
  83824. visitCssImport$1(node) {
  83825. return false;
  83826. },
  83827. visitCssKeyframeBlock$1(node) {
  83828. var t1 = node.children;
  83829. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  83830. },
  83831. visitCssMediaRule$1(node) {
  83832. var t1 = node.children;
  83833. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  83834. },
  83835. visitCssStyleRule$1(node) {
  83836. var t1 = node.children;
  83837. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  83838. },
  83839. visitCssStylesheet$1(node) {
  83840. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  83841. },
  83842. visitCssSupportsRule$1(node) {
  83843. var t1 = node.children;
  83844. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  83845. }
  83846. };
  83847. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  83848. call$1(child) {
  83849. return child.accept$1(this.$this);
  83850. },
  83851. $signature: 7
  83852. };
  83853. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  83854. call$1(child) {
  83855. return child.accept$1(this.$this);
  83856. },
  83857. $signature: 7
  83858. };
  83859. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  83860. call$1(child) {
  83861. return child.accept$1(this.$this);
  83862. },
  83863. $signature: 7
  83864. };
  83865. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  83866. call$1(child) {
  83867. return child.accept$1(this.$this);
  83868. },
  83869. $signature: 7
  83870. };
  83871. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  83872. call$1(child) {
  83873. return child.accept$1(this.$this);
  83874. },
  83875. $signature: 7
  83876. };
  83877. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  83878. call$1(child) {
  83879. return child.accept$1(this.$this);
  83880. },
  83881. $signature: 7
  83882. };
  83883. A._NodeException.prototype = {};
  83884. A.exceptionClass_closure.prototype = {
  83885. call$0() {
  83886. 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());
  83887. A.defineGetter(jsClass, "name", null, "sass.Exception");
  83888. 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));
  83889. return jsClass;
  83890. },
  83891. $signature: 24
  83892. };
  83893. A.exceptionClass__closure.prototype = {
  83894. call$1(exception) {
  83895. return J.get$_dartException$x(exception)._span_exception$_message;
  83896. },
  83897. $signature: 226
  83898. };
  83899. A.exceptionClass__closure0.prototype = {
  83900. call$1(exception) {
  83901. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  83902. },
  83903. $signature: 226
  83904. };
  83905. A.exceptionClass__closure1.prototype = {
  83906. call$1(exception) {
  83907. var t1 = J.get$_dartException$x(exception),
  83908. t2 = J.getInterceptor$z(t1);
  83909. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  83910. },
  83911. $signature: 404
  83912. };
  83913. A.SassException0.prototype = {
  83914. get$trace(_) {
  83915. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  83916. },
  83917. get$span(_) {
  83918. return A.SourceSpanException.prototype.get$span.call(this, this);
  83919. },
  83920. toString$1$color(_, color) {
  83921. var t2, _i, frame, t3, _this = this,
  83922. buffer = new A.StringBuffer(""),
  83923. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  83924. buffer._contents = t1;
  83925. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  83926. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83927. frame = t1[_i];
  83928. if (J.get$length$asx(frame) === 0)
  83929. continue;
  83930. t3 = buffer._contents += "\n";
  83931. buffer._contents = t3 + (" " + A.S(frame));
  83932. }
  83933. t1 = buffer._contents;
  83934. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83935. },
  83936. toString$0($receiver) {
  83937. return this.toString$1$color($receiver, null);
  83938. }
  83939. };
  83940. A.MultiSpanSassException0.prototype = {
  83941. toString$1$color(_, color) {
  83942. var t1, t2, _i, frame, _this = this,
  83943. useColor = color === true && true,
  83944. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  83945. 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));
  83946. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83947. frame = t1[_i];
  83948. if (J.get$length$asx(frame) === 0)
  83949. continue;
  83950. buffer._contents += "\n";
  83951. buffer._contents += " " + A.S(frame);
  83952. }
  83953. t1 = buffer._contents;
  83954. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83955. },
  83956. toString$0($receiver) {
  83957. return this.toString$1$color($receiver, null);
  83958. }
  83959. };
  83960. A.SassRuntimeException0.prototype = {
  83961. get$trace(receiver) {
  83962. return this.trace;
  83963. }
  83964. };
  83965. A.MultiSpanSassRuntimeException0.prototype = {$isSassRuntimeException0: 1,
  83966. get$trace(receiver) {
  83967. return this.trace;
  83968. }
  83969. };
  83970. A.SassFormatException0.prototype = {
  83971. get$source() {
  83972. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  83973. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  83974. },
  83975. $isFormatException: 1,
  83976. $isSourceSpanFormatException: 1
  83977. };
  83978. A.SassScriptException0.prototype = {
  83979. toString$0(_) {
  83980. return this.message + string$.x0a_BUG_;
  83981. },
  83982. get$message(receiver) {
  83983. return this.message;
  83984. }
  83985. };
  83986. A.MultiSpanSassScriptException0.prototype = {};
  83987. A.Exports.prototype = {};
  83988. A.LoggerNamespace.prototype = {};
  83989. A.ExtendRule0.prototype = {
  83990. accept$1$1(visitor) {
  83991. return visitor.visitExtendRule$1(this);
  83992. },
  83993. accept$1(visitor) {
  83994. return this.accept$1$1(visitor, type$.dynamic);
  83995. },
  83996. toString$0(_) {
  83997. var t1 = this.selector.toString$0(0),
  83998. t2 = this.isOptional ? " !optional" : "";
  83999. return "@extend " + t1 + t2 + ";";
  84000. },
  84001. $isAstNode0: 1,
  84002. $isStatement0: 1,
  84003. get$span(receiver) {
  84004. return this.span;
  84005. }
  84006. };
  84007. A.Extension0.prototype = {
  84008. toString$0(_) {
  84009. var t1 = this.extender.toString$0(0),
  84010. t2 = this.target.toString$0(0),
  84011. t3 = this.isOptional ? " !optional" : "";
  84012. return t1 + " {@extend " + t2 + t3 + "}";
  84013. }
  84014. };
  84015. A.Extender0.prototype = {
  84016. assertCompatibleMediaContext$1(mediaContext) {
  84017. var expectedMediaContext,
  84018. extension = this._extension$_extension;
  84019. if (extension == null)
  84020. return;
  84021. expectedMediaContext = extension.mediaContext;
  84022. if (expectedMediaContext == null)
  84023. return;
  84024. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  84025. return;
  84026. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span));
  84027. },
  84028. toString$0(_) {
  84029. return A.serializeSelector0(this.selector, true);
  84030. }
  84031. };
  84032. A.ExtensionStore0.prototype = {
  84033. get$isEmpty(_) {
  84034. return this._extension_store$_extensions.__js_helper$_length === 0;
  84035. },
  84036. get$simpleSelectors() {
  84037. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  84038. },
  84039. extensionsWhereTarget$1($async$callback) {
  84040. var $async$self = this;
  84041. return A._makeSyncStarIterable(function() {
  84042. var callback = $async$callback;
  84043. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3;
  84044. return function $async$extensionsWhereTarget$1($async$errorCode, $async$result) {
  84045. if ($async$errorCode === 1) {
  84046. $async$currentError = $async$result;
  84047. $async$goto = $async$handler;
  84048. }
  84049. while (true)
  84050. switch ($async$goto) {
  84051. case 0:
  84052. // Function start
  84053. t1 = $async$self._extension_store$_extensions, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1);
  84054. case 2:
  84055. // for condition
  84056. if (!t1.moveNext$0()) {
  84057. // goto after for
  84058. $async$goto = 3;
  84059. break;
  84060. }
  84061. t2 = t1.get$current(t1);
  84062. if (!callback.call$1(t2.key)) {
  84063. // goto for condition
  84064. $async$goto = 2;
  84065. break;
  84066. }
  84067. t2 = J.get$values$z(t2.value), t2 = t2.get$iterator(t2);
  84068. case 4:
  84069. // for condition
  84070. if (!t2.moveNext$0()) {
  84071. // goto after for
  84072. $async$goto = 5;
  84073. break;
  84074. }
  84075. t3 = t2.get$current(t2);
  84076. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  84077. break;
  84078. case 6:
  84079. // then
  84080. t3 = t3.unmerge$0();
  84081. $async$goto = 9;
  84082. return A._IterationMarker_yieldStar(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  84083. case 9:
  84084. // after yield
  84085. // goto join
  84086. $async$goto = 7;
  84087. break;
  84088. case 8:
  84089. // else
  84090. $async$goto = !t3.isOptional ? 10 : 11;
  84091. break;
  84092. case 10:
  84093. // then
  84094. $async$goto = 12;
  84095. return t3;
  84096. case 12:
  84097. // after yield
  84098. case 11:
  84099. // join
  84100. case 7:
  84101. // join
  84102. // goto for condition
  84103. $async$goto = 4;
  84104. break;
  84105. case 5:
  84106. // after for
  84107. // goto for condition
  84108. $async$goto = 2;
  84109. break;
  84110. case 3:
  84111. // after for
  84112. // implicit return
  84113. return A._IterationMarker_endOfIteration();
  84114. case 1:
  84115. // rethrow
  84116. return A._IterationMarker_uncaughtError($async$currentError);
  84117. }
  84118. };
  84119. }, type$.Extension_2);
  84120. },
  84121. addSelector$3(selector, selectorSpan, mediaContext) {
  84122. var originalSelector, error, stackTrace, t1, t2, t3, _i, exception, t4, modifiableSelector, _this = this;
  84123. selector = selector;
  84124. originalSelector = selector;
  84125. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  84126. for (t1 = originalSelector.components, t2 = t1.length, t3 = _this._extension_store$_originals, _i = 0; _i < t2; ++_i)
  84127. t3.add$1(0, t1[_i]);
  84128. t1 = _this._extension_store$_extensions;
  84129. if (t1.__js_helper$_length !== 0)
  84130. try {
  84131. selector = _this._extension_store$_extendList$4(originalSelector, selectorSpan, t1, mediaContext);
  84132. } catch (exception) {
  84133. t1 = A.unwrapException(exception);
  84134. if (t1 instanceof A.SassException0) {
  84135. error = t1;
  84136. stackTrace = A.getTraceFromException(exception);
  84137. t1 = error;
  84138. t2 = J.getInterceptor$z(t1);
  84139. t3 = error;
  84140. t4 = J.getInterceptor$z(t3);
  84141. A.throwWithTrace0(new A.SassException0("From " + A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  84142. } else
  84143. throw exception;
  84144. }
  84145. modifiableSelector = new A.ModifiableCssValue0(selector, selectorSpan, type$.ModifiableCssValue_SelectorList_2);
  84146. if (mediaContext != null)
  84147. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  84148. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  84149. return modifiableSelector;
  84150. },
  84151. _extension_store$_registerSelector$2(list, selector) {
  84152. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, selectorInPseudo;
  84153. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
  84154. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  84155. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  84156. simple = t6[_i1];
  84157. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  84158. if (!(simple instanceof A.PseudoSelector0))
  84159. continue;
  84160. selectorInPseudo = simple.selector;
  84161. if (selectorInPseudo != null)
  84162. this._extension_store$_registerSelector$2(selectorInPseudo, selector);
  84163. }
  84164. },
  84165. addExtension$4(extender, target, extend, mediaContext) {
  84166. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, _i, complex, t12, extension, existingExtension, t13, newExtensionsByTarget, additionalExtensions, _this = this,
  84167. selectors = _this._extension_store$_selectors.$index(0, target),
  84168. t1 = _this._extension_store$_extensionsByExtender,
  84169. existingExtensions = t1.$index(0, target),
  84170. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  84171. for (t2 = extender.value.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extender.span, t7 = extend.span, t8 = extend.isOptional, t9 = existingExtensions != null, t10 = type$.ComplexSelector_2, t11 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
  84172. complex = t2[_i];
  84173. if (complex.accept$1(B.C__IsUselessVisitor0))
  84174. continue;
  84175. complex.get$specificity();
  84176. t12 = new A.Extender0(complex, false, t6);
  84177. extension = t12._extension$_extension = new A.Extension0(t12, target, mediaContext, t8, t7);
  84178. existingExtension = sources.$index(0, complex);
  84179. if (existingExtension != null) {
  84180. sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
  84181. continue;
  84182. }
  84183. sources.$indexSet(0, complex, extension);
  84184. for (t12 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t12.moveNext$0();) {
  84185. t13 = t12.get$current(t12);
  84186. J.add$1$ax(t1.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure3()), extension);
  84187. t5.putIfAbsent$2(t13, new A.ExtensionStore_addExtension_closure4(complex));
  84188. }
  84189. if (!t4 || t9) {
  84190. if (newExtensions == null)
  84191. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t10, t11);
  84192. newExtensions.$indexSet(0, complex, extension);
  84193. }
  84194. }
  84195. if (newExtensions == null)
  84196. return;
  84197. t1 = type$.SimpleSelector_2;
  84198. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  84199. if (t9) {
  84200. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  84201. if (additionalExtensions != null)
  84202. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t10, t11);
  84203. }
  84204. if (!t4)
  84205. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  84206. },
  84207. _extension_store$_simpleSelectors$1(complex) {
  84208. return this._simpleSelectors$body$ExtensionStore0(complex);
  84209. },
  84210. _simpleSelectors$body$ExtensionStore0($async$complex) {
  84211. var $async$self = this;
  84212. return A._makeSyncStarIterable(function() {
  84213. var complex = $async$complex;
  84214. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, selector, t5, t6, _i1;
  84215. return function $async$_extension_store$_simpleSelectors$1($async$errorCode, $async$result) {
  84216. if ($async$errorCode === 1) {
  84217. $async$currentError = $async$result;
  84218. $async$goto = $async$handler;
  84219. }
  84220. while (true)
  84221. switch ($async$goto) {
  84222. case 0:
  84223. // Function start
  84224. t1 = complex.components, t2 = t1.length, _i = 0;
  84225. case 2:
  84226. // for condition
  84227. if (!(_i < t2)) {
  84228. // goto after for
  84229. $async$goto = 4;
  84230. break;
  84231. }
  84232. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  84233. case 5:
  84234. // for condition
  84235. if (!(_i0 < t4)) {
  84236. // goto after for
  84237. $async$goto = 7;
  84238. break;
  84239. }
  84240. simple = t3[_i0];
  84241. $async$goto = 8;
  84242. return simple;
  84243. case 8:
  84244. // after yield
  84245. if (!(simple instanceof A.PseudoSelector0)) {
  84246. // goto for update
  84247. $async$goto = 6;
  84248. break;
  84249. }
  84250. selector = simple.selector;
  84251. if (selector == null) {
  84252. // goto for update
  84253. $async$goto = 6;
  84254. break;
  84255. }
  84256. t5 = selector.components, t6 = t5.length, _i1 = 0;
  84257. case 9:
  84258. // for condition
  84259. if (!(_i1 < t6)) {
  84260. // goto after for
  84261. $async$goto = 11;
  84262. break;
  84263. }
  84264. $async$goto = 12;
  84265. return A._IterationMarker_yieldStar($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
  84266. case 12:
  84267. // after yield
  84268. case 10:
  84269. // for update
  84270. ++_i1;
  84271. // goto for condition
  84272. $async$goto = 9;
  84273. break;
  84274. case 11:
  84275. // after for
  84276. case 6:
  84277. // for update
  84278. ++_i0;
  84279. // goto for condition
  84280. $async$goto = 5;
  84281. break;
  84282. case 7:
  84283. // after for
  84284. case 3:
  84285. // for update
  84286. ++_i;
  84287. // goto for condition
  84288. $async$goto = 2;
  84289. break;
  84290. case 4:
  84291. // after for
  84292. // implicit return
  84293. return A._IterationMarker_endOfIteration();
  84294. case 1:
  84295. // rethrow
  84296. return A._IterationMarker_uncaughtError($async$currentError);
  84297. }
  84298. };
  84299. }, type$.SimpleSelector_2);
  84300. },
  84301. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  84302. 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;
  84303. 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) {
  84304. extension = t1[_i];
  84305. t7 = t6.$index(0, extension.target);
  84306. t7.toString;
  84307. selectors = null;
  84308. try {
  84309. selectors = this._extension_store$_extendComplex$4(extension.extender.selector, extension.extender.span, newExtensions, extension.mediaContext);
  84310. if (selectors == null)
  84311. continue;
  84312. } catch (exception) {
  84313. t8 = A.unwrapException(exception);
  84314. if (t8 instanceof A.SassException0) {
  84315. error = t8;
  84316. stackTrace = A.getTraceFromException(exception);
  84317. t8 = error;
  84318. t9 = J.getInterceptor$z(t8);
  84319. A.throwWithTrace0(new A.SassException0("From " + extension.extender.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t9, t8)), stackTrace);
  84320. } else
  84321. throw exception;
  84322. }
  84323. t8 = J.get$first$ax(selectors);
  84324. t9 = extension.extender.selector;
  84325. containsExtension = B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components);
  84326. for (t8 = selectors, t9 = t8.length, first = true, _i0 = 0; _i0 < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i0) {
  84327. complex = t8[_i0];
  84328. if (containsExtension && first) {
  84329. first = false;
  84330. continue;
  84331. }
  84332. t10 = extension;
  84333. t11 = t10.extender;
  84334. t12 = t10.target;
  84335. t13 = t10.span;
  84336. t14 = t10.mediaContext;
  84337. t10 = t10.isOptional;
  84338. complex.get$specificity();
  84339. t11 = new A.Extender0(complex, false, t11.span);
  84340. withExtender = t11._extension$_extension = new A.Extension0(t11, t12, t14, t10, t13);
  84341. existingExtension = t7.$index(0, complex);
  84342. if (existingExtension != null)
  84343. t7.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, withExtender));
  84344. else {
  84345. t7.$indexSet(0, complex, withExtender);
  84346. for (t10 = complex.components, t11 = t10.length, _i1 = 0; _i1 < t11; ++_i1)
  84347. for (t12 = t10[_i1].selector.components, t13 = t12.length, _i2 = 0; _i2 < t13; ++_i2)
  84348. J.add$1$ax(t3.putIfAbsent$2(t12[_i2], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  84349. if (newExtensions.containsKey$1(extension.target)) {
  84350. if (additionalExtensions == null)
  84351. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  84352. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, complex, withExtender);
  84353. }
  84354. }
  84355. }
  84356. if (!containsExtension)
  84357. t7.remove$1(0, extension.extender);
  84358. }
  84359. return additionalExtensions;
  84360. },
  84361. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  84362. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4;
  84363. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  84364. selector = t1.get$current(t1);
  84365. oldValue = selector.value;
  84366. try {
  84367. selector.value = this._extension_store$_extendList$4(selector.value, selector.span, newExtensions, t2.$index(0, selector));
  84368. } catch (exception) {
  84369. t3 = A.unwrapException(exception);
  84370. if (t3 instanceof A.SassException0) {
  84371. error = t3;
  84372. stackTrace = A.getTraceFromException(exception);
  84373. t3 = error;
  84374. t4 = J.getInterceptor$z(t3);
  84375. A.throwWithTrace0(new A.SassException0("From " + selector.span.message$1(0, "") + "\n" + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t4, t3)), stackTrace);
  84376. } else
  84377. throw exception;
  84378. }
  84379. if (oldValue === selector.value)
  84380. continue;
  84381. this._extension_store$_registerSelector$2(selector.value, selector);
  84382. }
  84383. },
  84384. addExtensions$1(extensionStores) {
  84385. var t1, t2, t3, _box_0 = {};
  84386. _box_0.newExtensions = _box_0.selectorsToExtend = _box_0.extensionsToExtend = null;
  84387. for (t1 = J.get$iterator$ax(extensionStores), t2 = this._extension_store$_sourceSpecificity; t1.moveNext$0();) {
  84388. t3 = t1.get$current(t1);
  84389. if (t3.get$isEmpty(t3))
  84390. continue;
  84391. t2.addAll$1(0, t3.get$_extension_store$_sourceSpecificity());
  84392. t3.get$_extension_store$_extensions().forEach$1(0, new A.ExtensionStore_addExtensions_closure1(_box_0, this));
  84393. }
  84394. A.NullableExtension_andThen0(_box_0.newExtensions, new A.ExtensionStore_addExtensions_closure2(_box_0, this));
  84395. },
  84396. _extension_store$_extendList$4(list, listSpan, extensions, mediaQueryContext) {
  84397. var t1, t2, t3, extended, i, complex, result, t4;
  84398. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  84399. complex = t1[i];
  84400. result = this._extension_store$_extendComplex$4(complex, listSpan, extensions, mediaQueryContext);
  84401. if (result == null) {
  84402. if (extended != null)
  84403. extended.push(complex);
  84404. } else {
  84405. if (extended == null)
  84406. if (i === 0)
  84407. extended = A._setArrayType([], t3);
  84408. else {
  84409. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  84410. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  84411. }
  84412. B.JSArray_methods.addAll$1(extended, result);
  84413. }
  84414. }
  84415. if (extended == null)
  84416. return list;
  84417. t1 = this._extension_store$_originals;
  84418. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)));
  84419. },
  84420. _extension_store$_extendList$3(list, listSpan, extensions) {
  84421. return this._extension_store$_extendList$4(list, listSpan, extensions, null);
  84422. },
  84423. _extension_store$_extendComplex$4(complex, complexSpan, extensions, mediaQueryContext) {
  84424. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, t11, extendedNotExpanded, i, component, extended, t12, result, t13, t14, t15, t16, _null = null,
  84425. _s56_ = string$.leadin,
  84426. _box_0 = {},
  84427. t1 = complex.leadingCombinators,
  84428. t2 = t1.length;
  84429. if (t2 > 1)
  84430. return _null;
  84431. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  84432. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector_2, t6 = type$.Combinator_2, t7 = type$.ComplexSelectorComponent_2, t8 = complex.lineBreak, t9 = !t8, t10 = type$.JSArray_ComplexSelector_2, t2 = t2 === 0, t11 = type$.JSArray_ComplexSelectorComponent_2, extendedNotExpanded = _null, i = 0; i < t4; ++i) {
  84433. component = t3[i];
  84434. extended = this._extension_store$_extendCompound$5$inOriginal(component, complexSpan, extensions, mediaQueryContext, isOriginal);
  84435. if (extended == null) {
  84436. if (extendedNotExpanded != null) {
  84437. t12 = A._setArrayType([component], t11);
  84438. result = A.List_List$from(B.List_empty13, false, t6);
  84439. result.fixed$length = Array;
  84440. result.immutable$list = Array;
  84441. t13 = result;
  84442. result = A.List_List$from(t12, false, t7);
  84443. result.fixed$length = Array;
  84444. result.immutable$list = Array;
  84445. t12 = result;
  84446. if (t13.length === 0 && t12.length === 0)
  84447. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84448. extendedNotExpanded.push(A._setArrayType([new A.ComplexSelector0(t13, t12, t8)], t10));
  84449. }
  84450. } else if (extendedNotExpanded != null)
  84451. extendedNotExpanded.push(extended);
  84452. else if (i !== 0) {
  84453. t12 = A._arrayInstanceType(t3);
  84454. t13 = new A.SubListIterable(t3, 0, i, t12._eval$1("SubListIterable<1>"));
  84455. t13.SubListIterable$3(t3, 0, i, t12._precomputed1);
  84456. result = A.List_List$from(t1, false, t6);
  84457. result.fixed$length = Array;
  84458. result.immutable$list = Array;
  84459. t12 = result;
  84460. result = A.List_List$from(t13, false, t7);
  84461. result.fixed$length = Array;
  84462. result.immutable$list = Array;
  84463. t13 = result;
  84464. if (t12.length === 0 && t13.length === 0)
  84465. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84466. extendedNotExpanded = A._setArrayType([A._setArrayType([new A.ComplexSelector0(t12, t13, t8)], t10), extended], t5);
  84467. } else if (t2)
  84468. extendedNotExpanded = A._setArrayType([extended], t5);
  84469. else {
  84470. t12 = A._setArrayType([], t10);
  84471. for (t13 = J.get$iterator$ax(extended); t13.moveNext$0();) {
  84472. t14 = t13.get$current(t13);
  84473. t15 = t14.leadingCombinators;
  84474. if (t15.length === 0 || B.C_ListEquality.equals$2(0, t1, t15)) {
  84475. t15 = t14.components;
  84476. t14 = !t9 || t14.lineBreak;
  84477. result = A.List_List$from(t1, false, t6);
  84478. result.fixed$length = Array;
  84479. result.immutable$list = Array;
  84480. t16 = result;
  84481. result = A.List_List$from(t15, false, t7);
  84482. result.fixed$length = Array;
  84483. result.immutable$list = Array;
  84484. t15 = result;
  84485. if (t16.length === 0 && t15.length === 0)
  84486. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84487. t12.push(new A.ComplexSelector0(t16, t15, t14));
  84488. }
  84489. }
  84490. extendedNotExpanded = A._setArrayType([t12], t5);
  84491. }
  84492. }
  84493. if (extendedNotExpanded == null)
  84494. return _null;
  84495. _box_0.first = true;
  84496. t1 = type$.ComplexSelector_2;
  84497. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  84498. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  84499. },
  84500. _extension_store$_extendCompound$5$inOriginal(component, componentSpan, extensions, mediaQueryContext, inOriginal) {
  84501. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, options, i, simple, extended, result, t13, t14, compound, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  84502. _s28_ = "components may not be empty.",
  84503. _s56_ = string$.leadin,
  84504. t1 = _this._extension_store$_mode,
  84505. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.get$length(extensions) < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  84506. simples = component.selector.components;
  84507. for (t2 = simples.length, t3 = type$.JSArray_List_Extender_2, t4 = type$.JSArray_Extender_2, t5 = type$.Combinator_2, t6 = type$.JSArray_ComplexSelectorComponent_2, t7 = type$.ComplexSelectorComponent_2, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = type$.SimpleSelector_2, t11 = _this._extension_store$_sourceSpecificity, t12 = type$.JSArray_SimpleSelector_2, options = _null, i = 0; i < t2; ++i) {
  84508. simple = simples[i];
  84509. extended = _this._extension_store$_extendSimple$5(simple, componentSpan, extensions, mediaQueryContext, targetsUsed);
  84510. if (extended == null) {
  84511. if (options != null) {
  84512. result = A.List_List$from(A._setArrayType([simple], t12), false, t10);
  84513. result.fixed$length = Array;
  84514. result.immutable$list = Array;
  84515. t13 = result;
  84516. if (t13.length === 0)
  84517. A.throwExpression(A.ArgumentError$(_s28_, _null));
  84518. result = A.List_List$from(B.List_empty13, false, t5);
  84519. result.fixed$length = Array;
  84520. result.immutable$list = Array;
  84521. t13 = A._setArrayType([new A.ComplexSelectorComponent0(new A.CompoundSelector0(t13), result)], t6);
  84522. result = A.List_List$from(B.List_empty13, false, t5);
  84523. result.fixed$length = Array;
  84524. result.immutable$list = Array;
  84525. t14 = result;
  84526. result = A.List_List$from(t13, false, t7);
  84527. result.fixed$length = Array;
  84528. result.immutable$list = Array;
  84529. t13 = result;
  84530. if (t14.length === 0 && t13.length === 0)
  84531. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84532. t11.$index(0, simple);
  84533. options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t14, t13, false), true, componentSpan)], t4));
  84534. }
  84535. } else {
  84536. if (options == null) {
  84537. options = A._setArrayType([], t3);
  84538. if (i !== 0) {
  84539. t13 = new A.SubListIterable(simples, 0, i, t8);
  84540. t13.SubListIterable$3(simples, 0, i, t9);
  84541. result = A.List_List$from(t13, false, t10);
  84542. result.fixed$length = Array;
  84543. result.immutable$list = Array;
  84544. t13 = result;
  84545. compound = new A.CompoundSelector0(t13);
  84546. if (t13.length === 0)
  84547. A.throwExpression(A.ArgumentError$(_s28_, _null));
  84548. result = A.List_List$from(B.List_empty13, false, t5);
  84549. result.fixed$length = Array;
  84550. result.immutable$list = Array;
  84551. t13 = A._setArrayType([new A.ComplexSelectorComponent0(compound, result)], t6);
  84552. result = A.List_List$from(B.List_empty13, false, t5);
  84553. result.fixed$length = Array;
  84554. result.immutable$list = Array;
  84555. t14 = result;
  84556. result = A.List_List$from(t13, false, t7);
  84557. result.fixed$length = Array;
  84558. result.immutable$list = Array;
  84559. t13 = result;
  84560. if (t14.length === 0 && t13.length === 0)
  84561. A.throwExpression(A.ArgumentError$(_s56_, _null));
  84562. _this._extension_store$_sourceSpecificityFor$1(compound);
  84563. options.push(A._setArrayType([new A.Extender0(new A.ComplexSelector0(t14, t13, false), true, componentSpan)], t4));
  84564. }
  84565. }
  84566. B.JSArray_methods.addAll$1(options, extended);
  84567. }
  84568. }
  84569. if (options == null)
  84570. return _null;
  84571. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.get$length(extensions))
  84572. return _null;
  84573. if (options.length === 1) {
  84574. 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();) {
  84575. t4 = t1.get$current(t1);
  84576. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  84577. complex = t4.selector.withAdditionalCombinators$1(t2);
  84578. if (complex.accept$1(B.C__IsUselessVisitor0))
  84579. continue;
  84580. if (result == null)
  84581. result = A._setArrayType([], t3);
  84582. result.push(complex);
  84583. }
  84584. return result;
  84585. }
  84586. extenderPaths = A.paths0(options, type$.Extender_2);
  84587. t2 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84588. t1 = t1 === B.ExtendMode_replace_replace0;
  84589. t3 = !t1;
  84590. if (t3)
  84591. t2.push(A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t10)), A.List_List$unmodifiable(component.combinators, t5))], t6), false));
  84592. t4 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  84593. t4 = t4.get$iterator(t4);
  84594. t5 = component.combinators;
  84595. for (; t4.moveNext$0();) {
  84596. extended = _this._extension_store$_unifyExtenders$2(t4.get$current(t4), mediaQueryContext);
  84597. if (extended == null)
  84598. continue;
  84599. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  84600. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  84601. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  84602. t2.push(withCombinators);
  84603. }
  84604. }
  84605. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  84606. return _this._extension_store$_trim$2(t2, inOriginal && t3 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t2)) : isOriginal);
  84607. },
  84608. _extension_store$_unifyExtenders$2(extenders, mediaQueryContext) {
  84609. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  84610. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  84611. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  84612. t4 = t2.get$current(t2);
  84613. if (t4.isOriginal) {
  84614. if (originals == null)
  84615. originals = A._setArrayType([], t3);
  84616. t4 = t4.selector;
  84617. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  84618. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  84619. } else {
  84620. t4 = t4.selector;
  84621. if (t4.accept$1(B.C__IsUselessVisitor0))
  84622. return _null;
  84623. else
  84624. toUnify._queue_list$_add$1(t4);
  84625. }
  84626. }
  84627. if (originals != null)
  84628. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals), A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2), originalsLineBreak));
  84629. complexes = A.unifyComplex0(toUnify);
  84630. if (complexes == null)
  84631. return _null;
  84632. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  84633. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  84634. return complexes;
  84635. },
  84636. _extension_store$_extendSimple$5(simple, simpleSpan, extensions, mediaQueryContext, targetsUsed) {
  84637. var extended,
  84638. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed, simpleSpan);
  84639. if (simple instanceof A.PseudoSelector0 && simple.selector != null) {
  84640. extended = this._extension_store$_extendPseudo$4(simple, simpleSpan, extensions, mediaQueryContext);
  84641. if (extended != null)
  84642. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1, simpleSpan), A._arrayInstanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
  84643. }
  84644. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  84645. },
  84646. _extension_store$_extenderForSimple$2(simple, span) {
  84647. var t1 = A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2)), A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2), false);
  84648. this._extension_store$_sourceSpecificity.$index(0, simple);
  84649. return new A.Extender0(t1, true, span);
  84650. },
  84651. _extension_store$_extendPseudo$4(pseudo, pseudoSpan, extensions, mediaQueryContext) {
  84652. var extended, complexes, t1, result,
  84653. selector = pseudo.selector;
  84654. if (selector == null)
  84655. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  84656. extended = this._extension_store$_extendList$4(selector, pseudoSpan, extensions, mediaQueryContext);
  84657. if (extended === selector)
  84658. return null;
  84659. complexes = extended.components;
  84660. t1 = pseudo.normalizedName === "not";
  84661. 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()))
  84662. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  84663. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  84664. if (t1 && selector.components.length === 1) {
  84665. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  84666. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  84667. return result.length === 0 ? null : result;
  84668. } else
  84669. return A._setArrayType([A.PseudoSelector$0(pseudo.name, pseudo.argument, !pseudo.isClass, A.SelectorList$0(complexes))], type$.JSArray_PseudoSelector_2);
  84670. },
  84671. _extension_store$_trim$2(selectors, isOriginal) {
  84672. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  84673. if (selectors.length > 100)
  84674. return selectors;
  84675. result = A.QueueList$(null, type$.ComplexSelector_2);
  84676. $label0$0:
  84677. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  84678. _box_0 = {};
  84679. complex1 = selectors[i];
  84680. if (isOriginal.call$1(complex1)) {
  84681. for (j = 0; j < numOriginals; ++j)
  84682. if (J.$eq$(result.$index(0, j), complex1)) {
  84683. A.rotateSlice0(result, 0, j + 1);
  84684. continue $label0$0;
  84685. }
  84686. ++numOriginals;
  84687. result.addFirst$1(complex1);
  84688. continue $label0$0;
  84689. }
  84690. _box_0.maxSpecificity = 0;
  84691. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  84692. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  84693. _box_0.maxSpecificity = maxSpecificity;
  84694. }
  84695. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  84696. continue $label0$0;
  84697. t3 = new A.SubListIterable(selectors, 0, i, t1);
  84698. t3.SubListIterable$3(selectors, 0, i, t2);
  84699. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  84700. continue $label0$0;
  84701. result.addFirst$1(complex1);
  84702. }
  84703. return result;
  84704. },
  84705. _extension_store$_sourceSpecificityFor$1(compound) {
  84706. var t1, t2, t3, specificity, _i, t4;
  84707. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  84708. t4 = t3.$index(0, t1[_i]);
  84709. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  84710. }
  84711. return specificity;
  84712. },
  84713. clone$0() {
  84714. var t3, t4, _this = this,
  84715. t1 = type$.SimpleSelector_2,
  84716. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableCssValue_SelectorList_2),
  84717. t2 = type$.ModifiableCssValue_SelectorList_2,
  84718. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_CssMediaQuery_2),
  84719. oldToNewSelectors = A.LinkedHashMap_LinkedHashMap$_empty(type$.CssValue_SelectorList_2, t2);
  84720. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  84721. t2 = type$.Extension_2;
  84722. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  84723. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  84724. t1 = new A._LinkedIdentityHashMap(type$._LinkedIdentityHashMap_SimpleSelector_int_2);
  84725. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  84726. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  84727. t4.addAll$1(0, _this._extension_store$_originals);
  84728. 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_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
  84729. },
  84730. get$_extension_store$_extensions() {
  84731. return this._extension_store$_extensions;
  84732. },
  84733. get$_extension_store$_sourceSpecificity() {
  84734. return this._extension_store$_sourceSpecificity;
  84735. }
  84736. };
  84737. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  84738. call$1(extension) {
  84739. return !extension.isOptional;
  84740. },
  84741. $signature: 405
  84742. };
  84743. A.ExtensionStore__registerSelector_closure0.prototype = {
  84744. call$0() {
  84745. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2);
  84746. },
  84747. $signature: 406
  84748. };
  84749. A.ExtensionStore_addExtension_closure2.prototype = {
  84750. call$0() {
  84751. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  84752. },
  84753. $signature: 132
  84754. };
  84755. A.ExtensionStore_addExtension_closure3.prototype = {
  84756. call$0() {
  84757. return A._setArrayType([], type$.JSArray_Extension_2);
  84758. },
  84759. $signature: 228
  84760. };
  84761. A.ExtensionStore_addExtension_closure4.prototype = {
  84762. call$0() {
  84763. return this.complex.get$specificity();
  84764. },
  84765. $signature: 12
  84766. };
  84767. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  84768. call$0() {
  84769. return A._setArrayType([], type$.JSArray_Extension_2);
  84770. },
  84771. $signature: 228
  84772. };
  84773. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  84774. call$0() {
  84775. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  84776. },
  84777. $signature: 132
  84778. };
  84779. A.ExtensionStore_addExtensions_closure1.prototype = {
  84780. call$2(target, newSources) {
  84781. var first, t1, extensionsForTarget, t2, t3, t4, selectorsForTarget, t5, existingSources, _this = this;
  84782. if (target instanceof A.PlaceholderSelector0) {
  84783. first = B.JSString_methods._codeUnitAt$1(target.name, 0);
  84784. t1 = first === 45 || first === 95;
  84785. } else
  84786. t1 = false;
  84787. if (t1)
  84788. return;
  84789. t1 = _this.$this;
  84790. extensionsForTarget = t1._extension_store$_extensionsByExtender.$index(0, target);
  84791. t2 = extensionsForTarget == null;
  84792. if (!t2) {
  84793. t3 = _this._box_0;
  84794. t4 = t3.extensionsToExtend;
  84795. B.JSArray_methods.addAll$1(t4 == null ? t3.extensionsToExtend = A._setArrayType([], type$.JSArray_Extension_2) : t4, extensionsForTarget);
  84796. }
  84797. selectorsForTarget = t1._extension_store$_selectors.$index(0, target);
  84798. t3 = selectorsForTarget != null;
  84799. if (t3) {
  84800. t4 = _this._box_0;
  84801. t5 = t4.selectorsToExtend;
  84802. (t5 == null ? t4.selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableCssValue_SelectorList_2) : t5).addAll$1(0, selectorsForTarget);
  84803. }
  84804. t1 = t1._extension_store$_extensions;
  84805. existingSources = t1.$index(0, target);
  84806. if (existingSources == null) {
  84807. t4 = type$.ComplexSelector_2;
  84808. t5 = type$.Extension_2;
  84809. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  84810. if (!t2 || t3) {
  84811. t1 = _this._box_0;
  84812. t2 = t1.newExtensions;
  84813. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  84814. t1.$indexSet(0, target, A.LinkedHashMap_LinkedHashMap$of(newSources, t4, t5));
  84815. }
  84816. } else
  84817. newSources.forEach$1(0, new A.ExtensionStore_addExtensions__closure4(_this._box_0, existingSources, extensionsForTarget, selectorsForTarget, target));
  84818. },
  84819. $signature: 409
  84820. };
  84821. A.ExtensionStore_addExtensions__closure4.prototype = {
  84822. call$2(extender, extension) {
  84823. var t2, _this = this,
  84824. t1 = _this.existingSources;
  84825. if (t1.containsKey$1(extender)) {
  84826. t2 = t1.$index(0, extender);
  84827. extension = A.MergedExtension_merge0(t2, extension);
  84828. t1.$indexSet(0, extender, extension);
  84829. } else
  84830. t1.$indexSet(0, extender, extension);
  84831. if (_this.extensionsForTarget != null || _this.selectorsForTarget != null) {
  84832. t1 = _this._box_0;
  84833. t2 = t1.newExtensions;
  84834. t1 = t2 == null ? t1.newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2) : t2;
  84835. J.$indexSet$ax(t1.putIfAbsent$2(_this.target, new A.ExtensionStore_addExtensions___closure0()), extender, extension);
  84836. }
  84837. },
  84838. $signature: 410
  84839. };
  84840. A.ExtensionStore_addExtensions___closure0.prototype = {
  84841. call$0() {
  84842. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  84843. },
  84844. $signature: 132
  84845. };
  84846. A.ExtensionStore_addExtensions_closure2.prototype = {
  84847. call$1(newExtensions) {
  84848. var t1 = this._box_0,
  84849. t2 = this.$this;
  84850. A.NullableExtension_andThen0(t1.extensionsToExtend, new A.ExtensionStore_addExtensions__closure2(t2, newExtensions));
  84851. A.NullableExtension_andThen0(t1.selectorsToExtend, new A.ExtensionStore_addExtensions__closure3(t2, newExtensions));
  84852. },
  84853. $signature: 411
  84854. };
  84855. A.ExtensionStore_addExtensions__closure2.prototype = {
  84856. call$1(extensionsToExtend) {
  84857. return this.$this._extension_store$_extendExistingExtensions$2(extensionsToExtend, this.newExtensions);
  84858. },
  84859. $signature: 412
  84860. };
  84861. A.ExtensionStore_addExtensions__closure3.prototype = {
  84862. call$1(selectorsToExtend) {
  84863. return this.$this._extension_store$_extendExistingSelectors$2(selectorsToExtend, this.newExtensions);
  84864. },
  84865. $signature: 413
  84866. };
  84867. A.ExtensionStore__extendComplex_closure0.prototype = {
  84868. call$1(path) {
  84869. var t1 = this.complex;
  84870. return J.map$1$1$ax(A.weave0(path, t1.lineBreak), new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, t1), type$.ComplexSelector_2);
  84871. },
  84872. $signature: 414
  84873. };
  84874. A.ExtensionStore__extendComplex__closure0.prototype = {
  84875. call$1(outputComplex) {
  84876. var _this = this,
  84877. t1 = _this._box_0;
  84878. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  84879. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  84880. t1.first = false;
  84881. return outputComplex;
  84882. },
  84883. $signature: 68
  84884. };
  84885. A.ExtensionStore__extendCompound_closure2.prototype = {
  84886. call$1(extender) {
  84887. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  84888. },
  84889. $signature: 416
  84890. };
  84891. A.ExtensionStore__extendCompound_closure3.prototype = {
  84892. call$1(_) {
  84893. return false;
  84894. },
  84895. $signature: 16
  84896. };
  84897. A.ExtensionStore__extendCompound_closure4.prototype = {
  84898. call$1(complex) {
  84899. return complex.$eq(0, this.original);
  84900. },
  84901. $signature: 16
  84902. };
  84903. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  84904. call$1(simple) {
  84905. var t1, t2, _this = this,
  84906. extensionsForSimple = _this.extensions.$index(0, simple);
  84907. if (extensionsForSimple == null)
  84908. return null;
  84909. t1 = _this.targetsUsed;
  84910. if (t1 != null)
  84911. t1.add$1(0, simple);
  84912. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  84913. t2 = _this.$this;
  84914. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  84915. t1.push(t2._extension_store$_extenderForSimple$2(simple, _this.simpleSpan));
  84916. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  84917. t1.push(t2.get$current(t2).extender);
  84918. return t1;
  84919. },
  84920. $signature: 417
  84921. };
  84922. A.ExtensionStore__extendSimple_closure1.prototype = {
  84923. call$1(pseudo) {
  84924. var t1 = this.withoutPseudo.call$1(pseudo);
  84925. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$2(pseudo, this.simpleSpan)], type$.JSArray_Extender_2) : t1;
  84926. },
  84927. $signature: 418
  84928. };
  84929. A.ExtensionStore__extendSimple_closure2.prototype = {
  84930. call$1(result) {
  84931. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  84932. },
  84933. $signature: 419
  84934. };
  84935. A.ExtensionStore__extendPseudo_closure4.prototype = {
  84936. call$1(complex) {
  84937. return complex.components.length > 1;
  84938. },
  84939. $signature: 16
  84940. };
  84941. A.ExtensionStore__extendPseudo_closure5.prototype = {
  84942. call$1(complex) {
  84943. return complex.components.length === 1;
  84944. },
  84945. $signature: 16
  84946. };
  84947. A.ExtensionStore__extendPseudo_closure6.prototype = {
  84948. call$1(complex) {
  84949. return complex.components.length <= 1;
  84950. },
  84951. $signature: 16
  84952. };
  84953. A.ExtensionStore__extendPseudo_closure7.prototype = {
  84954. call$1(complex) {
  84955. var innerPseudo, innerSelector,
  84956. t1 = complex.get$singleCompound();
  84957. if (t1 == null)
  84958. innerPseudo = null;
  84959. else {
  84960. t1 = t1.components;
  84961. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  84962. }
  84963. if (!(innerPseudo instanceof A.PseudoSelector0))
  84964. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  84965. innerSelector = innerPseudo.selector;
  84966. if (innerSelector == null)
  84967. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  84968. t1 = this.pseudo;
  84969. switch (t1.normalizedName) {
  84970. case "not":
  84971. if (!B.Set_YEQji._map.containsKey$1(innerPseudo.normalizedName))
  84972. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84973. return innerSelector.components;
  84974. case "is":
  84975. case "matches":
  84976. case "where":
  84977. case "any":
  84978. case "current":
  84979. case "nth-child":
  84980. case "nth-last-child":
  84981. if (innerPseudo.name !== t1.name)
  84982. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84983. if (innerPseudo.argument != t1.argument)
  84984. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84985. return innerSelector.components;
  84986. case "has":
  84987. case "host":
  84988. case "host-context":
  84989. case "slotted":
  84990. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  84991. default:
  84992. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  84993. }
  84994. },
  84995. $signature: 420
  84996. };
  84997. A.ExtensionStore__extendPseudo_closure8.prototype = {
  84998. call$1(complex) {
  84999. var t1 = this.pseudo;
  85000. return A.PseudoSelector$0(t1.name, t1.argument, !t1.isClass, A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2)));
  85001. },
  85002. $signature: 421
  85003. };
  85004. A.ExtensionStore__trim_closure1.prototype = {
  85005. call$1(complex2) {
  85006. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  85007. },
  85008. $signature: 16
  85009. };
  85010. A.ExtensionStore__trim_closure2.prototype = {
  85011. call$1(complex2) {
  85012. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  85013. },
  85014. $signature: 16
  85015. };
  85016. A.ExtensionStore_clone_closure0.prototype = {
  85017. call$2(simple, selectors) {
  85018. var t2, t3, t4, t5, t6, newSelector, mediaContext, _this = this,
  85019. t1 = type$.ModifiableCssValue_SelectorList_2,
  85020. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85021. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  85022. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = _this.$this._extension_store$_mediaContexts, t5 = _this.newMediaContexts; t2.moveNext$0();) {
  85023. t6 = t2.get$current(t2);
  85024. newSelector = new A.ModifiableCssValue0(t6.value, t6.span, t1);
  85025. newSelectorSet.add$1(0, newSelector);
  85026. t3.$indexSet(0, t6, newSelector);
  85027. mediaContext = t4.$index(0, t6);
  85028. if (mediaContext != null)
  85029. t5.$indexSet(0, newSelector, mediaContext);
  85030. }
  85031. },
  85032. $signature: 422
  85033. };
  85034. A.FiberClass.prototype = {};
  85035. A.Fiber.prototype = {};
  85036. A.NodeToDartFileImporter.prototype = {
  85037. canonicalize$1(_, url) {
  85038. var result, t1, resultUrl;
  85039. if (url.get$scheme() === "file")
  85040. return $.$get$_filesystemImporter0().canonicalize$1(0, url);
  85041. result = this._file0$_findFileUrl.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  85042. if (result == null)
  85043. return null;
  85044. t1 = self.Promise;
  85045. if (result instanceof t1)
  85046. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  85047. else {
  85048. t1 = self.URL;
  85049. if (!(result instanceof t1))
  85050. A.jsThrow(new self.Error(string$.The_fie));
  85051. }
  85052. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85053. if (resultUrl.get$scheme() !== "file")
  85054. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  85055. return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
  85056. },
  85057. load$1(_, url) {
  85058. return $.$get$_filesystemImporter0().load$1(0, url);
  85059. }
  85060. };
  85061. A.FilesystemImporter0.prototype = {
  85062. canonicalize$1(_, url) {
  85063. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  85064. return null;
  85065. 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());
  85066. },
  85067. load$1(_, url) {
  85068. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  85069. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  85070. },
  85071. toString$0(_) {
  85072. return this._filesystem$_loadPath;
  85073. }
  85074. };
  85075. A.FilesystemImporter_canonicalize_closure0.prototype = {
  85076. call$1(resolved) {
  85077. var t1, t2, t0, _null = null;
  85078. if (J.$eq$(J.get$platform$x(self.process), "win32") || J.$eq$(J.get$platform$x(self.process), "darwin")) {
  85079. t1 = $.$get$context();
  85080. t2 = A._realCasePath0(t1.absolute$7(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null));
  85081. t0 = t2;
  85082. t2 = t1;
  85083. t1 = t0;
  85084. } else {
  85085. t1 = $.$get$context();
  85086. t2 = t1.canonicalize$1(0, resolved);
  85087. t0 = t2;
  85088. t2 = t1;
  85089. t1 = t0;
  85090. }
  85091. return t2.toUri$1(t1);
  85092. },
  85093. $signature: 146
  85094. };
  85095. A.ForRule0.prototype = {
  85096. accept$1$1(visitor) {
  85097. return visitor.visitForRule$1(this);
  85098. },
  85099. accept$1(visitor) {
  85100. return this.accept$1$1(visitor, type$.dynamic);
  85101. },
  85102. toString$0(_) {
  85103. var _this = this,
  85104. t1 = _this.from.toString$0(0),
  85105. t2 = _this.isExclusive ? "to" : "through",
  85106. t3 = _this.children;
  85107. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  85108. },
  85109. get$span(receiver) {
  85110. return this.span;
  85111. }
  85112. };
  85113. A.ForwardRule0.prototype = {
  85114. accept$1$1(visitor) {
  85115. return visitor.visitForwardRule$1(this);
  85116. },
  85117. accept$1(visitor) {
  85118. return this.accept$1$1(visitor, type$.dynamic);
  85119. },
  85120. toString$0(_) {
  85121. var t2, prefix, _this = this,
  85122. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  85123. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  85124. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  85125. if (shownMixinsAndFunctions != null) {
  85126. t2 = _this.shownVariables;
  85127. t2.toString;
  85128. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  85129. t1 = t2;
  85130. } else {
  85131. if (hiddenMixinsAndFunctions != null) {
  85132. t2 = hiddenMixinsAndFunctions._base;
  85133. t2 = t2.get$isNotEmpty(t2);
  85134. } else
  85135. t2 = false;
  85136. if (t2) {
  85137. t2 = _this.hiddenVariables;
  85138. t2.toString;
  85139. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  85140. t1 = t2;
  85141. }
  85142. }
  85143. prefix = _this.prefix;
  85144. if (prefix != null)
  85145. t1 += " as " + prefix + "*";
  85146. t2 = _this.configuration;
  85147. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  85148. return t1.charCodeAt(0) == 0 ? t1 : t1;
  85149. },
  85150. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  85151. var t2,
  85152. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  85153. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  85154. t1.push("$" + t2.get$current(t2));
  85155. return B.JSArray_methods.join$1(t1, ", ");
  85156. },
  85157. $isAstNode0: 1,
  85158. $isStatement0: 1,
  85159. get$span(receiver) {
  85160. return this.span;
  85161. }
  85162. };
  85163. A.ForwardedModuleView0.prototype = {
  85164. get$url(_) {
  85165. var t1 = this._forwarded_view0$_inner;
  85166. return t1.get$url(t1);
  85167. },
  85168. get$upstream() {
  85169. return this._forwarded_view0$_inner.get$upstream();
  85170. },
  85171. get$extensionStore() {
  85172. return this._forwarded_view0$_inner.get$extensionStore();
  85173. },
  85174. get$css(_) {
  85175. var t1 = this._forwarded_view0$_inner;
  85176. return t1.get$css(t1);
  85177. },
  85178. get$transitivelyContainsCss() {
  85179. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  85180. },
  85181. get$transitivelyContainsExtensions() {
  85182. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  85183. },
  85184. setVariable$3($name, value, nodeWithSpan) {
  85185. var prefix,
  85186. _s19_ = "Undefined variable.",
  85187. t1 = this._forwarded_view0$_rule,
  85188. shownVariables = t1.shownVariables,
  85189. hiddenVariables = t1.hiddenVariables;
  85190. if (shownVariables != null && !shownVariables._base.contains$1(0, $name))
  85191. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  85192. else if (hiddenVariables != null && hiddenVariables._base.contains$1(0, $name))
  85193. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  85194. prefix = t1.prefix;
  85195. if (prefix != null) {
  85196. if (!B.JSString_methods.startsWith$1($name, prefix))
  85197. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  85198. $name = B.JSString_methods.substring$1($name, prefix.length);
  85199. }
  85200. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  85201. },
  85202. variableIdentity$1($name) {
  85203. var prefix = this._forwarded_view0$_rule.prefix;
  85204. if (prefix != null)
  85205. $name = B.JSString_methods.substring$1($name, prefix.length);
  85206. return this._forwarded_view0$_inner.variableIdentity$1($name);
  85207. },
  85208. $eq(_, other) {
  85209. if (other == null)
  85210. return false;
  85211. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  85212. },
  85213. get$hashCode(_) {
  85214. var t1 = this._forwarded_view0$_inner;
  85215. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  85216. },
  85217. cloneCss$0() {
  85218. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  85219. },
  85220. toString$0(_) {
  85221. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  85222. },
  85223. $isModule0: 1,
  85224. get$variables() {
  85225. return this.variables;
  85226. },
  85227. get$variableNodes() {
  85228. return this.variableNodes;
  85229. },
  85230. get$functions(receiver) {
  85231. return this.functions;
  85232. },
  85233. get$mixins() {
  85234. return this.mixins;
  85235. }
  85236. };
  85237. A.FunctionExpression0.prototype = {
  85238. accept$1$1(visitor) {
  85239. return visitor.visitFunctionExpression$1(this);
  85240. },
  85241. accept$1(visitor) {
  85242. return this.accept$1$1(visitor, type$.dynamic);
  85243. },
  85244. toString$0(_) {
  85245. var t1 = this.namespace;
  85246. t1 = t1 != null ? "" + (t1 + ".") : "";
  85247. t1 += this.originalName + this.$arguments.toString$0(0);
  85248. return t1.charCodeAt(0) == 0 ? t1 : t1;
  85249. },
  85250. $isExpression0: 1,
  85251. $isAstNode0: 1,
  85252. get$span(receiver) {
  85253. return this.span;
  85254. }
  85255. };
  85256. A.JSFunction0.prototype = {};
  85257. A.SupportsFunction0.prototype = {
  85258. toString$0(_) {
  85259. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  85260. },
  85261. $isAstNode0: 1,
  85262. get$span(receiver) {
  85263. return this.span;
  85264. }
  85265. };
  85266. A.functionClass_closure.prototype = {
  85267. call$0() {
  85268. var t1 = type$.JSClass,
  85269. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  85270. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  85271. return jsClass;
  85272. },
  85273. $signature: 24
  85274. };
  85275. A.functionClass__closure.prototype = {
  85276. call$3($self, signature, callback) {
  85277. var paren = B.JSString_methods.indexOf$1(signature, "(");
  85278. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  85279. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  85280. 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));
  85281. },
  85282. "call*": "call$3",
  85283. $requiredArgCount: 3,
  85284. $signature: 423
  85285. };
  85286. A.functionClass__closure0.prototype = {
  85287. call$1(_) {
  85288. return B.C__SassNull0;
  85289. },
  85290. $signature: 3
  85291. };
  85292. A.SassFunction0.prototype = {
  85293. accept$1$1(visitor) {
  85294. var t1, t2;
  85295. if (!visitor._serialize0$_inspect)
  85296. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  85297. t1 = visitor._serialize0$_buffer;
  85298. t1.write$1(0, "get-function(");
  85299. t2 = this.callable;
  85300. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  85301. t1.writeCharCode$1(41);
  85302. return null;
  85303. },
  85304. accept$1(visitor) {
  85305. return this.accept$1$1(visitor, type$.dynamic);
  85306. },
  85307. assertFunction$1($name) {
  85308. return this;
  85309. },
  85310. $eq(_, other) {
  85311. if (other == null)
  85312. return false;
  85313. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  85314. },
  85315. get$hashCode(_) {
  85316. var t1 = this.callable;
  85317. return t1.get$hashCode(t1);
  85318. }
  85319. };
  85320. A.FunctionRule0.prototype = {
  85321. accept$1$1(visitor) {
  85322. return visitor.visitFunctionRule$1(this);
  85323. },
  85324. accept$1(visitor) {
  85325. return this.accept$1$1(visitor, type$.dynamic);
  85326. },
  85327. toString$0(_) {
  85328. var t1 = this.children;
  85329. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  85330. }
  85331. };
  85332. A.unifyComplex_closure0.prototype = {
  85333. call$1(complex) {
  85334. return complex.lineBreak;
  85335. },
  85336. $signature: 16
  85337. };
  85338. A._weaveParents_closure3.prototype = {
  85339. call$2(group1, group2) {
  85340. var unified, t1;
  85341. if (B.C_ListEquality.equals$2(0, group1, group2))
  85342. return group1;
  85343. if (A._complexIsParentSuperselector0(group1, group2))
  85344. return group2;
  85345. if (A._complexIsParentSuperselector0(group2, group1))
  85346. return group1;
  85347. if (!A._mustUnify0(group1, group2))
  85348. return null;
  85349. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty13, group1, false), A.ComplexSelector$0(B.List_empty13, group2, false)], type$.JSArray_ComplexSelector_2));
  85350. if (unified == null)
  85351. return null;
  85352. t1 = J.getInterceptor$asx(unified);
  85353. if (t1.get$length(unified) > 1)
  85354. return null;
  85355. return t1.get$first(unified).components;
  85356. },
  85357. $signature: 424
  85358. };
  85359. A._weaveParents_closure4.prototype = {
  85360. call$1(sequence) {
  85361. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  85362. },
  85363. $signature: 425
  85364. };
  85365. A._weaveParents_closure5.prototype = {
  85366. call$1(sequence) {
  85367. return sequence.get$length(sequence) === 0;
  85368. },
  85369. $signature: 213
  85370. };
  85371. A._weaveParents_closure6.prototype = {
  85372. call$1(choice) {
  85373. return J.get$isNotEmpty$asx(choice);
  85374. },
  85375. $signature: 426
  85376. };
  85377. A._mustUnify_closure0.prototype = {
  85378. call$1(component) {
  85379. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  85380. },
  85381. $signature: 46
  85382. };
  85383. A._mustUnify__closure0.prototype = {
  85384. call$1(simple) {
  85385. var t1;
  85386. if (!(simple instanceof A.IDSelector0))
  85387. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  85388. else
  85389. t1 = true;
  85390. return t1 && this.uniqueSelectors.contains$1(0, simple);
  85391. },
  85392. $signature: 13
  85393. };
  85394. A.paths_closure0.prototype = {
  85395. call$2(paths, choice) {
  85396. var t1 = this.T;
  85397. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  85398. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  85399. },
  85400. $signature() {
  85401. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  85402. }
  85403. };
  85404. A.paths__closure0.prototype = {
  85405. call$1(option) {
  85406. var t1 = this.T;
  85407. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  85408. },
  85409. $signature() {
  85410. return this.T._eval$1("Iterable<List<0>>(0)");
  85411. }
  85412. };
  85413. A.paths___closure0.prototype = {
  85414. call$1(path) {
  85415. var t1 = A.List_List$of(path, true, this.T);
  85416. t1.push(this.option);
  85417. return t1;
  85418. },
  85419. $signature() {
  85420. return this.T._eval$1("List<0>(List<0>)");
  85421. }
  85422. };
  85423. A.listIsSuperselector_closure0.prototype = {
  85424. call$1(complex1) {
  85425. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  85426. },
  85427. $signature: 16
  85428. };
  85429. A.listIsSuperselector__closure0.prototype = {
  85430. call$1(complex2) {
  85431. return complex2.isSuperselector$1(this.complex1);
  85432. },
  85433. $signature: 16
  85434. };
  85435. A.complexIsSuperselector_closure1.prototype = {
  85436. call$1($parent) {
  85437. return $parent.combinators.length > 1;
  85438. },
  85439. $signature: 46
  85440. };
  85441. A.complexIsSuperselector_closure2.prototype = {
  85442. call$1(component) {
  85443. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  85444. },
  85445. $signature: 46
  85446. };
  85447. A._selectorPseudoIsSuperselector_closure6.prototype = {
  85448. call$1(selector2) {
  85449. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85450. },
  85451. $signature: 61
  85452. };
  85453. A._selectorPseudoIsSuperselector_closure7.prototype = {
  85454. call$1(complex1) {
  85455. var t1, t2, t3;
  85456. if (complex1.leadingCombinators.length === 0) {
  85457. t1 = complex1.components;
  85458. t2 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  85459. t3 = this.parents;
  85460. if (t3 != null)
  85461. B.JSArray_methods.addAll$1(t2, t3);
  85462. t2.push(new A.ComplexSelectorComponent0(this.compound2, A.List_List$unmodifiable(B.List_empty13, type$.Combinator_2)));
  85463. t1 = A.complexIsSuperselector0(t1, t2);
  85464. } else
  85465. t1 = false;
  85466. return t1;
  85467. },
  85468. $signature: 16
  85469. };
  85470. A._selectorPseudoIsSuperselector_closure8.prototype = {
  85471. call$1(selector2) {
  85472. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85473. },
  85474. $signature: 61
  85475. };
  85476. A._selectorPseudoIsSuperselector_closure9.prototype = {
  85477. call$1(selector2) {
  85478. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85479. },
  85480. $signature: 61
  85481. };
  85482. A._selectorPseudoIsSuperselector_closure10.prototype = {
  85483. call$1(complex) {
  85484. if (complex.accept$1(B._IsBogusVisitor_true0))
  85485. return false;
  85486. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  85487. },
  85488. $signature: 16
  85489. };
  85490. A._selectorPseudoIsSuperselector__closure0.prototype = {
  85491. call$1(simple2) {
  85492. var selector2, _this = this;
  85493. if (simple2 instanceof A.TypeSelector0)
  85494. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  85495. else if (simple2 instanceof A.IDSelector0)
  85496. return B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  85497. else if (simple2 instanceof A.PseudoSelector0 && simple2.name === _this.pseudo1.name) {
  85498. selector2 = simple2.selector;
  85499. if (selector2 == null)
  85500. return false;
  85501. return A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  85502. } else
  85503. return false;
  85504. },
  85505. $signature: 13
  85506. };
  85507. A._selectorPseudoIsSuperselector___closure1.prototype = {
  85508. call$1(simple1) {
  85509. var t1;
  85510. if (simple1 instanceof A.TypeSelector0) {
  85511. t1 = this.simple2.name.$eq(0, simple1.name);
  85512. t1 = !t1;
  85513. } else
  85514. t1 = false;
  85515. return t1;
  85516. },
  85517. $signature: 13
  85518. };
  85519. A._selectorPseudoIsSuperselector___closure2.prototype = {
  85520. call$1(simple1) {
  85521. var t1;
  85522. if (simple1 instanceof A.IDSelector0) {
  85523. t1 = simple1.name;
  85524. t1 = this.simple2.name !== t1;
  85525. } else
  85526. t1 = false;
  85527. return t1;
  85528. },
  85529. $signature: 13
  85530. };
  85531. A._selectorPseudoIsSuperselector_closure11.prototype = {
  85532. call$1(selector2) {
  85533. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  85534. return t1;
  85535. },
  85536. $signature: 61
  85537. };
  85538. A._selectorPseudoIsSuperselector_closure12.prototype = {
  85539. call$1(pseudo2) {
  85540. var t1, selector2;
  85541. if (!(pseudo2 instanceof A.PseudoSelector0))
  85542. return false;
  85543. t1 = this.pseudo1;
  85544. if (pseudo2.name !== t1.name)
  85545. return false;
  85546. if (pseudo2.argument != t1.argument)
  85547. return false;
  85548. selector2 = pseudo2.selector;
  85549. if (selector2 == null)
  85550. return false;
  85551. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  85552. },
  85553. $signature: 13
  85554. };
  85555. A._selectorPseudoArgs_closure1.prototype = {
  85556. call$1(pseudo) {
  85557. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  85558. },
  85559. $signature: 428
  85560. };
  85561. A._selectorPseudoArgs_closure2.prototype = {
  85562. call$1(pseudo) {
  85563. return pseudo.selector;
  85564. },
  85565. $signature: 429
  85566. };
  85567. A.globalFunctions_closure0.prototype = {
  85568. call$1($arguments) {
  85569. var t1 = J.getInterceptor$asx($arguments);
  85570. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  85571. },
  85572. $signature: 3
  85573. };
  85574. A.IDSelector0.prototype = {
  85575. get$specificity() {
  85576. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  85577. },
  85578. accept$1$1(visitor) {
  85579. return visitor.visitIDSelector$1(this);
  85580. },
  85581. accept$1(visitor) {
  85582. return this.accept$1$1(visitor, type$.dynamic);
  85583. },
  85584. addSuffix$1(suffix) {
  85585. return new A.IDSelector0(this.name + suffix);
  85586. },
  85587. unify$1(compound) {
  85588. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  85589. return null;
  85590. return this.super$SimpleSelector$unify0(compound);
  85591. },
  85592. $eq(_, other) {
  85593. if (other == null)
  85594. return false;
  85595. return other instanceof A.IDSelector0 && other.name === this.name;
  85596. },
  85597. get$hashCode(_) {
  85598. return B.JSString_methods.get$hashCode(this.name);
  85599. }
  85600. };
  85601. A.IDSelector_unify_closure0.prototype = {
  85602. call$1(simple) {
  85603. var t1;
  85604. if (simple instanceof A.IDSelector0) {
  85605. t1 = simple.name;
  85606. t1 = this.$this.name !== t1;
  85607. } else
  85608. t1 = false;
  85609. return t1;
  85610. },
  85611. $signature: 13
  85612. };
  85613. A.IfExpression0.prototype = {
  85614. accept$1$1(visitor) {
  85615. return visitor.visitIfExpression$1(this);
  85616. },
  85617. accept$1(visitor) {
  85618. return this.accept$1$1(visitor, type$.dynamic);
  85619. },
  85620. toString$0(_) {
  85621. return "if" + this.$arguments.toString$0(0);
  85622. },
  85623. $isExpression0: 1,
  85624. $isAstNode0: 1,
  85625. get$span(receiver) {
  85626. return this.span;
  85627. }
  85628. };
  85629. A.IfRule0.prototype = {
  85630. accept$1$1(visitor) {
  85631. return visitor.visitIfRule$1(this);
  85632. },
  85633. accept$1(visitor) {
  85634. return this.accept$1$1(visitor, type$.dynamic);
  85635. },
  85636. toString$0(_) {
  85637. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  85638. lastClause = this.lastClause;
  85639. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  85640. },
  85641. $isAstNode0: 1,
  85642. $isStatement0: 1,
  85643. get$span(receiver) {
  85644. return this.span;
  85645. }
  85646. };
  85647. A.IfRule_toString_closure0.prototype = {
  85648. call$2(index, clause) {
  85649. var t1 = index === 0 ? "if" : "else if";
  85650. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  85651. },
  85652. $signature: 430
  85653. };
  85654. A.IfRuleClause0.prototype = {};
  85655. A.IfRuleClause$__closure0.prototype = {
  85656. call$1(child) {
  85657. var t1;
  85658. if (!(child instanceof A.VariableDeclaration0))
  85659. if (!(child instanceof A.FunctionRule0))
  85660. if (!(child instanceof A.MixinRule0))
  85661. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  85662. else
  85663. t1 = true;
  85664. else
  85665. t1 = true;
  85666. else
  85667. t1 = true;
  85668. return t1;
  85669. },
  85670. $signature: 231
  85671. };
  85672. A.IfRuleClause$___closure0.prototype = {
  85673. call$1($import) {
  85674. return $import instanceof A.DynamicImport0;
  85675. },
  85676. $signature: 232
  85677. };
  85678. A.IfClause0.prototype = {
  85679. toString$0(_) {
  85680. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  85681. }
  85682. };
  85683. A.ElseClause0.prototype = {
  85684. toString$0(_) {
  85685. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  85686. }
  85687. };
  85688. A.ImmutableList.prototype = {};
  85689. A.ImmutableMap.prototype = {};
  85690. A.immutableMapToDartMap_closure.prototype = {
  85691. call$3(value, key, _) {
  85692. this.dartMap.$indexSet(0, key, value);
  85693. },
  85694. "call*": "call$3",
  85695. $requiredArgCount: 3,
  85696. $signature: 433
  85697. };
  85698. A.NodeImporter.prototype = {
  85699. loadRelative$3(url, previous, forImport) {
  85700. var t1, t2, _null = null;
  85701. if ($.$get$url().style.rootLength$1(url) > 0) {
  85702. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  85703. return _null;
  85704. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  85705. }
  85706. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  85707. return _null;
  85708. t1 = $.$get$context();
  85709. t2 = t1.style;
  85710. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  85711. },
  85712. load$3(_, url, previous, forImport) {
  85713. var t1, t2, t3, t4, t5, _i, importer, context, value, _this = this,
  85714. previousString = _this._previousToString$1(previous);
  85715. for (t1 = _this._implementation$_importers, t2 = t1.length, t3 = _this._implementation$_options, t4 = type$.RenderContextOptions, t5 = type$.JSArray_Object, _i = 0; _i < t2; ++_i) {
  85716. importer = t1[_i];
  85717. context = {options: t4._as(t3), fromImport: forImport};
  85718. J.set$context$x(J.get$options$x(context), context);
  85719. value = J.apply$2$x(importer, context, A._setArrayType([url, previousString], t5));
  85720. if (value != null)
  85721. return _this._handleImportResult$4(url, previous, value, forImport);
  85722. }
  85723. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  85724. },
  85725. loadAsync$3(url, previous, forImport) {
  85726. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  85727. },
  85728. loadAsync$body$NodeImporter(url, previous, forImport) {
  85729. var $async$goto = 0,
  85730. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Tuple2_String_String),
  85731. $async$returnValue, $async$self = this, t1, t2, _i, value, previousString;
  85732. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85733. if ($async$errorCode === 1)
  85734. return A._asyncRethrow($async$result, $async$completer);
  85735. while (true)
  85736. switch ($async$goto) {
  85737. case 0:
  85738. // Function start
  85739. previousString = $async$self._previousToString$1(previous);
  85740. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  85741. case 3:
  85742. // for condition
  85743. if (!(_i < t2)) {
  85744. // goto after for
  85745. $async$goto = 5;
  85746. break;
  85747. }
  85748. $async$goto = 6;
  85749. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  85750. case 6:
  85751. // returning from await.
  85752. value = $async$result;
  85753. if (value != null) {
  85754. $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
  85755. // goto return
  85756. $async$goto = 1;
  85757. break;
  85758. }
  85759. case 4:
  85760. // for update
  85761. ++_i;
  85762. // goto for condition
  85763. $async$goto = 3;
  85764. break;
  85765. case 5:
  85766. // after for
  85767. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  85768. // goto return
  85769. $async$goto = 1;
  85770. break;
  85771. case 1:
  85772. // return
  85773. return A._asyncReturn($async$returnValue, $async$completer);
  85774. }
  85775. });
  85776. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  85777. },
  85778. _previousToString$1(previous) {
  85779. if (previous == null)
  85780. return "stdin";
  85781. if (previous.get$scheme() === "file")
  85782. return $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  85783. return previous.toString$0(0);
  85784. },
  85785. _resolveLoadPathFromUrl$2(url, forImport) {
  85786. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  85787. },
  85788. _resolveLoadPath$2(path, forImport) {
  85789. var t2, t3, t4, t5, _i, parts, result, _null = null,
  85790. t1 = $.$get$context(),
  85791. cwdResult = this._tryPath$2(t1.absolute$7(path, _null, _null, _null, _null, _null, _null), forImport);
  85792. if (cwdResult != null)
  85793. return cwdResult;
  85794. for (t2 = this._includePaths, t3 = t2.length, t4 = type$.JSArray_nullable_String, t5 = type$.WhereTypeIterable_String, _i = 0; _i < t3; ++_i) {
  85795. parts = A._setArrayType([t2[_i], path, null, null, null, null, null, null], t4);
  85796. A._validateArgList("join", parts);
  85797. result = this._tryPath$2(t1.absolute$7(t1.joinAll$1(new A.WhereTypeIterable(parts, t5)), _null, _null, _null, _null, _null, _null), forImport);
  85798. if (result != null)
  85799. return result;
  85800. }
  85801. return _null;
  85802. },
  85803. _tryPath$2(path, forImport) {
  85804. var t1;
  85805. if (forImport) {
  85806. t1 = type$.nullable_Object;
  85807. t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
  85808. } else
  85809. t1 = A.resolveImportPath0(path);
  85810. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  85811. },
  85812. _handleImportResult$4(url, previous, value, forImport) {
  85813. var t1, file, contents, t2, resolved;
  85814. if (value instanceof self.Error)
  85815. throw A.wrapException(value);
  85816. if (!type$.NodeImporterResult_2._is(value))
  85817. return null;
  85818. t1 = J.getInterceptor$x(value);
  85819. file = t1.get$file(value);
  85820. contents = t1.get$contents(value);
  85821. t1 = contents == null;
  85822. t2 = !t1;
  85823. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85824. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85825. if (file == null) {
  85826. t1 = t1 ? "" : contents;
  85827. return new A.Tuple2(t1, url, type$.Tuple2_String_String);
  85828. } else if (t2)
  85829. return new A.Tuple2(contents, $.$get$context().toUri$1(file).toString$0(0), type$.Tuple2_String_String);
  85830. else {
  85831. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  85832. if (resolved == null)
  85833. resolved = this._resolveLoadPath$2(file, forImport);
  85834. if (resolved != null)
  85835. return resolved;
  85836. throw A.wrapException("Can't find stylesheet to import.");
  85837. }
  85838. },
  85839. _callImporterAsync$4(importer, url, previousString, forImport) {
  85840. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  85841. },
  85842. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  85843. var $async$goto = 0,
  85844. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  85845. $async$returnValue, $async$self = this, t1, result;
  85846. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85847. if ($async$errorCode === 1)
  85848. return A._asyncRethrow($async$result, $async$completer);
  85849. while (true)
  85850. switch ($async$goto) {
  85851. case 0:
  85852. // Function start
  85853. t1 = new A._Future($.Zone__current, type$._Future_Object);
  85854. 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));
  85855. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  85856. break;
  85857. case 3:
  85858. // then
  85859. $async$goto = 5;
  85860. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  85861. case 5:
  85862. // returning from await.
  85863. $async$returnValue = $async$result;
  85864. // goto return
  85865. $async$goto = 1;
  85866. break;
  85867. case 4:
  85868. // join
  85869. $async$returnValue = result;
  85870. // goto return
  85871. $async$goto = 1;
  85872. break;
  85873. case 1:
  85874. // return
  85875. return A._asyncReturn($async$returnValue, $async$completer);
  85876. }
  85877. });
  85878. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  85879. },
  85880. _renderContext$1(fromImport) {
  85881. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  85882. J.set$context$x(J.get$options$x(context), context);
  85883. return context;
  85884. }
  85885. };
  85886. A.NodeImporter__tryPath_closure.prototype = {
  85887. call$0() {
  85888. return A.resolveImportPath0(this.path);
  85889. },
  85890. $signature: 43
  85891. };
  85892. A.NodeImporter__tryPath_closure0.prototype = {
  85893. call$1(resolved) {
  85894. return new A.Tuple2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0), type$.Tuple2_String_String);
  85895. },
  85896. $signature: 434
  85897. };
  85898. A.ModifiableCssImport0.prototype = {
  85899. accept$1$1(visitor) {
  85900. return visitor.visitCssImport$1(this);
  85901. },
  85902. accept$1(visitor) {
  85903. return this.accept$1$1(visitor, type$.dynamic);
  85904. },
  85905. $isCssImport0: 1,
  85906. get$span(receiver) {
  85907. return this.span;
  85908. }
  85909. };
  85910. A.ImportCache0.prototype = {
  85911. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  85912. var relativeResult, _this = this;
  85913. if (baseImporter != null) {
  85914. 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));
  85915. if (relativeResult != null)
  85916. return relativeResult;
  85917. }
  85918. return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A.Tuple2(url, forImport, type$.Tuple2_Uri_bool), new A.ImportCache_canonicalize_closure2(_this, url, forImport));
  85919. },
  85920. _import_cache$_canonicalize$3(importer, url, forImport) {
  85921. var t1, result;
  85922. if (forImport) {
  85923. t1 = type$.nullable_Object;
  85924. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  85925. } else
  85926. result = importer.canonicalize$1(0, url);
  85927. if ((result == null ? null : result.get$scheme()) === "")
  85928. this._import_cache$_logger.warn$2$deprecation(0, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + A.S(result) + string$.x2e_Rela, true);
  85929. return result;
  85930. },
  85931. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  85932. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  85933. },
  85934. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  85935. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  85936. },
  85937. humanize$1(canonicalUrl) {
  85938. var t2, url,
  85939. t1 = this._import_cache$_canonicalizeCache;
  85940. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Tuple3_Importer_Uri_Uri_2);
  85941. t2 = t1.$ti;
  85942. 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());
  85943. if (url == null)
  85944. return canonicalUrl;
  85945. t1 = $.$get$url();
  85946. return url.resolve$1(A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t1.style).get$basename());
  85947. },
  85948. sourceMapUrl$1(_, canonicalUrl) {
  85949. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  85950. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  85951. return t1 == null ? canonicalUrl : t1;
  85952. }
  85953. };
  85954. A.ImportCache_canonicalize_closure1.prototype = {
  85955. call$0() {
  85956. var canonicalUrl, _this = this,
  85957. t1 = _this.baseUrl,
  85958. resolvedUrl = t1 == null ? null : t1.resolveUri$1(_this.url);
  85959. if (resolvedUrl == null)
  85960. resolvedUrl = _this.url;
  85961. t1 = _this.baseImporter;
  85962. canonicalUrl = _this.$this._import_cache$_canonicalize$3(t1, resolvedUrl, _this.forImport);
  85963. if (canonicalUrl == null)
  85964. return null;
  85965. return new A.Tuple3(t1, canonicalUrl, resolvedUrl, type$.Tuple3_Importer_Uri_Uri_2);
  85966. },
  85967. $signature: 233
  85968. };
  85969. A.ImportCache_canonicalize_closure2.prototype = {
  85970. call$0() {
  85971. var t1, t2, t3, t4, t5, _i, importer, canonicalUrl;
  85972. 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) {
  85973. importer = t2[_i];
  85974. canonicalUrl = t1._import_cache$_canonicalize$3(importer, t4, t5);
  85975. if (canonicalUrl != null)
  85976. return new A.Tuple3(importer, canonicalUrl, t4, type$.Tuple3_Importer_Uri_Uri_2);
  85977. }
  85978. return null;
  85979. },
  85980. $signature: 233
  85981. };
  85982. A.ImportCache__canonicalize_closure0.prototype = {
  85983. call$0() {
  85984. return this.importer.canonicalize$1(0, this.url);
  85985. },
  85986. $signature: 145
  85987. };
  85988. A.ImportCache_importCanonical_closure0.prototype = {
  85989. call$0() {
  85990. var t2, t3, t4, _this = this,
  85991. t1 = _this.canonicalUrl,
  85992. result = _this.importer.load$1(0, t1);
  85993. if (result == null)
  85994. return null;
  85995. t2 = _this.$this;
  85996. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  85997. t3 = result.contents;
  85998. t4 = result.syntax;
  85999. t1 = _this.originalUrl.resolveUri$1(t1);
  86000. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  86001. },
  86002. $signature: 436
  86003. };
  86004. A.ImportCache_humanize_closure2.prototype = {
  86005. call$1(tuple) {
  86006. return tuple.item2.$eq(0, this.canonicalUrl);
  86007. },
  86008. $signature: 437
  86009. };
  86010. A.ImportCache_humanize_closure3.prototype = {
  86011. call$1(tuple) {
  86012. return tuple.item3;
  86013. },
  86014. $signature: 438
  86015. };
  86016. A.ImportCache_humanize_closure4.prototype = {
  86017. call$1(url) {
  86018. return url.get$path(url).length;
  86019. },
  86020. $signature: 96
  86021. };
  86022. A.ImportRule0.prototype = {
  86023. accept$1$1(visitor) {
  86024. return visitor.visitImportRule$1(this);
  86025. },
  86026. accept$1(visitor) {
  86027. return this.accept$1$1(visitor, type$.dynamic);
  86028. },
  86029. toString$0(_) {
  86030. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  86031. },
  86032. $isAstNode0: 1,
  86033. $isStatement0: 1,
  86034. get$span(receiver) {
  86035. return this.span;
  86036. }
  86037. };
  86038. A.NodeImporter0.prototype = {};
  86039. A.CanonicalizeOptions.prototype = {};
  86040. A.NodeImporterResult0.prototype = {};
  86041. A.Importer0.prototype = {};
  86042. A.NodeImporterResult1.prototype = {};
  86043. A.IncludeRule0.prototype = {
  86044. get$spanWithoutContent() {
  86045. var t2, t3,
  86046. t1 = this.span;
  86047. if (!(this.content == null)) {
  86048. t2 = t1.file;
  86049. t3 = this.$arguments.span;
  86050. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  86051. t1 = t3;
  86052. }
  86053. return t1;
  86054. },
  86055. accept$1$1(visitor) {
  86056. return visitor.visitIncludeRule$1(this);
  86057. },
  86058. accept$1(visitor) {
  86059. return this.accept$1$1(visitor, type$.dynamic);
  86060. },
  86061. toString$0(_) {
  86062. var t2, _this = this,
  86063. t1 = _this.namespace;
  86064. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  86065. t1 += _this.name;
  86066. t2 = _this.$arguments;
  86067. if (!t2.get$isEmpty(t2))
  86068. t1 += "(" + t2.toString$0(0) + ")";
  86069. t2 = _this.content;
  86070. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  86071. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86072. },
  86073. $isAstNode0: 1,
  86074. $isStatement0: 1,
  86075. get$span(receiver) {
  86076. return this.span;
  86077. }
  86078. };
  86079. A.InterpolatedFunctionExpression0.prototype = {
  86080. accept$1$1(visitor) {
  86081. return visitor.visitInterpolatedFunctionExpression$1(this);
  86082. },
  86083. accept$1(visitor) {
  86084. return this.accept$1$1(visitor, type$.dynamic);
  86085. },
  86086. toString$0(_) {
  86087. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  86088. },
  86089. $isExpression0: 1,
  86090. $isAstNode0: 1,
  86091. get$span(receiver) {
  86092. return this.span;
  86093. }
  86094. };
  86095. A.Interpolation0.prototype = {
  86096. get$asPlain() {
  86097. var first,
  86098. t1 = this.contents,
  86099. t2 = t1.length;
  86100. if (t2 === 0)
  86101. return "";
  86102. if (t2 > 1)
  86103. return null;
  86104. first = B.JSArray_methods.get$first(t1);
  86105. return typeof first == "string" ? first : null;
  86106. },
  86107. get$initialPlain() {
  86108. var first = B.JSArray_methods.get$first(this.contents);
  86109. return typeof first == "string" ? first : "";
  86110. },
  86111. Interpolation$20(contents, span) {
  86112. var t1, t2, t3, i, t4, t5,
  86113. _s8_ = "contents";
  86114. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  86115. t4 = t1[i];
  86116. t5 = typeof t4 == "string";
  86117. if (!t5 && !t3._is(t4))
  86118. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  86119. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  86120. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  86121. }
  86122. },
  86123. toString$0(_) {
  86124. var t1 = this.contents;
  86125. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  86126. },
  86127. $isAstNode0: 1,
  86128. get$span(receiver) {
  86129. return this.span;
  86130. }
  86131. };
  86132. A.Interpolation_toString_closure0.prototype = {
  86133. call$1(value) {
  86134. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  86135. },
  86136. $signature: 44
  86137. };
  86138. A.SupportsInterpolation0.prototype = {
  86139. toString$0(_) {
  86140. return "#{" + this.expression.toString$0(0) + "}";
  86141. },
  86142. $isAstNode0: 1,
  86143. get$span(receiver) {
  86144. return this.span;
  86145. }
  86146. };
  86147. A.InterpolationBuffer0.prototype = {
  86148. writeCharCode$1(character) {
  86149. this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
  86150. return null;
  86151. },
  86152. add$1(_, expression) {
  86153. this._interpolation_buffer0$_flushText$0();
  86154. this._interpolation_buffer0$_contents.push(expression);
  86155. },
  86156. addInterpolation$1(interpolation) {
  86157. var first, t1, _this = this,
  86158. toAdd = interpolation.contents;
  86159. if (toAdd.length === 0)
  86160. return;
  86161. first = B.JSArray_methods.get$first(toAdd);
  86162. if (typeof first == "string") {
  86163. _this._interpolation_buffer0$_text._contents += first;
  86164. toAdd = A.SubListIterable$(toAdd, 1, null, A._arrayInstanceType(toAdd)._precomputed1);
  86165. }
  86166. _this._interpolation_buffer0$_flushText$0();
  86167. t1 = _this._interpolation_buffer0$_contents;
  86168. B.JSArray_methods.addAll$1(t1, toAdd);
  86169. if (typeof B.JSArray_methods.get$last(t1) == "string")
  86170. _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
  86171. },
  86172. _interpolation_buffer0$_flushText$0() {
  86173. var t1 = this._interpolation_buffer0$_text,
  86174. t2 = t1._contents;
  86175. if (t2.length === 0)
  86176. return;
  86177. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  86178. t1._contents = "";
  86179. },
  86180. interpolation$1(span) {
  86181. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  86182. t2 = this._interpolation_buffer0$_text._contents;
  86183. if (t2.length !== 0)
  86184. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  86185. return A.Interpolation$0(t1, span);
  86186. },
  86187. toString$0(_) {
  86188. var t1, t2, _i, t3, element;
  86189. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86190. element = t1[_i];
  86191. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  86192. }
  86193. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  86194. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86195. }
  86196. };
  86197. A._realCasePath_helper0.prototype = {
  86198. call$1(path) {
  86199. var dirname = $.$get$context().dirname$1(path);
  86200. if (dirname === path)
  86201. return path;
  86202. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  86203. },
  86204. $signature: 5
  86205. };
  86206. A._realCasePath_helper_closure0.prototype = {
  86207. call$0() {
  86208. var matches, t2, exception,
  86209. realDirname = this.helper.call$1(this.dirname),
  86210. t1 = this.path,
  86211. basename = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename();
  86212. try {
  86213. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  86214. t2 = J.get$length$asx(matches) !== 1 ? A.join(realDirname, basename, null) : J.$index$asx(matches, 0);
  86215. return t2;
  86216. } catch (exception) {
  86217. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  86218. return t1;
  86219. else
  86220. throw exception;
  86221. }
  86222. },
  86223. $signature: 32
  86224. };
  86225. A._realCasePath_helper__closure0.prototype = {
  86226. call$1(realPath) {
  86227. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  86228. },
  86229. $signature: 8
  86230. };
  86231. A.ModifiableCssKeyframeBlock0.prototype = {
  86232. accept$1$1(visitor) {
  86233. return visitor.visitCssKeyframeBlock$1(this);
  86234. },
  86235. accept$1(visitor) {
  86236. return this.accept$1$1(visitor, type$.dynamic);
  86237. },
  86238. copyWithoutChildren$0() {
  86239. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  86240. },
  86241. get$span(receiver) {
  86242. return this.span;
  86243. }
  86244. };
  86245. A.KeyframeSelectorParser0.prototype = {
  86246. parse$0() {
  86247. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  86248. },
  86249. _keyframe_selector$_percentage$0() {
  86250. var t3, next,
  86251. t1 = this.scanner,
  86252. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  86253. second = t1.peekChar$0();
  86254. if (!A.isDigit0(second) && second !== 46)
  86255. t1.error$1(0, "Expected number.");
  86256. while (true) {
  86257. t3 = t1.peekChar$0();
  86258. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  86259. break;
  86260. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86261. }
  86262. if (t1.peekChar$0() === 46) {
  86263. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86264. while (true) {
  86265. t3 = t1.peekChar$0();
  86266. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  86267. break;
  86268. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86269. }
  86270. }
  86271. if (this.scanIdentChar$1(101)) {
  86272. t2 += A.Primitives_stringFromCharCode(101);
  86273. next = t1.peekChar$0();
  86274. if (next === 43 || next === 45)
  86275. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86276. if (!A.isDigit0(t1.peekChar$0()))
  86277. t1.error$1(0, "Expected digit.");
  86278. while (true) {
  86279. t3 = t1.peekChar$0();
  86280. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  86281. break;
  86282. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  86283. }
  86284. }
  86285. t1.expectChar$1(37);
  86286. t2 += A.Primitives_stringFromCharCode(37);
  86287. return t2.charCodeAt(0) == 0 ? t2 : t2;
  86288. }
  86289. };
  86290. A.KeyframeSelectorParser_parse_closure0.prototype = {
  86291. call$0() {
  86292. var selectors = A._setArrayType([], type$.JSArray_String),
  86293. t1 = this.$this,
  86294. t2 = t1.scanner;
  86295. do {
  86296. t1.whitespace$0();
  86297. if (t1.lookingAtIdentifier$0())
  86298. if (t1.scanIdentifier$1("from"))
  86299. selectors.push("from");
  86300. else {
  86301. t1.expectIdentifier$2$name("to", '"to" or "from"');
  86302. selectors.push("to");
  86303. }
  86304. else
  86305. selectors.push(t1._keyframe_selector$_percentage$0());
  86306. t1.whitespace$0();
  86307. } while (t2.scanChar$1(44));
  86308. t2.expectDone$0();
  86309. return selectors;
  86310. },
  86311. $signature: 48
  86312. };
  86313. A.render_closure.prototype = {
  86314. call$0() {
  86315. var error, exception;
  86316. try {
  86317. this.callback.call$2(null, A.renderSync(this.options));
  86318. } catch (exception) {
  86319. error = A.unwrapException(exception);
  86320. this.callback.call$2(error, null);
  86321. }
  86322. return null;
  86323. },
  86324. $signature: 1
  86325. };
  86326. A.render_closure0.prototype = {
  86327. call$1(result) {
  86328. this.callback.call$2(null, result);
  86329. },
  86330. $signature: 588
  86331. };
  86332. A.render_closure1.prototype = {
  86333. call$2(error, stackTrace) {
  86334. var t2, t3, _null = null,
  86335. t1 = this.callback;
  86336. if (error instanceof A.SassException0)
  86337. t1.call$2(A._wrapException(error, stackTrace), _null);
  86338. else {
  86339. t2 = J.toString$0$(error);
  86340. t3 = A.getTrace0(error);
  86341. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  86342. }
  86343. },
  86344. $signature: 66
  86345. };
  86346. A._parseFunctions_closure.prototype = {
  86347. call$2(signature, callback) {
  86348. var error, stackTrace, exception, t1, t2, context, fiber, _this = this, tuple = null;
  86349. try {
  86350. tuple = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(false);
  86351. } catch (exception) {
  86352. t1 = A.unwrapException(exception);
  86353. if (t1 instanceof A.SassFormatException0) {
  86354. error = t1;
  86355. stackTrace = A.getTraceFromException(exception);
  86356. t1 = error;
  86357. t2 = J.getInterceptor$z(t1);
  86358. A.throwWithTrace0(new A.SassFormatException0('Invalid signature "' + signature + '": ' + error._span_exception$_message, A.SourceSpanException.prototype.get$span.call(t2, t1)), stackTrace);
  86359. } else
  86360. throw exception;
  86361. }
  86362. t1 = _this.options;
  86363. context = {options: A._contextOptions(t1, _this.start)};
  86364. J.set$context$x(J.get$options$x(context), context);
  86365. fiber = J.get$fiber$x(t1);
  86366. if (fiber != null)
  86367. _this.result.push(new A.BuiltInCallable0(tuple.item1, A._setArrayType([new A.Tuple2(tuple.item2, new A._parseFunctions__closure(fiber, callback, context), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)));
  86368. else {
  86369. t1 = _this.result;
  86370. if (!_this.asynch)
  86371. t1.push(new A.BuiltInCallable0(tuple.item1, A._setArrayType([new A.Tuple2(tuple.item2, new A._parseFunctions__closure0(callback, context), type$.Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)], type$.JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value)));
  86372. else
  86373. t1.push(new A.AsyncBuiltInCallable0(tuple.item1, tuple.item2, new A._parseFunctions__closure1(callback, context)));
  86374. }
  86375. },
  86376. $signature: 126
  86377. };
  86378. A._parseFunctions__closure.prototype = {
  86379. call$1($arguments) {
  86380. var result,
  86381. t1 = this.fiber,
  86382. currentFiber = J.get$current$x(t1),
  86383. t2 = type$.Object;
  86384. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  86385. t2.push(A.allowInterop(new A._parseFunctions___closure0(currentFiber)));
  86386. result = J.apply$2$x(type$.JSFunction._as(this.callback), this.context, t2);
  86387. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure1(t1), null, type$.nullable_Object) : result);
  86388. },
  86389. $signature: 3
  86390. };
  86391. A._parseFunctions___closure0.prototype = {
  86392. call$1(result) {
  86393. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  86394. },
  86395. call$0() {
  86396. return this.call$1(null);
  86397. },
  86398. "call*": "call$1",
  86399. $requiredArgCount: 0,
  86400. $defaultValues() {
  86401. return [null];
  86402. },
  86403. $signature: 90
  86404. };
  86405. A._parseFunctions____closure.prototype = {
  86406. call$0() {
  86407. return J.run$1$x(this.currentFiber, this.result);
  86408. },
  86409. $signature: 0
  86410. };
  86411. A._parseFunctions___closure1.prototype = {
  86412. call$0() {
  86413. return J.yield$0$x(this.fiber);
  86414. },
  86415. $signature: 85
  86416. };
  86417. A._parseFunctions__closure0.prototype = {
  86418. call$1($arguments) {
  86419. 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)));
  86420. },
  86421. $signature: 3
  86422. };
  86423. A._parseFunctions__closure1.prototype = {
  86424. call$1($arguments) {
  86425. return this.$call$body$_parseFunctions__closure($arguments);
  86426. },
  86427. $call$body$_parseFunctions__closure($arguments) {
  86428. var $async$goto = 0,
  86429. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86430. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  86431. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86432. if ($async$errorCode === 1)
  86433. return A._asyncRethrow($async$result, $async$completer);
  86434. while (true)
  86435. switch ($async$goto) {
  86436. case 0:
  86437. // Function start
  86438. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  86439. t2 = type$.Object;
  86440. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  86441. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  86442. result = J.apply$2$x(type$.JSFunction._as($async$self.callback), $async$self.context, t2);
  86443. $async$temp1 = A;
  86444. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  86445. break;
  86446. case 3:
  86447. // then
  86448. $async$goto = 6;
  86449. return A._asyncAwait(t1, $async$call$1);
  86450. case 6:
  86451. // returning from await.
  86452. // goto join
  86453. $async$goto = 4;
  86454. break;
  86455. case 5:
  86456. // else
  86457. $async$result = result;
  86458. case 4:
  86459. // join
  86460. $async$returnValue = $async$temp1.unwrapValue($async$result);
  86461. // goto return
  86462. $async$goto = 1;
  86463. break;
  86464. case 1:
  86465. // return
  86466. return A._asyncReturn($async$returnValue, $async$completer);
  86467. }
  86468. });
  86469. return A._asyncStartSync($async$call$1, $async$completer);
  86470. },
  86471. $signature: 92
  86472. };
  86473. A._parseFunctions___closure.prototype = {
  86474. call$1(result) {
  86475. return this.completer.complete$1(result);
  86476. },
  86477. call$0() {
  86478. return this.call$1(null);
  86479. },
  86480. "call*": "call$1",
  86481. $requiredArgCount: 0,
  86482. $defaultValues() {
  86483. return [null];
  86484. },
  86485. $signature: 216
  86486. };
  86487. A._parseImporter_closure.prototype = {
  86488. call$1(importer) {
  86489. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this.fiber, importer)));
  86490. },
  86491. $signature: 440
  86492. };
  86493. A._parseImporter__closure.prototype = {
  86494. call$4(thisArg, url, previous, _) {
  86495. var t1 = this.fiber,
  86496. 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));
  86497. if (A._asBool($.$get$_isUndefined().call$1(result)))
  86498. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  86499. return result;
  86500. },
  86501. call$3(thisArg, url, previous) {
  86502. return this.call$4(thisArg, url, previous, null);
  86503. },
  86504. "call*": "call$4",
  86505. $requiredArgCount: 3,
  86506. $defaultValues() {
  86507. return [null];
  86508. },
  86509. $signature: 441
  86510. };
  86511. A._parseImporter___closure.prototype = {
  86512. call$1(result) {
  86513. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  86514. },
  86515. $signature: 442
  86516. };
  86517. A._parseImporter____closure.prototype = {
  86518. call$0() {
  86519. return J.run$1$x(this.currentFiber, this.result);
  86520. },
  86521. $signature: 0
  86522. };
  86523. A._parseImporter___closure0.prototype = {
  86524. call$0() {
  86525. return J.yield$0$x(this.fiber);
  86526. },
  86527. $signature: 85
  86528. };
  86529. A.LimitedMapView0.prototype = {
  86530. get$keys(_) {
  86531. return this._limited_map_view0$_keys;
  86532. },
  86533. get$length(_) {
  86534. return this._limited_map_view0$_keys._collection$_length;
  86535. },
  86536. get$isEmpty(_) {
  86537. return this._limited_map_view0$_keys._collection$_length === 0;
  86538. },
  86539. get$isNotEmpty(_) {
  86540. return this._limited_map_view0$_keys._collection$_length !== 0;
  86541. },
  86542. $index(_, key) {
  86543. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  86544. },
  86545. containsKey$1(key) {
  86546. return this._limited_map_view0$_keys.contains$1(0, key);
  86547. },
  86548. remove$1(_, key) {
  86549. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  86550. }
  86551. };
  86552. A.ListExpression0.prototype = {
  86553. accept$1$1(visitor) {
  86554. return visitor.visitListExpression$1(this);
  86555. },
  86556. accept$1(visitor) {
  86557. return this.accept$1$1(visitor, type$.dynamic);
  86558. },
  86559. toString$0(_) {
  86560. var _this = this,
  86561. t1 = _this.hasBrackets,
  86562. t2 = t1 ? "" + A.Primitives_stringFromCharCode(91) : "",
  86563. t3 = _this.contents,
  86564. t4 = _this.separator === B.ListSeparator_rXA0 ? ", " : " ";
  86565. t4 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t4);
  86566. t1 = t1 ? t4 + A.Primitives_stringFromCharCode(93) : t4;
  86567. return t1.charCodeAt(0) == 0 ? t1 : t1;
  86568. },
  86569. _list3$_elementNeedsParens$1(expression) {
  86570. var t1;
  86571. if (expression instanceof A.ListExpression0) {
  86572. if (expression.contents.length < 2)
  86573. return false;
  86574. if (expression.hasBrackets)
  86575. return false;
  86576. t1 = expression.separator;
  86577. return this.separator === B.ListSeparator_rXA0 ? t1 === B.ListSeparator_rXA0 : t1 !== B.ListSeparator_undecided_null_undecided0;
  86578. }
  86579. if (this.separator !== B.ListSeparator_EVt0)
  86580. return false;
  86581. if (expression instanceof A.UnaryOperationExpression0) {
  86582. t1 = expression.operator;
  86583. return t1 === B.UnaryOperator_gg40 || t1 === B.UnaryOperator_TLI0;
  86584. }
  86585. return false;
  86586. },
  86587. $isExpression0: 1,
  86588. $isAstNode0: 1,
  86589. get$span(receiver) {
  86590. return this.span;
  86591. }
  86592. };
  86593. A.ListExpression_toString_closure0.prototype = {
  86594. call$1(element) {
  86595. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  86596. },
  86597. $signature: 111
  86598. };
  86599. A._length_closure2.prototype = {
  86600. call$1($arguments) {
  86601. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  86602. },
  86603. $signature: 10
  86604. };
  86605. A._nth_closure0.prototype = {
  86606. call$1($arguments) {
  86607. var t1 = J.getInterceptor$asx($arguments),
  86608. list = t1.$index($arguments, 0),
  86609. index = t1.$index($arguments, 1);
  86610. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  86611. },
  86612. $signature: 3
  86613. };
  86614. A._setNth_closure0.prototype = {
  86615. call$1($arguments) {
  86616. var t1 = J.getInterceptor$asx($arguments),
  86617. list = t1.$index($arguments, 0),
  86618. index = t1.$index($arguments, 1),
  86619. value = t1.$index($arguments, 2),
  86620. t2 = list.get$asList(),
  86621. newList = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  86622. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  86623. return t1.$index($arguments, 0).withListContents$1(newList);
  86624. },
  86625. $signature: 21
  86626. };
  86627. A._join_closure0.prototype = {
  86628. call$1($arguments) {
  86629. var separator, bracketed,
  86630. t1 = J.getInterceptor$asx($arguments),
  86631. list1 = t1.$index($arguments, 0),
  86632. list2 = t1.$index($arguments, 1),
  86633. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  86634. bracketedParam = t1.$index($arguments, 3);
  86635. t1 = separatorParam._string0$_text;
  86636. if (t1 === "auto")
  86637. if (list1.get$separator(list1) !== B.ListSeparator_undecided_null_undecided0)
  86638. separator = list1.get$separator(list1);
  86639. else
  86640. separator = list2.get$separator(list2) !== B.ListSeparator_undecided_null_undecided0 ? list2.get$separator(list2) : B.ListSeparator_EVt0;
  86641. else if (t1 === "space")
  86642. separator = B.ListSeparator_EVt0;
  86643. else if (t1 === "comma")
  86644. separator = B.ListSeparator_rXA0;
  86645. else {
  86646. if (t1 !== "slash")
  86647. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  86648. separator = B.ListSeparator_zg90;
  86649. }
  86650. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  86651. t1 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  86652. B.JSArray_methods.addAll$1(t1, list2.get$asList());
  86653. return A.SassList$0(t1, separator, bracketed);
  86654. },
  86655. $signature: 21
  86656. };
  86657. A._append_closure2.prototype = {
  86658. call$1($arguments) {
  86659. var separator,
  86660. t1 = J.getInterceptor$asx($arguments),
  86661. list = t1.$index($arguments, 0),
  86662. value = t1.$index($arguments, 1);
  86663. t1 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  86664. if (t1 === "auto")
  86665. separator = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_EVt0 : list.get$separator(list);
  86666. else if (t1 === "space")
  86667. separator = B.ListSeparator_EVt0;
  86668. else if (t1 === "comma")
  86669. separator = B.ListSeparator_rXA0;
  86670. else {
  86671. if (t1 !== "slash")
  86672. throw A.wrapException(A.SassScriptException$0(string$.x24separ, null));
  86673. separator = B.ListSeparator_zg90;
  86674. }
  86675. t1 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  86676. t1.push(value);
  86677. return list.withListContents$2$separator(t1, separator);
  86678. },
  86679. $signature: 21
  86680. };
  86681. A._zip_closure0.prototype = {
  86682. call$1($arguments) {
  86683. var results, result, _box_0 = {},
  86684. t1 = J.$index$asx($arguments, 0).get$asList(),
  86685. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  86686. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  86687. if (lists.length === 0)
  86688. return B.SassList_Sof0;
  86689. _box_0.i = 0;
  86690. results = A._setArrayType([], type$.JSArray_SassList_2);
  86691. 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));) {
  86692. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  86693. result.fixed$length = Array;
  86694. result.immutable$list = Array;
  86695. results.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  86696. ++_box_0.i;
  86697. }
  86698. return A.SassList$0(results, B.ListSeparator_rXA0, false);
  86699. },
  86700. $signature: 21
  86701. };
  86702. A._zip__closure2.prototype = {
  86703. call$1(list) {
  86704. return list.get$asList();
  86705. },
  86706. $signature: 444
  86707. };
  86708. A._zip__closure3.prototype = {
  86709. call$1(list) {
  86710. return this._box_0.i !== J.get$length$asx(list);
  86711. },
  86712. $signature: 445
  86713. };
  86714. A._zip__closure4.prototype = {
  86715. call$1(list) {
  86716. return J.$index$asx(list, this._box_0.i);
  86717. },
  86718. $signature: 3
  86719. };
  86720. A._index_closure2.prototype = {
  86721. call$1($arguments) {
  86722. var t1 = J.getInterceptor$asx($arguments),
  86723. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  86724. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  86725. },
  86726. $signature: 3
  86727. };
  86728. A._separator_closure0.prototype = {
  86729. call$1($arguments) {
  86730. switch (J.get$separator$x(J.$index$asx($arguments, 0))) {
  86731. case B.ListSeparator_rXA0:
  86732. return new A.SassString0("comma", false);
  86733. case B.ListSeparator_zg90:
  86734. return new A.SassString0("slash", false);
  86735. default:
  86736. return new A.SassString0("space", false);
  86737. }
  86738. },
  86739. $signature: 17
  86740. };
  86741. A._isBracketed_closure0.prototype = {
  86742. call$1($arguments) {
  86743. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86744. },
  86745. $signature: 19
  86746. };
  86747. A._slash_closure0.prototype = {
  86748. call$1($arguments) {
  86749. var list = J.$index$asx($arguments, 0).get$asList();
  86750. if (list.length < 2)
  86751. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  86752. return A.SassList$0(list, B.ListSeparator_zg90, false);
  86753. },
  86754. $signature: 21
  86755. };
  86756. A.SelectorList0.prototype = {
  86757. get$asSassList() {
  86758. var t1 = this.components;
  86759. 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);
  86760. },
  86761. accept$1$1(visitor) {
  86762. return visitor.visitSelectorList$1(this);
  86763. },
  86764. accept$1(visitor) {
  86765. return this.accept$1$1(visitor, type$.dynamic);
  86766. },
  86767. unify$1(other) {
  86768. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  86769. t1 = type$.JSArray_ComplexSelector_2,
  86770. t2 = A._setArrayType([], t1);
  86771. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  86772. complex1 = t3[_i];
  86773. for (_i0 = 0; _i0 < t6; ++_i0) {
  86774. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1));
  86775. if (t7 != null)
  86776. B.JSArray_methods.addAll$1(t2, t7);
  86777. }
  86778. }
  86779. return t2.length === 0 ? null : A.SelectorList$0(t2);
  86780. },
  86781. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  86782. var t1, _this = this;
  86783. if ($parent == null) {
  86784. if (!B.JSArray_methods.any$1(_this.components, _this.get$_list2$_complexContainsParentSelector()))
  86785. return _this;
  86786. throw A.wrapException(A.SassScriptException$0(string$.Top_le, null));
  86787. }
  86788. t1 = _this.components;
  86789. 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));
  86790. },
  86791. resolveParentSelectors$1($parent) {
  86792. return this.resolveParentSelectors$2$implicitParent($parent, true);
  86793. },
  86794. _list2$_complexContainsParentSelector$1(complex) {
  86795. return B.JSArray_methods.any$1(complex.components, new A.SelectorList__complexContainsParentSelector_closure0());
  86796. },
  86797. _list2$_resolveParentSelectorsCompound$2(component, $parent) {
  86798. var resolvedSimples, parentSelector, t1,
  86799. simples = component.selector.components,
  86800. containsSelectorPseudo = B.JSArray_methods.any$1(simples, new A.SelectorList__resolveParentSelectorsCompound_closure2());
  86801. if (!containsSelectorPseudo && !(B.JSArray_methods.get$first(simples) instanceof A.ParentSelector0))
  86802. return null;
  86803. resolvedSimples = containsSelectorPseudo ? new A.MappedListIterable(simples, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A._arrayInstanceType(simples)._eval$1("MappedListIterable<1,SimpleSelector0>")) : simples;
  86804. parentSelector = B.JSArray_methods.get$first(simples);
  86805. if (!(parentSelector instanceof A.ParentSelector0))
  86806. return A._setArrayType([A.ComplexSelector$0(B.List_empty13, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(resolvedSimples), A.List_List$unmodifiable(component.combinators, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2), false)], type$.JSArray_ComplexSelector_2);
  86807. else if (simples.length === 1 && parentSelector.suffix == null)
  86808. return $parent.withAdditionalCombinators$1(component.combinators).components;
  86809. t1 = $parent.components;
  86810. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  86811. },
  86812. isSuperselector$1(other) {
  86813. return A.listIsSuperselector0(this.components, other.components);
  86814. },
  86815. withAdditionalCombinators$1(combinators) {
  86816. var t1;
  86817. if (combinators.length === 0)
  86818. t1 = this;
  86819. else {
  86820. t1 = this.components;
  86821. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")));
  86822. }
  86823. return t1;
  86824. },
  86825. get$hashCode(_) {
  86826. return B.C_ListEquality0.hash$1(this.components);
  86827. },
  86828. $eq(_, other) {
  86829. if (other == null)
  86830. return false;
  86831. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  86832. }
  86833. };
  86834. A.SelectorList_asSassList_closure0.prototype = {
  86835. call$1(complex) {
  86836. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  86837. t1 = type$.JSArray_Value_2,
  86838. t2 = A._setArrayType([], t1);
  86839. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  86840. t2.push(new A.SassString0(t3[_i]._combinator0$_text, false));
  86841. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  86842. component = t3[_i];
  86843. t5 = component.selector;
  86844. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  86845. t5.accept$1(visitor);
  86846. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  86847. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  86848. t5.push(new A.SassString0(t6[_i0]._combinator0$_text, false));
  86849. B.JSArray_methods.addAll$1(t2, t5);
  86850. }
  86851. return A.SassList$0(t2, B.ListSeparator_EVt0, false);
  86852. },
  86853. $signature: 446
  86854. };
  86855. A.SelectorList_resolveParentSelectors_closure0.prototype = {
  86856. call$1(complex) {
  86857. var t2, newComplexes, t3, t4, t5, t6, t7, t8, t9, _i, component, resolved, t10, result, t11, i, t12, _i0, newComplex, t13, _this = this,
  86858. _s56_ = string$.leadin,
  86859. t1 = _this.$this;
  86860. if (!t1._list2$_complexContainsParentSelector$1(complex)) {
  86861. if (!_this.implicitParent)
  86862. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  86863. t1 = _this.parent.components;
  86864. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure0(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  86865. }
  86866. t2 = type$.JSArray_ComplexSelector_2;
  86867. newComplexes = A._setArrayType([], t2);
  86868. for (t3 = complex.components, t4 = t3.length, t5 = _this.parent, t6 = type$.Combinator_2, t7 = type$.ComplexSelectorComponent_2, t8 = complex.leadingCombinators, t9 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < t4; ++_i) {
  86869. component = t3[_i];
  86870. resolved = t1._list2$_resolveParentSelectorsCompound$2(component, t5);
  86871. if (resolved == null)
  86872. if (newComplexes.length === 0) {
  86873. t10 = A._setArrayType([component], t9);
  86874. result = A.List_List$from(t8, false, t6);
  86875. result.fixed$length = Array;
  86876. result.immutable$list = Array;
  86877. t11 = result;
  86878. result = A.List_List$from(t10, false, t7);
  86879. result.fixed$length = Array;
  86880. result.immutable$list = Array;
  86881. t10 = result;
  86882. if (t11.length === 0 && t10.length === 0)
  86883. A.throwExpression(A.ArgumentError$(_s56_, null));
  86884. newComplexes.push(new A.ComplexSelector0(t11, t10, false));
  86885. } else
  86886. for (i = 0; i < newComplexes.length; ++i) {
  86887. t10 = newComplexes[i];
  86888. t11 = t10.leadingCombinators;
  86889. t12 = A.List_List$of(t10.components, true, t7);
  86890. t12.push(component);
  86891. t10 = t10.lineBreak || false;
  86892. result = A.List_List$from(t11, false, t6);
  86893. result.fixed$length = Array;
  86894. result.immutable$list = Array;
  86895. t11 = result;
  86896. result = A.List_List$from(t12, false, t7);
  86897. result.fixed$length = Array;
  86898. result.immutable$list = Array;
  86899. t12 = result;
  86900. if (t11.length === 0 && t12.length === 0)
  86901. A.throwExpression(A.ArgumentError$(_s56_, null));
  86902. newComplexes[i] = new A.ComplexSelector0(t11, t12, t10);
  86903. }
  86904. else if (newComplexes.length === 0)
  86905. B.JSArray_methods.addAll$1(newComplexes, resolved);
  86906. else {
  86907. t10 = A._setArrayType([], t2);
  86908. for (t11 = newComplexes.length, t12 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t11 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  86909. newComplex = newComplexes[_i0];
  86910. for (t13 = t12.get$iterator(resolved); t13.moveNext$0();)
  86911. t10.push(newComplex.concatenate$1(t13.get$current(t13)));
  86912. }
  86913. newComplexes = t10;
  86914. }
  86915. }
  86916. return newComplexes;
  86917. },
  86918. $signature: 447
  86919. };
  86920. A.SelectorList_resolveParentSelectors__closure0.prototype = {
  86921. call$1(parentComplex) {
  86922. return parentComplex.concatenate$1(this.complex);
  86923. },
  86924. $signature: 68
  86925. };
  86926. A.SelectorList__complexContainsParentSelector_closure0.prototype = {
  86927. call$1(component) {
  86928. return B.JSArray_methods.any$1(component.selector.components, new A.SelectorList__complexContainsParentSelector__closure0());
  86929. },
  86930. $signature: 46
  86931. };
  86932. A.SelectorList__complexContainsParentSelector__closure0.prototype = {
  86933. call$1(simple) {
  86934. var selector;
  86935. if (simple instanceof A.ParentSelector0)
  86936. return true;
  86937. if (!(simple instanceof A.PseudoSelector0))
  86938. return false;
  86939. selector = simple.selector;
  86940. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
  86941. },
  86942. $signature: 13
  86943. };
  86944. A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
  86945. call$1(simple) {
  86946. var selector;
  86947. if (!(simple instanceof A.PseudoSelector0))
  86948. return false;
  86949. selector = simple.selector;
  86950. return selector != null && B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector());
  86951. },
  86952. $signature: 13
  86953. };
  86954. A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
  86955. call$1(simple) {
  86956. var selector, t1, t2, t3;
  86957. if (!(simple instanceof A.PseudoSelector0))
  86958. return simple;
  86959. selector = simple.selector;
  86960. if (selector == null)
  86961. return simple;
  86962. if (!B.JSArray_methods.any$1(selector.components, selector.get$_list2$_complexContainsParentSelector()))
  86963. return simple;
  86964. t1 = selector.resolveParentSelectors$2$implicitParent(this.parent, false);
  86965. t2 = simple.name;
  86966. t3 = simple.isClass;
  86967. return A.PseudoSelector$0(t2, simple.argument, !t3, t1);
  86968. },
  86969. $signature: 448
  86970. };
  86971. A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
  86972. call$1(complex) {
  86973. var suffix, lastSimples, t2, t3, t4, last,
  86974. t1 = complex.components,
  86975. lastComponent = B.JSArray_methods.get$last(t1);
  86976. if (lastComponent.combinators.length !== 0)
  86977. throw A.wrapException(A.SassScriptException$0('Parent "' + complex.toString$0(0) + '" is incompatible with this selector.', null));
  86978. suffix = this.parentSelector.suffix;
  86979. lastSimples = lastComponent.selector.components;
  86980. t2 = type$.SimpleSelector_2;
  86981. t3 = this.resolvedSimples;
  86982. t4 = J.getInterceptor$ax(t3);
  86983. if (suffix == null) {
  86984. t2 = A.List_List$of(lastSimples, true, t2);
  86985. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  86986. } else {
  86987. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t2);
  86988. t2.push(B.JSArray_methods.get$last(lastSimples).addSuffix$1(suffix));
  86989. B.JSArray_methods.addAll$1(t2, t4.skip$1(t3, 1));
  86990. }
  86991. last = A.CompoundSelector$0(t2);
  86992. t2 = complex.leadingCombinators;
  86993. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t1), true, type$.ComplexSelectorComponent_2);
  86994. t1.push(new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(this.component.combinators, type$.Combinator_2)));
  86995. return A.ComplexSelector$0(t2, t1, complex.lineBreak);
  86996. },
  86997. $signature: 68
  86998. };
  86999. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  87000. call$1(complex) {
  87001. return complex.withAdditionalCombinators$1(this.combinators);
  87002. },
  87003. $signature: 68
  87004. };
  87005. A._NodeSassList.prototype = {};
  87006. A.legacyListClass_closure.prototype = {
  87007. call$4(thisArg, $length, commaSeparator, dartValue) {
  87008. var t1;
  87009. if (dartValue == null) {
  87010. $length.toString;
  87011. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  87012. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0, false);
  87013. } else
  87014. t1 = dartValue;
  87015. J.set$dartValue$x(thisArg, t1);
  87016. },
  87017. call$2(thisArg, $length) {
  87018. return this.call$4(thisArg, $length, null, null);
  87019. },
  87020. call$3(thisArg, $length, commaSeparator) {
  87021. return this.call$4(thisArg, $length, commaSeparator, null);
  87022. },
  87023. "call*": "call$4",
  87024. $requiredArgCount: 2,
  87025. $defaultValues() {
  87026. return [null, null];
  87027. },
  87028. $signature: 449
  87029. };
  87030. A.legacyListClass__closure.prototype = {
  87031. call$1(_) {
  87032. return B.C__SassNull0;
  87033. },
  87034. $signature: 234
  87035. };
  87036. A.legacyListClass_closure0.prototype = {
  87037. call$2(thisArg, index) {
  87038. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  87039. },
  87040. $signature: 451
  87041. };
  87042. A.legacyListClass_closure1.prototype = {
  87043. call$3(thisArg, index, value) {
  87044. var t1 = J.getInterceptor$x(thisArg),
  87045. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  87046. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  87047. mutable[index] = A.unwrapValue(value);
  87048. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  87049. },
  87050. "call*": "call$3",
  87051. $requiredArgCount: 3,
  87052. $signature: 452
  87053. };
  87054. A.legacyListClass_closure2.prototype = {
  87055. call$1(thisArg) {
  87056. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_rXA0;
  87057. },
  87058. $signature: 453
  87059. };
  87060. A.legacyListClass_closure3.prototype = {
  87061. call$2(thisArg, isComma) {
  87062. var t1 = J.getInterceptor$x(thisArg),
  87063. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  87064. t3 = isComma ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0;
  87065. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  87066. },
  87067. $signature: 454
  87068. };
  87069. A.legacyListClass_closure4.prototype = {
  87070. call$1(thisArg) {
  87071. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  87072. },
  87073. $signature: 455
  87074. };
  87075. A.listClass_closure.prototype = {
  87076. call$0() {
  87077. var t1 = type$.JSClass,
  87078. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  87079. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  87080. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_nj9.constructor), jsClass);
  87081. return jsClass;
  87082. },
  87083. $signature: 24
  87084. };
  87085. A.listClass__closure.prototype = {
  87086. call$3($self, contentsOrOptions, options) {
  87087. var contents, t1, t2;
  87088. if (self.immutable.isList(contentsOrOptions))
  87089. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  87090. else if (type$.List_dynamic._is(contentsOrOptions))
  87091. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  87092. else {
  87093. contents = A._setArrayType([], type$.JSArray_Value_2);
  87094. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  87095. options = contentsOrOptions;
  87096. }
  87097. t1 = options == null;
  87098. if (!t1) {
  87099. t2 = J.get$separator$x(options);
  87100. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  87101. } else
  87102. t2 = true;
  87103. t2 = t2 ? B.ListSeparator_rXA0 : A.jsToDartSeparator(J.get$separator$x(options));
  87104. t1 = t1 ? null : J.get$brackets$x(options);
  87105. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  87106. },
  87107. call$1($self) {
  87108. return this.call$3($self, null, null);
  87109. },
  87110. call$2($self, contentsOrOptions) {
  87111. return this.call$3($self, contentsOrOptions, null);
  87112. },
  87113. "call*": "call$3",
  87114. $requiredArgCount: 1,
  87115. $defaultValues() {
  87116. return [null, null];
  87117. },
  87118. $signature: 456
  87119. };
  87120. A.listClass__closure0.prototype = {
  87121. call$2($self, indexFloat) {
  87122. var index = B.JSNumber_methods.floor$0(indexFloat);
  87123. if (index < 0)
  87124. index = $self.get$asList().length + index;
  87125. if (index < 0 || index >= $self.get$asList().length)
  87126. return self.undefined;
  87127. return $self.get$asList()[index];
  87128. },
  87129. $signature: 235
  87130. };
  87131. A._ConstructorOptions.prototype = {};
  87132. A.SassList0.prototype = {
  87133. get$separator(_) {
  87134. return this._list1$_separator;
  87135. },
  87136. get$hasBrackets() {
  87137. return this._list1$_hasBrackets;
  87138. },
  87139. get$isBlank() {
  87140. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  87141. },
  87142. get$asList() {
  87143. return this._list1$_contents;
  87144. },
  87145. get$lengthAsList() {
  87146. return this._list1$_contents.length;
  87147. },
  87148. SassList$3$brackets0(contents, _separator, brackets) {
  87149. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  87150. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  87151. },
  87152. accept$1$1(visitor) {
  87153. return visitor.visitList$1(this);
  87154. },
  87155. accept$1(visitor) {
  87156. return this.accept$1$1(visitor, type$.dynamic);
  87157. },
  87158. assertMap$1($name) {
  87159. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  87160. },
  87161. tryMap$0() {
  87162. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  87163. },
  87164. $eq(_, other) {
  87165. var t1, _this = this;
  87166. if (other == null)
  87167. return false;
  87168. 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)))
  87169. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  87170. else
  87171. t1 = true;
  87172. return t1;
  87173. },
  87174. get$hashCode(_) {
  87175. return B.C_ListEquality0.hash$1(this._list1$_contents);
  87176. }
  87177. };
  87178. A.SassList_isBlank_closure0.prototype = {
  87179. call$1(element) {
  87180. return element.get$isBlank();
  87181. },
  87182. $signature: 45
  87183. };
  87184. A.ListSeparator0.prototype = {
  87185. toString$0(_) {
  87186. return this._list1$_name;
  87187. }
  87188. };
  87189. A.NodeLogger.prototype = {};
  87190. A.WarnOptions.prototype = {};
  87191. A.DebugOptions.prototype = {};
  87192. A._QuietLogger0.prototype = {
  87193. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  87194. },
  87195. warn$2$span($receiver, message, span) {
  87196. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  87197. },
  87198. warn$3$deprecation$span($receiver, message, deprecation, span) {
  87199. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  87200. }
  87201. };
  87202. A.LoudComment0.prototype = {
  87203. get$span(_) {
  87204. return this.text.span;
  87205. },
  87206. accept$1$1(visitor) {
  87207. return visitor.visitLoudComment$1(this);
  87208. },
  87209. accept$1(visitor) {
  87210. return this.accept$1$1(visitor, type$.dynamic);
  87211. },
  87212. toString$0(_) {
  87213. return this.text.toString$0(0);
  87214. },
  87215. $isAstNode0: 1,
  87216. $isStatement0: 1
  87217. };
  87218. A.MapExpression0.prototype = {
  87219. accept$1$1(visitor) {
  87220. return visitor.visitMapExpression$1(this);
  87221. },
  87222. accept$1(visitor) {
  87223. return this.accept$1$1(visitor, type$.dynamic);
  87224. },
  87225. toString$0(_) {
  87226. var t1 = this.pairs;
  87227. return "(" + new A.MappedListIterable(t1, new A.MapExpression_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", ") + ")";
  87228. },
  87229. $isExpression0: 1,
  87230. $isAstNode0: 1,
  87231. get$span(receiver) {
  87232. return this.span;
  87233. }
  87234. };
  87235. A.MapExpression_toString_closure0.prototype = {
  87236. call$1(pair) {
  87237. return A.S(pair.item1) + ": " + A.S(pair.item2);
  87238. },
  87239. $signature: 458
  87240. };
  87241. A._get_closure0.prototype = {
  87242. call$1($arguments) {
  87243. var value,
  87244. t1 = J.getInterceptor$asx($arguments),
  87245. map = t1.$index($arguments, 0).assertMap$1("map"),
  87246. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87247. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87248. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  87249. value = map._map0$_contents.$index(0, t1.get$current(t1));
  87250. if (!(value instanceof A.SassMap0))
  87251. return B.C__SassNull0;
  87252. }
  87253. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  87254. return t1 == null ? B.C__SassNull0 : t1;
  87255. },
  87256. $signature: 3
  87257. };
  87258. A._set_closure1.prototype = {
  87259. call$1($arguments) {
  87260. var t1 = J.getInterceptor$asx($arguments);
  87261. 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);
  87262. },
  87263. $signature: 3
  87264. };
  87265. A._set__closure2.prototype = {
  87266. call$1(_) {
  87267. return J.$index$asx(this.$arguments, 2);
  87268. },
  87269. $signature: 41
  87270. };
  87271. A._set_closure2.prototype = {
  87272. call$1($arguments) {
  87273. var t1 = J.getInterceptor$asx($arguments),
  87274. map = t1.$index($arguments, 0).assertMap$1("map"),
  87275. args = t1.$index($arguments, 1).get$asList();
  87276. t1 = args.length;
  87277. if (t1 === 0)
  87278. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  87279. else if (t1 === 1)
  87280. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  87281. return A._modify0(map, B.JSArray_methods.sublist$2(args, 0, t1 - 1), new A._set__closure1(args), true);
  87282. },
  87283. $signature: 3
  87284. };
  87285. A._set__closure1.prototype = {
  87286. call$1(_) {
  87287. return B.JSArray_methods.get$last(this.args);
  87288. },
  87289. $signature: 41
  87290. };
  87291. A._merge_closure1.prototype = {
  87292. call$1($arguments) {
  87293. var t2,
  87294. t1 = J.getInterceptor$asx($arguments),
  87295. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  87296. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  87297. t1 = type$.Value_2;
  87298. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  87299. t2.addAll$1(0, map2._map0$_contents);
  87300. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  87301. },
  87302. $signature: 40
  87303. };
  87304. A._merge_closure2.prototype = {
  87305. call$1($arguments) {
  87306. var map2,
  87307. t1 = J.getInterceptor$asx($arguments),
  87308. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  87309. args = t1.$index($arguments, 1).get$asList();
  87310. t1 = args.length;
  87311. if (t1 === 0)
  87312. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  87313. else if (t1 === 1)
  87314. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", null));
  87315. map2 = B.JSArray_methods.get$last(args).assertMap$1("map2");
  87316. return A._modify0(map1, A.IterableExtension_get_exceptLast0(args), new A._merge__closure0(map2), true);
  87317. },
  87318. $signature: 3
  87319. };
  87320. A._merge__closure0.prototype = {
  87321. call$1(oldValue) {
  87322. var t1, t2,
  87323. nestedMap = oldValue.tryMap$0();
  87324. if (nestedMap == null)
  87325. return this.map2;
  87326. t1 = type$.Value_2;
  87327. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  87328. t2.addAll$1(0, this.map2._map0$_contents);
  87329. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  87330. },
  87331. $signature: 459
  87332. };
  87333. A._deepMerge_closure0.prototype = {
  87334. call$1($arguments) {
  87335. var t1 = J.getInterceptor$asx($arguments);
  87336. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  87337. },
  87338. $signature: 40
  87339. };
  87340. A._deepRemove_closure0.prototype = {
  87341. call$1($arguments) {
  87342. var t1 = J.getInterceptor$asx($arguments),
  87343. map = t1.$index($arguments, 0).assertMap$1("map"),
  87344. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87345. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87346. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  87347. },
  87348. $signature: 3
  87349. };
  87350. A._deepRemove__closure0.prototype = {
  87351. call$1(value) {
  87352. var t1, t2,
  87353. nestedMap = value.tryMap$0();
  87354. if (nestedMap != null && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  87355. t1 = type$.Value_2;
  87356. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  87357. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  87358. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  87359. }
  87360. return value;
  87361. },
  87362. $signature: 41
  87363. };
  87364. A._remove_closure1.prototype = {
  87365. call$1($arguments) {
  87366. return J.$index$asx($arguments, 0).assertMap$1("map");
  87367. },
  87368. $signature: 40
  87369. };
  87370. A._remove_closure2.prototype = {
  87371. call$1($arguments) {
  87372. var mutableMap, t3, _i,
  87373. t1 = J.getInterceptor$asx($arguments),
  87374. map = t1.$index($arguments, 0).assertMap$1("map"),
  87375. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87376. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87377. t1 = type$.Value_2;
  87378. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  87379. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  87380. mutableMap.remove$1(0, t2[_i]);
  87381. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87382. },
  87383. $signature: 40
  87384. };
  87385. A._keys_closure0.prototype = {
  87386. call$1($arguments) {
  87387. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  87388. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_rXA0, false);
  87389. },
  87390. $signature: 21
  87391. };
  87392. A._values_closure0.prototype = {
  87393. call$1($arguments) {
  87394. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  87395. return A.SassList$0(t1.get$values(t1), B.ListSeparator_rXA0, false);
  87396. },
  87397. $signature: 21
  87398. };
  87399. A._hasKey_closure0.prototype = {
  87400. call$1($arguments) {
  87401. var value,
  87402. t1 = J.getInterceptor$asx($arguments),
  87403. map = t1.$index($arguments, 0).assertMap$1("map"),
  87404. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  87405. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  87406. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  87407. value = map._map0$_contents.$index(0, t1.get$current(t1));
  87408. if (!(value instanceof A.SassMap0))
  87409. return B.SassBoolean_false0;
  87410. }
  87411. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  87412. },
  87413. $signature: 19
  87414. };
  87415. A._modify_modifyNestedMap0.prototype = {
  87416. call$1(map) {
  87417. var nestedMap, _this = this,
  87418. t1 = type$.Value_2,
  87419. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  87420. t2 = _this.keyIterator,
  87421. key = t2.get$current(t2);
  87422. if (!t2.moveNext$0()) {
  87423. t2 = mutableMap.$index(0, key);
  87424. if (t2 == null)
  87425. t2 = B.C__SassNull0;
  87426. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  87427. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87428. }
  87429. t2 = mutableMap.$index(0, key);
  87430. nestedMap = t2 == null ? null : t2.tryMap$0();
  87431. t2 = nestedMap == null;
  87432. if (t2 && !_this.addNesting)
  87433. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87434. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  87435. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  87436. },
  87437. $signature: 460
  87438. };
  87439. A._deepMergeImpl_closure0.prototype = {
  87440. call$2(key, value) {
  87441. var valueMap, merged,
  87442. t1 = this.result,
  87443. t2 = t1.$index(0, key),
  87444. resultMap = t2 == null ? null : t2.tryMap$0();
  87445. if (resultMap == null)
  87446. t1.$indexSet(0, key, value);
  87447. else {
  87448. valueMap = value.tryMap$0();
  87449. if (valueMap != null) {
  87450. merged = A._deepMergeImpl0(resultMap, valueMap);
  87451. if (merged === resultMap)
  87452. return;
  87453. t1.$indexSet(0, key, merged);
  87454. } else
  87455. t1.$indexSet(0, key, value);
  87456. }
  87457. },
  87458. $signature: 56
  87459. };
  87460. A._NodeSassMap.prototype = {};
  87461. A.legacyMapClass_closure.prototype = {
  87462. call$3(thisArg, $length, dartValue) {
  87463. var t1, t2, t3, map;
  87464. if (dartValue == null) {
  87465. $length.toString;
  87466. t1 = type$.Value_2;
  87467. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  87468. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  87469. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  87470. A.MapBase__fillMapWithIterables(map, t2, t3);
  87471. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  87472. } else
  87473. t1 = dartValue;
  87474. J.set$dartValue$x(thisArg, t1);
  87475. },
  87476. call$2(thisArg, $length) {
  87477. return this.call$3(thisArg, $length, null);
  87478. },
  87479. "call*": "call$3",
  87480. $requiredArgCount: 2,
  87481. $defaultValues() {
  87482. return [null];
  87483. },
  87484. $signature: 461
  87485. };
  87486. A.legacyMapClass__closure.prototype = {
  87487. call$1(i) {
  87488. return A.SassNumber_SassNumber0(i, null);
  87489. },
  87490. $signature: 462
  87491. };
  87492. A.legacyMapClass__closure0.prototype = {
  87493. call$1(_) {
  87494. return B.C__SassNull0;
  87495. },
  87496. $signature: 234
  87497. };
  87498. A.legacyMapClass_closure0.prototype = {
  87499. call$2(thisArg, index) {
  87500. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  87501. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  87502. },
  87503. $signature: 236
  87504. };
  87505. A.legacyMapClass_closure1.prototype = {
  87506. call$2(thisArg, index) {
  87507. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  87508. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  87509. },
  87510. $signature: 236
  87511. };
  87512. A.legacyMapClass_closure2.prototype = {
  87513. call$1(thisArg) {
  87514. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  87515. return t1.get$length(t1);
  87516. },
  87517. $signature: 464
  87518. };
  87519. A.legacyMapClass_closure3.prototype = {
  87520. call$3(thisArg, index, key) {
  87521. var newKey, t2, newMap, t3, i, t4, t5,
  87522. t1 = J.getInterceptor$x(thisArg);
  87523. A.RangeError_checkValidIndex(index, t1.get$dartValue(thisArg)._map0$_contents, "index");
  87524. newKey = A.unwrapValue(key);
  87525. t2 = type$.Value_2;
  87526. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  87527. for (t3 = t1.get$dartValue(thisArg)._map0$_contents, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  87528. t4 = t3.get$current(t3);
  87529. if (i === index)
  87530. newMap.$indexSet(0, newKey, t4.value);
  87531. else {
  87532. t5 = t4.key;
  87533. if (newKey.$eq(0, t5))
  87534. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  87535. newMap.$indexSet(0, t5, t4.value);
  87536. }
  87537. ++i;
  87538. }
  87539. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  87540. },
  87541. "call*": "call$3",
  87542. $requiredArgCount: 3,
  87543. $signature: 237
  87544. };
  87545. A.legacyMapClass_closure4.prototype = {
  87546. call$3(thisArg, index, value) {
  87547. var t3,
  87548. t1 = J.getInterceptor$x(thisArg),
  87549. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  87550. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  87551. t2 = type$.Value_2;
  87552. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  87553. t3.$indexSet(0, key, A.unwrapValue(value));
  87554. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  87555. },
  87556. "call*": "call$3",
  87557. $requiredArgCount: 3,
  87558. $signature: 237
  87559. };
  87560. A.mapClass_closure.prototype = {
  87561. call$0() {
  87562. var t1 = type$.JSClass,
  87563. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  87564. t2 = J.getInterceptor$x(jsClass);
  87565. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  87566. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  87567. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  87568. return jsClass;
  87569. },
  87570. $signature: 24
  87571. };
  87572. A.mapClass__closure.prototype = {
  87573. call$2($self, contents) {
  87574. var t1;
  87575. if (contents == null)
  87576. t1 = B.SassMap_Map_empty0;
  87577. else {
  87578. t1 = type$.Value_2;
  87579. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  87580. }
  87581. return t1;
  87582. },
  87583. call$1($self) {
  87584. return this.call$2($self, null);
  87585. },
  87586. "call*": "call$2",
  87587. $requiredArgCount: 1,
  87588. $defaultValues() {
  87589. return [null];
  87590. },
  87591. $signature: 466
  87592. };
  87593. A.mapClass__closure0.prototype = {
  87594. call$1($self) {
  87595. return A.dartMapToImmutableMap($self._map0$_contents);
  87596. },
  87597. $signature: 467
  87598. };
  87599. A.mapClass__closure1.prototype = {
  87600. call$2($self, indexOrKey) {
  87601. var index, t1, entry;
  87602. if (typeof indexOrKey == "number") {
  87603. index = B.JSNumber_methods.floor$0(indexOrKey);
  87604. if (index < 0) {
  87605. t1 = $self._map0$_contents;
  87606. index = t1.get$length(t1) + index;
  87607. }
  87608. if (index >= 0) {
  87609. t1 = $self._map0$_contents;
  87610. t1 = index >= t1.get$length(t1);
  87611. } else
  87612. t1 = true;
  87613. if (t1)
  87614. return self.undefined;
  87615. t1 = $self._map0$_contents;
  87616. entry = t1.get$entries(t1).elementAt$1(0, index);
  87617. return A.SassList$0(A._setArrayType([entry.key, entry.value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false);
  87618. } else {
  87619. t1 = $self._map0$_contents.$index(0, indexOrKey);
  87620. return t1 == null ? self.undefined : t1;
  87621. }
  87622. },
  87623. $signature: 468
  87624. };
  87625. A.SassMap0.prototype = {
  87626. get$separator(_) {
  87627. var t1 = this._map0$_contents;
  87628. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_rXA0;
  87629. },
  87630. get$asList() {
  87631. var result = A._setArrayType([], type$.JSArray_Value_2);
  87632. this._map0$_contents.forEach$1(0, new A.SassMap_asList_closure0(result));
  87633. return result;
  87634. },
  87635. get$lengthAsList() {
  87636. var t1 = this._map0$_contents;
  87637. return t1.get$length(t1);
  87638. },
  87639. accept$1$1(visitor) {
  87640. return visitor.visitMap$1(this);
  87641. },
  87642. accept$1(visitor) {
  87643. return this.accept$1$1(visitor, type$.dynamic);
  87644. },
  87645. assertMap$1($name) {
  87646. return this;
  87647. },
  87648. tryMap$0() {
  87649. return this;
  87650. },
  87651. $eq(_, other) {
  87652. var t1;
  87653. if (other == null)
  87654. return false;
  87655. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  87656. t1 = this._map0$_contents;
  87657. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  87658. } else
  87659. t1 = true;
  87660. return t1;
  87661. },
  87662. get$hashCode(_) {
  87663. var t1 = this._map0$_contents;
  87664. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  87665. }
  87666. };
  87667. A.SassMap_asList_closure0.prototype = {
  87668. call$2(key, value) {
  87669. this.result.push(A.SassList$0(A._setArrayType([key, value], type$.JSArray_Value_2), B.ListSeparator_EVt0, false));
  87670. },
  87671. $signature: 56
  87672. };
  87673. A._ceil_closure0.prototype = {
  87674. call$1(value) {
  87675. return B.JSNumber_methods.ceil$0(value);
  87676. },
  87677. $signature: 31
  87678. };
  87679. A._clamp_closure0.prototype = {
  87680. call$1($arguments) {
  87681. var t1 = J.getInterceptor$asx($arguments),
  87682. min = t1.$index($arguments, 0).assertNumber$1("min"),
  87683. number = t1.$index($arguments, 1).assertNumber$1("number"),
  87684. max = t1.$index($arguments, 2).assertNumber$1("max");
  87685. number.convertValueToMatch$3(min, "number", "min");
  87686. max.convertValueToMatch$3(min, "max", "min");
  87687. if (min.greaterThanOrEquals$1(max).value)
  87688. return min;
  87689. if (min.greaterThanOrEquals$1(number).value)
  87690. return min;
  87691. if (number.greaterThanOrEquals$1(max).value)
  87692. return max;
  87693. return number;
  87694. },
  87695. $signature: 10
  87696. };
  87697. A._floor_closure0.prototype = {
  87698. call$1(value) {
  87699. return B.JSNumber_methods.floor$0(value);
  87700. },
  87701. $signature: 31
  87702. };
  87703. A._max_closure0.prototype = {
  87704. call$1($arguments) {
  87705. var t1, t2, max, _i, number;
  87706. 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) {
  87707. number = t1[_i].assertNumber$0();
  87708. if (max == null || max.lessThan$1(number).value)
  87709. max = number;
  87710. }
  87711. if (max != null)
  87712. return max;
  87713. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  87714. },
  87715. $signature: 10
  87716. };
  87717. A._min_closure0.prototype = {
  87718. call$1($arguments) {
  87719. var t1, t2, min, _i, number;
  87720. 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) {
  87721. number = t1[_i].assertNumber$0();
  87722. if (min == null || min.greaterThan$1(number).value)
  87723. min = number;
  87724. }
  87725. if (min != null)
  87726. return min;
  87727. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  87728. },
  87729. $signature: 10
  87730. };
  87731. A._round_closure0.prototype = {
  87732. call$1(number) {
  87733. return B.JSNumber_methods.round$0(number);
  87734. },
  87735. $signature: 31
  87736. };
  87737. A._abs_closure0.prototype = {
  87738. call$1(value) {
  87739. return Math.abs(value);
  87740. },
  87741. $signature: 31
  87742. };
  87743. A._hypot_closure0.prototype = {
  87744. call$1($arguments) {
  87745. var subtotal, i, i0, t3, t4,
  87746. t1 = J.$index$asx($arguments, 0).get$asList(),
  87747. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  87748. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  87749. t1 = numbers.length;
  87750. if (t1 === 0)
  87751. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  87752. for (subtotal = 0, i = 0; i < t1; i = i0) {
  87753. i0 = i + 1;
  87754. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  87755. }
  87756. t1 = Math.sqrt(subtotal);
  87757. t2 = numbers[0];
  87758. t3 = J.getInterceptor$x(t2);
  87759. t4 = t3.get$numeratorUnits(t2);
  87760. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  87761. },
  87762. $signature: 10
  87763. };
  87764. A._hypot__closure0.prototype = {
  87765. call$1(argument) {
  87766. return argument.assertNumber$0();
  87767. },
  87768. $signature: 469
  87769. };
  87770. A._log_closure0.prototype = {
  87771. call$1($arguments) {
  87772. var base,
  87773. _s18_ = " to have no units.",
  87774. _null = null,
  87775. t1 = J.getInterceptor$asx($arguments),
  87776. number = t1.$index($arguments, 0).assertNumber$1("number");
  87777. if (number.get$hasUnits())
  87778. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  87779. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  87780. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  87781. base = t1.$index($arguments, 1).assertNumber$1("base");
  87782. if (base.get$hasUnits())
  87783. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  87784. else
  87785. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  87786. },
  87787. $signature: 10
  87788. };
  87789. A._pow_closure0.prototype = {
  87790. call$1($arguments) {
  87791. var _s18_ = " to have no units.",
  87792. t1 = J.getInterceptor$asx($arguments),
  87793. base = t1.$index($arguments, 0).assertNumber$1("base"),
  87794. exponent = t1.$index($arguments, 1).assertNumber$1("exponent");
  87795. if (base.get$hasUnits())
  87796. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, null));
  87797. else if (exponent.get$hasUnits())
  87798. throw A.wrapException(A.SassScriptException$0("$exponent: Expected " + exponent.toString$0(0) + _s18_, null));
  87799. else
  87800. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  87801. },
  87802. $signature: 10
  87803. };
  87804. A._sqrt_closure0.prototype = {
  87805. call$1($arguments) {
  87806. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87807. if (number.get$hasUnits())
  87808. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87809. else
  87810. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  87811. },
  87812. $signature: 10
  87813. };
  87814. A._acos_closure0.prototype = {
  87815. call$1($arguments) {
  87816. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87817. if (number.get$hasUnits())
  87818. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87819. else
  87820. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87821. },
  87822. $signature: 10
  87823. };
  87824. A._asin_closure0.prototype = {
  87825. call$1($arguments) {
  87826. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87827. if (number.get$hasUnits())
  87828. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87829. else
  87830. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87831. },
  87832. $signature: 10
  87833. };
  87834. A._atan_closure0.prototype = {
  87835. call$1($arguments) {
  87836. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87837. if (number.get$hasUnits())
  87838. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + " to have no units.", null));
  87839. else
  87840. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 180 / 3.141592653589793, null, A._setArrayType(["deg"], type$.JSArray_String));
  87841. },
  87842. $signature: 10
  87843. };
  87844. A._atan2_closure0.prototype = {
  87845. call$1($arguments) {
  87846. var t1 = J.getInterceptor$asx($arguments),
  87847. y = t1.$index($arguments, 0).assertNumber$1("y");
  87848. 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));
  87849. },
  87850. $signature: 10
  87851. };
  87852. A._cos_closure0.prototype = {
  87853. call$1($arguments) {
  87854. return A.SassNumber_SassNumber0(Math.cos(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  87855. },
  87856. $signature: 10
  87857. };
  87858. A._sin_closure0.prototype = {
  87859. call$1($arguments) {
  87860. return A.SassNumber_SassNumber0(Math.sin(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  87861. },
  87862. $signature: 10
  87863. };
  87864. A._tan_closure0.prototype = {
  87865. call$1($arguments) {
  87866. return A.SassNumber_SassNumber0(Math.tan(J.$index$asx($arguments, 0).assertNumber$1("number").coerceValueToUnit$2("rad", "number")), null);
  87867. },
  87868. $signature: 10
  87869. };
  87870. A._compatible_closure0.prototype = {
  87871. call$1($arguments) {
  87872. var t1 = J.getInterceptor$asx($arguments);
  87873. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  87874. },
  87875. $signature: 19
  87876. };
  87877. A._isUnitless_closure0.prototype = {
  87878. call$1($arguments) {
  87879. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  87880. },
  87881. $signature: 19
  87882. };
  87883. A._unit_closure0.prototype = {
  87884. call$1($arguments) {
  87885. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  87886. },
  87887. $signature: 17
  87888. };
  87889. A._percentage_closure0.prototype = {
  87890. call$1($arguments) {
  87891. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  87892. number.assertNoUnits$1("number");
  87893. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  87894. },
  87895. $signature: 10
  87896. };
  87897. A._randomFunction_closure0.prototype = {
  87898. call$1($arguments) {
  87899. var limit, t2, t3, t4, limitScalar,
  87900. t1 = J.getInterceptor$asx($arguments);
  87901. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  87902. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  87903. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  87904. if (limit.get$hasUnits()) {
  87905. t1 = limit.toString$0(0);
  87906. t2 = limit.get$unitString();
  87907. t3 = limit.get$unitString();
  87908. t4 = limit.get$unitString();
  87909. A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, true);
  87910. }
  87911. limitScalar = limit.assertInt$1("limit");
  87912. if (limitScalar < 1)
  87913. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  87914. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  87915. },
  87916. $signature: 10
  87917. };
  87918. A._div_closure0.prototype = {
  87919. call$1($arguments) {
  87920. var t1 = J.getInterceptor$asx($arguments),
  87921. number1 = t1.$index($arguments, 0),
  87922. number2 = t1.$index($arguments, 1);
  87923. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  87924. A.EvaluationContext_current0().warn$2$deprecation(0, string$.math_d, false);
  87925. return number1.dividedBy$1(number2);
  87926. },
  87927. $signature: 3
  87928. };
  87929. A._numberFunction_closure0.prototype = {
  87930. call$1($arguments) {
  87931. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  87932. t1 = this.transform.call$1(number._number1$_value),
  87933. t2 = number.get$numeratorUnits(number);
  87934. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  87935. },
  87936. $signature: 10
  87937. };
  87938. A.CssMediaQuery0.prototype = {
  87939. merge$1(other) {
  87940. 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";
  87941. if (!_this.conjunction || !other.conjunction)
  87942. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87943. t1 = _this.modifier;
  87944. ourModifier = t1 == null ? _null : t1.toLowerCase();
  87945. t2 = _this.type;
  87946. t3 = t2 == null;
  87947. ourType = t3 ? _null : t2.toLowerCase();
  87948. t4 = other.modifier;
  87949. theirModifier = t4 == null ? _null : t4.toLowerCase();
  87950. t5 = other.type;
  87951. t6 = t5 == null;
  87952. theirType = t6 ? _null : t5.toLowerCase();
  87953. t7 = ourType == null;
  87954. if (t7 && theirType == null) {
  87955. t1 = A.List_List$of(_this.conditions, true, type$.String);
  87956. B.JSArray_methods.addAll$1(t1, other.conditions);
  87957. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  87958. }
  87959. t8 = ourModifier === "not";
  87960. if (t8 !== (theirModifier === "not")) {
  87961. if (ourType == theirType) {
  87962. negativeConditions = t8 ? _this.conditions : other.conditions;
  87963. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  87964. return B._SingletonCssMediaQueryMergeResult_empty0;
  87965. else
  87966. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87967. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  87968. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87969. if (t8) {
  87970. conditions = other.conditions;
  87971. type = theirType;
  87972. modifier = theirModifier;
  87973. } else {
  87974. conditions = _this.conditions;
  87975. type = ourType;
  87976. modifier = ourModifier;
  87977. }
  87978. } else if (t8) {
  87979. if (ourType != theirType)
  87980. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87981. fewerConditions = _this.conditions;
  87982. fewerConditions0 = other.conditions;
  87983. t3 = fewerConditions.length > fewerConditions0.length;
  87984. moreConditions = t3 ? fewerConditions : fewerConditions0;
  87985. if (t3)
  87986. fewerConditions = fewerConditions0;
  87987. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  87988. return B._SingletonCssMediaQueryMergeResult_unrepresentable0;
  87989. conditions = moreConditions;
  87990. type = ourType;
  87991. modifier = ourModifier;
  87992. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  87993. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  87994. t3 = A.List_List$of(_this.conditions, true, type$.String);
  87995. B.JSArray_methods.addAll$1(t3, other.conditions);
  87996. conditions = t3;
  87997. modifier = theirModifier;
  87998. } else {
  87999. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  88000. t3 = A.List_List$of(_this.conditions, true, type$.String);
  88001. B.JSArray_methods.addAll$1(t3, other.conditions);
  88002. conditions = t3;
  88003. modifier = ourModifier;
  88004. } else {
  88005. if (ourType != theirType)
  88006. return B._SingletonCssMediaQueryMergeResult_empty0;
  88007. else {
  88008. modifier = ourModifier == null ? theirModifier : ourModifier;
  88009. t3 = A.List_List$of(_this.conditions, true, type$.String);
  88010. B.JSArray_methods.addAll$1(t3, other.conditions);
  88011. }
  88012. conditions = t3;
  88013. }
  88014. type = ourType;
  88015. }
  88016. t2 = type == ourType ? t2 : t5;
  88017. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  88018. },
  88019. $eq(_, other) {
  88020. if (other == null)
  88021. return false;
  88022. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  88023. },
  88024. get$hashCode(_) {
  88025. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  88026. },
  88027. toString$0(_) {
  88028. var t2, _this = this,
  88029. t1 = _this.modifier;
  88030. t1 = t1 != null ? "" + (t1 + " ") : "";
  88031. t2 = _this.type;
  88032. if (t2 != null) {
  88033. t1 += t2;
  88034. if (_this.conditions.length !== 0)
  88035. t1 += " and ";
  88036. }
  88037. t2 = _this.conjunction ? " and " : " or ";
  88038. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  88039. return t2.charCodeAt(0) == 0 ? t2 : t2;
  88040. }
  88041. };
  88042. A._SingletonCssMediaQueryMergeResult0.prototype = {
  88043. toString$0(_) {
  88044. return this._media_query0$_name;
  88045. }
  88046. };
  88047. A.MediaQuerySuccessfulMergeResult0.prototype = {
  88048. toString$0(_) {
  88049. return this.query.toString$0(0);
  88050. }
  88051. };
  88052. A.MediaQueryParser0.prototype = {
  88053. parse$0() {
  88054. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  88055. },
  88056. _media_query1$_mediaQuery$0() {
  88057. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  88058. if (_this.scanner.peekChar$0() === 40) {
  88059. conditions = A._setArrayType([_this._media_query1$_mediaInParens$0()], type$.JSArray_String);
  88060. _this.whitespace$0();
  88061. if (_this.scanIdentifier$1(_s3_)) {
  88062. _this.expectWhitespace$0();
  88063. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1(_s3_));
  88064. conjunction = true;
  88065. } else if (_this.scanIdentifier$1("or")) {
  88066. _this.expectWhitespace$0();
  88067. B.JSArray_methods.addAll$1(conditions, _this._media_query1$_mediaLogicSequence$1("or"));
  88068. conjunction = false;
  88069. } else
  88070. conjunction = true;
  88071. return A.CssMediaQuery$condition0(conditions, conjunction);
  88072. }
  88073. identifier1 = _this.identifier$0();
  88074. if (A.equalsIgnoreCase0(identifier1, "not")) {
  88075. _this.expectWhitespace$0();
  88076. if (!_this.lookingAtIdentifier$0())
  88077. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  88078. }
  88079. _this.whitespace$0();
  88080. if (!_this.lookingAtIdentifier$0())
  88081. return A.CssMediaQuery$type0(identifier1, _null, _null);
  88082. identifier2 = _this.identifier$0();
  88083. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  88084. _this.expectWhitespace$0();
  88085. type = identifier1;
  88086. modifier = _null;
  88087. } else {
  88088. _this.whitespace$0();
  88089. if (_this.scanIdentifier$1(_s3_))
  88090. _this.expectWhitespace$0();
  88091. else
  88092. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  88093. type = identifier2;
  88094. modifier = identifier1;
  88095. }
  88096. if (_this.scanIdentifier$1("not")) {
  88097. _this.expectWhitespace$0();
  88098. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query1$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  88099. }
  88100. return A.CssMediaQuery$type0(type, _this._media_query1$_mediaLogicSequence$1(_s3_), modifier);
  88101. },
  88102. _media_query1$_mediaLogicSequence$1(operator) {
  88103. var t1, t2, _this = this,
  88104. result = A._setArrayType([], type$.JSArray_String);
  88105. for (t1 = _this.scanner; true;) {
  88106. t1.expectChar$2$name(40, "media condition in parentheses");
  88107. t2 = _this.declarationValue$0();
  88108. t1.expectChar$1(41);
  88109. result.push("(" + t2 + ")");
  88110. _this.whitespace$0();
  88111. if (!_this.scanIdentifier$1(operator))
  88112. return result;
  88113. _this.expectWhitespace$0();
  88114. }
  88115. },
  88116. _media_query1$_mediaInParens$0() {
  88117. var t2,
  88118. t1 = this.scanner;
  88119. t1.expectChar$2$name(40, "media condition in parentheses");
  88120. t2 = this.declarationValue$0();
  88121. t1.expectChar$1(41);
  88122. return "(" + t2 + ")";
  88123. }
  88124. };
  88125. A.MediaQueryParser_parse_closure0.prototype = {
  88126. call$0() {
  88127. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  88128. t1 = this.$this,
  88129. t2 = t1.scanner;
  88130. do {
  88131. t1.whitespace$0();
  88132. queries.push(t1._media_query1$_mediaQuery$0());
  88133. t1.whitespace$0();
  88134. } while (t2.scanChar$1(44));
  88135. t2.expectDone$0();
  88136. return queries;
  88137. },
  88138. $signature: 107
  88139. };
  88140. A.ModifiableCssMediaRule0.prototype = {
  88141. accept$1$1(visitor) {
  88142. return visitor.visitCssMediaRule$1(this);
  88143. },
  88144. accept$1(visitor) {
  88145. return this.accept$1$1(visitor, type$.dynamic);
  88146. },
  88147. copyWithoutChildren$0() {
  88148. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  88149. },
  88150. $isCssMediaRule0: 1,
  88151. get$span(receiver) {
  88152. return this.span;
  88153. }
  88154. };
  88155. A.MediaRule0.prototype = {
  88156. accept$1$1(visitor) {
  88157. return visitor.visitMediaRule$1(this);
  88158. },
  88159. accept$1(visitor) {
  88160. return this.accept$1$1(visitor, type$.dynamic);
  88161. },
  88162. toString$0(_) {
  88163. var t1 = this.children;
  88164. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  88165. },
  88166. get$span(receiver) {
  88167. return this.span;
  88168. }
  88169. };
  88170. A.MergedExtension0.prototype = {
  88171. unmerge$0() {
  88172. var $async$self = this;
  88173. return A._makeSyncStarIterable(function() {
  88174. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  88175. return function $async$unmerge$0($async$errorCode, $async$result) {
  88176. if ($async$errorCode === 1) {
  88177. $async$currentError = $async$result;
  88178. $async$goto = $async$handler;
  88179. }
  88180. while (true)
  88181. switch ($async$goto) {
  88182. case 0:
  88183. // Function start
  88184. left = $async$self.left;
  88185. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  88186. break;
  88187. case 2:
  88188. // then
  88189. $async$goto = 5;
  88190. return A._IterationMarker_yieldStar(left.unmerge$0());
  88191. case 5:
  88192. // after yield
  88193. // goto join
  88194. $async$goto = 3;
  88195. break;
  88196. case 4:
  88197. // else
  88198. $async$goto = 6;
  88199. return left;
  88200. case 6:
  88201. // after yield
  88202. case 3:
  88203. // join
  88204. right = $async$self.right;
  88205. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  88206. break;
  88207. case 7:
  88208. // then
  88209. $async$goto = 10;
  88210. return A._IterationMarker_yieldStar(right.unmerge$0());
  88211. case 10:
  88212. // after yield
  88213. // goto join
  88214. $async$goto = 8;
  88215. break;
  88216. case 9:
  88217. // else
  88218. $async$goto = 11;
  88219. return right;
  88220. case 11:
  88221. // after yield
  88222. case 8:
  88223. // join
  88224. // implicit return
  88225. return A._IterationMarker_endOfIteration();
  88226. case 1:
  88227. // rethrow
  88228. return A._IterationMarker_uncaughtError($async$currentError);
  88229. }
  88230. };
  88231. }, type$.Extension_2);
  88232. }
  88233. };
  88234. A.MergedMapView0.prototype = {
  88235. get$keys(_) {
  88236. var t1 = this._merged_map_view$_mapsByKey;
  88237. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  88238. },
  88239. get$length(_) {
  88240. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  88241. },
  88242. get$isEmpty(_) {
  88243. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  88244. },
  88245. get$isNotEmpty(_) {
  88246. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  88247. },
  88248. MergedMapView$10(maps, $K, $V) {
  88249. var t1, t2, t3, _i, map, t4, t5, t6;
  88250. 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) {
  88251. map = maps[_i];
  88252. if (t3._is(map))
  88253. 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();) {
  88254. t6 = t4.__internal$_current;
  88255. if (t6 == null)
  88256. t6 = t5._as(t6);
  88257. A.setAll0(t2, t6.get$keys(t6), t6);
  88258. }
  88259. else
  88260. A.setAll0(t2, map.get$keys(map), map);
  88261. }
  88262. },
  88263. $index(_, key) {
  88264. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  88265. return t1 == null ? null : t1.$index(0, key);
  88266. },
  88267. $indexSet(_, key, value) {
  88268. var child = this._merged_map_view$_mapsByKey.$index(0, key);
  88269. if (child == null)
  88270. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  88271. child.$indexSet(0, key, value);
  88272. },
  88273. remove$1(_, key) {
  88274. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  88275. },
  88276. containsKey$1(key) {
  88277. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  88278. }
  88279. };
  88280. A.global_closure57.prototype = {
  88281. call$1($arguments) {
  88282. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88283. },
  88284. $signature: 19
  88285. };
  88286. A.global_closure58.prototype = {
  88287. call$1($arguments) {
  88288. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  88289. },
  88290. $signature: 17
  88291. };
  88292. A.global_closure59.prototype = {
  88293. call$1($arguments) {
  88294. var value = J.$index$asx($arguments, 0);
  88295. if (value instanceof A.SassArgumentList0)
  88296. return new A.SassString0("arglist", false);
  88297. if (value instanceof A.SassBoolean0)
  88298. return new A.SassString0("bool", false);
  88299. if (value instanceof A.SassColor0)
  88300. return new A.SassString0("color", false);
  88301. if (value instanceof A.SassList0)
  88302. return new A.SassString0("list", false);
  88303. if (value instanceof A.SassMap0)
  88304. return new A.SassString0("map", false);
  88305. if (value.$eq(0, B.C__SassNull0))
  88306. return new A.SassString0("null", false);
  88307. if (value instanceof A.SassNumber0)
  88308. return new A.SassString0("number", false);
  88309. if (value instanceof A.SassFunction0)
  88310. return new A.SassString0("function", false);
  88311. if (value instanceof A.SassCalculation0)
  88312. return new A.SassString0("calculation", false);
  88313. return new A.SassString0("string", false);
  88314. },
  88315. $signature: 17
  88316. };
  88317. A.global_closure60.prototype = {
  88318. call$1($arguments) {
  88319. var t1, t2, t3, t4,
  88320. argumentList = J.$index$asx($arguments, 0);
  88321. if (argumentList instanceof A.SassArgumentList0) {
  88322. t1 = type$.Value_2;
  88323. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  88324. for (argumentList._argument_list$_wereKeywordsAccessed = true, t3 = argumentList._argument_list$_keywords, t3 = t3.get$entries(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  88325. t4 = t3.get$current(t3);
  88326. t2.$indexSet(0, new A.SassString0(t4.key, false), t4.value);
  88327. }
  88328. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  88329. } else
  88330. throw A.wrapException("$args: " + argumentList.toString$0(0) + " is not an argument list.");
  88331. },
  88332. $signature: 40
  88333. };
  88334. A.local_closure1.prototype = {
  88335. call$1($arguments) {
  88336. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  88337. },
  88338. $signature: 17
  88339. };
  88340. A.local_closure2.prototype = {
  88341. call$1($arguments) {
  88342. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  88343. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  88344. },
  88345. $signature: 21
  88346. };
  88347. A.local__closure0.prototype = {
  88348. call$1(argument) {
  88349. if (argument instanceof A.Value0)
  88350. return argument;
  88351. return new A.SassString0(J.toString$0$(argument), false);
  88352. },
  88353. $signature: 470
  88354. };
  88355. A.MixinRule0.prototype = {
  88356. get$hasContent() {
  88357. var result, _this = this,
  88358. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  88359. if (value === $) {
  88360. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  88361. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  88362. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  88363. value = result;
  88364. }
  88365. return value;
  88366. },
  88367. accept$1$1(visitor) {
  88368. return visitor.visitMixinRule$1(this);
  88369. },
  88370. accept$1(visitor) {
  88371. return this.accept$1$1(visitor, type$.dynamic);
  88372. },
  88373. toString$0(_) {
  88374. var t1 = "@mixin " + this.name,
  88375. t2 = this.$arguments;
  88376. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  88377. t1 += "(" + t2.toString$0(0) + ")";
  88378. t2 = this.children;
  88379. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  88380. return t2.charCodeAt(0) == 0 ? t2 : t2;
  88381. }
  88382. };
  88383. A._HasContentVisitor0.prototype = {
  88384. visitContentRule$1(_) {
  88385. return true;
  88386. }
  88387. };
  88388. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  88389. A.ExtendMode0.prototype = {
  88390. toString$0(_) {
  88391. return this.name;
  88392. }
  88393. };
  88394. A.MultiSpan0.prototype = {
  88395. get$start(_) {
  88396. var t1 = this._multi_span0$_primary;
  88397. return t1.get$start(t1);
  88398. },
  88399. get$end(_) {
  88400. var t1 = this._multi_span0$_primary;
  88401. return t1.get$end(t1);
  88402. },
  88403. get$text() {
  88404. return this._multi_span0$_primary.get$text();
  88405. },
  88406. get$context(_) {
  88407. var t1 = this._multi_span0$_primary;
  88408. return t1.get$context(t1);
  88409. },
  88410. get$file(_) {
  88411. var t1 = this._multi_span0$_primary;
  88412. return t1.get$file(t1);
  88413. },
  88414. get$length(_) {
  88415. var t1 = this._multi_span0$_primary;
  88416. return t1.get$length(t1);
  88417. },
  88418. get$sourceUrl(_) {
  88419. var t1 = this._multi_span0$_primary;
  88420. return t1.get$sourceUrl(t1);
  88421. },
  88422. compareTo$1(_, other) {
  88423. return this._multi_span0$_primary.compareTo$1(0, other);
  88424. },
  88425. toString$0(_) {
  88426. return this._multi_span0$_primary.toString$0(0);
  88427. },
  88428. expand$1(_, other) {
  88429. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  88430. },
  88431. highlight$1$color(color) {
  88432. var t1 = color === true || false;
  88433. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  88434. },
  88435. message$2$color(_, message, color) {
  88436. var t1 = J.$eq$(color, true) || typeof color == "string",
  88437. t2 = typeof color == "string" ? color : null;
  88438. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2);
  88439. },
  88440. message$1($receiver, message) {
  88441. return this.message$2$color($receiver, message, null);
  88442. },
  88443. $isComparable: 1,
  88444. $isFileSpan: 1,
  88445. $isSourceSpan: 1,
  88446. $isSourceSpanWithContext: 1
  88447. };
  88448. A.SupportsNegation0.prototype = {
  88449. toString$0(_) {
  88450. var t1 = this.condition;
  88451. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  88452. return "not (" + t1.toString$0(0) + ")";
  88453. else
  88454. return "not " + t1.toString$0(0);
  88455. },
  88456. $isAstNode0: 1,
  88457. get$span(receiver) {
  88458. return this.span;
  88459. }
  88460. };
  88461. A.NoOpImporter.prototype = {
  88462. canonicalize$1(_, url) {
  88463. return null;
  88464. },
  88465. load$1(_, url) {
  88466. return null;
  88467. },
  88468. toString$0(_) {
  88469. return "(unknown)";
  88470. }
  88471. };
  88472. A.NoSourceMapBuffer0.prototype = {
  88473. get$length(_) {
  88474. return this._no_source_map_buffer0$_buffer._contents.length;
  88475. },
  88476. forSpan$1$2(span, callback) {
  88477. return callback.call$0();
  88478. },
  88479. forSpan$2(span, callback) {
  88480. return this.forSpan$1$2(span, callback, type$.dynamic);
  88481. },
  88482. write$1(_, object) {
  88483. this._no_source_map_buffer0$_buffer._contents += A.S(object);
  88484. return null;
  88485. },
  88486. writeCharCode$1(charCode) {
  88487. this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  88488. return null;
  88489. },
  88490. toString$0(_) {
  88491. var t1 = this._no_source_map_buffer0$_buffer._contents;
  88492. return t1.charCodeAt(0) == 0 ? t1 : t1;
  88493. },
  88494. buildSourceMap$1$prefix(prefix) {
  88495. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  88496. }
  88497. };
  88498. A.AstNode0.prototype = {};
  88499. A._FakeAstNode0.prototype = {
  88500. get$span(_) {
  88501. return this._node1$_callback.call$0();
  88502. },
  88503. $isAstNode0: 1
  88504. };
  88505. A.CssNode0.prototype = {
  88506. toString$0(_) {
  88507. return A.serialize0(this, true, null, true, null, false, null, true).css;
  88508. }
  88509. };
  88510. A.CssParentNode0.prototype = {};
  88511. A._IsInvisibleVisitor1.prototype = {
  88512. visitCssAtRule$1(rule) {
  88513. return false;
  88514. },
  88515. visitCssComment$1(comment) {
  88516. return this.includeComments && B.JSString_methods._codeUnitAt$1(comment.text, 2) !== 33;
  88517. },
  88518. visitCssStyleRule$1(rule) {
  88519. var t1 = rule.selector.value;
  88520. return (this.includeBogus ? t1.accept$1(B._IsInvisibleVisitor_true0) : t1.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  88521. }
  88522. };
  88523. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  88524. A.FileSystemException0.prototype = {
  88525. toString$0(_) {
  88526. var t1 = $.$get$context();
  88527. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  88528. },
  88529. get$message(receiver) {
  88530. return this.message;
  88531. }
  88532. };
  88533. A.Stderr0.prototype = {
  88534. writeln$1(object) {
  88535. var t1 = object == null ? "" : object;
  88536. J.write$1$x(this._node$_stderr, t1 + "\n");
  88537. },
  88538. writeln$0() {
  88539. return this.writeln$1(null);
  88540. }
  88541. };
  88542. A._readFile_closure0.prototype = {
  88543. call$0() {
  88544. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  88545. },
  88546. $signature: 89
  88547. };
  88548. A.fileExists_closure0.prototype = {
  88549. call$0() {
  88550. var error, systemError, exception,
  88551. t1 = this.path;
  88552. if (!J.existsSync$1$x(A.fs(), t1))
  88553. return false;
  88554. try {
  88555. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  88556. return t1;
  88557. } catch (exception) {
  88558. error = A.unwrapException(exception);
  88559. systemError = type$.JsSystemError._as(error);
  88560. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  88561. return false;
  88562. throw exception;
  88563. }
  88564. },
  88565. $signature: 26
  88566. };
  88567. A.dirExists_closure0.prototype = {
  88568. call$0() {
  88569. var error, systemError, exception,
  88570. t1 = this.path;
  88571. if (!J.existsSync$1$x(A.fs(), t1))
  88572. return false;
  88573. try {
  88574. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  88575. return t1;
  88576. } catch (exception) {
  88577. error = A.unwrapException(exception);
  88578. systemError = type$.JsSystemError._as(error);
  88579. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  88580. return false;
  88581. throw exception;
  88582. }
  88583. },
  88584. $signature: 26
  88585. };
  88586. A.listDir_closure0.prototype = {
  88587. call$0() {
  88588. var t1 = this.path;
  88589. if (!this.recursive)
  88590. 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());
  88591. else
  88592. return new A.listDir_closure_list0().call$1(t1);
  88593. },
  88594. $signature: 148
  88595. };
  88596. A.listDir__closure1.prototype = {
  88597. call$1(child) {
  88598. return A.join(this.path, A._asString(child), null);
  88599. },
  88600. $signature: 88
  88601. };
  88602. A.listDir__closure2.prototype = {
  88603. call$1(child) {
  88604. return !A.dirExists0(child);
  88605. },
  88606. $signature: 8
  88607. };
  88608. A.listDir_closure_list0.prototype = {
  88609. call$1($parent) {
  88610. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  88611. },
  88612. $signature: 149
  88613. };
  88614. A.listDir__list_closure0.prototype = {
  88615. call$1(child) {
  88616. var path = A.join(this.parent, A._asString(child), null);
  88617. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  88618. },
  88619. $signature: 150
  88620. };
  88621. A.ModifiableCssNode0.prototype = {
  88622. get$hasFollowingSibling() {
  88623. var t2,
  88624. t1 = this._node0$_parent;
  88625. if (t1 == null)
  88626. t1 = null;
  88627. else {
  88628. t1 = t1.children;
  88629. t2 = this._node0$_indexInParent;
  88630. t2.toString;
  88631. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListMixin.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  88632. }
  88633. return t1 === true;
  88634. },
  88635. get$isGroupEnd() {
  88636. return this.isGroupEnd;
  88637. }
  88638. };
  88639. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  88640. call$1(sibling) {
  88641. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  88642. },
  88643. $signature: 108
  88644. };
  88645. A.ModifiableCssParentNode0.prototype = {
  88646. get$isChildless() {
  88647. return false;
  88648. },
  88649. addChild$1(child) {
  88650. var t1;
  88651. child._node0$_parent = this;
  88652. t1 = this._node0$_children;
  88653. child._node0$_indexInParent = t1.length;
  88654. t1.push(child);
  88655. },
  88656. $isCssParentNode0: 1,
  88657. get$children(receiver) {
  88658. return this.children;
  88659. }
  88660. };
  88661. A.main_closure0.prototype = {
  88662. call$2(_, __) {
  88663. },
  88664. $signature: 471
  88665. };
  88666. A.main_closure1.prototype = {
  88667. call$2(_, __) {
  88668. },
  88669. $signature: 472
  88670. };
  88671. A.NodeToDartLogger.prototype = {
  88672. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  88673. var t1 = this._node,
  88674. warn = t1 == null ? null : J.get$warn$x(t1);
  88675. if (warn == null)
  88676. this._withAscii$1(new A.NodeToDartLogger_warn_closure(this, message, span, trace, deprecation));
  88677. else {
  88678. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  88679. warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
  88680. }
  88681. },
  88682. warn$1($receiver, message) {
  88683. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  88684. },
  88685. warn$2$deprecation($receiver, message, deprecation) {
  88686. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  88687. },
  88688. warn$2$span($receiver, message, span) {
  88689. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  88690. },
  88691. warn$3$deprecation$span($receiver, message, deprecation, span) {
  88692. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  88693. },
  88694. warn$2$trace($receiver, message, trace) {
  88695. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  88696. },
  88697. debug$2(_, message, span) {
  88698. var t1 = this._node,
  88699. debug = t1 == null ? null : J.get$debug$x(t1);
  88700. if (debug == null)
  88701. this._withAscii$1(new A.NodeToDartLogger_debug_closure(this, message, span));
  88702. else
  88703. debug.call$2(message, {span: span});
  88704. },
  88705. _withAscii$1$1(callback) {
  88706. var t1,
  88707. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  88708. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  88709. try {
  88710. t1 = callback.call$0();
  88711. return t1;
  88712. } finally {
  88713. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  88714. }
  88715. },
  88716. _withAscii$1(callback) {
  88717. return this._withAscii$1$1(callback, type$.dynamic);
  88718. }
  88719. };
  88720. A.NodeToDartLogger_warn_closure.prototype = {
  88721. call$0() {
  88722. var _this = this;
  88723. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
  88724. },
  88725. $signature: 1
  88726. };
  88727. A.NodeToDartLogger_debug_closure.prototype = {
  88728. call$0() {
  88729. return this.$this._fallback.debug$2(0, this.message, this.span);
  88730. },
  88731. $signature: 0
  88732. };
  88733. A.NullExpression0.prototype = {
  88734. accept$1$1(visitor) {
  88735. return visitor.visitNullExpression$1(this);
  88736. },
  88737. accept$1(visitor) {
  88738. return this.accept$1$1(visitor, type$.dynamic);
  88739. },
  88740. toString$0(_) {
  88741. return "null";
  88742. },
  88743. $isExpression0: 1,
  88744. $isAstNode0: 1,
  88745. get$span(receiver) {
  88746. return this.span;
  88747. }
  88748. };
  88749. A.legacyNullClass_closure.prototype = {
  88750. call$0() {
  88751. var t1 = type$.JSClass,
  88752. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  88753. jsClass.NULL = B.C__SassNull0;
  88754. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  88755. return jsClass;
  88756. },
  88757. $signature: 24
  88758. };
  88759. A.legacyNullClass__closure.prototype = {
  88760. call$2(_, __) {
  88761. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  88762. },
  88763. call$1(_) {
  88764. return this.call$2(_, null);
  88765. },
  88766. "call*": "call$2",
  88767. $requiredArgCount: 1,
  88768. $defaultValues() {
  88769. return [null];
  88770. },
  88771. $signature: 211
  88772. };
  88773. A._SassNull0.prototype = {
  88774. get$isTruthy() {
  88775. return false;
  88776. },
  88777. get$isBlank() {
  88778. return true;
  88779. },
  88780. get$realNull() {
  88781. return null;
  88782. },
  88783. accept$1$1(visitor) {
  88784. if (visitor._serialize0$_inspect)
  88785. visitor._serialize0$_buffer.write$1(0, "null");
  88786. return null;
  88787. },
  88788. accept$1(visitor) {
  88789. return this.accept$1$1(visitor, type$.dynamic);
  88790. },
  88791. unaryNot$0() {
  88792. return B.SassBoolean_true0;
  88793. }
  88794. };
  88795. A.NumberExpression0.prototype = {
  88796. accept$1$1(visitor) {
  88797. return visitor.visitNumberExpression$1(this);
  88798. },
  88799. accept$1(visitor) {
  88800. return this.accept$1$1(visitor, type$.dynamic);
  88801. },
  88802. toString$0(_) {
  88803. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  88804. },
  88805. $isExpression0: 1,
  88806. $isAstNode0: 1,
  88807. get$span(receiver) {
  88808. return this.span;
  88809. }
  88810. };
  88811. A._NodeSassNumber.prototype = {};
  88812. A.legacyNumberClass_closure.prototype = {
  88813. call$4(thisArg, value, unit, dartValue) {
  88814. var t1;
  88815. if (dartValue == null) {
  88816. value.toString;
  88817. t1 = A._parseNumber(value, unit);
  88818. } else
  88819. t1 = dartValue;
  88820. J.set$dartValue$x(thisArg, t1);
  88821. },
  88822. call$2(thisArg, value) {
  88823. return this.call$4(thisArg, value, null, null);
  88824. },
  88825. call$3(thisArg, value, unit) {
  88826. return this.call$4(thisArg, value, unit, null);
  88827. },
  88828. "call*": "call$4",
  88829. $requiredArgCount: 2,
  88830. $defaultValues() {
  88831. return [null, null];
  88832. },
  88833. $signature: 473
  88834. };
  88835. A.legacyNumberClass_closure0.prototype = {
  88836. call$1(thisArg) {
  88837. return J.get$dartValue$x(thisArg)._number1$_value;
  88838. },
  88839. $signature: 474
  88840. };
  88841. A.legacyNumberClass_closure1.prototype = {
  88842. call$2(thisArg, value) {
  88843. var t1 = J.getInterceptor$x(thisArg),
  88844. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  88845. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  88846. },
  88847. $signature: 475
  88848. };
  88849. A.legacyNumberClass_closure2.prototype = {
  88850. call$1(thisArg) {
  88851. var t1 = J.getInterceptor$x(thisArg),
  88852. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  88853. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  88854. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  88855. },
  88856. $signature: 476
  88857. };
  88858. A.legacyNumberClass_closure3.prototype = {
  88859. call$2(thisArg, unit) {
  88860. var t1 = J.getInterceptor$x(thisArg);
  88861. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  88862. },
  88863. $signature: 477
  88864. };
  88865. A._parseNumber_closure.prototype = {
  88866. call$1(unit) {
  88867. return unit.length === 0;
  88868. },
  88869. $signature: 8
  88870. };
  88871. A._parseNumber_closure0.prototype = {
  88872. call$1(unit) {
  88873. return unit.length === 0;
  88874. },
  88875. $signature: 8
  88876. };
  88877. A.numberClass_closure.prototype = {
  88878. call$0() {
  88879. var t1 = type$.JSClass,
  88880. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  88881. t2 = type$.String,
  88882. t3 = type$.Function;
  88883. 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));
  88884. 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));
  88885. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  88886. return jsClass;
  88887. },
  88888. $signature: 24
  88889. };
  88890. A.numberClass__closure.prototype = {
  88891. call$3($self, value, unitOrOptions) {
  88892. var t1, t2, _null = null;
  88893. if (typeof unitOrOptions == "string")
  88894. return A.SassNumber_SassNumber0(value, unitOrOptions);
  88895. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  88896. t1 = unitOrOptions == null;
  88897. if (t1)
  88898. t2 = _null;
  88899. else {
  88900. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  88901. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  88902. }
  88903. if (t1)
  88904. t1 = _null;
  88905. else {
  88906. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  88907. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  88908. }
  88909. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  88910. },
  88911. call$2($self, value) {
  88912. return this.call$3($self, value, null);
  88913. },
  88914. "call*": "call$3",
  88915. $requiredArgCount: 2,
  88916. $defaultValues() {
  88917. return [null];
  88918. },
  88919. $signature: 478
  88920. };
  88921. A.numberClass__closure0.prototype = {
  88922. call$1($self) {
  88923. return $self._number1$_value;
  88924. },
  88925. $signature: 479
  88926. };
  88927. A.numberClass__closure1.prototype = {
  88928. call$1($self) {
  88929. return A.fuzzyIsInt($self._number1$_value);
  88930. },
  88931. $signature: 238
  88932. };
  88933. A.numberClass__closure2.prototype = {
  88934. call$1($self) {
  88935. return A.fuzzyAsInt0($self._number1$_value);
  88936. },
  88937. $signature: 481
  88938. };
  88939. A.numberClass__closure3.prototype = {
  88940. call$1($self) {
  88941. return new self.immutable.List($self.get$numeratorUnits($self));
  88942. },
  88943. $signature: 239
  88944. };
  88945. A.numberClass__closure4.prototype = {
  88946. call$1($self) {
  88947. return new self.immutable.List($self.get$denominatorUnits($self));
  88948. },
  88949. $signature: 239
  88950. };
  88951. A.numberClass__closure5.prototype = {
  88952. call$1($self) {
  88953. return $self.get$hasUnits();
  88954. },
  88955. $signature: 238
  88956. };
  88957. A.numberClass__closure6.prototype = {
  88958. call$2($self, $name) {
  88959. return $self.assertInt$1($name);
  88960. },
  88961. call$1($self) {
  88962. return this.call$2($self, null);
  88963. },
  88964. "call*": "call$2",
  88965. $requiredArgCount: 1,
  88966. $defaultValues() {
  88967. return [null];
  88968. },
  88969. $signature: 483
  88970. };
  88971. A.numberClass__closure7.prototype = {
  88972. call$4($self, min, max, $name) {
  88973. return $self.valueInRange$3(min, max, $name);
  88974. },
  88975. call$3($self, min, max) {
  88976. return this.call$4($self, min, max, null);
  88977. },
  88978. "call*": "call$4",
  88979. $requiredArgCount: 3,
  88980. $defaultValues() {
  88981. return [null];
  88982. },
  88983. $signature: 484
  88984. };
  88985. A.numberClass__closure8.prototype = {
  88986. call$2($self, $name) {
  88987. $self.assertNoUnits$1($name);
  88988. return $self;
  88989. },
  88990. call$1($self) {
  88991. return this.call$2($self, null);
  88992. },
  88993. "call*": "call$2",
  88994. $requiredArgCount: 1,
  88995. $defaultValues() {
  88996. return [null];
  88997. },
  88998. $signature: 485
  88999. };
  89000. A.numberClass__closure9.prototype = {
  89001. call$3($self, unit, $name) {
  89002. $self.assertUnit$2(unit, $name);
  89003. return $self;
  89004. },
  89005. call$2($self, unit) {
  89006. return this.call$3($self, unit, null);
  89007. },
  89008. "call*": "call$3",
  89009. $requiredArgCount: 2,
  89010. $defaultValues() {
  89011. return [null];
  89012. },
  89013. $signature: 486
  89014. };
  89015. A.numberClass__closure10.prototype = {
  89016. call$2($self, unit) {
  89017. return $self.hasUnit$1(unit);
  89018. },
  89019. $signature: 240
  89020. };
  89021. A.numberClass__closure11.prototype = {
  89022. call$2($self, unit) {
  89023. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  89024. },
  89025. $signature: 240
  89026. };
  89027. A.numberClass__closure12.prototype = {
  89028. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89029. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89030. t2 = type$.String;
  89031. t1 = J.cast$1$0$ax(t1, t2);
  89032. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  89033. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  89034. },
  89035. call$3($self, numeratorUnits, denominatorUnits) {
  89036. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89037. },
  89038. "call*": "call$4",
  89039. $requiredArgCount: 3,
  89040. $defaultValues() {
  89041. return [null];
  89042. },
  89043. $signature: 241
  89044. };
  89045. A.numberClass__closure13.prototype = {
  89046. call$4($self, other, $name, otherName) {
  89047. return $self.convertToMatch$3(other, $name, otherName);
  89048. },
  89049. call$2($self, other) {
  89050. return this.call$4($self, other, null, null);
  89051. },
  89052. call$3($self, other, $name) {
  89053. return this.call$4($self, other, $name, null);
  89054. },
  89055. "call*": "call$4",
  89056. $requiredArgCount: 2,
  89057. $defaultValues() {
  89058. return [null, null];
  89059. },
  89060. $signature: 242
  89061. };
  89062. A.numberClass__closure14.prototype = {
  89063. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89064. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89065. t2 = type$.String;
  89066. t1 = J.cast$1$0$ax(t1, t2);
  89067. 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);
  89068. },
  89069. call$3($self, numeratorUnits, denominatorUnits) {
  89070. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89071. },
  89072. "call*": "call$4",
  89073. $requiredArgCount: 3,
  89074. $defaultValues() {
  89075. return [null];
  89076. },
  89077. $signature: 243
  89078. };
  89079. A.numberClass__closure15.prototype = {
  89080. call$4($self, other, $name, otherName) {
  89081. return $self.convertValueToMatch$3(other, $name, otherName);
  89082. },
  89083. call$2($self, other) {
  89084. return this.call$4($self, other, null, null);
  89085. },
  89086. call$3($self, other, $name) {
  89087. return this.call$4($self, other, $name, null);
  89088. },
  89089. "call*": "call$4",
  89090. $requiredArgCount: 2,
  89091. $defaultValues() {
  89092. return [null, null];
  89093. },
  89094. $signature: 141
  89095. };
  89096. A.numberClass__closure16.prototype = {
  89097. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89098. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89099. t2 = type$.String;
  89100. t1 = J.cast$1$0$ax(t1, t2);
  89101. 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);
  89102. },
  89103. call$3($self, numeratorUnits, denominatorUnits) {
  89104. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89105. },
  89106. "call*": "call$4",
  89107. $requiredArgCount: 3,
  89108. $defaultValues() {
  89109. return [null];
  89110. },
  89111. $signature: 241
  89112. };
  89113. A.numberClass__closure17.prototype = {
  89114. call$4($self, other, $name, otherName) {
  89115. return $self.coerceToMatch$3(other, $name, otherName);
  89116. },
  89117. call$2($self, other) {
  89118. return this.call$4($self, other, null, null);
  89119. },
  89120. call$3($self, other, $name) {
  89121. return this.call$4($self, other, $name, null);
  89122. },
  89123. "call*": "call$4",
  89124. $requiredArgCount: 2,
  89125. $defaultValues() {
  89126. return [null, null];
  89127. },
  89128. $signature: 242
  89129. };
  89130. A.numberClass__closure18.prototype = {
  89131. call$4($self, numeratorUnits, denominatorUnits, $name) {
  89132. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  89133. t2 = type$.String;
  89134. t1 = J.cast$1$0$ax(t1, t2);
  89135. 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);
  89136. },
  89137. call$3($self, numeratorUnits, denominatorUnits) {
  89138. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  89139. },
  89140. "call*": "call$4",
  89141. $requiredArgCount: 3,
  89142. $defaultValues() {
  89143. return [null];
  89144. },
  89145. $signature: 243
  89146. };
  89147. A.numberClass__closure19.prototype = {
  89148. call$4($self, other, $name, otherName) {
  89149. return $self.coerceValueToMatch$3(other, $name, otherName);
  89150. },
  89151. call$2($self, other) {
  89152. return this.call$4($self, other, null, null);
  89153. },
  89154. call$3($self, other, $name) {
  89155. return this.call$4($self, other, $name, null);
  89156. },
  89157. "call*": "call$4",
  89158. $requiredArgCount: 2,
  89159. $defaultValues() {
  89160. return [null, null];
  89161. },
  89162. $signature: 141
  89163. };
  89164. A._ConstructorOptions0.prototype = {};
  89165. A.SassNumber0.prototype = {
  89166. get$unitString() {
  89167. var _this = this;
  89168. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  89169. },
  89170. accept$1$1(visitor) {
  89171. return visitor.visitNumber$1(this);
  89172. },
  89173. accept$1(visitor) {
  89174. return this.accept$1$1(visitor, type$.dynamic);
  89175. },
  89176. withoutSlash$0() {
  89177. var _this = this;
  89178. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  89179. },
  89180. assertNumber$1($name) {
  89181. return this;
  89182. },
  89183. assertNumber$0() {
  89184. return this.assertNumber$1(null);
  89185. },
  89186. assertInt$1($name) {
  89187. var integer = A.fuzzyAsInt0(this._number1$_value);
  89188. if (integer != null)
  89189. return integer;
  89190. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  89191. },
  89192. assertInt$0() {
  89193. return this.assertInt$1(null);
  89194. },
  89195. valueInRange$3(min, max, $name) {
  89196. var _this = this,
  89197. result = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  89198. if (result != null)
  89199. return result;
  89200. 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));
  89201. },
  89202. valueInRangeWithUnit$4(min, max, $name, unit) {
  89203. var result = A.fuzzyCheckRange0(this._number1$_value, min, max);
  89204. if (result != null)
  89205. return result;
  89206. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  89207. },
  89208. hasCompatibleUnits$1(other) {
  89209. var _this = this;
  89210. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  89211. return false;
  89212. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  89213. return false;
  89214. return _this.isComparableTo$1(other);
  89215. },
  89216. assertUnit$2(unit, $name) {
  89217. if (this.hasUnit$1(unit))
  89218. return;
  89219. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  89220. },
  89221. assertNoUnits$1($name) {
  89222. if (!this.get$hasUnits())
  89223. return;
  89224. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  89225. },
  89226. convertToMatch$3(other, $name, otherName) {
  89227. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  89228. t2 = other.get$numeratorUnits(other);
  89229. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  89230. },
  89231. convertValueToMatch$3(other, $name, otherName) {
  89232. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  89233. },
  89234. coerce$3(newNumerators, newDenominators, $name) {
  89235. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  89236. },
  89237. coerce$2(newNumerators, newDenominators) {
  89238. return this.coerce$3(newNumerators, newDenominators, null);
  89239. },
  89240. coerceValue$3(newNumerators, newDenominators, $name) {
  89241. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  89242. },
  89243. coerceValueToUnit$2(unit, $name) {
  89244. var t1 = type$.JSArray_String;
  89245. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  89246. },
  89247. coerceValueToUnit$1(unit) {
  89248. return this.coerceValueToUnit$2(unit, null);
  89249. },
  89250. coerceToMatch$3(other, $name, otherName) {
  89251. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  89252. t2 = other.get$numeratorUnits(other);
  89253. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  89254. },
  89255. coerceValueToMatch$3(other, $name, otherName) {
  89256. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  89257. },
  89258. coerceValueToMatch$1(other) {
  89259. return this.coerceValueToMatch$3(other, null, null);
  89260. },
  89261. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  89262. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  89263. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  89264. return _this._number1$_value;
  89265. t1 = J.getInterceptor$asx(newNumerators);
  89266. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  89267. if (coerceUnitless)
  89268. t2 = !_this.get$hasUnits() || !otherHasUnits;
  89269. else
  89270. t2 = false;
  89271. if (t2)
  89272. return _this._number1$_value;
  89273. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  89274. _box_0.value = _this._number1$_value;
  89275. t2 = _this.get$numeratorUnits(_this);
  89276. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  89277. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  89278. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  89279. t1 = _this.get$denominatorUnits(_this);
  89280. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  89281. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  89282. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  89283. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  89284. throw A.wrapException(compatibilityException.call$0());
  89285. return _box_0.value;
  89286. },
  89287. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  89288. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  89289. },
  89290. isComparableTo$1(other) {
  89291. var exception;
  89292. if (!this.get$hasUnits() || !other.get$hasUnits())
  89293. return true;
  89294. try {
  89295. this.greaterThan$1(other);
  89296. return true;
  89297. } catch (exception) {
  89298. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  89299. return false;
  89300. else
  89301. throw exception;
  89302. }
  89303. },
  89304. greaterThan$1(other) {
  89305. if (other instanceof A.SassNumber0)
  89306. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89307. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  89308. },
  89309. greaterThanOrEquals$1(other) {
  89310. if (other instanceof A.SassNumber0)
  89311. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89312. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  89313. },
  89314. lessThan$1(other) {
  89315. if (other instanceof A.SassNumber0)
  89316. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89317. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  89318. },
  89319. lessThanOrEquals$1(other) {
  89320. if (other instanceof A.SassNumber0)
  89321. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  89322. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  89323. },
  89324. modulo$1(other) {
  89325. if (other instanceof A.SassNumber0)
  89326. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  89327. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  89328. },
  89329. plus$1(other) {
  89330. var _this = this;
  89331. if (other instanceof A.SassNumber0)
  89332. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  89333. if (!(other instanceof A.SassColor0))
  89334. return _this.super$Value$plus0(other);
  89335. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  89336. },
  89337. minus$1(other) {
  89338. var _this = this;
  89339. if (other instanceof A.SassNumber0)
  89340. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  89341. if (!(other instanceof A.SassColor0))
  89342. return _this.super$Value$minus0(other);
  89343. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  89344. },
  89345. times$1(other) {
  89346. var _this = this;
  89347. if (other instanceof A.SassNumber0) {
  89348. if (!other.get$hasUnits())
  89349. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  89350. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  89351. }
  89352. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  89353. },
  89354. dividedBy$1(other) {
  89355. var _this = this;
  89356. if (other instanceof A.SassNumber0) {
  89357. if (!other.get$hasUnits())
  89358. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  89359. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  89360. }
  89361. return _this.super$Value$dividedBy0(other);
  89362. },
  89363. unaryPlus$0() {
  89364. return this;
  89365. },
  89366. _number1$_coerceUnits$1$2(other, operation) {
  89367. var t1, exception;
  89368. try {
  89369. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  89370. return t1;
  89371. } catch (exception) {
  89372. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  89373. this.coerceValueToMatch$1(other);
  89374. throw exception;
  89375. } else
  89376. throw exception;
  89377. }
  89378. },
  89379. _number1$_coerceUnits$2(other, operation) {
  89380. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  89381. },
  89382. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  89383. var newNumerators, mutableOtherDenominators, t1, t2, _i, numerator, mutableDenominatorUnits, _this = this, _box_0 = {};
  89384. _box_0.value = value;
  89385. if (_this.get$numeratorUnits(_this).length === 0) {
  89386. if (otherDenominators.length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$denominatorUnits(_this), otherNumerators))
  89387. return A.SassNumber_SassNumber$withUnits0(value, _this.get$denominatorUnits(_this), otherNumerators);
  89388. else if (_this.get$denominatorUnits(_this).length === 0)
  89389. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, otherNumerators);
  89390. } else if (otherNumerators.length === 0)
  89391. if (otherDenominators.length === 0)
  89392. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  89393. else if (_this.get$denominatorUnits(_this).length === 0 && !_this._number1$_areAnyConvertible$2(_this.get$numeratorUnits(_this), otherDenominators))
  89394. return A.SassNumber_SassNumber$withUnits0(value, otherDenominators, _this.get$numeratorUnits(_this));
  89395. newNumerators = A._setArrayType([], type$.JSArray_String);
  89396. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  89397. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  89398. numerator = t1[_i];
  89399. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  89400. }
  89401. t1 = _this.get$denominatorUnits(_this);
  89402. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  89403. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  89404. numerator = otherNumerators[_i];
  89405. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  89406. }
  89407. t1 = _box_0.value;
  89408. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  89409. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  89410. },
  89411. _number1$_areAnyConvertible$2(units1, units2) {
  89412. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  89413. },
  89414. _number1$_unitString$2(numerators, denominators) {
  89415. var t2,
  89416. t1 = J.getInterceptor$asx(numerators);
  89417. if (t1.get$isEmpty(numerators)) {
  89418. t1 = J.getInterceptor$asx(denominators);
  89419. if (t1.get$isEmpty(denominators))
  89420. return "no units";
  89421. if (t1.get$length(denominators) === 1)
  89422. return J.$add$ansx(t1.get$single(denominators), "^-1");
  89423. return "(" + t1.join$1(denominators, "*") + ")^-1";
  89424. }
  89425. t2 = J.getInterceptor$asx(denominators);
  89426. if (t2.get$isEmpty(denominators))
  89427. return t1.join$1(numerators, "*");
  89428. return t1.join$1(numerators, "*") + "/" + t2.join$1(denominators, "*");
  89429. },
  89430. $eq(_, other) {
  89431. var _this = this;
  89432. if (other == null)
  89433. return false;
  89434. if (other instanceof A.SassNumber0) {
  89435. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  89436. return false;
  89437. if (!_this.get$hasUnits())
  89438. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  89439. 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))))
  89440. return false;
  89441. 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)));
  89442. } else
  89443. return false;
  89444. },
  89445. get$hashCode(_) {
  89446. var _this = this,
  89447. t1 = _this.hashCache;
  89448. 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;
  89449. },
  89450. _number1$_canonicalizeUnitList$1(units) {
  89451. var type,
  89452. t1 = units.length;
  89453. if (t1 === 0)
  89454. return units;
  89455. if (t1 === 1) {
  89456. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  89457. if (type == null)
  89458. t1 = units;
  89459. else {
  89460. t1 = B.Map_U8AHF.$index(0, type);
  89461. t1.toString;
  89462. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  89463. }
  89464. return t1;
  89465. }
  89466. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  89467. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  89468. B.JSArray_methods.sort$0(t1);
  89469. return t1;
  89470. },
  89471. _number1$_canonicalMultiplier$1(units) {
  89472. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  89473. },
  89474. canonicalMultiplierForUnit$1(unit) {
  89475. var t1,
  89476. innerMap = B.Map_K2BWj.$index(0, unit);
  89477. if (innerMap == null)
  89478. t1 = 1;
  89479. else {
  89480. t1 = innerMap.get$values(innerMap);
  89481. t1 = 1 / t1.get$first(t1);
  89482. }
  89483. return t1;
  89484. },
  89485. unitSuggestion$2($name, unit) {
  89486. var t2, t3, result, _this = this,
  89487. t1 = _this.get$denominatorUnits(_this);
  89488. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  89489. t2 = _this.get$numeratorUnits(_this);
  89490. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  89491. t3 = unit == null ? "" : " * 1" + unit;
  89492. result = "$" + $name + t1 + t2 + t3;
  89493. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  89494. },
  89495. unitSuggestion$1($name) {
  89496. return this.unitSuggestion$2($name, null);
  89497. }
  89498. };
  89499. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  89500. call$0() {
  89501. var t2, t3, message, t4, type, unit, _this = this,
  89502. t1 = _this.other;
  89503. if (t1 != null) {
  89504. t2 = _this.$this;
  89505. t3 = t2.toString$0(0) + " and";
  89506. message = new A.StringBuffer(t3);
  89507. t4 = _this.otherName;
  89508. if (t4 != null)
  89509. t3 = message._contents = t3 + (" $" + t4 + ":");
  89510. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  89511. message._contents = t1;
  89512. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  89513. message._contents = t1 + " (one has units and the other doesn't)";
  89514. t1 = message.toString$0(0) + ".";
  89515. t2 = _this.name;
  89516. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  89517. } else if (!_this.otherHasUnits) {
  89518. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  89519. t2 = _this.name;
  89520. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  89521. } else {
  89522. t1 = _this.newNumerators;
  89523. t2 = J.getInterceptor$asx(t1);
  89524. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  89525. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  89526. if (type != null) {
  89527. t1 = _this.$this.toString$0(0);
  89528. 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;
  89529. t3 = B.Map_U8AHF.$index(0, type);
  89530. t3.toString;
  89531. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  89532. t2 = _this.name;
  89533. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  89534. }
  89535. }
  89536. t3 = _this.newDenominators;
  89537. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  89538. t2 = _this.$this;
  89539. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  89540. t1 = _this.name;
  89541. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  89542. }
  89543. },
  89544. $signature: 492
  89545. };
  89546. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  89547. call$1(oldNumerator) {
  89548. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  89549. if (factor == null)
  89550. return false;
  89551. this._box_0.value *= factor;
  89552. return true;
  89553. },
  89554. $signature: 8
  89555. };
  89556. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  89557. call$0() {
  89558. return A.throwExpression(this.compatibilityException.call$0());
  89559. },
  89560. $signature: 0
  89561. };
  89562. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  89563. call$1(oldDenominator) {
  89564. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  89565. if (factor == null)
  89566. return false;
  89567. this._box_0.value /= factor;
  89568. return true;
  89569. },
  89570. $signature: 8
  89571. };
  89572. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  89573. call$0() {
  89574. return A.throwExpression(this.compatibilityException.call$0());
  89575. },
  89576. $signature: 0
  89577. };
  89578. A.SassNumber_plus_closure0.prototype = {
  89579. call$2(num1, num2) {
  89580. return num1 + num2;
  89581. },
  89582. $signature: 57
  89583. };
  89584. A.SassNumber_minus_closure0.prototype = {
  89585. call$2(num1, num2) {
  89586. return num1 - num2;
  89587. },
  89588. $signature: 57
  89589. };
  89590. A.SassNumber_multiplyUnits_closure3.prototype = {
  89591. call$1(denominator) {
  89592. var factor = A.conversionFactor0(this.numerator, denominator);
  89593. if (factor == null)
  89594. return false;
  89595. this._box_0.value /= factor;
  89596. return true;
  89597. },
  89598. $signature: 8
  89599. };
  89600. A.SassNumber_multiplyUnits_closure4.prototype = {
  89601. call$0() {
  89602. return this.newNumerators.push(this.numerator);
  89603. },
  89604. $signature: 0
  89605. };
  89606. A.SassNumber_multiplyUnits_closure5.prototype = {
  89607. call$1(denominator) {
  89608. var factor = A.conversionFactor0(this.numerator, denominator);
  89609. if (factor == null)
  89610. return false;
  89611. this._box_0.value /= factor;
  89612. return true;
  89613. },
  89614. $signature: 8
  89615. };
  89616. A.SassNumber_multiplyUnits_closure6.prototype = {
  89617. call$0() {
  89618. return this.newNumerators.push(this.numerator);
  89619. },
  89620. $signature: 0
  89621. };
  89622. A.SassNumber__areAnyConvertible_closure0.prototype = {
  89623. call$1(unit1) {
  89624. var innerMap = B.Map_K2BWj.$index(0, unit1);
  89625. if (innerMap == null)
  89626. return B.JSArray_methods.contains$1(this.units2, unit1);
  89627. return B.JSArray_methods.any$1(this.units2, innerMap.get$containsKey());
  89628. },
  89629. $signature: 8
  89630. };
  89631. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  89632. call$1(unit) {
  89633. var t1,
  89634. type = $.$get$_typesByUnit0().$index(0, unit);
  89635. if (type == null)
  89636. t1 = unit;
  89637. else {
  89638. t1 = B.Map_U8AHF.$index(0, type);
  89639. t1.toString;
  89640. t1 = B.JSArray_methods.get$first(t1);
  89641. }
  89642. return t1;
  89643. },
  89644. $signature: 5
  89645. };
  89646. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  89647. call$2(multiplier, unit) {
  89648. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  89649. },
  89650. $signature: 163
  89651. };
  89652. A.SassNumber_unitSuggestion_closure1.prototype = {
  89653. call$1(unit) {
  89654. return " * 1" + unit;
  89655. },
  89656. $signature: 5
  89657. };
  89658. A.SassNumber_unitSuggestion_closure2.prototype = {
  89659. call$1(unit) {
  89660. return " / 1" + unit;
  89661. },
  89662. $signature: 5
  89663. };
  89664. A.SupportsOperation0.prototype = {
  89665. toString$0(_) {
  89666. var _this = this;
  89667. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  89668. },
  89669. _operation0$_parenthesize$1(condition) {
  89670. var t1;
  89671. if (!(condition instanceof A.SupportsNegation0))
  89672. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  89673. else
  89674. t1 = true;
  89675. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  89676. },
  89677. $isAstNode0: 1,
  89678. get$span(receiver) {
  89679. return this.span;
  89680. }
  89681. };
  89682. A.ParentSelector0.prototype = {
  89683. accept$1$1(visitor) {
  89684. return visitor.visitParentSelector$1(this);
  89685. },
  89686. accept$1(visitor) {
  89687. return this.accept$1$1(visitor, type$.dynamic);
  89688. },
  89689. unify$1(compound) {
  89690. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  89691. }
  89692. };
  89693. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  89694. A.ParentStatement_closure0.prototype = {
  89695. call$1(child) {
  89696. var t1;
  89697. if (!(child instanceof A.VariableDeclaration0))
  89698. if (!(child instanceof A.FunctionRule0))
  89699. if (!(child instanceof A.MixinRule0))
  89700. t1 = child instanceof A.ImportRule0 && B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  89701. else
  89702. t1 = true;
  89703. else
  89704. t1 = true;
  89705. else
  89706. t1 = true;
  89707. return t1;
  89708. },
  89709. $signature: 231
  89710. };
  89711. A.ParentStatement__closure0.prototype = {
  89712. call$1($import) {
  89713. return $import instanceof A.DynamicImport0;
  89714. },
  89715. $signature: 232
  89716. };
  89717. A.ParenthesizedExpression0.prototype = {
  89718. accept$1$1(visitor) {
  89719. return visitor.visitParenthesizedExpression$1(this);
  89720. },
  89721. accept$1(visitor) {
  89722. return this.accept$1$1(visitor, type$.dynamic);
  89723. },
  89724. toString$0(_) {
  89725. return "(" + this.expression.toString$0(0) + ")";
  89726. },
  89727. $isExpression0: 1,
  89728. $isAstNode0: 1,
  89729. get$span(receiver) {
  89730. return this.span;
  89731. }
  89732. };
  89733. A.Parser1.prototype = {
  89734. _parser0$_parseIdentifier$0() {
  89735. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  89736. },
  89737. whitespace$0() {
  89738. do
  89739. this.whitespaceWithoutComments$0();
  89740. while (this.scanComment$0());
  89741. },
  89742. whitespaceWithoutComments$0() {
  89743. var t3,
  89744. t1 = this.scanner,
  89745. t2 = t1.string.length;
  89746. while (true) {
  89747. if (t1._string_scanner$_position !== t2) {
  89748. t3 = t1.peekChar$0();
  89749. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  89750. } else
  89751. t3 = false;
  89752. if (!t3)
  89753. break;
  89754. t1.readChar$0();
  89755. }
  89756. },
  89757. spaces$0() {
  89758. var t3,
  89759. t1 = this.scanner,
  89760. t2 = t1.string.length;
  89761. while (true) {
  89762. if (t1._string_scanner$_position !== t2) {
  89763. t3 = t1.peekChar$0();
  89764. t3 = t3 === 32 || t3 === 9;
  89765. } else
  89766. t3 = false;
  89767. if (!t3)
  89768. break;
  89769. t1.readChar$0();
  89770. }
  89771. },
  89772. scanComment$0() {
  89773. var next,
  89774. t1 = this.scanner;
  89775. if (t1.peekChar$0() !== 47)
  89776. return false;
  89777. next = t1.peekChar$1(1);
  89778. if (next === 47) {
  89779. this.silentComment$0();
  89780. return true;
  89781. } else if (next === 42) {
  89782. this.loudComment$0();
  89783. return true;
  89784. } else
  89785. return false;
  89786. },
  89787. expectWhitespace$0() {
  89788. var t2, t3,
  89789. t1 = this.scanner;
  89790. if (t1._string_scanner$_position !== t1.string.length) {
  89791. t2 = t1.peekChar$0();
  89792. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  89793. t2 = t3;
  89794. } else
  89795. t2 = true;
  89796. if (t2)
  89797. t1.error$1(0, "Expected whitespace.");
  89798. this.whitespace$0();
  89799. },
  89800. silentComment$0() {
  89801. var t2, t3,
  89802. t1 = this.scanner;
  89803. t1.expect$1("//");
  89804. t2 = t1.string.length;
  89805. while (true) {
  89806. if (t1._string_scanner$_position !== t2) {
  89807. t3 = t1.peekChar$0();
  89808. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  89809. } else
  89810. t3 = false;
  89811. if (!t3)
  89812. break;
  89813. t1.readChar$0();
  89814. }
  89815. },
  89816. loudComment$0() {
  89817. var next,
  89818. t1 = this.scanner;
  89819. t1.expect$1("/*");
  89820. for (; true;) {
  89821. if (t1.readChar$0() !== 42)
  89822. continue;
  89823. do
  89824. next = t1.readChar$0();
  89825. while (next === 42);
  89826. if (next === 47)
  89827. break;
  89828. }
  89829. },
  89830. identifier$2$normalize$unit(normalize, unit) {
  89831. var t2, first, _this = this,
  89832. _s20_ = "Expected identifier.",
  89833. text = new A.StringBuffer(""),
  89834. t1 = _this.scanner;
  89835. if (t1.scanChar$1(45)) {
  89836. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  89837. if (t1.scanChar$1(45)) {
  89838. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  89839. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  89840. t1 = text._contents;
  89841. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89842. }
  89843. } else
  89844. t2 = "";
  89845. first = t1.peekChar$0();
  89846. if (first == null)
  89847. t1.error$1(0, _s20_);
  89848. else if (normalize && first === 95) {
  89849. t1.readChar$0();
  89850. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  89851. } else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  89852. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  89853. else if (first === 92)
  89854. text._contents = t2 + A.S(_this.escape$1$identifierStart(true));
  89855. else
  89856. t1.error$1(0, _s20_);
  89857. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  89858. t1 = text._contents;
  89859. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89860. },
  89861. identifier$0() {
  89862. return this.identifier$2$normalize$unit(false, false);
  89863. },
  89864. identifier$1$normalize(normalize) {
  89865. return this.identifier$2$normalize$unit(normalize, false);
  89866. },
  89867. identifier$1$unit(unit) {
  89868. return this.identifier$2$normalize$unit(false, unit);
  89869. },
  89870. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  89871. var t1, next, second, t2;
  89872. for (t1 = this.scanner; true;) {
  89873. next = t1.peekChar$0();
  89874. if (next == null)
  89875. break;
  89876. else if (unit && next === 45) {
  89877. second = t1.peekChar$1(1);
  89878. if (second != null)
  89879. if (second !== 46)
  89880. t2 = second >= 48 && second <= 57;
  89881. else
  89882. t2 = true;
  89883. else
  89884. t2 = false;
  89885. if (t2)
  89886. break;
  89887. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89888. } else if (normalize && next === 95) {
  89889. t1.readChar$0();
  89890. text._contents += A.Primitives_stringFromCharCode(45);
  89891. } else {
  89892. if (next !== 95) {
  89893. if (!(next >= 97 && next <= 122))
  89894. t2 = next >= 65 && next <= 90;
  89895. else
  89896. t2 = true;
  89897. t2 = t2 || next >= 128;
  89898. } else
  89899. t2 = true;
  89900. if (!t2)
  89901. t2 = next >= 48 && next <= 57 || next === 45;
  89902. else
  89903. t2 = true;
  89904. if (t2)
  89905. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89906. else if (next === 92)
  89907. text._contents += A.S(this.escape$0());
  89908. else
  89909. break;
  89910. }
  89911. }
  89912. },
  89913. _parser0$_identifierBody$1(text) {
  89914. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  89915. },
  89916. string$0() {
  89917. var buffer, next, t2,
  89918. t1 = this.scanner,
  89919. quote = t1.readChar$0();
  89920. if (quote !== 39 && quote !== 34)
  89921. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  89922. buffer = new A.StringBuffer("");
  89923. for (; true;) {
  89924. next = t1.peekChar$0();
  89925. if (next === quote) {
  89926. t1.readChar$0();
  89927. break;
  89928. } else if (next == null || next === 10 || next === 13 || next === 12)
  89929. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  89930. else if (next === 92) {
  89931. t2 = t1.peekChar$1(1);
  89932. if (t2 === 10 || t2 === 13 || t2 === 12) {
  89933. t1.readChar$0();
  89934. t1.readChar$0();
  89935. } else
  89936. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  89937. } else
  89938. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89939. }
  89940. t1 = buffer._contents;
  89941. return t1.charCodeAt(0) == 0 ? t1 : t1;
  89942. },
  89943. declarationValue$1$allowEmpty(allowEmpty) {
  89944. var t1, t2, wroteNewline, next, start, end, t3, url, _this = this,
  89945. buffer = new A.StringBuffer(""),
  89946. brackets = A._setArrayType([], type$.JSArray_int);
  89947. $label0$1:
  89948. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  89949. next = t1.peekChar$0();
  89950. switch (next) {
  89951. case 92:
  89952. buffer._contents += A.S(_this.escape$1$identifierStart(true));
  89953. wroteNewline = false;
  89954. break;
  89955. case 34:
  89956. case 39:
  89957. start = t1._string_scanner$_position;
  89958. t2.call$0();
  89959. end = t1._string_scanner$_position;
  89960. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  89961. wroteNewline = false;
  89962. break;
  89963. case 47:
  89964. if (t1.peekChar$1(1) === 42) {
  89965. t3 = _this.get$loudComment();
  89966. start = t1._string_scanner$_position;
  89967. t3.call$0();
  89968. end = t1._string_scanner$_position;
  89969. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  89970. } else
  89971. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  89972. wroteNewline = false;
  89973. break;
  89974. case 32:
  89975. case 9:
  89976. if (!wroteNewline) {
  89977. t3 = t1.peekChar$1(1);
  89978. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  89979. } else
  89980. t3 = true;
  89981. if (t3)
  89982. buffer._contents += A.Primitives_stringFromCharCode(32);
  89983. t1.readChar$0();
  89984. break;
  89985. case 10:
  89986. case 13:
  89987. case 12:
  89988. t3 = t1.peekChar$1(-1);
  89989. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  89990. buffer._contents += "\n";
  89991. t1.readChar$0();
  89992. wroteNewline = true;
  89993. break;
  89994. case 40:
  89995. case 123:
  89996. case 91:
  89997. next.toString;
  89998. buffer._contents += A.Primitives_stringFromCharCode(next);
  89999. brackets.push(A.opposite0(t1.readChar$0()));
  90000. wroteNewline = false;
  90001. break;
  90002. case 41:
  90003. case 125:
  90004. case 93:
  90005. if (brackets.length === 0)
  90006. break $label0$1;
  90007. next.toString;
  90008. buffer._contents += A.Primitives_stringFromCharCode(next);
  90009. t1.expectChar$1(brackets.pop());
  90010. wroteNewline = false;
  90011. break;
  90012. case 59:
  90013. if (brackets.length === 0)
  90014. break $label0$1;
  90015. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90016. break;
  90017. case 117:
  90018. case 85:
  90019. url = _this.tryUrl$0();
  90020. if (url != null)
  90021. buffer._contents += url;
  90022. else
  90023. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90024. wroteNewline = false;
  90025. break;
  90026. default:
  90027. if (next == null)
  90028. break $label0$1;
  90029. if (_this.lookingAtIdentifier$0())
  90030. buffer._contents += _this.identifier$0();
  90031. else
  90032. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90033. wroteNewline = false;
  90034. break;
  90035. }
  90036. }
  90037. if (brackets.length !== 0)
  90038. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  90039. if (!allowEmpty && buffer._contents.length === 0)
  90040. t1.error$1(0, "Expected token.");
  90041. t1 = buffer._contents;
  90042. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90043. },
  90044. declarationValue$0() {
  90045. return this.declarationValue$1$allowEmpty(false);
  90046. },
  90047. tryUrl$0() {
  90048. var buffer, next, t2, _this = this,
  90049. t1 = _this.scanner,
  90050. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  90051. if (!_this.scanIdentifier$1("url"))
  90052. return null;
  90053. if (!t1.scanChar$1(40)) {
  90054. t1.set$state(start);
  90055. return null;
  90056. }
  90057. _this.whitespace$0();
  90058. buffer = new A.StringBuffer("");
  90059. buffer._contents = "" + "url(";
  90060. for (; true;) {
  90061. next = t1.peekChar$0();
  90062. if (next == null)
  90063. break;
  90064. else if (next === 92)
  90065. buffer._contents += A.S(_this.escape$0());
  90066. else {
  90067. if (next !== 37)
  90068. if (next !== 38)
  90069. if (next !== 35)
  90070. t2 = next >= 42 && next <= 126 || next >= 128;
  90071. else
  90072. t2 = true;
  90073. else
  90074. t2 = true;
  90075. else
  90076. t2 = true;
  90077. if (t2)
  90078. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90079. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  90080. _this.whitespace$0();
  90081. if (t1.peekChar$0() !== 41)
  90082. break;
  90083. } else if (next === 41) {
  90084. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90085. return t2.charCodeAt(0) == 0 ? t2 : t2;
  90086. } else
  90087. break;
  90088. }
  90089. }
  90090. t1.set$state(start);
  90091. return null;
  90092. },
  90093. variableName$0() {
  90094. this.scanner.expectChar$1(36);
  90095. return this.identifier$1$normalize(true);
  90096. },
  90097. escape$1$identifierStart(identifierStart) {
  90098. var value, first, i, next, t2, exception,
  90099. _s25_ = "Expected escape sequence.",
  90100. t1 = this.scanner,
  90101. start = t1._string_scanner$_position;
  90102. t1.expectChar$1(92);
  90103. value = 0;
  90104. first = t1.peekChar$0();
  90105. if (first == null)
  90106. t1.error$1(0, _s25_);
  90107. else if (first === 10 || first === 13 || first === 12)
  90108. t1.error$1(0, _s25_);
  90109. else if (A.isHex0(first)) {
  90110. for (i = 0; i < 6; ++i) {
  90111. next = t1.peekChar$0();
  90112. if (next == null || !A.isHex0(next))
  90113. break;
  90114. value *= 16;
  90115. value += A.asHex0(t1.readChar$0());
  90116. }
  90117. this.scanCharIf$1(A.character0__isWhitespace$closure());
  90118. } else
  90119. value = t1.readChar$0();
  90120. if (identifierStart) {
  90121. t2 = value;
  90122. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128;
  90123. } else {
  90124. t2 = value;
  90125. t2 = t2 === 95 || A.isAlphabetic1(t2) || t2 >= 128 || A.isDigit0(t2) || t2 === 45;
  90126. }
  90127. if (t2)
  90128. try {
  90129. t2 = A.Primitives_stringFromCharCode(value);
  90130. return t2;
  90131. } catch (exception) {
  90132. if (type$.RangeError._is(A.unwrapException(exception)))
  90133. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  90134. else
  90135. throw exception;
  90136. }
  90137. else {
  90138. if (!(value <= 31))
  90139. if (!J.$eq$(value, 127))
  90140. t1 = identifierStart && A.isDigit0(value);
  90141. else
  90142. t1 = true;
  90143. else
  90144. t1 = true;
  90145. if (t1) {
  90146. t1 = "" + A.Primitives_stringFromCharCode(92);
  90147. if (value > 15)
  90148. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  90149. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  90150. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90151. } else
  90152. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  90153. }
  90154. },
  90155. escape$0() {
  90156. return this.escape$1$identifierStart(false);
  90157. },
  90158. scanCharIf$1(condition) {
  90159. var t1 = this.scanner;
  90160. if (!condition.call$1(t1.peekChar$0()))
  90161. return false;
  90162. t1.readChar$0();
  90163. return true;
  90164. },
  90165. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  90166. var t3,
  90167. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  90168. t2 = this.scanner,
  90169. next = t2.peekChar$0();
  90170. if (next != null && t1.call$1(next)) {
  90171. t2.readChar$0();
  90172. return true;
  90173. } else if (next === 92) {
  90174. t3 = t2._string_scanner$_position;
  90175. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  90176. return true;
  90177. t2.set$state(new A._SpanScannerState(t2, t3));
  90178. }
  90179. return false;
  90180. },
  90181. scanIdentChar$1(char) {
  90182. return this.scanIdentChar$2$caseSensitive(char, false);
  90183. },
  90184. expectIdentChar$1(letter) {
  90185. var t1;
  90186. if (this.scanIdentChar$2$caseSensitive(letter, false))
  90187. return;
  90188. t1 = this.scanner;
  90189. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  90190. },
  90191. lookingAtIdentifier$1($forward) {
  90192. var t1, first, second;
  90193. if ($forward == null)
  90194. $forward = 0;
  90195. t1 = this.scanner;
  90196. first = t1.peekChar$1($forward);
  90197. if (first == null)
  90198. return false;
  90199. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  90200. return true;
  90201. if (first !== 45)
  90202. return false;
  90203. second = t1.peekChar$1($forward + 1);
  90204. if (second == null)
  90205. return false;
  90206. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  90207. },
  90208. lookingAtIdentifier$0() {
  90209. return this.lookingAtIdentifier$1(null);
  90210. },
  90211. lookingAtIdentifierBody$0() {
  90212. var t1,
  90213. next = this.scanner.peekChar$0();
  90214. if (next != null)
  90215. t1 = next === 95 || A.isAlphabetic1(next) || next >= 128 || A.isDigit0(next) || next === 45 || next === 92;
  90216. else
  90217. t1 = false;
  90218. return t1;
  90219. },
  90220. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  90221. var t1, t2, _this = this;
  90222. if (!_this.lookingAtIdentifier$0())
  90223. return false;
  90224. t1 = _this.scanner;
  90225. t2 = t1._string_scanner$_position;
  90226. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  90227. return true;
  90228. else {
  90229. t1.set$state(new A._SpanScannerState(t1, t2));
  90230. return false;
  90231. }
  90232. },
  90233. scanIdentifier$1(text) {
  90234. return this.scanIdentifier$2$caseSensitive(text, false);
  90235. },
  90236. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  90237. var t1, t2, t3;
  90238. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  90239. t3 = t1.__internal$_current;
  90240. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  90241. return false;
  90242. }
  90243. return true;
  90244. },
  90245. expectIdentifier$2$name(text, $name) {
  90246. var t1, start, t2, t3, t4, t5, t6;
  90247. if ($name == null)
  90248. $name = '"' + text + '"';
  90249. t1 = this.scanner;
  90250. start = t1._string_scanner$_position;
  90251. 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();) {
  90252. t6 = t2.__internal$_current;
  90253. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  90254. continue;
  90255. t1.error$2$position(0, t4, start);
  90256. }
  90257. if (!this.lookingAtIdentifierBody$0())
  90258. return;
  90259. t1.error$2$position(0, t3, start);
  90260. },
  90261. expectIdentifier$1(text) {
  90262. return this.expectIdentifier$2$name(text, null);
  90263. },
  90264. rawText$1(consumer) {
  90265. var t1 = this.scanner,
  90266. start = t1._string_scanner$_position;
  90267. consumer.call$0();
  90268. return t1.substring$1(0, start);
  90269. },
  90270. error$3(_, message, span, trace) {
  90271. var exception = new A.StringScannerException(this.scanner.string, message, span);
  90272. if (trace == null)
  90273. throw A.wrapException(exception);
  90274. else
  90275. A.throwWithTrace0(exception, trace);
  90276. },
  90277. error$2($receiver, message, span) {
  90278. return this.error$3($receiver, message, span, null);
  90279. },
  90280. withErrorMessage$1$2(message, callback) {
  90281. var error, stackTrace, t1, exception;
  90282. try {
  90283. t1 = callback.call$0();
  90284. return t1;
  90285. } catch (exception) {
  90286. t1 = A.unwrapException(exception);
  90287. if (type$.SourceSpanFormatException._is(t1)) {
  90288. error = t1;
  90289. stackTrace = A.getTraceFromException(exception);
  90290. t1 = J.get$span$z(error);
  90291. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), stackTrace);
  90292. } else
  90293. throw exception;
  90294. }
  90295. },
  90296. withErrorMessage$2(message, callback) {
  90297. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  90298. },
  90299. wrapSpanFormatException$1$1(callback) {
  90300. var error, stackTrace, span, startPosition, t1, exception;
  90301. try {
  90302. t1 = callback.call$0();
  90303. return t1;
  90304. } catch (exception) {
  90305. t1 = A.unwrapException(exception);
  90306. if (type$.SourceSpanFormatException._is(t1)) {
  90307. error = t1;
  90308. stackTrace = A.getTraceFromException(exception);
  90309. span = J.get$span$z(error);
  90310. if (A.startsWithIgnoreCase0(error._span_exception$_message, "expected") && J.get$length$asx(span) === 0) {
  90311. startPosition = this._parser0$_firstNewlineBefore$1(J.get$start$z(span).offset);
  90312. if (!J.$eq$(startPosition, J.get$start$z(span).offset))
  90313. span = J.get$file$x(span).span$2(0, startPosition, startPosition);
  90314. }
  90315. A.throwWithTrace0(new A.SassFormatException0(error._span_exception$_message, span), stackTrace);
  90316. } else
  90317. throw exception;
  90318. }
  90319. },
  90320. wrapSpanFormatException$1(callback) {
  90321. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  90322. },
  90323. _parser0$_firstNewlineBefore$1(position) {
  90324. var t1, lastNewline, codeUnit,
  90325. index = position - 1;
  90326. for (t1 = this.scanner.string, lastNewline = null; index >= 0;) {
  90327. codeUnit = B.JSString_methods.codeUnitAt$1(t1, index);
  90328. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  90329. return lastNewline == null ? position : lastNewline;
  90330. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  90331. lastNewline = index;
  90332. --index;
  90333. }
  90334. return position;
  90335. }
  90336. };
  90337. A.Parser__parseIdentifier_closure0.prototype = {
  90338. call$0() {
  90339. var t1 = this.$this,
  90340. result = t1.identifier$0();
  90341. t1.scanner.expectDone$0();
  90342. return result;
  90343. },
  90344. $signature: 32
  90345. };
  90346. A.Parser_scanIdentChar_matches0.prototype = {
  90347. call$1(actual) {
  90348. var t1 = this.char;
  90349. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  90350. },
  90351. $signature: 53
  90352. };
  90353. A.PlaceholderSelector0.prototype = {
  90354. accept$1$1(visitor) {
  90355. return visitor.visitPlaceholderSelector$1(this);
  90356. },
  90357. accept$1(visitor) {
  90358. return this.accept$1$1(visitor, type$.dynamic);
  90359. },
  90360. addSuffix$1(suffix) {
  90361. return new A.PlaceholderSelector0(this.name + suffix);
  90362. },
  90363. $eq(_, other) {
  90364. if (other == null)
  90365. return false;
  90366. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  90367. },
  90368. get$hashCode(_) {
  90369. return B.JSString_methods.get$hashCode(this.name);
  90370. }
  90371. };
  90372. A.PlainCssCallable0.prototype = {
  90373. $eq(_, other) {
  90374. if (other == null)
  90375. return false;
  90376. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  90377. },
  90378. get$hashCode(_) {
  90379. return B.JSString_methods.get$hashCode(this.name);
  90380. },
  90381. $isAsyncCallable0: 1,
  90382. $isCallable0: 1,
  90383. get$name(receiver) {
  90384. return this.name;
  90385. }
  90386. };
  90387. A.PrefixedMapView0.prototype = {
  90388. get$keys(_) {
  90389. return new A._PrefixedKeys0(this);
  90390. },
  90391. get$length(_) {
  90392. var t1 = this._prefixed_map_view0$_map;
  90393. return t1.get$length(t1);
  90394. },
  90395. get$isEmpty(_) {
  90396. var t1 = this._prefixed_map_view0$_map;
  90397. return t1.get$isEmpty(t1);
  90398. },
  90399. get$isNotEmpty(_) {
  90400. var t1 = this._prefixed_map_view0$_map;
  90401. return t1.get$isNotEmpty(t1);
  90402. },
  90403. $index(_, key) {
  90404. 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;
  90405. },
  90406. containsKey$1(key) {
  90407. 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));
  90408. }
  90409. };
  90410. A._PrefixedKeys0.prototype = {
  90411. get$length(_) {
  90412. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  90413. return t1.get$length(t1);
  90414. },
  90415. get$iterator(_) {
  90416. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  90417. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  90418. return t1.get$iterator(t1);
  90419. },
  90420. contains$1(_, key) {
  90421. return this._prefixed_map_view0$_view.containsKey$1(key);
  90422. }
  90423. };
  90424. A._PrefixedKeys_iterator_closure0.prototype = {
  90425. call$1(key) {
  90426. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  90427. },
  90428. $signature: 5
  90429. };
  90430. A.PseudoSelector0.prototype = {
  90431. get$isHostContext() {
  90432. return this.isClass && this.name === "host-context" && this.selector != null;
  90433. },
  90434. get$specificity() {
  90435. var result, _this = this,
  90436. value = _this._pseudo$__PseudoSelector_specificity_FI;
  90437. if (value === $) {
  90438. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  90439. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  90440. _this._pseudo$__PseudoSelector_specificity_FI = result;
  90441. value = result;
  90442. }
  90443. return value;
  90444. },
  90445. addSuffix$1(suffix) {
  90446. var _this = this;
  90447. if (_this.argument != null || _this.selector != null)
  90448. _this.super$SimpleSelector$addSuffix0(suffix);
  90449. return A.PseudoSelector$0(_this.name + suffix, null, !_this.isClass, null);
  90450. },
  90451. unify$1(compound) {
  90452. var other, result, t2, addedThis, _i, simple, _this = this,
  90453. t1 = _this.name;
  90454. if (t1 === "host" || t1 === "host-context") {
  90455. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  90456. return null;
  90457. } else if (compound.length === 1) {
  90458. other = B.JSArray_methods.get$first(compound);
  90459. if (!(other instanceof A.UniversalSelector0))
  90460. if (other instanceof A.PseudoSelector0)
  90461. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  90462. else
  90463. t1 = false;
  90464. else
  90465. t1 = true;
  90466. if (t1)
  90467. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  90468. }
  90469. if (B.JSArray_methods.contains$1(compound, _this))
  90470. return compound;
  90471. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  90472. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  90473. simple = compound[_i];
  90474. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  90475. if (t2)
  90476. return null;
  90477. result.push(_this);
  90478. addedThis = true;
  90479. }
  90480. result.push(simple);
  90481. }
  90482. if (!addedThis)
  90483. result.push(_this);
  90484. return result;
  90485. },
  90486. isSuperselector$1(other) {
  90487. var selector, t1, _this = this;
  90488. if (_this.super$SimpleSelector$isSuperselector0(other))
  90489. return true;
  90490. selector = _this.selector;
  90491. if (selector == null)
  90492. return _this.$eq(0, other);
  90493. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  90494. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  90495. return t1 == null ? false : t1;
  90496. }
  90497. t1 = type$.JSArray_SimpleSelector_2;
  90498. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1)), A.CompoundSelector$0(A._setArrayType([other], t1)), null);
  90499. },
  90500. accept$1$1(visitor) {
  90501. return visitor.visitPseudoSelector$1(this);
  90502. },
  90503. accept$1(visitor) {
  90504. return this.accept$1$1(visitor, type$.dynamic);
  90505. },
  90506. $eq(_, other) {
  90507. var _this = this;
  90508. if (other == null)
  90509. return false;
  90510. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  90511. },
  90512. get$hashCode(_) {
  90513. var _this = this,
  90514. t1 = B.JSString_methods.get$hashCode(_this.name),
  90515. t2 = !_this.isClass ? 519018 : 218159;
  90516. return (t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector)) >>> 0;
  90517. }
  90518. };
  90519. A.PseudoSelector_specificity_closure0.prototype = {
  90520. call$0() {
  90521. var selector, t2,
  90522. t1 = this.$this;
  90523. if (!t1.isClass)
  90524. return 1;
  90525. selector = t1.selector;
  90526. if (selector == null)
  90527. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  90528. switch (t1.normalizedName) {
  90529. case "where":
  90530. return 0;
  90531. case "is":
  90532. case "not":
  90533. case "has":
  90534. case "matches":
  90535. t1 = selector.components;
  90536. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  90537. case "nth-child":
  90538. case "nth-last-child":
  90539. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  90540. t2 = selector.components;
  90541. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  90542. default:
  90543. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  90544. }
  90545. },
  90546. $signature: 12
  90547. };
  90548. A.PseudoSelector_specificity__closure1.prototype = {
  90549. call$1(component) {
  90550. return component.get$specificity();
  90551. },
  90552. $signature: 244
  90553. };
  90554. A.PseudoSelector_specificity__closure2.prototype = {
  90555. call$1(component) {
  90556. return component.get$specificity();
  90557. },
  90558. $signature: 244
  90559. };
  90560. A.PseudoSelector_unify_closure0.prototype = {
  90561. call$1(simple) {
  90562. var t1;
  90563. if (simple instanceof A.PseudoSelector0)
  90564. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  90565. else
  90566. t1 = false;
  90567. return t1;
  90568. },
  90569. $signature: 13
  90570. };
  90571. A.PublicMemberMapView0.prototype = {
  90572. get$keys(_) {
  90573. var t1 = this._public_member_map_view0$_inner;
  90574. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  90575. },
  90576. containsKey$1(key) {
  90577. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  90578. },
  90579. $index(_, key) {
  90580. if (typeof key == "string" && A.isPublic0(key))
  90581. return this._public_member_map_view0$_inner.$index(0, key);
  90582. return null;
  90583. }
  90584. };
  90585. A.QualifiedName0.prototype = {
  90586. $eq(_, other) {
  90587. if (other == null)
  90588. return false;
  90589. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  90590. },
  90591. get$hashCode(_) {
  90592. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  90593. },
  90594. toString$0(_) {
  90595. var t1 = this.namespace,
  90596. t2 = this.name;
  90597. return t1 == null ? t2 : t1 + "|" + t2;
  90598. }
  90599. };
  90600. A.JSClass0.prototype = {};
  90601. A.JSClassExtension_setCustomInspect_closure.prototype = {
  90602. call$4($self, _, __, ___) {
  90603. return this.inspect.call$1($self);
  90604. },
  90605. call$3($self, _, __) {
  90606. return this.call$4($self, _, __, null);
  90607. },
  90608. "call*": "call$4",
  90609. $requiredArgCount: 3,
  90610. $defaultValues() {
  90611. return [null];
  90612. },
  90613. $signature: 494
  90614. };
  90615. A.JSClassExtension_get_defineMethod_closure.prototype = {
  90616. call$2($name, body) {
  90617. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  90618. return null;
  90619. },
  90620. $signature: 245
  90621. };
  90622. A.JSClassExtension_get_defineGetter_closure.prototype = {
  90623. call$2($name, body) {
  90624. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  90625. return null;
  90626. },
  90627. $signature: 245
  90628. };
  90629. A.RenderContext0.prototype = {};
  90630. A.RenderContextOptions0.prototype = {};
  90631. A.RenderContextResult0.prototype = {};
  90632. A.RenderContextResultStats0.prototype = {};
  90633. A.RenderOptions.prototype = {};
  90634. A.RenderResult.prototype = {};
  90635. A.RenderResultStats.prototype = {};
  90636. A.ImporterResult0.prototype = {
  90637. get$sourceMapUrl(_) {
  90638. var t1 = this._result$_sourceMapUrl;
  90639. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  90640. }
  90641. };
  90642. A.ReturnRule0.prototype = {
  90643. accept$1$1(visitor) {
  90644. return visitor.visitReturnRule$1(this);
  90645. },
  90646. accept$1(visitor) {
  90647. return this.accept$1$1(visitor, type$.dynamic);
  90648. },
  90649. toString$0(_) {
  90650. return "@return " + this.expression.toString$0(0) + ";";
  90651. },
  90652. $isAstNode0: 1,
  90653. $isStatement0: 1,
  90654. get$span(receiver) {
  90655. return this.span;
  90656. }
  90657. };
  90658. A.main_printError.prototype = {
  90659. call$2(error, stackTrace) {
  90660. var t1 = this._box_0;
  90661. if (t1.printedError)
  90662. $.$get$stderr().writeln$0();
  90663. t1.printedError = true;
  90664. t1 = $.$get$stderr();
  90665. t1.writeln$1(error);
  90666. if (stackTrace != null) {
  90667. t1.writeln$0();
  90668. t1.writeln$1(B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)));
  90669. }
  90670. },
  90671. $signature: 496
  90672. };
  90673. A.main_closure.prototype = {
  90674. call$0() {
  90675. var t1, exception;
  90676. try {
  90677. t1 = this.destination;
  90678. if (t1 != null && !this._box_0.options.get$emitErrorCss())
  90679. A.deleteFile(t1);
  90680. } catch (exception) {
  90681. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  90682. throw exception;
  90683. }
  90684. },
  90685. $signature: 1
  90686. };
  90687. A.SassParser0.prototype = {
  90688. get$currentIndentation() {
  90689. return this._sass0$_currentIndentation;
  90690. },
  90691. get$indented() {
  90692. return true;
  90693. },
  90694. styleRuleSelector$0() {
  90695. var t4,
  90696. t1 = this.scanner,
  90697. t2 = t1._string_scanner$_position,
  90698. t3 = new A.StringBuffer(""),
  90699. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  90700. do {
  90701. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  90702. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  90703. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(A.character0__isNewline$closure()));
  90704. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  90705. },
  90706. expectStatementSeparator$1($name) {
  90707. var t1, _this = this;
  90708. if (!_this.atEndOfStatement$0())
  90709. _this._sass0$_expectNewline$0();
  90710. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  90711. return;
  90712. t1 = $name == null ? "here" : "beneath a " + $name;
  90713. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  90714. },
  90715. expectStatementSeparator$0() {
  90716. return this.expectStatementSeparator$1(null);
  90717. },
  90718. atEndOfStatement$0() {
  90719. var next = this.scanner.peekChar$0();
  90720. return next == null || next === 10 || next === 13 || next === 12;
  90721. },
  90722. lookingAtChildren$0() {
  90723. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  90724. },
  90725. importArgument$0() {
  90726. var url, span, innerError, stackTrace, start, next, t2, exception, _this = this,
  90727. t1 = _this.scanner;
  90728. switch (t1.peekChar$0()) {
  90729. case 117:
  90730. case 85:
  90731. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  90732. if (_this.scanIdentifier$1("url"))
  90733. if (t1.scanChar$1(40)) {
  90734. t1.set$state(start);
  90735. return _this.super$StylesheetParser$importArgument0();
  90736. } else
  90737. t1.set$state(start);
  90738. break;
  90739. case 39:
  90740. case 34:
  90741. return _this.super$StylesheetParser$importArgument0();
  90742. }
  90743. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  90744. next = t1.peekChar$0();
  90745. while (true) {
  90746. if (next != null)
  90747. if (next !== 44)
  90748. if (next !== 59)
  90749. t2 = !(next === 10 || next === 13 || next === 12);
  90750. else
  90751. t2 = false;
  90752. else
  90753. t2 = false;
  90754. else
  90755. t2 = false;
  90756. if (!t2)
  90757. break;
  90758. t1.readChar$0();
  90759. next = t1.peekChar$0();
  90760. }
  90761. url = t1.substring$1(0, start.position);
  90762. span = t1.spanFrom$1(start);
  90763. if (_this.isPlainImportUrl$1(url))
  90764. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  90765. else
  90766. try {
  90767. t1 = _this.parseImportUrl$1(url);
  90768. return new A.DynamicImport0(t1, span);
  90769. } catch (exception) {
  90770. t1 = A.unwrapException(exception);
  90771. if (type$.FormatException._is(t1)) {
  90772. innerError = t1;
  90773. stackTrace = A.getTraceFromException(exception);
  90774. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  90775. } else
  90776. throw exception;
  90777. }
  90778. },
  90779. scanElse$1(ifIndentation) {
  90780. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  90781. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  90782. return false;
  90783. t1 = _this.scanner;
  90784. t2 = t1._string_scanner$_position;
  90785. startIndentation = _this._sass0$_currentIndentation;
  90786. startNextIndentation = _this._sass0$_nextIndentation;
  90787. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  90788. _this._sass0$_readIndentation$0();
  90789. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  90790. return true;
  90791. t1.set$state(new A._SpanScannerState(t1, t2));
  90792. _this._sass0$_currentIndentation = startIndentation;
  90793. _this._sass0$_nextIndentation = startNextIndentation;
  90794. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  90795. return false;
  90796. },
  90797. children$1(_, child) {
  90798. var children = A._setArrayType([], type$.JSArray_Statement_2);
  90799. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  90800. return children;
  90801. },
  90802. statements$1(statement) {
  90803. var statements, t2, child,
  90804. t1 = this.scanner,
  90805. first = t1.peekChar$0();
  90806. if (first === 9 || first === 32)
  90807. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  90808. statements = A._setArrayType([], type$.JSArray_Statement_2);
  90809. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  90810. child = this._sass0$_child$1(statement);
  90811. if (child != null)
  90812. statements.push(child);
  90813. this._sass0$_readIndentation$0();
  90814. }
  90815. return statements;
  90816. },
  90817. _sass0$_child$1(child) {
  90818. var _this = this,
  90819. t1 = _this.scanner;
  90820. switch (t1.peekChar$0()) {
  90821. case 13:
  90822. case 10:
  90823. case 12:
  90824. return null;
  90825. case 36:
  90826. return _this.variableDeclarationWithoutNamespace$0();
  90827. case 47:
  90828. switch (t1.peekChar$1(1)) {
  90829. case 47:
  90830. return _this._sass0$_silentComment$0();
  90831. case 42:
  90832. return _this._sass0$_loudComment$0();
  90833. default:
  90834. return child.call$0();
  90835. }
  90836. default:
  90837. return child.call$0();
  90838. }
  90839. },
  90840. _sass0$_silentComment$0() {
  90841. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  90842. t1 = _this.scanner,
  90843. t2 = t1._string_scanner$_position;
  90844. t1.expect$1("//");
  90845. buffer = new A.StringBuffer("");
  90846. parentIndentation = _this._sass0$_currentIndentation;
  90847. t3 = t1.string.length;
  90848. t4 = 1 + parentIndentation;
  90849. t5 = 2 + parentIndentation;
  90850. $label0$0:
  90851. do {
  90852. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  90853. for (i = commentPrefix.length; true;) {
  90854. t6 = buffer._contents += commentPrefix;
  90855. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  90856. t6 += A.Primitives_stringFromCharCode(32);
  90857. buffer._contents = t6;
  90858. }
  90859. while (true) {
  90860. if (t1._string_scanner$_position !== t3) {
  90861. t7 = t1.peekChar$0();
  90862. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  90863. } else
  90864. t7 = false;
  90865. if (!t7)
  90866. break;
  90867. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  90868. buffer._contents = t6;
  90869. }
  90870. buffer._contents = t6 + "\n";
  90871. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  90872. break $label0$0;
  90873. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  90874. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  90875. _this._sass0$_readIndentation$0();
  90876. break;
  90877. }
  90878. _this._sass0$_readIndentation$0();
  90879. }
  90880. } while (t1.scan$1("//"));
  90881. t3 = buffer._contents;
  90882. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  90883. },
  90884. _sass0$_loudComment$0() {
  90885. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _this = this,
  90886. t1 = _this.scanner,
  90887. t2 = t1._string_scanner$_position;
  90888. t1.expect$1("/*");
  90889. t3 = new A.StringBuffer("");
  90890. t4 = A._setArrayType([], type$.JSArray_Object);
  90891. buffer = new A.InterpolationBuffer0(t3, t4);
  90892. t3._contents = "" + "/*";
  90893. parentIndentation = _this._sass0$_currentIndentation;
  90894. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  90895. if (first) {
  90896. beginningOfComment = t1._string_scanner$_position;
  90897. _this.spaces$0();
  90898. t7 = t1.peekChar$0();
  90899. if (t7 === 10 || t7 === 13 || t7 === 12) {
  90900. _this._sass0$_readIndentation$0();
  90901. t7 = t3._contents += A.Primitives_stringFromCharCode(32);
  90902. } else {
  90903. end = t1._string_scanner$_position;
  90904. t7 = t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  90905. }
  90906. } else {
  90907. t7 = t3._contents += "\n";
  90908. t7 += " * ";
  90909. t3._contents = t7;
  90910. }
  90911. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  90912. t7 += A.Primitives_stringFromCharCode(32);
  90913. t3._contents = t7;
  90914. }
  90915. $label0$1:
  90916. for (; t1._string_scanner$_position !== t6;)
  90917. switch (t1.peekChar$0()) {
  90918. case 10:
  90919. case 13:
  90920. case 12:
  90921. break $label0$1;
  90922. case 35:
  90923. if (t1.peekChar$1(1) === 123) {
  90924. t7 = _this.singleInterpolation$0();
  90925. buffer._interpolation_buffer0$_flushText$0();
  90926. t4.push(t7);
  90927. } else
  90928. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90929. break;
  90930. default:
  90931. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  90932. break;
  90933. }
  90934. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  90935. break;
  90936. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  90937. _this._sass0$_expectNewline$0();
  90938. t7 = t3._contents += "\n";
  90939. t3._contents = t7 + " *";
  90940. }
  90941. _this._sass0$_readIndentation$0();
  90942. }
  90943. t4 = t3._contents;
  90944. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  90945. t3._contents += " */";
  90946. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  90947. },
  90948. whitespaceWithoutComments$0() {
  90949. var t1, t2, next;
  90950. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  90951. next = t1.peekChar$0();
  90952. if (next !== 9 && next !== 32)
  90953. break;
  90954. t1.readChar$0();
  90955. }
  90956. },
  90957. loudComment$0() {
  90958. var next,
  90959. t1 = this.scanner;
  90960. t1.expect$1("/*");
  90961. for (; true;) {
  90962. next = t1.readChar$0();
  90963. if (next === 10 || next === 13 || next === 12)
  90964. t1.error$1(0, "expected */.");
  90965. if (next !== 42)
  90966. continue;
  90967. do
  90968. next = t1.readChar$0();
  90969. while (next === 42);
  90970. if (next === 47)
  90971. break;
  90972. }
  90973. },
  90974. _sass0$_expectNewline$0() {
  90975. var t1 = this.scanner;
  90976. switch (t1.peekChar$0()) {
  90977. case 59:
  90978. t1.error$1(0, string$.semico);
  90979. break;
  90980. case 13:
  90981. t1.readChar$0();
  90982. if (t1.peekChar$0() === 10)
  90983. t1.readChar$0();
  90984. return;
  90985. case 10:
  90986. case 12:
  90987. t1.readChar$0();
  90988. return;
  90989. default:
  90990. t1.error$1(0, "expected newline.");
  90991. }
  90992. },
  90993. _sass0$_lookingAtDoubleNewline$0() {
  90994. var nextChar,
  90995. t1 = this.scanner;
  90996. switch (t1.peekChar$0()) {
  90997. case 13:
  90998. nextChar = t1.peekChar$1(1);
  90999. if (nextChar === 10) {
  91000. t1 = t1.peekChar$1(2);
  91001. return t1 === 10 || t1 === 13 || t1 === 12;
  91002. }
  91003. return nextChar === 13 || nextChar === 12;
  91004. case 10:
  91005. case 12:
  91006. t1 = t1.peekChar$1(1);
  91007. return t1 === 10 || t1 === 13 || t1 === 12;
  91008. default:
  91009. return false;
  91010. }
  91011. },
  91012. _sass0$_whileIndentedLower$1(body) {
  91013. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  91014. parentIndentation = _this._sass0$_currentIndentation;
  91015. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  91016. indentation = _this._sass0$_readIndentation$0();
  91017. if (childIndentation == null)
  91018. childIndentation = indentation;
  91019. if (childIndentation !== indentation) {
  91020. t3 = t1._string_scanner$_position;
  91021. t4 = t2.getColumn$1(t3);
  91022. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  91023. }
  91024. body.call$0();
  91025. }
  91026. },
  91027. _sass0$_readIndentation$0() {
  91028. var t1, _this = this,
  91029. currentIndentation = _this._sass0$_nextIndentation;
  91030. if (currentIndentation == null)
  91031. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  91032. _this._sass0$_currentIndentation = currentIndentation;
  91033. t1 = _this._sass0$_nextIndentationEnd;
  91034. t1.toString;
  91035. _this.scanner.set$state(t1);
  91036. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  91037. return currentIndentation;
  91038. },
  91039. _sass0$_peekIndentation$0() {
  91040. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, next, t4, _this = this,
  91041. cached = _this._sass0$_nextIndentation;
  91042. if (cached != null)
  91043. return cached;
  91044. t1 = _this.scanner;
  91045. t2 = t1._string_scanner$_position;
  91046. t3 = t1.string.length;
  91047. if (t2 === t3) {
  91048. _this._sass0$_nextIndentation = 0;
  91049. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  91050. return 0;
  91051. }
  91052. start = new A._SpanScannerState(t1, t2);
  91053. if (!_this.scanCharIf$1(A.character0__isNewline$closure()))
  91054. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  91055. containsTab = A._Cell$();
  91056. containsSpace = A._Cell$();
  91057. nextIndentation = A._Cell$();
  91058. t2 = nextIndentation.__late_helper$_name;
  91059. do {
  91060. containsSpace._value = containsTab._value = false;
  91061. nextIndentation._value = 0;
  91062. for (; true;) {
  91063. next = t1.peekChar$0();
  91064. if (next === 32)
  91065. containsSpace._value = true;
  91066. else if (next === 9)
  91067. containsTab._value = true;
  91068. else
  91069. break;
  91070. t4 = nextIndentation._value;
  91071. if (t4 === nextIndentation)
  91072. A.throwExpression(A.LateError$localNI(t2));
  91073. nextIndentation._value = t4 + 1;
  91074. t1.readChar$0();
  91075. }
  91076. t4 = t1._string_scanner$_position;
  91077. if (t4 === t3) {
  91078. _this._sass0$_nextIndentation = 0;
  91079. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
  91080. t1.set$state(start);
  91081. return 0;
  91082. }
  91083. } while (_this.scanCharIf$1(A.character0__isNewline$closure()));
  91084. t2 = containsTab._readLocal$0();
  91085. t3 = containsSpace._readLocal$0();
  91086. if (t2) {
  91087. if (t3) {
  91088. t2 = t1._string_scanner$_position;
  91089. t3 = t1._sourceFile;
  91090. t4 = t3.getColumn$1(t2);
  91091. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  91092. } else if (_this._sass0$_spaces === true) {
  91093. t2 = t1._string_scanner$_position;
  91094. t3 = t1._sourceFile;
  91095. t4 = t3.getColumn$1(t2);
  91096. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  91097. }
  91098. } else if (t3 && _this._sass0$_spaces === false) {
  91099. t2 = t1._string_scanner$_position;
  91100. t3 = t1._sourceFile;
  91101. t4 = t3.getColumn$1(t2);
  91102. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  91103. }
  91104. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  91105. if (nextIndentation._readLocal$0() > 0)
  91106. if (_this._sass0$_spaces == null)
  91107. _this._sass0$_spaces = containsSpace._readLocal$0();
  91108. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  91109. t1.set$state(start);
  91110. return nextIndentation._readLocal$0();
  91111. }
  91112. };
  91113. A.SassParser_children_closure0.prototype = {
  91114. call$0() {
  91115. var parsedChild = this.$this._sass0$_child$1(this.child);
  91116. if (parsedChild != null)
  91117. this.children.push(parsedChild);
  91118. },
  91119. $signature: 0
  91120. };
  91121. A._Exports.prototype = {};
  91122. A._wrapMain_closure.prototype = {
  91123. call$1(_) {
  91124. return A._translateReturnValue(this.main.call$0());
  91125. },
  91126. $signature: 76
  91127. };
  91128. A._wrapMain_closure0.prototype = {
  91129. call$1(args) {
  91130. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  91131. },
  91132. $signature: 76
  91133. };
  91134. A.ScssParser0.prototype = {
  91135. get$indented() {
  91136. return false;
  91137. },
  91138. get$currentIndentation() {
  91139. return 0;
  91140. },
  91141. styleRuleSelector$0() {
  91142. return this.almostAnyValue$0();
  91143. },
  91144. expectStatementSeparator$1($name) {
  91145. var t1, next;
  91146. this.whitespaceWithoutComments$0();
  91147. t1 = this.scanner;
  91148. if (t1._string_scanner$_position === t1.string.length)
  91149. return;
  91150. next = t1.peekChar$0();
  91151. if (next === 59 || next === 125)
  91152. return;
  91153. t1.expectChar$1(59);
  91154. },
  91155. expectStatementSeparator$0() {
  91156. return this.expectStatementSeparator$1(null);
  91157. },
  91158. atEndOfStatement$0() {
  91159. var next = this.scanner.peekChar$0();
  91160. return next == null || next === 59 || next === 125 || next === 123;
  91161. },
  91162. lookingAtChildren$0() {
  91163. return this.scanner.peekChar$0() === 123;
  91164. },
  91165. scanElse$1(ifIndentation) {
  91166. var t3, _this = this,
  91167. t1 = _this.scanner,
  91168. t2 = t1._string_scanner$_position;
  91169. _this.whitespace$0();
  91170. t3 = t1._string_scanner$_position;
  91171. if (t1.scanChar$1(64)) {
  91172. if (_this.scanIdentifier$2$caseSensitive("else", true))
  91173. return true;
  91174. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  91175. _this.logger.warn$3$deprecation$span(0, string$.x40elsei, true, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
  91176. t1.set$position(t1._string_scanner$_position - 2);
  91177. return true;
  91178. }
  91179. }
  91180. t1.set$state(new A._SpanScannerState(t1, t2));
  91181. return false;
  91182. },
  91183. children$1(_, child) {
  91184. var children, _this = this,
  91185. t1 = _this.scanner;
  91186. t1.expectChar$1(123);
  91187. _this.whitespaceWithoutComments$0();
  91188. children = A._setArrayType([], type$.JSArray_Statement_2);
  91189. for (; true;)
  91190. switch (t1.peekChar$0()) {
  91191. case 36:
  91192. children.push(_this.variableDeclarationWithoutNamespace$0());
  91193. break;
  91194. case 47:
  91195. switch (t1.peekChar$1(1)) {
  91196. case 47:
  91197. children.push(_this._scss0$_silentComment$0());
  91198. _this.whitespaceWithoutComments$0();
  91199. break;
  91200. case 42:
  91201. children.push(_this._scss0$_loudComment$0());
  91202. _this.whitespaceWithoutComments$0();
  91203. break;
  91204. default:
  91205. children.push(child.call$0());
  91206. break;
  91207. }
  91208. break;
  91209. case 59:
  91210. t1.readChar$0();
  91211. _this.whitespaceWithoutComments$0();
  91212. break;
  91213. case 125:
  91214. t1.expectChar$1(125);
  91215. return children;
  91216. default:
  91217. children.push(child.call$0());
  91218. break;
  91219. }
  91220. },
  91221. statements$1(statement) {
  91222. var t1, t2, child, _this = this,
  91223. statements = A._setArrayType([], type$.JSArray_Statement_2);
  91224. _this.whitespaceWithoutComments$0();
  91225. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  91226. switch (t1.peekChar$0()) {
  91227. case 36:
  91228. statements.push(_this.variableDeclarationWithoutNamespace$0());
  91229. break;
  91230. case 47:
  91231. switch (t1.peekChar$1(1)) {
  91232. case 47:
  91233. statements.push(_this._scss0$_silentComment$0());
  91234. _this.whitespaceWithoutComments$0();
  91235. break;
  91236. case 42:
  91237. statements.push(_this._scss0$_loudComment$0());
  91238. _this.whitespaceWithoutComments$0();
  91239. break;
  91240. default:
  91241. child = statement.call$0();
  91242. if (child != null)
  91243. statements.push(child);
  91244. break;
  91245. }
  91246. break;
  91247. case 59:
  91248. t1.readChar$0();
  91249. _this.whitespaceWithoutComments$0();
  91250. break;
  91251. default:
  91252. child = statement.call$0();
  91253. if (child != null)
  91254. statements.push(child);
  91255. break;
  91256. }
  91257. return statements;
  91258. },
  91259. _scss0$_silentComment$0() {
  91260. var t2, t3, _this = this,
  91261. t1 = _this.scanner,
  91262. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  91263. t1.expect$1("//");
  91264. t2 = t1.string.length;
  91265. do {
  91266. while (true) {
  91267. if (t1._string_scanner$_position !== t2) {
  91268. t3 = t1.readChar$0();
  91269. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  91270. } else
  91271. t3 = false;
  91272. if (!t3)
  91273. break;
  91274. }
  91275. if (t1._string_scanner$_position === t2)
  91276. break;
  91277. _this.whitespaceWithoutComments$0();
  91278. } while (t1.scan$1("//"));
  91279. if (_this.get$plainCss())
  91280. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  91281. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  91282. },
  91283. _scss0$_loudComment$0() {
  91284. var t3, t4, buffer, t5, endPosition, t6, result,
  91285. t1 = this.scanner,
  91286. t2 = t1._string_scanner$_position;
  91287. t1.expect$1("/*");
  91288. t3 = new A.StringBuffer("");
  91289. t4 = A._setArrayType([], type$.JSArray_Object);
  91290. buffer = new A.InterpolationBuffer0(t3, t4);
  91291. t3._contents = "" + "/*";
  91292. for (; true;)
  91293. switch (t1.peekChar$0()) {
  91294. case 35:
  91295. if (t1.peekChar$1(1) === 123) {
  91296. t5 = this.singleInterpolation$0();
  91297. buffer._interpolation_buffer0$_flushText$0();
  91298. t4.push(t5);
  91299. } else
  91300. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91301. break;
  91302. case 42:
  91303. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91304. if (t1.peekChar$0() !== 47)
  91305. break;
  91306. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91307. endPosition = t1._string_scanner$_position;
  91308. t5 = t1._sourceFile;
  91309. t6 = new A._SpanScannerState(t1, t2).position;
  91310. t1 = new A._FileSpan(t5, t6, endPosition);
  91311. t1._FileSpan$3(t5, t6, endPosition);
  91312. t6 = type$.Object;
  91313. t5 = A.List_List$of(t4, true, t6);
  91314. t2 = t3._contents;
  91315. if (t2.length !== 0)
  91316. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  91317. result = A.List_List$from(t5, false, t6);
  91318. result.fixed$length = Array;
  91319. result.immutable$list = Array;
  91320. t2 = new A.Interpolation0(result, t1);
  91321. t2.Interpolation$20(t5, t1);
  91322. return new A.LoudComment0(t2);
  91323. case 13:
  91324. t1.readChar$0();
  91325. if (t1.peekChar$0() !== 10)
  91326. t3._contents += A.Primitives_stringFromCharCode(10);
  91327. break;
  91328. case 12:
  91329. t1.readChar$0();
  91330. t3._contents += A.Primitives_stringFromCharCode(10);
  91331. break;
  91332. default:
  91333. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  91334. break;
  91335. }
  91336. }
  91337. };
  91338. A.Selector0.prototype = {
  91339. assertNotBogus$1$name($name) {
  91340. var t1;
  91341. if (!this.accept$1(B._IsBogusVisitor_true0))
  91342. return;
  91343. t1 = this.toString$0(0);
  91344. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + $name + ": " + (t1 + string$.x20is_nov), true);
  91345. },
  91346. toString$0(_) {
  91347. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  91348. this.accept$1(visitor);
  91349. return visitor._serialize0$_buffer.toString$0(0);
  91350. }
  91351. };
  91352. A._IsInvisibleVisitor2.prototype = {
  91353. visitSelectorList$1(list) {
  91354. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  91355. },
  91356. visitComplexSelector$1(complex) {
  91357. var t1;
  91358. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  91359. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  91360. else
  91361. t1 = true;
  91362. return t1;
  91363. },
  91364. visitPlaceholderSelector$1(placeholder) {
  91365. return true;
  91366. },
  91367. visitPseudoSelector$1(pseudo) {
  91368. var t1,
  91369. selector = pseudo.selector;
  91370. if (selector == null)
  91371. return false;
  91372. if (pseudo.name === "not")
  91373. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true0);
  91374. else
  91375. t1 = this.visitSelectorList$1(selector);
  91376. return t1;
  91377. }
  91378. };
  91379. A._IsBogusVisitor0.prototype = {
  91380. visitComplexSelector$1(complex) {
  91381. var t2, t3,
  91382. t1 = complex.components;
  91383. if (t1.length === 0)
  91384. return complex.leadingCombinators.length !== 0;
  91385. else {
  91386. t2 = complex.leadingCombinators;
  91387. t3 = this.includeLeadingCombinator ? 0 : 1;
  91388. 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));
  91389. }
  91390. },
  91391. visitPseudoSelector$1(pseudo) {
  91392. var selector = pseudo.selector;
  91393. if (selector == null)
  91394. return false;
  91395. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  91396. }
  91397. };
  91398. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  91399. call$1(component) {
  91400. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  91401. },
  91402. $signature: 46
  91403. };
  91404. A._IsUselessVisitor0.prototype = {
  91405. visitComplexSelector$1(complex) {
  91406. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  91407. },
  91408. visitPseudoSelector$1(pseudo) {
  91409. return pseudo.accept$1(B._IsBogusVisitor_true0);
  91410. }
  91411. };
  91412. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  91413. call$1(component) {
  91414. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  91415. },
  91416. $signature: 46
  91417. };
  91418. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  91419. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  91420. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  91421. A.SelectorExpression0.prototype = {
  91422. accept$1$1(visitor) {
  91423. return visitor.visitSelectorExpression$1(this);
  91424. },
  91425. accept$1(visitor) {
  91426. return this.accept$1$1(visitor, type$.dynamic);
  91427. },
  91428. toString$0(_) {
  91429. return "&";
  91430. },
  91431. $isExpression0: 1,
  91432. $isAstNode0: 1,
  91433. get$span(receiver) {
  91434. return this.span;
  91435. }
  91436. };
  91437. A._nest_closure0.prototype = {
  91438. call$1($arguments) {
  91439. var t1 = {},
  91440. selectors = J.$index$asx($arguments, 0).get$asList();
  91441. if (selectors.length === 0)
  91442. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  91443. t1.first = true;
  91444. 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();
  91445. },
  91446. $signature: 21
  91447. };
  91448. A._nest__closure1.prototype = {
  91449. call$1(selector) {
  91450. var t1 = this._box_0,
  91451. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  91452. t1.first = false;
  91453. return result;
  91454. },
  91455. $signature: 246
  91456. };
  91457. A._nest__closure2.prototype = {
  91458. call$2($parent, child) {
  91459. return child.resolveParentSelectors$1($parent);
  91460. },
  91461. $signature: 247
  91462. };
  91463. A._append_closure1.prototype = {
  91464. call$1($arguments) {
  91465. var selectors = J.$index$asx($arguments, 0).get$asList();
  91466. if (selectors.length === 0)
  91467. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  91468. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2()).get$asSassList();
  91469. },
  91470. $signature: 21
  91471. };
  91472. A._append__closure1.prototype = {
  91473. call$1(selector) {
  91474. return A.SassApiValue_assertSelector0(selector, false, null);
  91475. },
  91476. $signature: 246
  91477. };
  91478. A._append__closure2.prototype = {
  91479. call$2($parent, child) {
  91480. var t1 = child.components;
  91481. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"))).resolveParentSelectors$1($parent);
  91482. },
  91483. $signature: 247
  91484. };
  91485. A._append___closure0.prototype = {
  91486. call$1(complex) {
  91487. var t1, component, newCompound, t2;
  91488. if (complex.leadingCombinators.length !== 0)
  91489. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  91490. t1 = complex.components;
  91491. component = B.JSArray_methods.get$first(t1);
  91492. newCompound = A._prependParent0(component.selector);
  91493. if (newCompound == null)
  91494. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", null));
  91495. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.Combinator_2))], type$.JSArray_ComplexSelectorComponent_2);
  91496. B.JSArray_methods.addAll$1(t2, A.SubListIterable$(t1, 1, null, A._arrayInstanceType(t1)._precomputed1));
  91497. return A.ComplexSelector$0(B.List_empty13, t2, false);
  91498. },
  91499. $signature: 68
  91500. };
  91501. A._extend_closure0.prototype = {
  91502. call$1($arguments) {
  91503. var target, source,
  91504. _s8_ = "selector",
  91505. _s8_0 = "extendee",
  91506. _s8_1 = "extender",
  91507. t1 = J.getInterceptor$asx($arguments),
  91508. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  91509. selector.assertNotBogus$1$name(_s8_);
  91510. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  91511. target.assertNotBogus$1$name(_s8_0);
  91512. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  91513. source.assertNotBogus$1$name(_s8_1);
  91514. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  91515. },
  91516. $signature: 21
  91517. };
  91518. A._replace_closure0.prototype = {
  91519. call$1($arguments) {
  91520. var target, source,
  91521. _s8_ = "selector",
  91522. _s8_0 = "original",
  91523. _s11_ = "replacement",
  91524. t1 = J.getInterceptor$asx($arguments),
  91525. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  91526. selector.assertNotBogus$1$name(_s8_);
  91527. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  91528. target.assertNotBogus$1$name(_s8_0);
  91529. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  91530. source.assertNotBogus$1$name(_s11_);
  91531. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  91532. },
  91533. $signature: 21
  91534. };
  91535. A._unify_closure0.prototype = {
  91536. call$1($arguments) {
  91537. var selector2, result,
  91538. _s9_ = "selector1",
  91539. _s9_0 = "selector2",
  91540. t1 = J.getInterceptor$asx($arguments),
  91541. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  91542. selector1.assertNotBogus$1$name(_s9_);
  91543. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  91544. selector2.assertNotBogus$1$name(_s9_0);
  91545. result = selector1.unify$1(selector2);
  91546. return result == null ? B.C__SassNull0 : result.get$asSassList();
  91547. },
  91548. $signature: 3
  91549. };
  91550. A._isSuperselector_closure0.prototype = {
  91551. call$1($arguments) {
  91552. var selector2,
  91553. t1 = J.getInterceptor$asx($arguments),
  91554. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  91555. selector1.assertNotBogus$1$name("super");
  91556. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  91557. selector2.assertNotBogus$1$name("sub");
  91558. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91559. },
  91560. $signature: 19
  91561. };
  91562. A._simpleSelectors_closure0.prototype = {
  91563. call$1($arguments) {
  91564. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  91565. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  91566. },
  91567. $signature: 21
  91568. };
  91569. A._simpleSelectors__closure0.prototype = {
  91570. call$1(simple) {
  91571. return new A.SassString0(A.serializeSelector0(simple, true), false);
  91572. },
  91573. $signature: 499
  91574. };
  91575. A._parse_closure0.prototype = {
  91576. call$1($arguments) {
  91577. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  91578. },
  91579. $signature: 21
  91580. };
  91581. A.SelectorParser0.prototype = {
  91582. parse$0() {
  91583. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  91584. },
  91585. parseCompoundSelector$0() {
  91586. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  91587. },
  91588. _selector$_selectorList$0() {
  91589. var t3, t4, lineBreak, _this = this,
  91590. t1 = _this.scanner,
  91591. t2 = t1._sourceFile,
  91592. previousLine = t2.getLine$1(t1._string_scanner$_position),
  91593. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  91594. _this.whitespace$0();
  91595. for (t3 = t1.string.length; t1.scanChar$1(44);) {
  91596. _this.whitespace$0();
  91597. if (t1.peekChar$0() === 44)
  91598. continue;
  91599. t4 = t1._string_scanner$_position;
  91600. if (t4 === t3)
  91601. break;
  91602. lineBreak = t2.getLine$1(t4) !== previousLine;
  91603. if (lineBreak)
  91604. previousLine = t2.getLine$1(t1._string_scanner$_position);
  91605. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  91606. }
  91607. return A.SelectorList$0(components);
  91608. },
  91609. _selector$_complexSelector$1$lineBreak(lineBreak) {
  91610. var t2, t3, t4, lastCompound, initialCombinators, next, t5, result, _this = this,
  91611. t1 = type$.JSArray_Combinator_2,
  91612. combinators = A._setArrayType([], t1),
  91613. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  91614. $label0$1:
  91615. for (t2 = _this.scanner, t3 = B.Set_2Vk2._map, t4 = type$.Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  91616. _this.whitespace$0();
  91617. next = t2.peekChar$0();
  91618. switch (next) {
  91619. case 43:
  91620. t2.readChar$0();
  91621. combinators.push(B.Combinator_4QF0);
  91622. break;
  91623. case 62:
  91624. t2.readChar$0();
  91625. combinators.push(B.Combinator_Cht0);
  91626. break;
  91627. case 126:
  91628. t2.readChar$0();
  91629. combinators.push(B.Combinator_Htt0);
  91630. break;
  91631. default:
  91632. if (next != null)
  91633. t5 = !t3.containsKey$1(next) && !_this.lookingAtIdentifier$0();
  91634. else
  91635. t5 = true;
  91636. if (t5)
  91637. break $label0$1;
  91638. if (lastCompound != null) {
  91639. result = A.List_List$from(combinators, false, t4);
  91640. result.fixed$length = Array;
  91641. result.immutable$list = Array;
  91642. components.push(new A.ComplexSelectorComponent0(lastCompound, result));
  91643. } else if (combinators.length !== 0)
  91644. initialCombinators = combinators;
  91645. lastCompound = _this._selector$_compoundSelector$0();
  91646. combinators = A._setArrayType([], t1);
  91647. if (t2.peekChar$0() === 38)
  91648. t2.error$1(0, string$.x22x26__ma);
  91649. break;
  91650. }
  91651. }
  91652. if (lastCompound != null)
  91653. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4)));
  91654. else if (combinators.length !== 0)
  91655. initialCombinators = combinators;
  91656. else
  91657. t2.error$1(0, "expected selector.");
  91658. return A.ComplexSelector$0(initialCombinators == null ? B.List_empty13 : initialCombinators, components, lineBreak);
  91659. },
  91660. _selector$_complexSelector$0() {
  91661. return this._selector$_complexSelector$1$lineBreak(false);
  91662. },
  91663. _selector$_compoundSelector$0() {
  91664. var t2,
  91665. components = A._setArrayType([this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2),
  91666. t1 = this.scanner;
  91667. while (true) {
  91668. t2 = t1.peekChar$0();
  91669. if (!(t2 === 42 || t2 === 91 || t2 === 46 || t2 === 35 || t2 === 37 || t2 === 58))
  91670. break;
  91671. components.push(this._selector$_simpleSelector$1$allowParent(false));
  91672. }
  91673. return A.CompoundSelector$0(components);
  91674. },
  91675. _selector$_simpleSelector$1$allowParent(allowParent) {
  91676. var $name, text, t2, suffix, _this = this,
  91677. t1 = _this.scanner,
  91678. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  91679. if (allowParent == null)
  91680. allowParent = _this._selector$_allowParent;
  91681. switch (t1.peekChar$0()) {
  91682. case 91:
  91683. return _this._selector$_attributeSelector$0();
  91684. case 46:
  91685. t1.expectChar$1(46);
  91686. return new A.ClassSelector0(_this.identifier$0());
  91687. case 35:
  91688. t1.expectChar$1(35);
  91689. return new A.IDSelector0(_this.identifier$0());
  91690. case 37:
  91691. t1.expectChar$1(37);
  91692. $name = _this.identifier$0();
  91693. if (!_this._selector$_allowPlaceholder)
  91694. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  91695. return new A.PlaceholderSelector0($name);
  91696. case 58:
  91697. return _this._selector$_pseudoSelector$0();
  91698. case 38:
  91699. t1.expectChar$1(38);
  91700. if (_this.lookingAtIdentifierBody$0()) {
  91701. text = new A.StringBuffer("");
  91702. _this._parser0$_identifierBody$1(text);
  91703. if (text._contents.length === 0)
  91704. t1.error$1(0, "Expected identifier body.");
  91705. t2 = text._contents;
  91706. suffix = t2.charCodeAt(0) == 0 ? t2 : t2;
  91707. } else
  91708. suffix = null;
  91709. if (!allowParent)
  91710. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  91711. return new A.ParentSelector0(suffix);
  91712. default:
  91713. return _this._selector$_typeOrUniversalSelector$0();
  91714. }
  91715. },
  91716. _selector$_simpleSelector$0() {
  91717. return this._selector$_simpleSelector$1$allowParent(null);
  91718. },
  91719. _selector$_attributeSelector$0() {
  91720. var $name, operator, next, value, modifier, _this = this, _null = null,
  91721. t1 = _this.scanner;
  91722. t1.expectChar$1(91);
  91723. _this.whitespace$0();
  91724. $name = _this._selector$_attributeName$0();
  91725. _this.whitespace$0();
  91726. if (t1.scanChar$1(93))
  91727. return new A.AttributeSelector0($name, _null, _null, _null);
  91728. operator = _this._selector$_attributeOperator$0();
  91729. _this.whitespace$0();
  91730. next = t1.peekChar$0();
  91731. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  91732. _this.whitespace$0();
  91733. next = t1.peekChar$0();
  91734. modifier = next != null && A.isAlphabetic1(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  91735. t1.expectChar$1(93);
  91736. return new A.AttributeSelector0($name, operator, value, modifier);
  91737. },
  91738. _selector$_attributeName$0() {
  91739. var nameOrNamespace, _this = this,
  91740. t1 = _this.scanner;
  91741. if (t1.scanChar$1(42)) {
  91742. t1.expectChar$1(124);
  91743. return new A.QualifiedName0(_this.identifier$0(), "*");
  91744. }
  91745. if (t1.scanChar$1(124))
  91746. return new A.QualifiedName0(_this.identifier$0(), "");
  91747. nameOrNamespace = _this.identifier$0();
  91748. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  91749. return new A.QualifiedName0(nameOrNamespace, null);
  91750. t1.readChar$0();
  91751. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  91752. },
  91753. _selector$_attributeOperator$0() {
  91754. var t1 = this.scanner,
  91755. t2 = t1._string_scanner$_position;
  91756. switch (t1.readChar$0()) {
  91757. case 61:
  91758. return B.AttributeOperator_ES60;
  91759. case 126:
  91760. t1.expectChar$1(61);
  91761. return B.AttributeOperator_r600;
  91762. case 124:
  91763. t1.expectChar$1(61);
  91764. return B.AttributeOperator_ivT0;
  91765. case 94:
  91766. t1.expectChar$1(61);
  91767. return B.AttributeOperator_eot0;
  91768. case 36:
  91769. t1.expectChar$1(61);
  91770. return B.AttributeOperator_BGd0;
  91771. case 42:
  91772. t1.expectChar$1(61);
  91773. return B.AttributeOperator_8aB0;
  91774. default:
  91775. t1.error$2$position(0, 'Expected "]".', t2);
  91776. }
  91777. },
  91778. _selector$_pseudoSelector$0() {
  91779. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  91780. t1 = _this.scanner;
  91781. t1.expectChar$1(58);
  91782. element = t1.scanChar$1(58);
  91783. $name = _this.identifier$0();
  91784. if (!t1.scanChar$1(40))
  91785. return A.PseudoSelector$0($name, _null, element, _null);
  91786. _this.whitespace$0();
  91787. unvendored = A.unvendor0($name);
  91788. if (element)
  91789. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  91790. selector = _this._selector$_selectorList$0();
  91791. argument = _null;
  91792. } else {
  91793. argument = _this.declarationValue$1$allowEmpty(true);
  91794. selector = _null;
  91795. }
  91796. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  91797. selector = _this._selector$_selectorList$0();
  91798. argument = _null;
  91799. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  91800. argument = _this._selector$_aNPlusB$0();
  91801. _this.whitespace$0();
  91802. t2 = t1.peekChar$1(-1);
  91803. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  91804. _this.expectIdentifier$1("of");
  91805. argument += " of";
  91806. _this.whitespace$0();
  91807. selector = _this._selector$_selectorList$0();
  91808. } else
  91809. selector = _null;
  91810. } else {
  91811. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  91812. selector = _null;
  91813. }
  91814. t1.expectChar$1(41);
  91815. return A.PseudoSelector$0($name, argument, element, selector);
  91816. },
  91817. _selector$_aNPlusB$0() {
  91818. var t2, first, t3, next, last, _this = this,
  91819. t1 = _this.scanner;
  91820. switch (t1.peekChar$0()) {
  91821. case 101:
  91822. case 69:
  91823. _this.expectIdentifier$1("even");
  91824. return "even";
  91825. case 111:
  91826. case 79:
  91827. _this.expectIdentifier$1("odd");
  91828. return "odd";
  91829. case 43:
  91830. case 45:
  91831. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  91832. break;
  91833. default:
  91834. t2 = "";
  91835. }
  91836. first = t1.peekChar$0();
  91837. if (first != null && A.isDigit0(first)) {
  91838. while (true) {
  91839. t3 = t1.peekChar$0();
  91840. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  91841. break;
  91842. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  91843. }
  91844. _this.whitespace$0();
  91845. if (!_this.scanIdentChar$1(110))
  91846. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91847. } else
  91848. _this.expectIdentChar$1(110);
  91849. t2 += A.Primitives_stringFromCharCode(110);
  91850. _this.whitespace$0();
  91851. next = t1.peekChar$0();
  91852. if (next !== 43 && next !== 45)
  91853. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91854. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  91855. _this.whitespace$0();
  91856. last = t1.peekChar$0();
  91857. if (last == null || !A.isDigit0(last))
  91858. t1.error$1(0, "Expected a number.");
  91859. while (true) {
  91860. t3 = t1.peekChar$0();
  91861. if (!(t3 != null && t3 >= 48 && t3 <= 57))
  91862. break;
  91863. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  91864. }
  91865. return t2.charCodeAt(0) == 0 ? t2 : t2;
  91866. },
  91867. _selector$_typeOrUniversalSelector$0() {
  91868. var nameOrNamespace, _this = this,
  91869. t1 = _this.scanner,
  91870. first = t1.peekChar$0();
  91871. if (first === 42) {
  91872. t1.readChar$0();
  91873. if (!t1.scanChar$1(124))
  91874. return new A.UniversalSelector0(null);
  91875. if (t1.scanChar$1(42))
  91876. return new A.UniversalSelector0("*");
  91877. else
  91878. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"));
  91879. } else if (first === 124) {
  91880. t1.readChar$0();
  91881. if (t1.scanChar$1(42))
  91882. return new A.UniversalSelector0("");
  91883. else
  91884. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""));
  91885. }
  91886. nameOrNamespace = _this.identifier$0();
  91887. if (!t1.scanChar$1(124))
  91888. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null));
  91889. else if (t1.scanChar$1(42))
  91890. return new A.UniversalSelector0(nameOrNamespace);
  91891. else
  91892. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace));
  91893. }
  91894. };
  91895. A.SelectorParser_parse_closure0.prototype = {
  91896. call$0() {
  91897. var t1 = this.$this,
  91898. selector = t1._selector$_selectorList$0();
  91899. t1 = t1.scanner;
  91900. if (t1._string_scanner$_position !== t1.string.length)
  91901. t1.error$1(0, "expected selector.");
  91902. return selector;
  91903. },
  91904. $signature: 49
  91905. };
  91906. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  91907. call$0() {
  91908. var t1 = this.$this,
  91909. compound = t1._selector$_compoundSelector$0();
  91910. t1 = t1.scanner;
  91911. if (t1._string_scanner$_position !== t1.string.length)
  91912. t1.error$1(0, "expected selector.");
  91913. return compound;
  91914. },
  91915. $signature: 500
  91916. };
  91917. A.serialize_closure0.prototype = {
  91918. call$1(codeUnit) {
  91919. return codeUnit > 127;
  91920. },
  91921. $signature: 53
  91922. };
  91923. A._SerializeVisitor0.prototype = {
  91924. visitCssStylesheet$1(node) {
  91925. var t1, t2, t3, t4, t5, t6, t7, t8, previous, previous0, t9, _this = this;
  91926. 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();) {
  91927. previous0 = t1.get$current(t1);
  91928. if (t2)
  91929. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  91930. else
  91931. t9 = false;
  91932. if (t9)
  91933. continue;
  91934. if (previous != null) {
  91935. if (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous))
  91936. t7.writeCharCode$1(59);
  91937. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  91938. if (t4)
  91939. t7.writeCharCode$1(32);
  91940. } else {
  91941. if (t4)
  91942. t7.write$1(0, t8);
  91943. if (previous.get$isGroupEnd())
  91944. if (t4)
  91945. t7.write$1(0, t8);
  91946. }
  91947. }
  91948. previous0.accept$1(_this);
  91949. previous = previous0;
  91950. }
  91951. if (previous != null)
  91952. t1 = (t6._is(previous) ? previous.get$isChildless() : !t5._is(previous)) && t4;
  91953. else
  91954. t1 = false;
  91955. if (t1)
  91956. t7.writeCharCode$1(59);
  91957. },
  91958. visitCssComment$1(node) {
  91959. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  91960. },
  91961. visitCssAtRule$1(node) {
  91962. var t1, _this = this;
  91963. _this._serialize0$_writeIndentation$0();
  91964. t1 = _this._serialize0$_buffer;
  91965. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  91966. if (!node.isChildless) {
  91967. if (_this._serialize0$_style !== B.OutputStyle_10)
  91968. t1.writeCharCode$1(32);
  91969. _this._serialize0$_visitChildren$1(node);
  91970. }
  91971. },
  91972. visitCssMediaRule$1(node) {
  91973. var t1, _this = this;
  91974. _this._serialize0$_writeIndentation$0();
  91975. t1 = _this._serialize0$_buffer;
  91976. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  91977. if (_this._serialize0$_style !== B.OutputStyle_10)
  91978. t1.writeCharCode$1(32);
  91979. _this._serialize0$_visitChildren$1(node);
  91980. },
  91981. visitCssImport$1(node) {
  91982. this._serialize0$_writeIndentation$0();
  91983. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  91984. },
  91985. _serialize0$_writeImportUrl$1(url) {
  91986. var urlContents, maybeQuote, _this = this;
  91987. if (_this._serialize0$_style !== B.OutputStyle_10 || B.JSString_methods._codeUnitAt$1(url, 0) !== 117) {
  91988. _this._serialize0$_buffer.write$1(0, url);
  91989. return;
  91990. }
  91991. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  91992. maybeQuote = B.JSString_methods._codeUnitAt$1(urlContents, 0);
  91993. if (maybeQuote === 39 || maybeQuote === 34)
  91994. _this._serialize0$_buffer.write$1(0, urlContents);
  91995. else
  91996. _this._serialize0$_visitQuotedString$1(urlContents);
  91997. },
  91998. visitCssKeyframeBlock$1(node) {
  91999. var t1, _this = this;
  92000. _this._serialize0$_writeIndentation$0();
  92001. t1 = _this._serialize0$_buffer;
  92002. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  92003. if (_this._serialize0$_style !== B.OutputStyle_10)
  92004. t1.writeCharCode$1(32);
  92005. _this._serialize0$_visitChildren$1(node);
  92006. },
  92007. _serialize0$_visitMediaQuery$1(query) {
  92008. var t2, condition, operator, t3, _this = this,
  92009. t1 = query.modifier;
  92010. if (t1 != null) {
  92011. t2 = _this._serialize0$_buffer;
  92012. t2.write$1(0, t1);
  92013. t2.writeCharCode$1(32);
  92014. }
  92015. t1 = query.type;
  92016. if (t1 != null) {
  92017. t2 = _this._serialize0$_buffer;
  92018. t2.write$1(0, t1);
  92019. if (query.conditions.length !== 0)
  92020. t2.write$1(0, " and ");
  92021. }
  92022. t1 = query.conditions;
  92023. if (t1.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t1), "(not ")) {
  92024. t2 = _this._serialize0$_buffer;
  92025. t2.write$1(0, "not ");
  92026. condition = B.JSArray_methods.get$first(t1);
  92027. t2.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  92028. } else {
  92029. operator = query.conjunction ? "and" : "or";
  92030. t2 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  92031. t3 = _this._serialize0$_buffer;
  92032. _this._serialize0$_writeBetween$3(t1, t2, t3.get$write(t3));
  92033. }
  92034. },
  92035. visitCssStyleRule$1(node) {
  92036. var t1, _this = this;
  92037. _this._serialize0$_writeIndentation$0();
  92038. t1 = _this._serialize0$_buffer;
  92039. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  92040. if (_this._serialize0$_style !== B.OutputStyle_10)
  92041. t1.writeCharCode$1(32);
  92042. _this._serialize0$_visitChildren$1(node);
  92043. },
  92044. visitCssSupportsRule$1(node) {
  92045. var t1, _this = this;
  92046. _this._serialize0$_writeIndentation$0();
  92047. t1 = _this._serialize0$_buffer;
  92048. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  92049. if (_this._serialize0$_style !== B.OutputStyle_10)
  92050. t1.writeCharCode$1(32);
  92051. _this._serialize0$_visitChildren$1(node);
  92052. },
  92053. visitCssDeclaration$1(node) {
  92054. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  92055. _this._serialize0$_writeIndentation$0();
  92056. t1 = node.name;
  92057. _this._serialize0$_write$1(t1);
  92058. t2 = _this._serialize0$_buffer;
  92059. t2.writeCharCode$1(58);
  92060. if (J.startsWith$1$s(t1.get$value(t1), "--") && node.parsedAsCustomProperty) {
  92061. t1 = node.value;
  92062. t2.forSpan$2(t1.get$span(t1), new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  92063. } else {
  92064. if (_this._serialize0$_style !== B.OutputStyle_10)
  92065. t2.writeCharCode$1(32);
  92066. try {
  92067. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  92068. } catch (exception) {
  92069. t1 = A.unwrapException(exception);
  92070. if (t1 instanceof A.MultiSpanSassScriptException0) {
  92071. error = t1;
  92072. stackTrace = A.getTraceFromException(exception);
  92073. t1 = error.message;
  92074. t2 = node.value;
  92075. t2 = t2.get$span(t2);
  92076. A.throwWithTrace0(new A.MultiSpanSassException0(error.primaryLabel, A.ConstantMap_ConstantMap$from(error.secondarySpans, type$.FileSpan, type$.String), t1, t2), stackTrace);
  92077. } else if (t1 instanceof A.SassScriptException0) {
  92078. error0 = t1;
  92079. stackTrace0 = A.getTraceFromException(exception);
  92080. t1 = node.value;
  92081. A.throwWithTrace0(new A.SassException0(error0.message, t1.get$span(t1)), stackTrace0);
  92082. } else
  92083. throw exception;
  92084. }
  92085. }
  92086. },
  92087. _serialize0$_writeFoldedValue$1(node) {
  92088. var t2, next, t3,
  92089. t1 = node.value,
  92090. scanner = A.StringScanner$(type$.SassString_2._as(t1.get$value(t1))._string0$_text, null, null);
  92091. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  92092. next = scanner.readChar$0();
  92093. if (next !== 10) {
  92094. t2.writeCharCode$1(next);
  92095. continue;
  92096. }
  92097. t2.writeCharCode$1(32);
  92098. while (true) {
  92099. t3 = scanner.peekChar$0();
  92100. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  92101. break;
  92102. scanner.readChar$0();
  92103. }
  92104. }
  92105. },
  92106. _serialize0$_writeReindentedValue$1(node) {
  92107. var _this = this,
  92108. t1 = node.value,
  92109. value = type$.SassString_2._as(t1.get$value(t1))._string0$_text,
  92110. minimumIndentation = _this._serialize0$_minimumIndentation$1(value);
  92111. if (minimumIndentation == null) {
  92112. _this._serialize0$_buffer.write$1(0, value);
  92113. return;
  92114. } else if (minimumIndentation === -1) {
  92115. t1 = _this._serialize0$_buffer;
  92116. t1.write$1(0, A.trimAsciiRight0(value, true));
  92117. t1.writeCharCode$1(32);
  92118. return;
  92119. }
  92120. t1 = node.name;
  92121. t1 = t1.get$span(t1);
  92122. t1 = t1.get$start(t1);
  92123. _this._serialize0$_writeWithIndent$2(value, Math.min(minimumIndentation, t1.file.getColumn$1(t1.offset)));
  92124. },
  92125. _serialize0$_minimumIndentation$1(text) {
  92126. var character, t2, min, next, min0,
  92127. scanner = A.LineScanner$(text),
  92128. t1 = scanner.string.length;
  92129. while (true) {
  92130. if (scanner._string_scanner$_position !== t1) {
  92131. character = scanner.super$StringScanner$readChar();
  92132. scanner._adjustLineAndColumn$1(character);
  92133. t2 = character !== 10;
  92134. } else
  92135. t2 = false;
  92136. if (!t2)
  92137. break;
  92138. }
  92139. if (scanner._string_scanner$_position === t1)
  92140. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  92141. for (min = null; scanner._string_scanner$_position !== t1;) {
  92142. for (; scanner._string_scanner$_position !== t1;) {
  92143. next = scanner.peekChar$0();
  92144. if (next !== 32 && next !== 9)
  92145. break;
  92146. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  92147. }
  92148. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  92149. continue;
  92150. min0 = scanner._line_scanner$_column;
  92151. min = min == null ? min0 : Math.min(min, min0);
  92152. while (true) {
  92153. if (scanner._string_scanner$_position !== t1) {
  92154. character = scanner.super$StringScanner$readChar();
  92155. scanner._adjustLineAndColumn$1(character);
  92156. t2 = character !== 10;
  92157. } else
  92158. t2 = false;
  92159. if (!t2)
  92160. break;
  92161. }
  92162. }
  92163. return min == null ? -1 : min;
  92164. },
  92165. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  92166. var t1, t2, t3, character, lineStart, newlines, end,
  92167. scanner = A.LineScanner$(text);
  92168. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  92169. character = scanner.super$StringScanner$readChar();
  92170. scanner._adjustLineAndColumn$1(character);
  92171. if (character === 10)
  92172. break;
  92173. t3.writeCharCode$1(character);
  92174. }
  92175. for (; true;) {
  92176. lineStart = scanner._string_scanner$_position;
  92177. for (newlines = 1; true;) {
  92178. if (scanner._string_scanner$_position === t2) {
  92179. t3.writeCharCode$1(32);
  92180. return;
  92181. }
  92182. character = scanner.super$StringScanner$readChar();
  92183. scanner._adjustLineAndColumn$1(character);
  92184. if (character === 32 || character === 9)
  92185. continue;
  92186. if (character !== 10)
  92187. break;
  92188. lineStart = scanner._string_scanner$_position;
  92189. ++newlines;
  92190. }
  92191. this._serialize0$_writeTimes$2(10, newlines);
  92192. this._serialize0$_writeIndentation$0();
  92193. end = scanner._string_scanner$_position;
  92194. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  92195. for (; true;) {
  92196. if (scanner._string_scanner$_position === t2)
  92197. return;
  92198. character = scanner.super$StringScanner$readChar();
  92199. scanner._adjustLineAndColumn$1(character);
  92200. if (character === 10)
  92201. break;
  92202. t3.writeCharCode$1(character);
  92203. }
  92204. }
  92205. },
  92206. _serialize0$_writeCalculationValue$1(value) {
  92207. var left, parenthesizeLeft, operatorWhitespace, t1, t2, right, parenthesizeRight, _this = this;
  92208. if (value instanceof A.Value0)
  92209. value.accept$1(_this);
  92210. else if (value instanceof A.CalculationInterpolation0)
  92211. _this._serialize0$_buffer.write$1(0, value.value);
  92212. else if (value instanceof A.CalculationOperation0) {
  92213. left = value.left;
  92214. if (!(left instanceof A.CalculationInterpolation0))
  92215. parenthesizeLeft = left instanceof A.CalculationOperation0 && left.operator.precedence < value.operator.precedence;
  92216. else
  92217. parenthesizeLeft = true;
  92218. if (parenthesizeLeft)
  92219. _this._serialize0$_buffer.writeCharCode$1(40);
  92220. _this._serialize0$_writeCalculationValue$1(left);
  92221. if (parenthesizeLeft)
  92222. _this._serialize0$_buffer.writeCharCode$1(41);
  92223. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || value.operator.precedence === 1;
  92224. if (operatorWhitespace)
  92225. _this._serialize0$_buffer.writeCharCode$1(32);
  92226. t1 = _this._serialize0$_buffer;
  92227. t2 = value.operator;
  92228. t1.write$1(0, t2.operator);
  92229. if (operatorWhitespace)
  92230. t1.writeCharCode$1(32);
  92231. right = value.right;
  92232. if (!(right instanceof A.CalculationInterpolation0))
  92233. parenthesizeRight = right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(t2, right.operator);
  92234. else
  92235. parenthesizeRight = true;
  92236. if (parenthesizeRight)
  92237. t1.writeCharCode$1(40);
  92238. _this._serialize0$_writeCalculationValue$1(right);
  92239. if (parenthesizeRight)
  92240. t1.writeCharCode$1(41);
  92241. }
  92242. },
  92243. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  92244. if (outer === B.CalculationOperator_OvN0)
  92245. return true;
  92246. if (outer === B.CalculationOperator_IyK0)
  92247. return false;
  92248. return right === B.CalculationOperator_IyK0 || right === B.CalculationOperator_2bx0;
  92249. },
  92250. _serialize0$_writeRgb$1(value) {
  92251. var t3,
  92252. t1 = value._color1$_alpha,
  92253. opaque = A.fuzzyEquals0(t1, 1),
  92254. t2 = this._serialize0$_buffer;
  92255. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  92256. t2.write$1(0, value.get$red(value));
  92257. t3 = this._serialize0$_style === B.OutputStyle_10;
  92258. t2.write$1(0, t3 ? "," : ", ");
  92259. t2.write$1(0, value.get$green(value));
  92260. t2.write$1(0, t3 ? "," : ", ");
  92261. t2.write$1(0, value.get$blue(value));
  92262. if (!opaque) {
  92263. t2.write$1(0, t3 ? "," : ", ");
  92264. this._serialize0$_writeNumber$1(t1);
  92265. }
  92266. t2.writeCharCode$1(41);
  92267. },
  92268. _serialize0$_canUseShortHex$1(color) {
  92269. var t1 = color.get$red(color);
  92270. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  92271. t1 = color.get$green(color);
  92272. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  92273. t1 = color.get$blue(color);
  92274. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  92275. } else
  92276. t1 = false;
  92277. } else
  92278. t1 = false;
  92279. return t1;
  92280. },
  92281. _serialize0$_writeHexComponent$1(color) {
  92282. var t1 = this._serialize0$_buffer;
  92283. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  92284. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  92285. },
  92286. visitList$1(value) {
  92287. var t2, t3, singleton, t4, t5, _this = this,
  92288. t1 = value._list1$_hasBrackets;
  92289. if (t1)
  92290. _this._serialize0$_buffer.writeCharCode$1(91);
  92291. else if (value._list1$_contents.length === 0) {
  92292. if (!_this._serialize0$_inspect)
  92293. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  92294. _this._serialize0$_buffer.write$1(0, "()");
  92295. return;
  92296. }
  92297. t2 = _this._serialize0$_inspect;
  92298. if (t2)
  92299. if (value._list1$_contents.length === 1) {
  92300. t3 = value._list1$_separator;
  92301. t3 = t3 === B.ListSeparator_rXA0 || t3 === B.ListSeparator_zg90;
  92302. singleton = t3;
  92303. } else
  92304. singleton = false;
  92305. else
  92306. singleton = false;
  92307. if (singleton && !t1)
  92308. _this._serialize0$_buffer.writeCharCode$1(40);
  92309. t3 = value._list1$_contents;
  92310. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  92311. t4 = value._list1$_separator;
  92312. t5 = _this._serialize0$_separatorString$1(t4);
  92313. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  92314. if (singleton) {
  92315. t2 = _this._serialize0$_buffer;
  92316. t2.write$1(0, t4.separator);
  92317. if (!t1)
  92318. t2.writeCharCode$1(41);
  92319. }
  92320. if (t1)
  92321. _this._serialize0$_buffer.writeCharCode$1(93);
  92322. },
  92323. _serialize0$_separatorString$1(separator) {
  92324. switch (separator) {
  92325. case B.ListSeparator_rXA0:
  92326. return this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  92327. case B.ListSeparator_zg90:
  92328. return this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  92329. case B.ListSeparator_EVt0:
  92330. return " ";
  92331. default:
  92332. return "";
  92333. }
  92334. },
  92335. _serialize0$_elementNeedsParens$2(separator, value) {
  92336. var t1;
  92337. if (value instanceof A.SassList0) {
  92338. if (value._list1$_contents.length < 2)
  92339. return false;
  92340. if (value._list1$_hasBrackets)
  92341. return false;
  92342. switch (separator) {
  92343. case B.ListSeparator_rXA0:
  92344. return value._list1$_separator === B.ListSeparator_rXA0;
  92345. case B.ListSeparator_zg90:
  92346. t1 = value._list1$_separator;
  92347. return t1 === B.ListSeparator_rXA0 || t1 === B.ListSeparator_zg90;
  92348. default:
  92349. return value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  92350. }
  92351. }
  92352. return false;
  92353. },
  92354. visitMap$1(map) {
  92355. var t1, t2, _this = this;
  92356. if (!_this._serialize0$_inspect)
  92357. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  92358. t1 = _this._serialize0$_buffer;
  92359. t1.writeCharCode$1(40);
  92360. t2 = map._map0$_contents;
  92361. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  92362. t1.writeCharCode$1(41);
  92363. },
  92364. _serialize0$_writeMapElement$1(value) {
  92365. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_rXA0 && !value._list1$_hasBrackets;
  92366. if (needsParens)
  92367. this._serialize0$_buffer.writeCharCode$1(40);
  92368. value.accept$1(this);
  92369. if (needsParens)
  92370. this._serialize0$_buffer.writeCharCode$1(41);
  92371. },
  92372. visitNumber$1(value) {
  92373. var _this = this,
  92374. asSlash = value.asSlash;
  92375. if (asSlash != null) {
  92376. _this.visitNumber$1(asSlash.item1);
  92377. _this._serialize0$_buffer.writeCharCode$1(47);
  92378. _this.visitNumber$1(asSlash.item2);
  92379. return;
  92380. }
  92381. _this._serialize0$_writeNumber$1(value._number1$_value);
  92382. if (!_this._serialize0$_inspect) {
  92383. if (value.get$numeratorUnits(value).length > 1 || value.get$denominatorUnits(value).length !== 0)
  92384. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  92385. if (value.get$numeratorUnits(value).length !== 0)
  92386. _this._serialize0$_buffer.write$1(0, B.JSArray_methods.get$first(value.get$numeratorUnits(value)));
  92387. } else
  92388. _this._serialize0$_buffer.write$1(0, value.get$unitString());
  92389. },
  92390. _serialize0$_writeNumber$1(number) {
  92391. var text, _this = this,
  92392. integer = A.fuzzyAsInt0(number);
  92393. if (integer != null) {
  92394. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(integer)));
  92395. return;
  92396. }
  92397. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  92398. if (text.length < 12) {
  92399. if (_this._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(text, 0) === 48)
  92400. text = B.JSString_methods.substring$1(text, 1);
  92401. _this._serialize0$_buffer.write$1(0, text);
  92402. return;
  92403. }
  92404. _this._serialize0$_writeRounded$1(text);
  92405. },
  92406. _serialize0$_removeExponent$1(text) {
  92407. var buffer, t3, additionalZeroes,
  92408. t1 = B.JSString_methods._codeUnitAt$1(text, 0),
  92409. negative = t1 === 45,
  92410. exponent = A._Cell$(),
  92411. t2 = text.length,
  92412. i = 0;
  92413. while (true) {
  92414. if (!(i < t2)) {
  92415. buffer = null;
  92416. break;
  92417. }
  92418. c$0: {
  92419. if (B.JSString_methods._codeUnitAt$1(text, i) !== 101)
  92420. break c$0;
  92421. buffer = new A.StringBuffer("");
  92422. t1 = buffer._contents = "" + A.Primitives_stringFromCharCode(t1);
  92423. if (negative) {
  92424. t1 += A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(text, 1));
  92425. buffer._contents = t1;
  92426. if (i > 3)
  92427. buffer._contents = t1 + B.JSString_methods.substring$2(text, 3, i);
  92428. } else if (i > 2)
  92429. buffer._contents = t1 + B.JSString_methods.substring$2(text, 2, i);
  92430. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t2), null);
  92431. break;
  92432. }
  92433. ++i;
  92434. }
  92435. if (buffer == null)
  92436. return text;
  92437. if (exponent._readLocal$0() > 0) {
  92438. t1 = exponent._readLocal$0();
  92439. t2 = buffer._contents;
  92440. t3 = negative ? 1 : 0;
  92441. additionalZeroes = t1 - (t2.length - 1 - t3);
  92442. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  92443. t1 += A.Primitives_stringFromCharCode(48);
  92444. buffer._contents = t1;
  92445. }
  92446. return t1.charCodeAt(0) == 0 ? t1 : t1;
  92447. } else {
  92448. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  92449. t2 = exponent.__late_helper$_name;
  92450. i = -1;
  92451. while (true) {
  92452. t3 = exponent._value;
  92453. if (t3 === exponent)
  92454. A.throwExpression(A.LateError$localNI(t2));
  92455. if (!(i > t3))
  92456. break;
  92457. t1 += A.Primitives_stringFromCharCode(48);
  92458. --i;
  92459. }
  92460. if (negative) {
  92461. t2 = buffer._contents;
  92462. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  92463. } else
  92464. t2 = buffer;
  92465. t2 = t1 + A.S(t2);
  92466. return t2.charCodeAt(0) == 0 ? t2 : t2;
  92467. }
  92468. },
  92469. _serialize0$_writeRounded$1(text) {
  92470. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  92471. if (B.JSString_methods.endsWith$1(text, ".0")) {
  92472. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  92473. return;
  92474. }
  92475. t1 = text.length;
  92476. digits = new Uint8Array(t1 + 1);
  92477. negative = B.JSString_methods._codeUnitAt$1(text, 0) === 45;
  92478. textIndex = negative ? 1 : 0;
  92479. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  92480. if (textIndex === t1) {
  92481. _this._serialize0$_buffer.write$1(0, text);
  92482. return;
  92483. }
  92484. textIndex0 = textIndex + 1;
  92485. codeUnit = B.JSString_methods._codeUnitAt$1(text, textIndex);
  92486. if (codeUnit === 46) {
  92487. textIndex = textIndex0;
  92488. break;
  92489. }
  92490. digitsIndex0 = digitsIndex + 1;
  92491. digits[digitsIndex] = codeUnit - 48;
  92492. }
  92493. indexAfterPrecision = textIndex + 10;
  92494. if (indexAfterPrecision >= t1) {
  92495. _this._serialize0$_buffer.write$1(0, text);
  92496. return;
  92497. }
  92498. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  92499. digitsIndex1 = digitsIndex0 + 1;
  92500. textIndex0 = textIndex + 1;
  92501. digits[digitsIndex0] = B.JSString_methods._codeUnitAt$1(text, textIndex) - 48;
  92502. }
  92503. if (B.JSString_methods._codeUnitAt$1(text, textIndex) - 48 >= 5)
  92504. for (; true; digitsIndex0 = digitsIndex1) {
  92505. digitsIndex1 = digitsIndex0 - 1;
  92506. newDigit = digits[digitsIndex1] + 1;
  92507. digits[digitsIndex1] = newDigit;
  92508. if (newDigit !== 10)
  92509. break;
  92510. }
  92511. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  92512. digits[digitsIndex0] = 0;
  92513. while (true) {
  92514. t1 = digitsIndex0 > digitsIndex;
  92515. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  92516. break;
  92517. --digitsIndex0;
  92518. }
  92519. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  92520. _this._serialize0$_buffer.writeCharCode$1(48);
  92521. return;
  92522. }
  92523. if (negative)
  92524. _this._serialize0$_buffer.writeCharCode$1(45);
  92525. if (digits[0] === 0)
  92526. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  92527. else
  92528. writtenIndex = 0;
  92529. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  92530. t2.writeCharCode$1(48 + digits[writtenIndex]);
  92531. if (t1) {
  92532. t2.writeCharCode$1(46);
  92533. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  92534. t2.writeCharCode$1(48 + digits[writtenIndex]);
  92535. }
  92536. },
  92537. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  92538. var t1, includesSingleQuote, includesDoubleQuote, i, char, newIndex, quote, _this = this,
  92539. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  92540. if (forceDoubleQuote)
  92541. buffer.writeCharCode$1(34);
  92542. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  92543. char = B.JSString_methods._codeUnitAt$1(string, i);
  92544. switch (char) {
  92545. case 39:
  92546. if (forceDoubleQuote)
  92547. buffer.writeCharCode$1(39);
  92548. else {
  92549. if (includesDoubleQuote) {
  92550. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  92551. return;
  92552. } else
  92553. buffer.writeCharCode$1(39);
  92554. includesSingleQuote = true;
  92555. }
  92556. break;
  92557. case 34:
  92558. if (forceDoubleQuote) {
  92559. buffer.writeCharCode$1(92);
  92560. buffer.writeCharCode$1(34);
  92561. } else {
  92562. if (includesSingleQuote) {
  92563. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  92564. return;
  92565. } else
  92566. buffer.writeCharCode$1(34);
  92567. includesDoubleQuote = true;
  92568. }
  92569. break;
  92570. case 0:
  92571. case 1:
  92572. case 2:
  92573. case 3:
  92574. case 4:
  92575. case 5:
  92576. case 6:
  92577. case 7:
  92578. case 8:
  92579. case 10:
  92580. case 11:
  92581. case 12:
  92582. case 13:
  92583. case 14:
  92584. case 15:
  92585. case 16:
  92586. case 17:
  92587. case 18:
  92588. case 19:
  92589. case 20:
  92590. case 21:
  92591. case 22:
  92592. case 23:
  92593. case 24:
  92594. case 25:
  92595. case 26:
  92596. case 27:
  92597. case 28:
  92598. case 29:
  92599. case 30:
  92600. case 31:
  92601. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  92602. break;
  92603. case 92:
  92604. buffer.writeCharCode$1(92);
  92605. buffer.writeCharCode$1(92);
  92606. break;
  92607. default:
  92608. newIndex = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  92609. if (newIndex != null) {
  92610. i = newIndex;
  92611. break;
  92612. }
  92613. buffer.writeCharCode$1(char);
  92614. break;
  92615. }
  92616. }
  92617. if (forceDoubleQuote)
  92618. buffer.writeCharCode$1(34);
  92619. else {
  92620. quote = includesDoubleQuote ? 39 : 34;
  92621. t1 = _this._serialize0$_buffer;
  92622. t1.writeCharCode$1(quote);
  92623. t1.write$1(0, buffer);
  92624. t1.writeCharCode$1(quote);
  92625. }
  92626. },
  92627. _serialize0$_visitQuotedString$1(string) {
  92628. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  92629. },
  92630. _serialize0$_visitUnquotedString$1(string) {
  92631. var t1, t2, afterNewline, i, char, newIndex;
  92632. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  92633. char = B.JSString_methods._codeUnitAt$1(string, i);
  92634. switch (char) {
  92635. case 10:
  92636. t2.writeCharCode$1(32);
  92637. afterNewline = true;
  92638. break;
  92639. case 32:
  92640. if (!afterNewline)
  92641. t2.writeCharCode$1(32);
  92642. break;
  92643. default:
  92644. newIndex = this._serialize0$_tryPrivateUseCharacter$4(t2, char, string, i);
  92645. if (newIndex != null) {
  92646. i = newIndex;
  92647. afterNewline = false;
  92648. break;
  92649. }
  92650. t2.writeCharCode$1(char);
  92651. afterNewline = false;
  92652. break;
  92653. }
  92654. }
  92655. },
  92656. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  92657. var t1;
  92658. if (this._serialize0$_style === B.OutputStyle_10)
  92659. return null;
  92660. if (codeUnit >= 57344 && codeUnit <= 63743) {
  92661. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  92662. return i;
  92663. }
  92664. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  92665. t1 = i + 1;
  92666. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (B.JSString_methods._codeUnitAt$1(string, t1) & 1023), string, t1);
  92667. return t1;
  92668. }
  92669. return null;
  92670. },
  92671. _serialize0$_writeEscape$4(buffer, character, string, i) {
  92672. var t1, next;
  92673. buffer.writeCharCode$1(92);
  92674. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  92675. t1 = i + 1;
  92676. if (string.length === t1)
  92677. return;
  92678. next = B.JSString_methods._codeUnitAt$1(string, t1);
  92679. if (A.isHex0(next) || next === 32 || next === 9)
  92680. buffer.writeCharCode$1(32);
  92681. },
  92682. visitAttributeSelector$1(attribute) {
  92683. var value, t2,
  92684. t1 = this._serialize0$_buffer;
  92685. t1.writeCharCode$1(91);
  92686. t1.write$1(0, attribute.name);
  92687. value = attribute.value;
  92688. if (value != null) {
  92689. t1.write$1(0, attribute.op);
  92690. if (A.Parser_isIdentifier0(value) && !B.JSString_methods.startsWith$1(value, "--")) {
  92691. t1.write$1(0, value);
  92692. t2 = attribute.modifier;
  92693. if (t2 != null)
  92694. t1.writeCharCode$1(32);
  92695. } else {
  92696. this._serialize0$_visitQuotedString$1(value);
  92697. t2 = attribute.modifier;
  92698. if (t2 != null)
  92699. if (this._serialize0$_style !== B.OutputStyle_10)
  92700. t1.writeCharCode$1(32);
  92701. }
  92702. if (t2 != null)
  92703. t1.write$1(0, t2);
  92704. }
  92705. t1.writeCharCode$1(93);
  92706. },
  92707. visitClassSelector$1(klass) {
  92708. var t1 = this._serialize0$_buffer;
  92709. t1.writeCharCode$1(46);
  92710. t1.write$1(0, klass.name);
  92711. },
  92712. visitComplexSelector$1(complex) {
  92713. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  92714. t1 = complex.leadingCombinators;
  92715. _this._serialize0$_writeCombinators$1(t1);
  92716. if (t1.length !== 0 && complex.components.length !== 0)
  92717. if (_this._serialize0$_style !== B.OutputStyle_10)
  92718. _this._serialize0$_buffer.writeCharCode$1(32);
  92719. 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) {
  92720. component = t1[i];
  92721. _this.visitCompoundSelector$1(component.selector);
  92722. t7 = component.combinators;
  92723. t8 = t7.length === 0;
  92724. if (!t8)
  92725. if (t6)
  92726. t4.writeCharCode$1(32);
  92727. t9 = t5 ? "" : " ";
  92728. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  92729. if (i !== t3)
  92730. t7 = !t5 || t8;
  92731. else
  92732. t7 = false;
  92733. if (t7)
  92734. t4.writeCharCode$1(32);
  92735. }
  92736. },
  92737. _serialize0$_writeCombinators$1(combinators) {
  92738. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  92739. t2 = this._serialize0$_buffer;
  92740. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  92741. },
  92742. visitCompoundSelector$1(compound) {
  92743. var t2, t3, _i,
  92744. t1 = this._serialize0$_buffer,
  92745. start = t1.get$length(t1);
  92746. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  92747. t2[_i].accept$1(this);
  92748. if (t1.get$length(t1) === start)
  92749. t1.writeCharCode$1(42);
  92750. },
  92751. visitIDSelector$1(id) {
  92752. var t1 = this._serialize0$_buffer;
  92753. t1.writeCharCode$1(35);
  92754. t1.write$1(0, id.name);
  92755. },
  92756. visitSelectorList$1(list) {
  92757. var t1, t2, t3, t4, first, t5, _this = this,
  92758. complexes = list.components;
  92759. 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();) {
  92760. t5 = t1.get$current(t1);
  92761. if (first)
  92762. first = false;
  92763. else {
  92764. t3.writeCharCode$1(44);
  92765. if (t5.lineBreak) {
  92766. if (t2)
  92767. t3.write$1(0, t4);
  92768. _this._serialize0$_writeIndentation$0();
  92769. } else if (t2)
  92770. t3.writeCharCode$1(32);
  92771. }
  92772. _this.visitComplexSelector$1(t5);
  92773. }
  92774. },
  92775. visitParentSelector$1($parent) {
  92776. var t2,
  92777. t1 = this._serialize0$_buffer;
  92778. t1.writeCharCode$1(38);
  92779. t2 = $parent.suffix;
  92780. if (t2 != null)
  92781. t1.write$1(0, t2);
  92782. },
  92783. visitPlaceholderSelector$1(placeholder) {
  92784. var t1 = this._serialize0$_buffer;
  92785. t1.writeCharCode$1(37);
  92786. t1.write$1(0, placeholder.name);
  92787. },
  92788. visitPseudoSelector$1(pseudo) {
  92789. var t3, t4, t5,
  92790. innerSelector = pseudo.selector,
  92791. t1 = innerSelector == null,
  92792. t2 = !t1;
  92793. if (t2 && pseudo.name === "not" && innerSelector.accept$1(B._IsInvisibleVisitor_true0))
  92794. return;
  92795. t3 = this._serialize0$_buffer;
  92796. t3.writeCharCode$1(58);
  92797. if (!pseudo.isSyntacticClass)
  92798. t3.writeCharCode$1(58);
  92799. t3.write$1(0, pseudo.name);
  92800. t4 = pseudo.argument;
  92801. t5 = t4 == null;
  92802. if (t5 && t1)
  92803. return;
  92804. t3.writeCharCode$1(40);
  92805. if (!t5) {
  92806. t3.write$1(0, t4);
  92807. if (t2)
  92808. t3.writeCharCode$1(32);
  92809. }
  92810. if (t2)
  92811. this.visitSelectorList$1(innerSelector);
  92812. t3.writeCharCode$1(41);
  92813. },
  92814. visitTypeSelector$1(type) {
  92815. this._serialize0$_buffer.write$1(0, type.name);
  92816. },
  92817. visitUniversalSelector$1(universal) {
  92818. var t2,
  92819. t1 = universal.namespace;
  92820. if (t1 != null) {
  92821. t2 = this._serialize0$_buffer;
  92822. t2.write$1(0, t1);
  92823. t2.writeCharCode$1(124);
  92824. }
  92825. this._serialize0$_buffer.writeCharCode$1(42);
  92826. },
  92827. _serialize0$_write$1(value) {
  92828. return this._serialize0$_buffer.forSpan$2(value.get$span(value), new A._SerializeVisitor__write_closure0(this, value));
  92829. },
  92830. _serialize0$_visitChildren$1($parent) {
  92831. var t2, t3, t4, t5, t6, t7, t8, t9, prePrevious, previous, t10, previous0, t11, savedIndentation, _this = this,
  92832. t1 = _this._serialize0$_buffer;
  92833. t1.writeCharCode$1(123);
  92834. 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();) {
  92835. t10 = t2.__internal$_current;
  92836. previous0 = t10 == null ? t6._as(t10) : t10;
  92837. if (t5)
  92838. t10 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  92839. else
  92840. t10 = false;
  92841. if (t10)
  92842. continue;
  92843. t10 = previous == null;
  92844. if (!t10)
  92845. t11 = t8._is(previous) ? previous.get$isChildless() : !t7._is(previous);
  92846. else
  92847. t11 = false;
  92848. if (t11)
  92849. t1.writeCharCode$1(59);
  92850. if (_this._serialize0$_isTrailingComment$2(previous0, t10 ? $parent : previous)) {
  92851. if (t4)
  92852. t1.writeCharCode$1(32);
  92853. savedIndentation = _this._serialize0$_indentation;
  92854. _this._serialize0$_indentation = 0;
  92855. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  92856. _this._serialize0$_indentation = savedIndentation;
  92857. } else {
  92858. if (t4)
  92859. t1.write$1(0, t9);
  92860. ++_this._serialize0$_indentation;
  92861. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  92862. --_this._serialize0$_indentation;
  92863. }
  92864. prePrevious = previous;
  92865. previous = previous0;
  92866. }
  92867. if (previous != null) {
  92868. if ((t8._is(previous) ? previous.get$isChildless() : !t7._is(previous)) && t4)
  92869. t1.writeCharCode$1(59);
  92870. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  92871. if (t4)
  92872. t1.writeCharCode$1(32);
  92873. } else {
  92874. _this._serialize0$_writeLineFeed$0();
  92875. _this._serialize0$_writeIndentation$0();
  92876. }
  92877. }
  92878. t1.writeCharCode$1(125);
  92879. },
  92880. _serialize0$_isTrailingComment$2(node, previous) {
  92881. var t1, t2, t3, searchFrom, endOffset, t4, span;
  92882. if (this._serialize0$_style === B.OutputStyle_10)
  92883. return false;
  92884. if (!type$.CssComment_2._is(node))
  92885. return false;
  92886. t1 = previous.get$span(previous);
  92887. t2 = node.span;
  92888. 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)) {
  92889. t1 = t2.get$start(t2);
  92890. t1 = t1.file.getLine$1(t1.offset);
  92891. t2 = previous.get$span(previous);
  92892. t2 = t2.get$end(t2);
  92893. return t1 === t2.file.getLine$1(t2.offset);
  92894. }
  92895. t1 = t2.get$start(t2);
  92896. t3 = previous.get$span(previous);
  92897. searchFrom = t1.offset - t3.get$start(t3).offset - 1;
  92898. if (searchFrom < 0)
  92899. return false;
  92900. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  92901. t1 = previous.get$span(previous);
  92902. t1 = t1.get$file(t1);
  92903. t3 = previous.get$span(previous);
  92904. t3 = t3.get$start(t3);
  92905. t4 = previous.get$span(previous);
  92906. span = t1.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  92907. t2 = t2.get$start(t2);
  92908. t2 = t2.file.getLine$1(t2.offset);
  92909. t4 = A.FileLocation$_(span.file, span._end);
  92910. return t2 === t4.file.getLine$1(t4.offset);
  92911. },
  92912. _serialize0$_writeLineFeed$0() {
  92913. if (this._serialize0$_style !== B.OutputStyle_10)
  92914. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  92915. },
  92916. _serialize0$_writeIndentation$0() {
  92917. var _this = this;
  92918. if (_this._serialize0$_style === B.OutputStyle_10)
  92919. return;
  92920. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  92921. },
  92922. _serialize0$_writeTimes$2(char, times) {
  92923. var t1, i;
  92924. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  92925. t1.writeCharCode$1(char);
  92926. },
  92927. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  92928. var t1, t2, first, value;
  92929. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  92930. value = t1.get$current(t1);
  92931. if (first)
  92932. first = false;
  92933. else
  92934. t2.write$1(0, text);
  92935. callback.call$1(value);
  92936. }
  92937. },
  92938. _serialize0$_writeBetween$3(iterable, text, callback) {
  92939. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  92940. }
  92941. };
  92942. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  92943. call$0() {
  92944. var t2, t3, minimumIndentation,
  92945. t1 = this.$this;
  92946. if (t1._serialize0$_style === B.OutputStyle_10 && B.JSString_methods._codeUnitAt$1(this.node.text, 2) !== 33)
  92947. return;
  92948. t2 = this.node;
  92949. t3 = t2.text;
  92950. minimumIndentation = t1._serialize0$_minimumIndentation$1(t3);
  92951. if (minimumIndentation == null) {
  92952. t1._serialize0$_writeIndentation$0();
  92953. t1._serialize0$_buffer.write$1(0, t3);
  92954. return;
  92955. }
  92956. t2 = t2.span;
  92957. t2 = t2.get$start(t2);
  92958. minimumIndentation = Math.min(minimumIndentation, t2.file.getColumn$1(t2.offset));
  92959. t1._serialize0$_writeIndentation$0();
  92960. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  92961. },
  92962. $signature: 1
  92963. };
  92964. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  92965. call$0() {
  92966. var t3, value,
  92967. t1 = this.$this,
  92968. t2 = t1._serialize0$_buffer;
  92969. t2.writeCharCode$1(64);
  92970. t3 = this.node;
  92971. t1._serialize0$_write$1(t3.name);
  92972. value = t3.value;
  92973. if (value != null) {
  92974. t2.writeCharCode$1(32);
  92975. t1._serialize0$_write$1(value);
  92976. }
  92977. },
  92978. $signature: 1
  92979. };
  92980. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  92981. call$0() {
  92982. var t3, firstQuery, t4, t5,
  92983. t1 = this.$this,
  92984. t2 = t1._serialize0$_buffer;
  92985. t2.write$1(0, "@media");
  92986. t3 = this.node.queries;
  92987. firstQuery = B.JSArray_methods.get$first(t3);
  92988. t4 = t1._serialize0$_style === B.OutputStyle_10;
  92989. if (t4)
  92990. if (firstQuery.modifier == null)
  92991. if (firstQuery.type == null) {
  92992. t5 = firstQuery.conditions;
  92993. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  92994. } else
  92995. t5 = true;
  92996. else
  92997. t5 = true;
  92998. else
  92999. t5 = true;
  93000. if (t5)
  93001. t2.writeCharCode$1(32);
  93002. t2 = t4 ? "," : ", ";
  93003. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  93004. },
  93005. $signature: 1
  93006. };
  93007. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  93008. call$0() {
  93009. var t3, t4, t5, modifiers,
  93010. t1 = this.$this,
  93011. t2 = t1._serialize0$_buffer;
  93012. t2.write$1(0, "@import");
  93013. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  93014. if (t3)
  93015. t2.writeCharCode$1(32);
  93016. t4 = this.node;
  93017. t5 = t4.url;
  93018. t2.forSpan$2(t5.get$span(t5), new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  93019. modifiers = t4.modifiers;
  93020. if (modifiers != null) {
  93021. if (t3)
  93022. t2.writeCharCode$1(32);
  93023. t2.write$1(0, modifiers);
  93024. }
  93025. },
  93026. $signature: 1
  93027. };
  93028. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  93029. call$0() {
  93030. var t1 = this.node.url;
  93031. return this.$this._serialize0$_writeImportUrl$1(t1.get$value(t1));
  93032. },
  93033. $signature: 0
  93034. };
  93035. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  93036. call$0() {
  93037. var t1 = this.$this,
  93038. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  93039. t3 = t1._serialize0$_buffer;
  93040. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  93041. },
  93042. $signature: 0
  93043. };
  93044. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  93045. call$0() {
  93046. return this.$this.visitSelectorList$1(this.node.selector.value);
  93047. },
  93048. $signature: 0
  93049. };
  93050. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  93051. call$0() {
  93052. var t1 = this.$this,
  93053. t2 = t1._serialize0$_buffer;
  93054. t2.write$1(0, "@supports");
  93055. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  93056. t2.writeCharCode$1(32);
  93057. t1._serialize0$_write$1(this.node.condition);
  93058. },
  93059. $signature: 1
  93060. };
  93061. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  93062. call$0() {
  93063. var t1 = this.$this,
  93064. t2 = this.node;
  93065. if (t1._serialize0$_style === B.OutputStyle_10)
  93066. t1._serialize0$_writeFoldedValue$1(t2);
  93067. else
  93068. t1._serialize0$_writeReindentedValue$1(t2);
  93069. },
  93070. $signature: 1
  93071. };
  93072. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  93073. call$0() {
  93074. var t1 = this.node.value;
  93075. return t1.get$value(t1).accept$1(this.$this);
  93076. },
  93077. $signature: 0
  93078. };
  93079. A._SerializeVisitor_visitList_closure2.prototype = {
  93080. call$1(element) {
  93081. return !element.get$isBlank();
  93082. },
  93083. $signature: 45
  93084. };
  93085. A._SerializeVisitor_visitList_closure3.prototype = {
  93086. call$1(element) {
  93087. var t1 = this.$this,
  93088. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  93089. if (needsParens)
  93090. t1._serialize0$_buffer.writeCharCode$1(40);
  93091. element.accept$1(t1);
  93092. if (needsParens)
  93093. t1._serialize0$_buffer.writeCharCode$1(41);
  93094. },
  93095. $signature: 60
  93096. };
  93097. A._SerializeVisitor_visitList_closure4.prototype = {
  93098. call$1(element) {
  93099. element.accept$1(this.$this);
  93100. },
  93101. $signature: 60
  93102. };
  93103. A._SerializeVisitor_visitMap_closure0.prototype = {
  93104. call$1(entry) {
  93105. var t1 = this.$this;
  93106. t1._serialize0$_writeMapElement$1(entry.key);
  93107. t1._serialize0$_buffer.write$1(0, ": ");
  93108. t1._serialize0$_writeMapElement$1(entry.value);
  93109. },
  93110. $signature: 502
  93111. };
  93112. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  93113. call$1(complex) {
  93114. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  93115. },
  93116. $signature: 16
  93117. };
  93118. A._SerializeVisitor__write_closure0.prototype = {
  93119. call$0() {
  93120. var t1 = this.value;
  93121. return this.$this._serialize0$_buffer.write$1(0, t1.get$value(t1));
  93122. },
  93123. $signature: 0
  93124. };
  93125. A._SerializeVisitor__visitChildren_closure1.prototype = {
  93126. call$0() {
  93127. return this.child.accept$1(this.$this);
  93128. },
  93129. $signature: 0
  93130. };
  93131. A._SerializeVisitor__visitChildren_closure2.prototype = {
  93132. call$0() {
  93133. this.child.accept$1(this.$this);
  93134. },
  93135. $signature: 0
  93136. };
  93137. A.OutputStyle0.prototype = {
  93138. toString$0(_) {
  93139. return "OutputStyle." + this._name;
  93140. }
  93141. };
  93142. A.LineFeed0.prototype = {
  93143. toString$0(_) {
  93144. return this.name;
  93145. }
  93146. };
  93147. A.SerializeResult0.prototype = {};
  93148. A.ShadowedModuleView0.prototype = {
  93149. get$url(_) {
  93150. var t1 = this._shadowed_view0$_inner;
  93151. return t1.get$url(t1);
  93152. },
  93153. get$upstream() {
  93154. return this._shadowed_view0$_inner.get$upstream();
  93155. },
  93156. get$extensionStore() {
  93157. return this._shadowed_view0$_inner.get$extensionStore();
  93158. },
  93159. get$css(_) {
  93160. var t1 = this._shadowed_view0$_inner;
  93161. return t1.get$css(t1);
  93162. },
  93163. get$transitivelyContainsCss() {
  93164. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  93165. },
  93166. get$transitivelyContainsExtensions() {
  93167. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  93168. },
  93169. setVariable$3($name, value, nodeWithSpan) {
  93170. if (!this.variables.containsKey$1($name))
  93171. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  93172. else
  93173. return this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  93174. },
  93175. variableIdentity$1($name) {
  93176. return this._shadowed_view0$_inner.variableIdentity$1($name);
  93177. },
  93178. $eq(_, other) {
  93179. var t1, t2, _this = this;
  93180. if (other == null)
  93181. return false;
  93182. if (other instanceof A.ShadowedModuleView0)
  93183. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  93184. t1 = _this.variables;
  93185. t1 = t1.get$keys(t1);
  93186. t2 = other.variables;
  93187. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  93188. t1 = _this.functions;
  93189. t1 = t1.get$keys(t1);
  93190. t2 = other.functions;
  93191. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  93192. t1 = _this.mixins;
  93193. t1 = t1.get$keys(t1);
  93194. t2 = other.mixins;
  93195. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  93196. t1 = t2;
  93197. } else
  93198. t1 = false;
  93199. } else
  93200. t1 = false;
  93201. } else
  93202. t1 = false;
  93203. else
  93204. t1 = false;
  93205. return t1;
  93206. },
  93207. get$hashCode(_) {
  93208. var t1 = this._shadowed_view0$_inner;
  93209. return t1.get$hashCode(t1);
  93210. },
  93211. cloneCss$0() {
  93212. var _this = this;
  93213. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  93214. },
  93215. toString$0(_) {
  93216. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  93217. },
  93218. $isModule0: 1,
  93219. get$variables() {
  93220. return this.variables;
  93221. },
  93222. get$variableNodes() {
  93223. return this.variableNodes;
  93224. },
  93225. get$functions(receiver) {
  93226. return this.functions;
  93227. },
  93228. get$mixins() {
  93229. return this.mixins;
  93230. }
  93231. };
  93232. A.SilentComment0.prototype = {
  93233. accept$1$1(visitor) {
  93234. return visitor.visitSilentComment$1(this);
  93235. },
  93236. accept$1(visitor) {
  93237. return this.accept$1$1(visitor, type$.dynamic);
  93238. },
  93239. toString$0(_) {
  93240. return this.text;
  93241. },
  93242. $isAstNode0: 1,
  93243. $isStatement0: 1,
  93244. get$span(receiver) {
  93245. return this.span;
  93246. }
  93247. };
  93248. A.SimpleSelector0.prototype = {
  93249. get$specificity() {
  93250. return 1000;
  93251. },
  93252. addSuffix$1(suffix) {
  93253. return A.throwExpression(A.SassScriptException$0('Invalid parent selector "' + this.toString$0(0) + '"', null));
  93254. },
  93255. unify$1(compound) {
  93256. var other, t1, result, addedThis, _i, simple, _this = this;
  93257. if (compound.length === 1) {
  93258. other = B.JSArray_methods.get$first(compound);
  93259. if (!(other instanceof A.UniversalSelector0))
  93260. if (other instanceof A.PseudoSelector0)
  93261. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  93262. else
  93263. t1 = false;
  93264. else
  93265. t1 = true;
  93266. if (t1)
  93267. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  93268. }
  93269. if (B.JSArray_methods.contains$1(compound, _this))
  93270. return compound;
  93271. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  93272. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  93273. simple = compound[_i];
  93274. if (!addedThis && simple instanceof A.PseudoSelector0) {
  93275. result.push(_this);
  93276. addedThis = true;
  93277. }
  93278. result.push(simple);
  93279. }
  93280. if (!addedThis)
  93281. result.push(_this);
  93282. return result;
  93283. },
  93284. isSuperselector$1(other) {
  93285. var list;
  93286. if (this.$eq(0, other))
  93287. return true;
  93288. if (other instanceof A.PseudoSelector0 && other.isClass) {
  93289. list = other.selector;
  93290. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  93291. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  93292. }
  93293. return false;
  93294. }
  93295. };
  93296. A.SimpleSelector_isSuperselector_closure0.prototype = {
  93297. call$1(complex) {
  93298. var t1 = complex.components;
  93299. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  93300. },
  93301. $signature: 16
  93302. };
  93303. A.SimpleSelector_isSuperselector__closure0.prototype = {
  93304. call$1(simple) {
  93305. return this.$this.isSuperselector$1(simple);
  93306. },
  93307. $signature: 13
  93308. };
  93309. A.SingleUnitSassNumber0.prototype = {
  93310. get$numeratorUnits(_) {
  93311. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  93312. },
  93313. get$denominatorUnits(_) {
  93314. return B.List_empty;
  93315. },
  93316. get$hasUnits() {
  93317. return true;
  93318. },
  93319. withValue$1(value) {
  93320. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  93321. },
  93322. withSlash$2(numerator, denominator) {
  93323. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  93324. },
  93325. hasUnit$1(unit) {
  93326. return unit === this._single_unit$_unit;
  93327. },
  93328. hasCompatibleUnits$1(other) {
  93329. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  93330. },
  93331. hasPossiblyCompatibleUnits$1(other) {
  93332. var t1, knownCompatibilities, otherUnit;
  93333. if (!(other instanceof A.SingleUnitSassNumber0))
  93334. return false;
  93335. t1 = $.$get$_knownCompatibilitiesByUnit0();
  93336. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  93337. if (knownCompatibilities == null)
  93338. return true;
  93339. otherUnit = other._single_unit$_unit.toLowerCase();
  93340. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  93341. },
  93342. compatibleWithUnit$1(unit) {
  93343. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  93344. },
  93345. coerceToMatch$3(other, $name, otherName) {
  93346. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  93347. return t1 == null ? this.super$SassNumber$coerceToMatch(other, $name, otherName) : t1;
  93348. },
  93349. coerceValueToMatch$3(other, $name, otherName) {
  93350. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  93351. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  93352. },
  93353. coerceValueToMatch$1(other) {
  93354. return this.coerceValueToMatch$3(other, null, null);
  93355. },
  93356. convertToMatch$3(other, $name, otherName) {
  93357. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  93358. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  93359. },
  93360. convertValueToMatch$3(other, $name, otherName) {
  93361. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  93362. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  93363. },
  93364. coerce$3(newNumerators, newDenominators, $name) {
  93365. var t1 = J.getInterceptor$asx(newNumerators);
  93366. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  93367. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  93368. },
  93369. coerce$2(newNumerators, newDenominators) {
  93370. return this.coerce$3(newNumerators, newDenominators, null);
  93371. },
  93372. coerceValue$3(newNumerators, newDenominators, $name) {
  93373. var t1 = J.getInterceptor$asx(newNumerators);
  93374. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  93375. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  93376. },
  93377. coerceValueToUnit$2(unit, $name) {
  93378. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  93379. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  93380. },
  93381. coerceValueToUnit$1(unit) {
  93382. return this.coerceValueToUnit$2(unit, null);
  93383. },
  93384. _single_unit$_coerceToUnit$1(unit) {
  93385. var t1 = this._single_unit$_unit;
  93386. if (t1 === unit)
  93387. return this;
  93388. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  93389. },
  93390. _single_unit$_coerceValueToUnit$1(unit) {
  93391. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  93392. },
  93393. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  93394. var mutableOtherDenominators, t1 = {};
  93395. t1.value = value;
  93396. t1.newNumerators = otherNumerators;
  93397. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  93398. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  93399. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  93400. },
  93401. unaryMinus$0() {
  93402. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  93403. },
  93404. $eq(_, other) {
  93405. var factor;
  93406. if (other == null)
  93407. return false;
  93408. if (other instanceof A.SingleUnitSassNumber0) {
  93409. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  93410. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  93411. } else
  93412. return false;
  93413. },
  93414. get$hashCode(_) {
  93415. var _this = this,
  93416. t1 = _this.hashCache;
  93417. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  93418. }
  93419. };
  93420. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  93421. call$1(factor) {
  93422. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  93423. },
  93424. $signature: 503
  93425. };
  93426. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  93427. call$1(factor) {
  93428. return this.$this._number1$_value * factor;
  93429. },
  93430. $signature: 31
  93431. };
  93432. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  93433. call$1(denominator) {
  93434. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  93435. if (factor == null)
  93436. return false;
  93437. this._box_0.value *= factor;
  93438. return true;
  93439. },
  93440. $signature: 8
  93441. };
  93442. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  93443. call$0() {
  93444. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  93445. t2 = this._box_0;
  93446. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  93447. t2.newNumerators = t1;
  93448. },
  93449. $signature: 0
  93450. };
  93451. A.SourceMapBuffer0.prototype = {
  93452. get$_source_map_buffer0$_targetLocation() {
  93453. var t1 = this._source_map_buffer0$_buffer._contents,
  93454. t2 = this._source_map_buffer0$_line;
  93455. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  93456. },
  93457. get$length(_) {
  93458. return this._source_map_buffer0$_buffer._contents.length;
  93459. },
  93460. forSpan$1$2(span, callback) {
  93461. var t1, _this = this,
  93462. wasInSpan = _this._source_map_buffer0$_inSpan;
  93463. _this._source_map_buffer0$_inSpan = true;
  93464. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  93465. try {
  93466. t1 = callback.call$0();
  93467. return t1;
  93468. } finally {
  93469. _this._source_map_buffer0$_inSpan = wasInSpan;
  93470. }
  93471. },
  93472. forSpan$2(span, callback) {
  93473. return this.forSpan$1$2(span, callback, type$.dynamic);
  93474. },
  93475. _source_map_buffer0$_addEntry$2(source, target) {
  93476. var entry, t2,
  93477. t1 = this._source_map_buffer0$_entries;
  93478. if (t1.length !== 0) {
  93479. entry = B.JSArray_methods.get$last(t1);
  93480. t2 = entry.source;
  93481. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  93482. return;
  93483. if (entry.target.offset === target.offset)
  93484. return;
  93485. }
  93486. t1.push(new A.Entry(source, target, null));
  93487. },
  93488. write$1(_, object) {
  93489. var t1, i,
  93490. string = J.toString$0$(object);
  93491. this._source_map_buffer0$_buffer._contents += string;
  93492. for (t1 = string.length, i = 0; i < t1; ++i)
  93493. if (B.JSString_methods._codeUnitAt$1(string, i) === 10)
  93494. this._source_map_buffer0$_writeLine$0();
  93495. else
  93496. ++this._source_map_buffer0$_column;
  93497. },
  93498. writeCharCode$1(charCode) {
  93499. this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  93500. if (charCode === 10)
  93501. this._source_map_buffer0$_writeLine$0();
  93502. else
  93503. ++this._source_map_buffer0$_column;
  93504. },
  93505. _source_map_buffer0$_writeLine$0() {
  93506. var _this = this,
  93507. t1 = _this._source_map_buffer0$_entries;
  93508. 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)
  93509. t1.pop();
  93510. ++_this._source_map_buffer0$_line;
  93511. _this._source_map_buffer0$_column = 0;
  93512. if (_this._source_map_buffer0$_inSpan)
  93513. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  93514. },
  93515. toString$0(_) {
  93516. var t1 = this._source_map_buffer0$_buffer._contents;
  93517. return t1.charCodeAt(0) == 0 ? t1 : t1;
  93518. },
  93519. buildSourceMap$1$prefix(prefix) {
  93520. var i, t2, prefixColumn, _box_0 = {},
  93521. t1 = prefix.length;
  93522. if (t1 === 0)
  93523. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  93524. _box_0.prefixColumn = _box_0.prefixLines = 0;
  93525. for (i = 0, t2 = 0; i < t1; ++i)
  93526. if (B.JSString_methods._codeUnitAt$1(prefix, i) === 10) {
  93527. ++_box_0.prefixLines;
  93528. _box_0.prefixColumn = 0;
  93529. t2 = 0;
  93530. } else {
  93531. prefixColumn = t2 + 1;
  93532. _box_0.prefixColumn = prefixColumn;
  93533. t2 = prefixColumn;
  93534. }
  93535. t2 = this._source_map_buffer0$_entries;
  93536. 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>")));
  93537. }
  93538. };
  93539. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  93540. call$1(entry) {
  93541. var t1 = entry.source,
  93542. t2 = entry.target,
  93543. t3 = t2.line,
  93544. t4 = this._box_0,
  93545. t5 = t4.prefixLines;
  93546. t4 = t3 === 0 ? t4.prefixColumn : 0;
  93547. return new A.Entry(t1, A.SourceLocation$(t2.offset + this.prefixLength, t2.column + t4, t3 + t5, null), entry.identifierName);
  93548. },
  93549. $signature: 160
  93550. };
  93551. A.updateSourceSpanPrototype_closure.prototype = {
  93552. call$1(span) {
  93553. return span.get$start(span);
  93554. },
  93555. $signature: 248
  93556. };
  93557. A.updateSourceSpanPrototype_closure0.prototype = {
  93558. call$1(span) {
  93559. return span.get$end(span);
  93560. },
  93561. $signature: 248
  93562. };
  93563. A.updateSourceSpanPrototype_closure1.prototype = {
  93564. call$1(span) {
  93565. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  93566. },
  93567. $signature: 505
  93568. };
  93569. A.updateSourceSpanPrototype_closure2.prototype = {
  93570. call$1(span) {
  93571. return span.get$text();
  93572. },
  93573. $signature: 249
  93574. };
  93575. A.updateSourceSpanPrototype_closure3.prototype = {
  93576. call$1(span) {
  93577. return span.get$context(span);
  93578. },
  93579. $signature: 249
  93580. };
  93581. A.updateSourceSpanPrototype_closure4.prototype = {
  93582. call$1($location) {
  93583. return $location.get$line();
  93584. },
  93585. $signature: 250
  93586. };
  93587. A.updateSourceSpanPrototype_closure5.prototype = {
  93588. call$1($location) {
  93589. return $location.get$column();
  93590. },
  93591. $signature: 250
  93592. };
  93593. A.StatementSearchVisitor0.prototype = {
  93594. visitAtRootRule$1(node) {
  93595. return this.visitChildren$1(node.children);
  93596. },
  93597. visitAtRule$1(node) {
  93598. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  93599. },
  93600. visitContentBlock$1(node) {
  93601. return this.visitChildren$1(node.children);
  93602. },
  93603. visitDebugRule$1(node) {
  93604. return null;
  93605. },
  93606. visitDeclaration$1(node) {
  93607. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  93608. },
  93609. visitEachRule$1(node) {
  93610. return this.visitChildren$1(node.children);
  93611. },
  93612. visitErrorRule$1(node) {
  93613. return null;
  93614. },
  93615. visitExtendRule$1(node) {
  93616. return null;
  93617. },
  93618. visitForRule$1(node) {
  93619. return this.visitChildren$1(node.children);
  93620. },
  93621. visitForwardRule$1(node) {
  93622. return null;
  93623. },
  93624. visitFunctionRule$1(node) {
  93625. return this.visitChildren$1(node.children);
  93626. },
  93627. visitIfRule$1(node) {
  93628. var t1 = A._IterableExtension__search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  93629. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  93630. },
  93631. visitImportRule$1(node) {
  93632. return null;
  93633. },
  93634. visitIncludeRule$1(node) {
  93635. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  93636. },
  93637. visitLoudComment$1(node) {
  93638. return null;
  93639. },
  93640. visitMediaRule$1(node) {
  93641. return this.visitChildren$1(node.children);
  93642. },
  93643. visitMixinRule$1(node) {
  93644. return this.visitChildren$1(node.children);
  93645. },
  93646. visitReturnRule$1(node) {
  93647. return null;
  93648. },
  93649. visitSilentComment$1(node) {
  93650. return null;
  93651. },
  93652. visitStyleRule$1(node) {
  93653. return this.visitChildren$1(node.children);
  93654. },
  93655. visitStylesheet$1(node) {
  93656. return this.visitChildren$1(node.children);
  93657. },
  93658. visitSupportsRule$1(node) {
  93659. return this.visitChildren$1(node.children);
  93660. },
  93661. visitUseRule$1(node) {
  93662. return null;
  93663. },
  93664. visitVariableDeclaration$1(node) {
  93665. return null;
  93666. },
  93667. visitWarnRule$1(node) {
  93668. return null;
  93669. },
  93670. visitWhileRule$1(node) {
  93671. return this.visitChildren$1(node.children);
  93672. },
  93673. visitChildren$1(children) {
  93674. return A._IterableExtension__search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  93675. }
  93676. };
  93677. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  93678. call$1(clause) {
  93679. return A._IterableExtension__search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  93680. },
  93681. $signature() {
  93682. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  93683. }
  93684. };
  93685. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  93686. call$1(child) {
  93687. return child.accept$1(this.$this);
  93688. },
  93689. $signature() {
  93690. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  93691. }
  93692. };
  93693. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  93694. call$1(lastClause) {
  93695. return A._IterableExtension__search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  93696. },
  93697. $signature() {
  93698. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  93699. }
  93700. };
  93701. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  93702. call$1(child) {
  93703. return child.accept$1(this.$this);
  93704. },
  93705. $signature() {
  93706. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  93707. }
  93708. };
  93709. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  93710. call$1(child) {
  93711. return child.accept$1(this.$this);
  93712. },
  93713. $signature() {
  93714. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  93715. }
  93716. };
  93717. A.StaticImport0.prototype = {
  93718. toString$0(_) {
  93719. var t1 = this.url.toString$0(0),
  93720. t2 = this.modifiers;
  93721. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  93722. },
  93723. $isImport0: 1,
  93724. $isAstNode0: 1,
  93725. get$span(receiver) {
  93726. return this.span;
  93727. }
  93728. };
  93729. A.StderrLogger0.prototype = {
  93730. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  93731. var t2, t3, t4,
  93732. t1 = this.color;
  93733. if (t1) {
  93734. t2 = $.$get$stderr0();
  93735. t3 = t2._node$_stderr;
  93736. t4 = J.getInterceptor$x(t3);
  93737. t4.write$1(t3, "\x1b[33m\x1b[1m");
  93738. if (deprecation)
  93739. t4.write$1(t3, "Deprecation ");
  93740. t4.write$1(t3, "Warning\x1b[0m");
  93741. } else {
  93742. if (deprecation)
  93743. J.write$1$x($.$get$stderr0()._node$_stderr, "DEPRECATION ");
  93744. t2 = $.$get$stderr0();
  93745. J.write$1$x(t2._node$_stderr, "WARNING");
  93746. }
  93747. if (span == null)
  93748. t2.writeln$1(": " + message);
  93749. else if (trace != null)
  93750. t2.writeln$1(": " + message + "\n\n" + span.highlight$1$color(t1));
  93751. else
  93752. t2.writeln$1(" on " + span.message$2$color(0, "\n" + message, t1));
  93753. if (trace != null)
  93754. t2.writeln$1(A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4));
  93755. t2.writeln$0();
  93756. },
  93757. warn$1($receiver, message) {
  93758. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  93759. },
  93760. warn$2$deprecation($receiver, message, deprecation) {
  93761. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  93762. },
  93763. warn$2$span($receiver, message, span) {
  93764. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  93765. },
  93766. warn$3$deprecation$span($receiver, message, deprecation, span) {
  93767. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  93768. },
  93769. warn$2$trace($receiver, message, trace) {
  93770. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  93771. },
  93772. debug$2(_, message, span) {
  93773. var url, t3, t4,
  93774. t1 = span.file,
  93775. t2 = span._file$_start;
  93776. if (A.FileLocation$_(t1, t2).file.url == null)
  93777. url = "-";
  93778. else {
  93779. t3 = A.FileLocation$_(t1, t2);
  93780. url = $.$get$context().prettyUri$1(t3.file.url);
  93781. }
  93782. t3 = $.$get$stderr0();
  93783. t2 = A.FileLocation$_(t1, t2);
  93784. t2 = t2.file.getLine$1(t2.offset);
  93785. t1 = t3._node$_stderr;
  93786. t4 = J.getInterceptor$x(t1);
  93787. t4.write$1(t1, url + ":" + (t2 + 1) + " ");
  93788. t4.write$1(t1, this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG");
  93789. t3.writeln$1(": " + message);
  93790. }
  93791. };
  93792. A.StringExpression0.prototype = {
  93793. get$span(_) {
  93794. return this.text.span;
  93795. },
  93796. accept$1$1(visitor) {
  93797. return visitor.visitStringExpression$1(this);
  93798. },
  93799. accept$1(visitor) {
  93800. return this.accept$1$1(visitor, type$.dynamic);
  93801. },
  93802. asInterpolation$1$static($static) {
  93803. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  93804. if (!this.hasQuotes)
  93805. return this.text;
  93806. t1 = this.text;
  93807. t2 = t1.contents;
  93808. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  93809. t3 = new A.StringBuffer("");
  93810. t4 = A._setArrayType([], type$.JSArray_Object);
  93811. buffer = new A.InterpolationBuffer0(t3, t4);
  93812. t3._contents = "" + A.Primitives_stringFromCharCode(quote);
  93813. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  93814. value = t2[_i];
  93815. if (t6._is(value)) {
  93816. buffer._interpolation_buffer0$_flushText$0();
  93817. t4.push(value);
  93818. } else if (typeof value == "string")
  93819. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  93820. }
  93821. t3._contents += A.Primitives_stringFromCharCode(quote);
  93822. return buffer.interpolation$1(t1.span);
  93823. },
  93824. asInterpolation$0() {
  93825. return this.asInterpolation$1$static(false);
  93826. },
  93827. toString$0(_) {
  93828. return this.asInterpolation$0().toString$0(0);
  93829. },
  93830. $isExpression0: 1,
  93831. $isAstNode0: 1
  93832. };
  93833. A._unquote_closure0.prototype = {
  93834. call$1($arguments) {
  93835. var string = J.$index$asx($arguments, 0).assertString$1("string");
  93836. if (!string._string0$_hasQuotes)
  93837. return string;
  93838. return new A.SassString0(string._string0$_text, false);
  93839. },
  93840. $signature: 17
  93841. };
  93842. A._quote_closure0.prototype = {
  93843. call$1($arguments) {
  93844. var string = J.$index$asx($arguments, 0).assertString$1("string");
  93845. if (string._string0$_hasQuotes)
  93846. return string;
  93847. return new A.SassString0(string._string0$_text, true);
  93848. },
  93849. $signature: 17
  93850. };
  93851. A._length_closure1.prototype = {
  93852. call$1($arguments) {
  93853. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  93854. },
  93855. $signature: 10
  93856. };
  93857. A._insert_closure0.prototype = {
  93858. call$1($arguments) {
  93859. var indexInt, codeUnitIndex, _s5_ = "index",
  93860. t1 = J.getInterceptor$asx($arguments),
  93861. string = t1.$index($arguments, 0).assertString$1("string"),
  93862. insert = t1.$index($arguments, 1).assertString$1("insert"),
  93863. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  93864. index.assertNoUnits$1(_s5_);
  93865. indexInt = index.assertInt$1(_s5_);
  93866. if (indexInt < 0)
  93867. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  93868. t1 = string._string0$_text;
  93869. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  93870. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  93871. },
  93872. $signature: 17
  93873. };
  93874. A._index_closure1.prototype = {
  93875. call$1($arguments) {
  93876. var t1 = J.getInterceptor$asx($arguments),
  93877. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  93878. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  93879. if (codeUnitIndex === -1)
  93880. return B.C__SassNull0;
  93881. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  93882. },
  93883. $signature: 3
  93884. };
  93885. A._slice_closure0.prototype = {
  93886. call$1($arguments) {
  93887. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  93888. _s8_ = "start-at",
  93889. t1 = J.getInterceptor$asx($arguments),
  93890. string = t1.$index($arguments, 0).assertString$1("string"),
  93891. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  93892. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  93893. start.assertNoUnits$1(_s8_);
  93894. end.assertNoUnits$1("end-at");
  93895. lengthInCodepoints = string.get$_string0$_sassLength();
  93896. endInt = end.assertInt$0();
  93897. if (endInt === 0)
  93898. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  93899. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  93900. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  93901. if (endCodepoint === lengthInCodepoints)
  93902. --endCodepoint;
  93903. if (endCodepoint < startCodepoint)
  93904. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  93905. t1 = string._string0$_text;
  93906. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  93907. },
  93908. $signature: 17
  93909. };
  93910. A._toUpperCase_closure0.prototype = {
  93911. call$1($arguments) {
  93912. var t1, t2, i, t3, t4,
  93913. string = J.$index$asx($arguments, 0).assertString$1("string");
  93914. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  93915. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  93916. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  93917. }
  93918. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  93919. },
  93920. $signature: 17
  93921. };
  93922. A._toLowerCase_closure0.prototype = {
  93923. call$1($arguments) {
  93924. var t1, t2, i, t3, t4,
  93925. string = J.$index$asx($arguments, 0).assertString$1("string");
  93926. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  93927. t4 = B.JSString_methods._codeUnitAt$1(t1, i);
  93928. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  93929. }
  93930. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  93931. },
  93932. $signature: 17
  93933. };
  93934. A._uniqueId_closure0.prototype = {
  93935. call$1($arguments) {
  93936. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  93937. $._previousUniqueId0 = t1;
  93938. if (t1 > Math.pow(36, 6))
  93939. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  93940. return new A.SassString0("u" + B.JSString_methods.padLeft$2(J.toRadixString$1$n($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  93941. },
  93942. $signature: 17
  93943. };
  93944. A._NodeSassString.prototype = {};
  93945. A.legacyStringClass_closure.prototype = {
  93946. call$3(thisArg, value, dartValue) {
  93947. var t1;
  93948. if (dartValue == null) {
  93949. value.toString;
  93950. t1 = new A.SassString0(value, false);
  93951. } else
  93952. t1 = dartValue;
  93953. J.set$dartValue$x(thisArg, t1);
  93954. },
  93955. call$2(thisArg, value) {
  93956. return this.call$3(thisArg, value, null);
  93957. },
  93958. "call*": "call$3",
  93959. $requiredArgCount: 2,
  93960. $defaultValues() {
  93961. return [null];
  93962. },
  93963. $signature: 508
  93964. };
  93965. A.legacyStringClass_closure0.prototype = {
  93966. call$1(thisArg) {
  93967. return J.get$dartValue$x(thisArg)._string0$_text;
  93968. },
  93969. $signature: 509
  93970. };
  93971. A.legacyStringClass_closure1.prototype = {
  93972. call$2(thisArg, value) {
  93973. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  93974. },
  93975. $signature: 510
  93976. };
  93977. A.stringClass_closure.prototype = {
  93978. call$0() {
  93979. var t2,
  93980. t1 = type$.JSClass,
  93981. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  93982. 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));
  93983. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  93984. t2 = $.$get$_emptyQuoted0();
  93985. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  93986. return jsClass;
  93987. },
  93988. $signature: 24
  93989. };
  93990. A.stringClass__closure.prototype = {
  93991. call$3($self, textOrOptions, options) {
  93992. var t1;
  93993. if (typeof textOrOptions == "string") {
  93994. t1 = options == null ? null : J.get$quotes$x(options);
  93995. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  93996. } else {
  93997. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  93998. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  93999. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  94000. }
  94001. return t1;
  94002. },
  94003. call$1($self) {
  94004. return this.call$3($self, null, null);
  94005. },
  94006. call$2($self, textOrOptions) {
  94007. return this.call$3($self, textOrOptions, null);
  94008. },
  94009. "call*": "call$3",
  94010. $requiredArgCount: 1,
  94011. $defaultValues() {
  94012. return [null, null];
  94013. },
  94014. $signature: 511
  94015. };
  94016. A.stringClass__closure0.prototype = {
  94017. call$1($self) {
  94018. return $self._string0$_text;
  94019. },
  94020. $signature: 512
  94021. };
  94022. A.stringClass__closure1.prototype = {
  94023. call$1($self) {
  94024. return $self._string0$_hasQuotes;
  94025. },
  94026. $signature: 513
  94027. };
  94028. A.stringClass__closure2.prototype = {
  94029. call$1($self) {
  94030. return $self.get$_string0$_sassLength();
  94031. },
  94032. $signature: 514
  94033. };
  94034. A.stringClass__closure3.prototype = {
  94035. call$3($self, sassIndex, $name) {
  94036. var t1 = $self._string0$_text,
  94037. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  94038. if (index === 0)
  94039. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  94040. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  94041. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  94042. return A.codepointIndexToCodeUnitIndex0(t1, index < 0 ? $self.get$_string0$_sassLength() + index : index - 1);
  94043. },
  94044. call$2($self, sassIndex) {
  94045. return this.call$3($self, sassIndex, null);
  94046. },
  94047. "call*": "call$3",
  94048. $requiredArgCount: 2,
  94049. $defaultValues() {
  94050. return [null];
  94051. },
  94052. $signature: 515
  94053. };
  94054. A._ConstructorOptions1.prototype = {};
  94055. A.SassString0.prototype = {
  94056. get$_string0$_sassLength() {
  94057. var t1, result, _this = this,
  94058. value = _this._string0$__SassString__sassLength_FI;
  94059. if (value === $) {
  94060. t1 = new A.Runes(_this._string0$_text);
  94061. result = t1.get$length(t1);
  94062. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  94063. _this._string0$__SassString__sassLength_FI = result;
  94064. value = result;
  94065. }
  94066. return value;
  94067. },
  94068. get$isSpecialNumber() {
  94069. var t1, t2;
  94070. if (this._string0$_hasQuotes)
  94071. return false;
  94072. t1 = this._string0$_text;
  94073. if (t1.length < 6)
  94074. return false;
  94075. t2 = B.JSString_methods._codeUnitAt$1(t1, 0) | 32;
  94076. if (t2 === 99) {
  94077. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  94078. if (t2 === 108) {
  94079. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 97)
  94080. return false;
  94081. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 109)
  94082. return false;
  94083. if ((B.JSString_methods._codeUnitAt$1(t1, 4) | 32) !== 112)
  94084. return false;
  94085. return B.JSString_methods._codeUnitAt$1(t1, 5) === 40;
  94086. } else if (t2 === 97) {
  94087. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 108)
  94088. return false;
  94089. if ((B.JSString_methods._codeUnitAt$1(t1, 3) | 32) !== 99)
  94090. return false;
  94091. return B.JSString_methods._codeUnitAt$1(t1, 4) === 40;
  94092. } else
  94093. return false;
  94094. } else if (t2 === 118) {
  94095. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 97)
  94096. return false;
  94097. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 114)
  94098. return false;
  94099. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94100. } else if (t2 === 101) {
  94101. if ((B.JSString_methods._codeUnitAt$1(t1, 1) | 32) !== 110)
  94102. return false;
  94103. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 118)
  94104. return false;
  94105. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94106. } else if (t2 === 109) {
  94107. t2 = B.JSString_methods._codeUnitAt$1(t1, 1) | 32;
  94108. if (t2 === 97) {
  94109. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 120)
  94110. return false;
  94111. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94112. } else if (t2 === 105) {
  94113. if ((B.JSString_methods._codeUnitAt$1(t1, 2) | 32) !== 110)
  94114. return false;
  94115. return B.JSString_methods._codeUnitAt$1(t1, 3) === 40;
  94116. } else
  94117. return false;
  94118. } else
  94119. return false;
  94120. },
  94121. get$isVar() {
  94122. if (this._string0$_hasQuotes)
  94123. return false;
  94124. var t1 = this._string0$_text;
  94125. if (t1.length < 8)
  94126. return false;
  94127. 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;
  94128. },
  94129. get$isBlank() {
  94130. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  94131. },
  94132. accept$1$1(visitor) {
  94133. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  94134. t2 = this._string0$_text;
  94135. if (t1)
  94136. visitor._serialize0$_visitQuotedString$1(t2);
  94137. else
  94138. visitor._serialize0$_visitUnquotedString$1(t2);
  94139. return null;
  94140. },
  94141. accept$1(visitor) {
  94142. return this.accept$1$1(visitor, type$.dynamic);
  94143. },
  94144. assertString$1($name) {
  94145. return this;
  94146. },
  94147. plus$1(other) {
  94148. var t1 = this._string0$_text,
  94149. t2 = this._string0$_hasQuotes;
  94150. if (other instanceof A.SassString0)
  94151. return new A.SassString0(t1 + other._string0$_text, t2);
  94152. else
  94153. return new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  94154. },
  94155. $eq(_, other) {
  94156. if (other == null)
  94157. return false;
  94158. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  94159. },
  94160. get$hashCode(_) {
  94161. var t1 = this._string0$_hashCache;
  94162. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  94163. }
  94164. };
  94165. A.ModifiableCssStyleRule0.prototype = {
  94166. accept$1$1(visitor) {
  94167. return visitor.visitCssStyleRule$1(this);
  94168. },
  94169. accept$1(visitor) {
  94170. return this.accept$1$1(visitor, type$.dynamic);
  94171. },
  94172. copyWithoutChildren$0() {
  94173. return A.ModifiableCssStyleRule$0(this.selector, this.span, this.originalSelector);
  94174. },
  94175. $isCssStyleRule0: 1,
  94176. get$span(receiver) {
  94177. return this.span;
  94178. }
  94179. };
  94180. A.StyleRule0.prototype = {
  94181. accept$1$1(visitor) {
  94182. return visitor.visitStyleRule$1(this);
  94183. },
  94184. accept$1(visitor) {
  94185. return this.accept$1$1(visitor, type$.dynamic);
  94186. },
  94187. toString$0(_) {
  94188. var t1 = this.children;
  94189. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  94190. },
  94191. get$span(receiver) {
  94192. return this.span;
  94193. }
  94194. };
  94195. A.CssStylesheet0.prototype = {
  94196. get$isGroupEnd() {
  94197. return false;
  94198. },
  94199. get$isChildless() {
  94200. return false;
  94201. },
  94202. accept$1$1(visitor) {
  94203. return visitor.visitCssStylesheet$1(this);
  94204. },
  94205. accept$1(visitor) {
  94206. return this.accept$1$1(visitor, type$.dynamic);
  94207. },
  94208. get$children(receiver) {
  94209. return this.children;
  94210. },
  94211. get$span(receiver) {
  94212. return this.span;
  94213. }
  94214. };
  94215. A.ModifiableCssStylesheet0.prototype = {
  94216. accept$1$1(visitor) {
  94217. return visitor.visitCssStylesheet$1(this);
  94218. },
  94219. accept$1(visitor) {
  94220. return this.accept$1$1(visitor, type$.dynamic);
  94221. },
  94222. copyWithoutChildren$0() {
  94223. return A.ModifiableCssStylesheet$0(this.span);
  94224. },
  94225. $isCssStylesheet0: 1,
  94226. get$span(receiver) {
  94227. return this.span;
  94228. }
  94229. };
  94230. A.StylesheetParser0.prototype = {
  94231. parse$0() {
  94232. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  94233. },
  94234. parseArgumentDeclaration$0() {
  94235. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  94236. },
  94237. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  94238. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  94239. },
  94240. parseSignature$1$requireParens(requireParens) {
  94241. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  94242. },
  94243. parseSignature$0() {
  94244. return this.parseSignature$1$requireParens(true);
  94245. },
  94246. _stylesheet0$_statement$1$root(root) {
  94247. var t2, _this = this,
  94248. t1 = _this.scanner;
  94249. switch (t1.peekChar$0()) {
  94250. case 64:
  94251. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  94252. case 43:
  94253. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  94254. return _this._stylesheet0$_styleRule$0();
  94255. _this._stylesheet0$_isUseAllowed = false;
  94256. t2 = t1._string_scanner$_position;
  94257. t1.readChar$0();
  94258. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  94259. case 61:
  94260. if (!_this.get$indented())
  94261. return _this._stylesheet0$_styleRule$0();
  94262. _this._stylesheet0$_isUseAllowed = false;
  94263. t2 = t1._string_scanner$_position;
  94264. t1.readChar$0();
  94265. _this.whitespace$0();
  94266. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  94267. case 125:
  94268. t1.error$2$length(0, 'unmatched "}".', 1);
  94269. break;
  94270. default:
  94271. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  94272. }
  94273. },
  94274. _stylesheet0$_statement$0() {
  94275. return this._stylesheet0$_statement$1$root(false);
  94276. },
  94277. variableDeclarationWithoutNamespace$2(namespace, start_) {
  94278. var t1, start, $name, t2, value, flagStart, t3, guarded, global, flag, endPosition, t4, t5, t6, declaration, _this = this,
  94279. precedingComment = _this.lastSilentComment;
  94280. _this.lastSilentComment = null;
  94281. if (start_ == null) {
  94282. t1 = _this.scanner;
  94283. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94284. } else
  94285. start = start_;
  94286. $name = _this.variableName$0();
  94287. t1 = namespace != null;
  94288. if (t1)
  94289. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  94290. if (_this.get$plainCss())
  94291. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  94292. _this.whitespace$0();
  94293. t2 = _this.scanner;
  94294. t2.expectChar$1(58);
  94295. _this.whitespace$0();
  94296. value = _this._stylesheet0$_expression$0();
  94297. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94298. for (t3 = t2.string, guarded = false, global = false; t2.scanChar$1(33);) {
  94299. flag = _this.identifier$0();
  94300. if (flag === "default")
  94301. guarded = true;
  94302. else if (flag === "global") {
  94303. if (t1) {
  94304. endPosition = t2._string_scanner$_position;
  94305. t4 = t2._sourceFile;
  94306. t5 = flagStart.position;
  94307. t6 = new A._FileSpan(t4, t5, endPosition);
  94308. t6._FileSpan$3(t4, t5, endPosition);
  94309. A.throwExpression(new A.StringScannerException(t3, string$.x21globa, t6));
  94310. }
  94311. global = true;
  94312. } else {
  94313. endPosition = t2._string_scanner$_position;
  94314. t4 = t2._sourceFile;
  94315. t5 = flagStart.position;
  94316. t6 = new A._FileSpan(t4, t5, endPosition);
  94317. t6._FileSpan$3(t4, t5, endPosition);
  94318. A.throwExpression(new A.StringScannerException(t3, "Invalid flag name.", t6));
  94319. }
  94320. _this.whitespace$0();
  94321. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94322. }
  94323. _this.expectStatementSeparator$1("variable declaration");
  94324. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  94325. if (global)
  94326. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  94327. return declaration;
  94328. },
  94329. variableDeclarationWithoutNamespace$0() {
  94330. return this.variableDeclarationWithoutNamespace$2(null, null);
  94331. },
  94332. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  94333. var t1, t2, variableOrInterpolation, t3, _this = this;
  94334. if (_this.get$plainCss())
  94335. return _this._stylesheet0$_styleRule$0();
  94336. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  94337. return _this._stylesheet0$_styleRule$0();
  94338. if (!_this.lookingAtIdentifier$0())
  94339. return _this._stylesheet0$_styleRule$0();
  94340. t1 = _this.scanner;
  94341. t2 = t1._string_scanner$_position;
  94342. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  94343. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  94344. return variableOrInterpolation;
  94345. else {
  94346. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  94347. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  94348. return _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  94349. }
  94350. },
  94351. _stylesheet0$_declarationOrStyleRule$0() {
  94352. var t1, t2, declarationOrBuffer, _this = this;
  94353. if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
  94354. return _this._stylesheet0$_propertyOrVariableDeclaration$0();
  94355. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  94356. return _this._stylesheet0$_styleRule$0();
  94357. t1 = _this.scanner;
  94358. t2 = t1._string_scanner$_position;
  94359. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  94360. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  94361. },
  94362. _stylesheet0$_declarationOrBuffer$0() {
  94363. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  94364. t2 = _this.scanner,
  94365. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  94366. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  94367. first = t2.peekChar$0();
  94368. if (first !== 58)
  94369. if (first !== 42)
  94370. if (first !== 46)
  94371. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  94372. else
  94373. t3 = true;
  94374. else
  94375. t3 = true;
  94376. else
  94377. t3 = true;
  94378. if (t3) {
  94379. t3 = t2.readChar$0();
  94380. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
  94381. t3 = _this.rawText$1(_this.get$whitespace());
  94382. nameBuffer._interpolation_buffer0$_text._contents += t3;
  94383. startsWithPunctuation = true;
  94384. } else
  94385. startsWithPunctuation = false;
  94386. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  94387. return nameBuffer;
  94388. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  94389. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  94390. return variableOrInterpolation;
  94391. else
  94392. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  94393. _this._stylesheet0$_isUseAllowed = false;
  94394. if (t2.matches$1("/*")) {
  94395. t3 = _this.rawText$1(_this.get$loudComment());
  94396. nameBuffer._interpolation_buffer0$_text._contents += t3;
  94397. }
  94398. midBuffer = new A.StringBuffer("");
  94399. t3 = _this.get$whitespace();
  94400. midBuffer._contents += _this.rawText$1(t3);
  94401. t4 = t2._string_scanner$_position;
  94402. if (!t2.scanChar$1(58)) {
  94403. if (midBuffer._contents.length !== 0)
  94404. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
  94405. return nameBuffer;
  94406. }
  94407. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  94408. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  94409. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  94410. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  94411. _this.expectStatementSeparator$1("custom property");
  94412. return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  94413. }
  94414. if (t2.scanChar$1(58)) {
  94415. t1 = nameBuffer;
  94416. t2 = t1._interpolation_buffer0$_text;
  94417. t3 = t2._contents += A.S(midBuffer);
  94418. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  94419. return t1;
  94420. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  94421. t1 = nameBuffer;
  94422. t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
  94423. return t1;
  94424. }
  94425. postColonWhitespace = _this.rawText$1(t3);
  94426. if (_this.lookingAtChildren$0())
  94427. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
  94428. midBuffer._contents += postColonWhitespace;
  94429. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  94430. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94431. t3 = t1.value = null;
  94432. try {
  94433. t3 = t1.value = _this._stylesheet0$_expression$0();
  94434. if (_this.lookingAtChildren$0()) {
  94435. if (couldBeSelector)
  94436. _this.expectStatementSeparator$0();
  94437. } else if (!_this.atEndOfStatement$0())
  94438. _this.expectStatementSeparator$0();
  94439. } catch (exception) {
  94440. if (type$.FormatException._is(A.unwrapException(exception))) {
  94441. if (!couldBeSelector)
  94442. throw exception;
  94443. t2.set$state(beforeDeclaration);
  94444. additional = _this.almostAnyValue$0();
  94445. if (!_this.get$indented() && t2.peekChar$0() === 59)
  94446. throw exception;
  94447. nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
  94448. nameBuffer.addInterpolation$1(additional);
  94449. return nameBuffer;
  94450. } else
  94451. throw exception;
  94452. }
  94453. if (_this.lookingAtChildren$0())
  94454. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
  94455. else {
  94456. _this.expectStatementSeparator$0();
  94457. return A.Declaration$0($name, t3, t2.spanFrom$1(start));
  94458. }
  94459. },
  94460. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  94461. var t1, start, identifier, t2, buffer, _this = this;
  94462. if (!_this.lookingAtIdentifier$0())
  94463. return _this.interpolatedIdentifier$0();
  94464. t1 = _this.scanner;
  94465. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94466. identifier = _this.identifier$0();
  94467. if (t1.matches$1(".$")) {
  94468. t1.readChar$0();
  94469. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  94470. } else {
  94471. t2 = new A.StringBuffer("");
  94472. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  94473. t2._contents = "" + identifier;
  94474. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  94475. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  94476. return buffer.interpolation$1(t1.spanFrom$1(start));
  94477. }
  94478. },
  94479. _stylesheet0$_styleRule$2(buffer, start_) {
  94480. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  94481. _this._stylesheet0$_isUseAllowed = false;
  94482. if (start_ == null) {
  94483. t2 = _this.scanner;
  94484. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94485. } else
  94486. start = start_;
  94487. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  94488. if (buffer != null) {
  94489. buffer.addInterpolation$1(interpolation);
  94490. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  94491. } else
  94492. t2 = interpolation;
  94493. if (t2.contents.length === 0)
  94494. _this.scanner.error$1(0, 'expected "}".');
  94495. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  94496. _this._stylesheet0$_inStyleRule = true;
  94497. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  94498. },
  94499. _stylesheet0$_styleRule$0() {
  94500. return this._stylesheet0$_styleRule$2(null, null);
  94501. },
  94502. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  94503. var first, t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  94504. _s48_ = string$.Nested,
  94505. t1 = {},
  94506. t2 = _this.scanner,
  94507. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  94508. t1.name = null;
  94509. first = t2.peekChar$0();
  94510. if (first !== 58)
  94511. if (first !== 42)
  94512. if (first !== 46)
  94513. t3 = first === 35 && t2.peekChar$1(1) !== 123;
  94514. else
  94515. t3 = true;
  94516. else
  94517. t3 = true;
  94518. else
  94519. t3 = true;
  94520. if (t3) {
  94521. t3 = new A.StringBuffer("");
  94522. nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  94523. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  94524. t3._contents += _this.rawText$1(_this.get$whitespace());
  94525. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  94526. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  94527. } else if (!_this.get$plainCss()) {
  94528. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  94529. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  94530. return variableOrInterpolation;
  94531. else {
  94532. type$.Interpolation_2._as(variableOrInterpolation);
  94533. t1.name = variableOrInterpolation;
  94534. }
  94535. t3 = variableOrInterpolation;
  94536. } else {
  94537. $name = _this.interpolatedIdentifier$0();
  94538. t1.name = $name;
  94539. t3 = $name;
  94540. }
  94541. _this.whitespace$0();
  94542. t2.expectChar$1(58);
  94543. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  94544. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  94545. _this.expectStatementSeparator$1("custom property");
  94546. return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  94547. }
  94548. _this.whitespace$0();
  94549. if (_this.lookingAtChildren$0()) {
  94550. if (_this.get$plainCss())
  94551. t2.error$1(0, _s48_);
  94552. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
  94553. }
  94554. value = _this._stylesheet0$_expression$0();
  94555. if (_this.lookingAtChildren$0()) {
  94556. if (_this.get$plainCss())
  94557. t2.error$1(0, _s48_);
  94558. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
  94559. } else {
  94560. _this.expectStatementSeparator$0();
  94561. return A.Declaration$0(t3, value, t2.spanFrom$1(start));
  94562. }
  94563. },
  94564. _stylesheet0$_propertyOrVariableDeclaration$0() {
  94565. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
  94566. },
  94567. _stylesheet0$_declarationChild$0() {
  94568. if (this.scanner.peekChar$0() === 64)
  94569. return this._stylesheet0$_declarationAtRule$0();
  94570. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  94571. },
  94572. atRule$2$root(child, root) {
  94573. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  94574. _s9_ = "@use rule",
  94575. t1 = _this.scanner,
  94576. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94577. t1.expectChar$2$name(64, "@-rule");
  94578. $name = _this.interpolatedIdentifier$0();
  94579. _this.whitespace$0();
  94580. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  94581. _this._stylesheet0$_isUseAllowed = false;
  94582. switch ($name.get$asPlain()) {
  94583. case "at-root":
  94584. return _this._stylesheet0$_atRootRule$1(start);
  94585. case "content":
  94586. return _this._stylesheet0$_contentRule$1(start);
  94587. case "debug":
  94588. return _this._stylesheet0$_debugRule$1(start);
  94589. case "each":
  94590. return _this._stylesheet0$_eachRule$2(start, child);
  94591. case "else":
  94592. return _this._stylesheet0$_disallowedAtRule$1(start);
  94593. case "error":
  94594. return _this._stylesheet0$_errorRule$1(start);
  94595. case "extend":
  94596. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  94597. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  94598. value = _this.almostAnyValue$0();
  94599. optional = t1.scanChar$1(33);
  94600. if (optional)
  94601. _this.expectIdentifier$1("optional");
  94602. _this.expectStatementSeparator$1("@extend rule");
  94603. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  94604. case "for":
  94605. return _this._stylesheet0$_forRule$2(start, child);
  94606. case "forward":
  94607. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  94608. if (!root)
  94609. _this._stylesheet0$_disallowedAtRule$1(start);
  94610. return _this._stylesheet0$_forwardRule$1(start);
  94611. case "function":
  94612. return _this._stylesheet0$_functionRule$1(start);
  94613. case "if":
  94614. return _this._stylesheet0$_ifRule$2(start, child);
  94615. case "import":
  94616. return _this._stylesheet0$_importRule$1(start);
  94617. case "include":
  94618. return _this._stylesheet0$_includeRule$1(start);
  94619. case "media":
  94620. return _this.mediaRule$1(start);
  94621. case "mixin":
  94622. return _this._stylesheet0$_mixinRule$1(start);
  94623. case "-moz-document":
  94624. return _this.mozDocumentRule$2(start, $name);
  94625. case "return":
  94626. return _this._stylesheet0$_disallowedAtRule$1(start);
  94627. case "supports":
  94628. return _this.supportsRule$1(start);
  94629. case "use":
  94630. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  94631. if (!root)
  94632. _this._stylesheet0$_disallowedAtRule$1(start);
  94633. url = _this._stylesheet0$_urlString$0();
  94634. _this.whitespace$0();
  94635. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  94636. _this.whitespace$0();
  94637. configuration = _this._stylesheet0$_configuration$0();
  94638. _this.expectStatementSeparator$1(_s9_);
  94639. span = t1.spanFrom$1(start);
  94640. if (!_this._stylesheet0$_isUseAllowed)
  94641. _this.error$2(0, string$.x40use_r, span);
  94642. _this.expectStatementSeparator$1(_s9_);
  94643. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  94644. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  94645. return t1;
  94646. case "warn":
  94647. return _this._stylesheet0$_warnRule$1(start);
  94648. case "while":
  94649. return _this._stylesheet0$_whileRule$2(start, child);
  94650. default:
  94651. return _this.unknownAtRule$2(start, $name);
  94652. }
  94653. },
  94654. _stylesheet0$_declarationAtRule$0() {
  94655. var _this = this,
  94656. t1 = _this.scanner,
  94657. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94658. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  94659. case "content":
  94660. return _this._stylesheet0$_contentRule$1(start);
  94661. case "debug":
  94662. return _this._stylesheet0$_debugRule$1(start);
  94663. case "each":
  94664. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94665. case "else":
  94666. return _this._stylesheet0$_disallowedAtRule$1(start);
  94667. case "error":
  94668. return _this._stylesheet0$_errorRule$1(start);
  94669. case "for":
  94670. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94671. case "if":
  94672. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94673. case "include":
  94674. return _this._stylesheet0$_includeRule$1(start);
  94675. case "warn":
  94676. return _this._stylesheet0$_warnRule$1(start);
  94677. case "while":
  94678. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  94679. default:
  94680. return _this._stylesheet0$_disallowedAtRule$1(start);
  94681. }
  94682. },
  94683. _stylesheet0$_functionChild$0() {
  94684. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, value, _this = this,
  94685. t1 = _this.scanner;
  94686. if (t1.peekChar$0() !== 64) {
  94687. t2 = t1._string_scanner$_position;
  94688. state = new A._SpanScannerState(t1, t2);
  94689. try {
  94690. namespace = _this.identifier$0();
  94691. t1.expectChar$1(46);
  94692. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  94693. return t2;
  94694. } catch (exception) {
  94695. t2 = A.unwrapException(exception);
  94696. t3 = type$.SourceSpanFormatException;
  94697. if (t3._is(t2)) {
  94698. variableDeclarationError = t2;
  94699. stackTrace = A.getTraceFromException(exception);
  94700. t1.set$state(state);
  94701. statement = null;
  94702. try {
  94703. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  94704. } catch (exception) {
  94705. if (t3._is(A.unwrapException(exception)))
  94706. throw A.wrapException(variableDeclarationError);
  94707. else
  94708. throw exception;
  94709. }
  94710. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  94711. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  94712. } else
  94713. throw exception;
  94714. }
  94715. }
  94716. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  94717. switch (_this._stylesheet0$_plainAtRuleName$0()) {
  94718. case "debug":
  94719. return _this._stylesheet0$_debugRule$1(start);
  94720. case "each":
  94721. return _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  94722. case "else":
  94723. return _this._stylesheet0$_disallowedAtRule$1(start);
  94724. case "error":
  94725. return _this._stylesheet0$_errorRule$1(start);
  94726. case "for":
  94727. return _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  94728. case "if":
  94729. return _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  94730. case "return":
  94731. value = _this._stylesheet0$_expression$0();
  94732. _this.expectStatementSeparator$1("@return rule");
  94733. return new A.ReturnRule0(value, t1.spanFrom$1(start));
  94734. case "warn":
  94735. return _this._stylesheet0$_warnRule$1(start);
  94736. case "while":
  94737. return _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  94738. default:
  94739. return _this._stylesheet0$_disallowedAtRule$1(start);
  94740. }
  94741. },
  94742. _stylesheet0$_plainAtRuleName$0() {
  94743. this.scanner.expectChar$2$name(64, "@-rule");
  94744. var $name = this.identifier$0();
  94745. this.whitespace$0();
  94746. return $name;
  94747. },
  94748. _stylesheet0$_atRootRule$1(start) {
  94749. var query, _this = this,
  94750. t1 = _this.scanner;
  94751. if (t1.peekChar$0() === 40) {
  94752. query = _this._stylesheet0$_atRootQuery$0();
  94753. _this.whitespace$0();
  94754. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  94755. } else if (_this.lookingAtChildren$0())
  94756. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  94757. else
  94758. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  94759. },
  94760. _stylesheet0$_atRootQuery$0() {
  94761. var interpolation, t2, t3, t4, buffer, t5, _this = this,
  94762. t1 = _this.scanner;
  94763. if (t1.peekChar$0() === 35) {
  94764. interpolation = _this.singleInterpolation$0();
  94765. return A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation));
  94766. }
  94767. t2 = t1._string_scanner$_position;
  94768. t3 = new A.StringBuffer("");
  94769. t4 = A._setArrayType([], type$.JSArray_Object);
  94770. buffer = new A.InterpolationBuffer0(t3, t4);
  94771. t1.expectChar$1(40);
  94772. t3._contents += A.Primitives_stringFromCharCode(40);
  94773. _this.whitespace$0();
  94774. t5 = _this._stylesheet0$_expression$0();
  94775. buffer._interpolation_buffer0$_flushText$0();
  94776. t4.push(t5);
  94777. if (t1.scanChar$1(58)) {
  94778. _this.whitespace$0();
  94779. t5 = t3._contents += A.Primitives_stringFromCharCode(58);
  94780. t3._contents = t5 + A.Primitives_stringFromCharCode(32);
  94781. t5 = _this._stylesheet0$_expression$0();
  94782. buffer._interpolation_buffer0$_flushText$0();
  94783. t4.push(t5);
  94784. }
  94785. t1.expectChar$1(41);
  94786. _this.whitespace$0();
  94787. t3._contents += A.Primitives_stringFromCharCode(41);
  94788. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  94789. },
  94790. _stylesheet0$_contentRule$1(start) {
  94791. var t1, $arguments, t2, t3, _this = this;
  94792. if (!_this._stylesheet0$_inMixin)
  94793. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  94794. _this.whitespace$0();
  94795. t1 = _this.scanner;
  94796. if (t1.peekChar$0() === 40)
  94797. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  94798. else {
  94799. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  94800. t3 = t2.offset;
  94801. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  94802. }
  94803. _this.expectStatementSeparator$1("@content rule");
  94804. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  94805. },
  94806. _stylesheet0$_debugRule$1(start) {
  94807. var value = this._stylesheet0$_expression$0();
  94808. this.expectStatementSeparator$1("@debug rule");
  94809. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  94810. },
  94811. _stylesheet0$_eachRule$2(start, child) {
  94812. var variables, t1, _this = this,
  94813. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  94814. _this._stylesheet0$_inControlDirective = true;
  94815. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  94816. _this.whitespace$0();
  94817. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  94818. _this.whitespace$0();
  94819. t1.expectChar$1(36);
  94820. variables.push(_this.identifier$1$normalize(true));
  94821. _this.whitespace$0();
  94822. }
  94823. _this.expectIdentifier$1("in");
  94824. _this.whitespace$0();
  94825. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  94826. },
  94827. _stylesheet0$_errorRule$1(start) {
  94828. var value = this._stylesheet0$_expression$0();
  94829. this.expectStatementSeparator$1("@error rule");
  94830. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  94831. },
  94832. _stylesheet0$_functionRule$1(start) {
  94833. var $name, $arguments, _this = this,
  94834. precedingComment = _this.lastSilentComment;
  94835. _this.lastSilentComment = null;
  94836. $name = _this.identifier$1$normalize(true);
  94837. _this.whitespace$0();
  94838. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  94839. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  94840. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  94841. else if (_this._stylesheet0$_inControlDirective)
  94842. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  94843. switch (A.unvendor0($name)) {
  94844. case "calc":
  94845. case "element":
  94846. case "expression":
  94847. case "url":
  94848. case "and":
  94849. case "or":
  94850. case "not":
  94851. case "clamp":
  94852. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  94853. break;
  94854. }
  94855. _this.whitespace$0();
  94856. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  94857. },
  94858. _stylesheet0$_forRule$2(start, child) {
  94859. var variable, from, _this = this, t1 = {},
  94860. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  94861. _this._stylesheet0$_inControlDirective = true;
  94862. variable = _this.variableName$0();
  94863. _this.whitespace$0();
  94864. _this.expectIdentifier$1("from");
  94865. _this.whitespace$0();
  94866. t1.exclusive = null;
  94867. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  94868. if (t1.exclusive == null)
  94869. _this.scanner.error$1(0, 'Expected "to" or "through".');
  94870. _this.whitespace$0();
  94871. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  94872. },
  94873. _stylesheet0$_forwardRule$1(start) {
  94874. var prefix, members, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  94875. url = _this._stylesheet0$_urlString$0();
  94876. _this.whitespace$0();
  94877. if (_this.scanIdentifier$1("as")) {
  94878. _this.whitespace$0();
  94879. prefix = _this.identifier$1$normalize(true);
  94880. _this.scanner.expectChar$1(42);
  94881. _this.whitespace$0();
  94882. } else
  94883. prefix = _null;
  94884. if (_this.scanIdentifier$1("show")) {
  94885. members = _this._stylesheet0$_memberList$0();
  94886. shownMixinsAndFunctions = members.item1;
  94887. shownVariables = members.item2;
  94888. hiddenVariables = _null;
  94889. hiddenMixinsAndFunctions = hiddenVariables;
  94890. } else {
  94891. if (_this.scanIdentifier$1("hide")) {
  94892. members = _this._stylesheet0$_memberList$0();
  94893. hiddenMixinsAndFunctions = members.item1;
  94894. hiddenVariables = members.item2;
  94895. } else {
  94896. hiddenVariables = _null;
  94897. hiddenMixinsAndFunctions = hiddenVariables;
  94898. }
  94899. shownVariables = _null;
  94900. shownMixinsAndFunctions = shownVariables;
  94901. }
  94902. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  94903. _this.expectStatementSeparator$1("@forward rule");
  94904. span = _this.scanner.spanFrom$1(start);
  94905. if (!_this._stylesheet0$_isUseAllowed)
  94906. _this.error$2(0, string$.x40forwa, span);
  94907. if (shownMixinsAndFunctions != null) {
  94908. shownVariables.toString;
  94909. t1 = type$.String;
  94910. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  94911. t3 = type$.UnmodifiableSetView_String;
  94912. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  94913. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  94914. return new A.ForwardRule0(url, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), _null, _null, prefix, t4, span);
  94915. } else if (hiddenMixinsAndFunctions != null) {
  94916. hiddenVariables.toString;
  94917. t1 = type$.String;
  94918. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  94919. t3 = type$.UnmodifiableSetView_String;
  94920. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  94921. t4 = configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  94922. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView(t2, t3), new A.UnmodifiableSetView(t1, t3), prefix, t4, span);
  94923. } else
  94924. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty20 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  94925. },
  94926. _stylesheet0$_memberList$0() {
  94927. var _this = this,
  94928. t1 = type$.String,
  94929. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  94930. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  94931. t1 = _this.scanner;
  94932. do {
  94933. _this.whitespace$0();
  94934. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  94935. _this.whitespace$0();
  94936. } while (t1.scanChar$1(44));
  94937. return new A.Tuple2(identifiers, variables, type$.Tuple2_of_Set_String_and_Set_String);
  94938. },
  94939. _stylesheet0$_ifRule$2(start, child) {
  94940. var condition, children, clauses, lastClause, span, _this = this,
  94941. ifIndentation = _this.get$currentIndentation(),
  94942. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  94943. _this._stylesheet0$_inControlDirective = true;
  94944. condition = _this._stylesheet0$_expression$0();
  94945. children = _this.children$1(0, child);
  94946. _this.whitespaceWithoutComments$0();
  94947. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  94948. while (true) {
  94949. if (!_this.scanElse$1(ifIndentation)) {
  94950. lastClause = null;
  94951. break;
  94952. }
  94953. _this.whitespace$0();
  94954. if (_this.scanIdentifier$1("if")) {
  94955. _this.whitespace$0();
  94956. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  94957. } else {
  94958. lastClause = A.ElseClause$0(_this.children$1(0, child));
  94959. break;
  94960. }
  94961. }
  94962. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  94963. span = _this.scanner.spanFrom$1(start);
  94964. _this.whitespaceWithoutComments$0();
  94965. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  94966. },
  94967. _stylesheet0$_importRule$1(start) {
  94968. var argument, _this = this,
  94969. imports = A._setArrayType([], type$.JSArray_Import_2),
  94970. t1 = _this.scanner;
  94971. do {
  94972. _this.whitespace$0();
  94973. argument = _this.importArgument$0();
  94974. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && argument instanceof A.DynamicImport0)
  94975. _this._stylesheet0$_disallowedAtRule$1(start);
  94976. imports.push(argument);
  94977. _this.whitespace$0();
  94978. } while (t1.scanChar$1(44));
  94979. _this.expectStatementSeparator$1("@import rule");
  94980. t1 = t1.spanFrom$1(start);
  94981. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  94982. },
  94983. importArgument$0() {
  94984. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  94985. t1 = _this.scanner,
  94986. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  94987. next = t1.peekChar$0();
  94988. if (next === 117 || next === 85) {
  94989. url = _this.dynamicUrl$0();
  94990. _this.whitespace$0();
  94991. modifiers = _this.tryImportModifiers$0();
  94992. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  94993. }
  94994. url = _this.string$0();
  94995. urlSpan = t1.spanFrom$1(start);
  94996. _this.whitespace$0();
  94997. modifiers = _this.tryImportModifiers$0();
  94998. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  94999. t2 = urlSpan;
  95000. 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));
  95001. } else
  95002. try {
  95003. t1 = _this.parseImportUrl$1(url);
  95004. return new A.DynamicImport0(t1, urlSpan);
  95005. } catch (exception) {
  95006. t1 = A.unwrapException(exception);
  95007. if (type$.FormatException._is(t1)) {
  95008. innerError = t1;
  95009. stackTrace = A.getTraceFromException(exception);
  95010. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  95011. } else
  95012. throw exception;
  95013. }
  95014. },
  95015. parseImportUrl$1(url) {
  95016. var t1 = $.$get$windows();
  95017. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  95018. return t1.toUri$1(url).toString$0(0);
  95019. A.Uri_parse(url);
  95020. return url;
  95021. },
  95022. isPlainImportUrl$1(url) {
  95023. var first;
  95024. if (url.length < 5)
  95025. return false;
  95026. if (B.JSString_methods.endsWith$1(url, ".css"))
  95027. return true;
  95028. first = B.JSString_methods._codeUnitAt$1(url, 0);
  95029. if (first === 47)
  95030. return B.JSString_methods._codeUnitAt$1(url, 1) === 47;
  95031. if (first !== 104)
  95032. return false;
  95033. return B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  95034. },
  95035. tryImportModifiers$0() {
  95036. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  95037. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  95038. return null;
  95039. t1 = _this.scanner;
  95040. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  95041. t2 = new A.StringBuffer("");
  95042. t3 = A._setArrayType([], type$.JSArray_Object);
  95043. buffer = new A.InterpolationBuffer0(t2, t3);
  95044. for (; true;)
  95045. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  95046. if (!(t3.length === 0 && t2._contents.length === 0))
  95047. t2._contents += A.Primitives_stringFromCharCode(32);
  95048. identifier = _this.interpolatedIdentifier$0();
  95049. buffer.addInterpolation$1(identifier);
  95050. t4 = identifier.get$asPlain();
  95051. $name = t4 == null ? null : t4.toLowerCase();
  95052. if ($name !== "and" && t1.scanChar$1(40)) {
  95053. if ($name === "supports") {
  95054. query = _this._stylesheet0$_importSupportsQuery$0();
  95055. t4 = !(query instanceof A.SupportsDeclaration0);
  95056. if (t4)
  95057. t2._contents += A.Primitives_stringFromCharCode(40);
  95058. buffer._interpolation_buffer0$_flushText$0();
  95059. t3.push(new A.SupportsExpression0(query));
  95060. if (t4)
  95061. t2._contents += A.Primitives_stringFromCharCode(41);
  95062. } else {
  95063. t2._contents += A.Primitives_stringFromCharCode(40);
  95064. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  95065. t2._contents += A.Primitives_stringFromCharCode(41);
  95066. }
  95067. t1.expectChar$1(41);
  95068. _this.whitespace$0();
  95069. } else {
  95070. _this.whitespace$0();
  95071. if (t1.scanChar$1(44)) {
  95072. t2._contents += ", ";
  95073. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  95074. endPosition = t1._string_scanner$_position;
  95075. t4 = t1._sourceFile;
  95076. t5 = start.position;
  95077. t1 = new A._FileSpan(t4, t5, endPosition);
  95078. t1._FileSpan$3(t4, t5, endPosition);
  95079. t5 = type$.Object;
  95080. t4 = A.List_List$of(t3, true, t5);
  95081. t3 = t2._contents;
  95082. if (t3.length !== 0)
  95083. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  95084. result = A.List_List$from(t4, false, t5);
  95085. result.fixed$length = Array;
  95086. result.immutable$list = Array;
  95087. t2 = new A.Interpolation0(result, t1);
  95088. t2.Interpolation$20(t4, t1);
  95089. return t2;
  95090. }
  95091. }
  95092. } else if (t1.peekChar$0() === 40) {
  95093. if (!(t3.length === 0 && t2._contents.length === 0))
  95094. t2._contents += A.Primitives_stringFromCharCode(32);
  95095. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  95096. endPosition = t1._string_scanner$_position;
  95097. t1 = t1._sourceFile;
  95098. t4 = start.position;
  95099. t5 = new A._FileSpan(t1, t4, endPosition);
  95100. t5._FileSpan$3(t1, t4, endPosition);
  95101. t4 = type$.Object;
  95102. t3 = A.List_List$of(t3, true, t4);
  95103. t1 = t2._contents;
  95104. if (t1.length !== 0)
  95105. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  95106. result = A.List_List$from(t3, false, t4);
  95107. result.fixed$length = Array;
  95108. result.immutable$list = Array;
  95109. t1 = new A.Interpolation0(result, t5);
  95110. t1.Interpolation$20(t3, t5);
  95111. return t1;
  95112. } else {
  95113. endPosition = t1._string_scanner$_position;
  95114. t1 = t1._sourceFile;
  95115. t4 = start.position;
  95116. t5 = new A._FileSpan(t1, t4, endPosition);
  95117. t5._FileSpan$3(t1, t4, endPosition);
  95118. t4 = type$.Object;
  95119. t3 = A.List_List$of(t3, true, t4);
  95120. t1 = t2._contents;
  95121. if (t1.length !== 0)
  95122. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  95123. result = A.List_List$from(t3, false, t4);
  95124. result.fixed$length = Array;
  95125. result.immutable$list = Array;
  95126. t1 = new A.Interpolation0(result, t5);
  95127. t1.Interpolation$20(t3, t5);
  95128. return t1;
  95129. }
  95130. },
  95131. _stylesheet0$_importSupportsQuery$0() {
  95132. var t1, t2, $function, $name, _this = this;
  95133. if (_this.scanIdentifier$1("not")) {
  95134. _this.whitespace$0();
  95135. t1 = _this.scanner;
  95136. t2 = t1._string_scanner$_position;
  95137. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  95138. } else {
  95139. t1 = _this.scanner;
  95140. if (t1.peekChar$0() === 40)
  95141. return _this._stylesheet0$_supportsCondition$0();
  95142. else {
  95143. $function = _this._stylesheet0$_tryImportSupportsFunction$0();
  95144. if ($function != null)
  95145. return $function;
  95146. t2 = t1._string_scanner$_position;
  95147. $name = _this._stylesheet0$_expression$0();
  95148. t1.expectChar$1(58);
  95149. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  95150. }
  95151. }
  95152. },
  95153. _stylesheet0$_tryImportSupportsFunction$0() {
  95154. var t1, start, $name, value, _this = this;
  95155. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  95156. return null;
  95157. t1 = _this.scanner;
  95158. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  95159. $name = _this.interpolatedIdentifier$0();
  95160. if (!t1.scanChar$1(40)) {
  95161. t1.set$state(start);
  95162. return null;
  95163. }
  95164. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  95165. t1.expectChar$1(41);
  95166. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  95167. },
  95168. _stylesheet0$_includeRule$1(start) {
  95169. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  95170. $name = _this.identifier$0(),
  95171. t1 = _this.scanner;
  95172. if (t1.scanChar$1(46)) {
  95173. name0 = _this._stylesheet0$_publicIdentifier$0();
  95174. namespace = $name;
  95175. $name = name0;
  95176. } else {
  95177. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  95178. namespace = _null;
  95179. }
  95180. _this.whitespace$0();
  95181. if (t1.peekChar$0() === 40)
  95182. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  95183. else {
  95184. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  95185. t3 = t2.offset;
  95186. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  95187. }
  95188. _this.whitespace$0();
  95189. if (_this.scanIdentifier$1("using")) {
  95190. _this.whitespace$0();
  95191. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  95192. _this.whitespace$0();
  95193. } else
  95194. contentArguments = _null;
  95195. t2 = contentArguments == null;
  95196. if (!t2 || _this.lookingAtChildren$0()) {
  95197. if (t2) {
  95198. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  95199. t3 = t2.offset;
  95200. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  95201. } else
  95202. contentArguments_ = contentArguments;
  95203. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  95204. _this._stylesheet0$_inContentBlock = true;
  95205. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  95206. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  95207. } else {
  95208. _this.expectStatementSeparator$0();
  95209. $content = _null;
  95210. }
  95211. t1 = t1.spanFrom$2(start, start);
  95212. t2 = $content == null ? $arguments : $content;
  95213. return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  95214. },
  95215. mediaRule$1(start) {
  95216. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  95217. },
  95218. _stylesheet0$_mixinRule$1(start) {
  95219. var $name, t1, $arguments, t2, t3, _this = this,
  95220. precedingComment = _this.lastSilentComment;
  95221. _this.lastSilentComment = null;
  95222. $name = _this.identifier$1$normalize(true);
  95223. _this.whitespace$0();
  95224. t1 = _this.scanner;
  95225. if (t1.peekChar$0() === 40)
  95226. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  95227. else {
  95228. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  95229. t3 = t2.offset;
  95230. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  95231. }
  95232. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  95233. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  95234. else if (_this._stylesheet0$_inControlDirective)
  95235. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  95236. _this.whitespace$0();
  95237. _this._stylesheet0$_inMixin = true;
  95238. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  95239. },
  95240. mozDocumentRule$2(start, $name) {
  95241. var t5, t6, t7, identifier, contents, argument, trailing, endPosition, t8, t9, start0, end, _this = this, _box_0 = {},
  95242. t1 = _this.scanner,
  95243. t2 = t1._string_scanner$_position,
  95244. t3 = new A.StringBuffer(""),
  95245. t4 = A._setArrayType([], type$.JSArray_Object),
  95246. buffer = new A.InterpolationBuffer0(t3, t4);
  95247. _box_0.needsDeprecationWarning = false;
  95248. for (t5 = _this.get$whitespace(), t6 = t1.string; true;) {
  95249. if (t1.peekChar$0() === 35) {
  95250. t7 = _this.singleInterpolation$0();
  95251. buffer._interpolation_buffer0$_flushText$0();
  95252. t4.push(t7);
  95253. _box_0.needsDeprecationWarning = true;
  95254. } else {
  95255. t7 = t1._string_scanner$_position;
  95256. identifier = _this.identifier$0();
  95257. switch (identifier) {
  95258. case "url":
  95259. case "url-prefix":
  95260. case "domain":
  95261. contents = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t7), identifier);
  95262. if (contents != null)
  95263. buffer.addInterpolation$1(contents);
  95264. else {
  95265. t1.expectChar$1(40);
  95266. _this.whitespace$0();
  95267. argument = _this.interpolatedString$0();
  95268. t1.expectChar$1(41);
  95269. t7 = t3._contents += identifier;
  95270. t3._contents = t7 + A.Primitives_stringFromCharCode(40);
  95271. buffer.addInterpolation$1(argument.asInterpolation$0());
  95272. t3._contents += A.Primitives_stringFromCharCode(41);
  95273. }
  95274. t7 = t3._contents;
  95275. trailing = t7.charCodeAt(0) == 0 ? t7 : t7;
  95276. 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("")'))
  95277. _box_0.needsDeprecationWarning = true;
  95278. break;
  95279. case "regexp":
  95280. t3._contents += "regexp(";
  95281. t1.expectChar$1(40);
  95282. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  95283. t1.expectChar$1(41);
  95284. t3._contents += A.Primitives_stringFromCharCode(41);
  95285. _box_0.needsDeprecationWarning = true;
  95286. break;
  95287. default:
  95288. endPosition = t1._string_scanner$_position;
  95289. t8 = t1._sourceFile;
  95290. t9 = new A._FileSpan(t8, t7, endPosition);
  95291. t9._FileSpan$3(t8, t7, endPosition);
  95292. A.throwExpression(new A.StringScannerException(t6, "Invalid function name.", t9));
  95293. }
  95294. }
  95295. _this.whitespace$0();
  95296. if (!t1.scanChar$1(44))
  95297. break;
  95298. t3._contents += A.Primitives_stringFromCharCode(44);
  95299. start0 = t1._string_scanner$_position;
  95300. t5.call$0();
  95301. end = t1._string_scanner$_position;
  95302. t3._contents += B.JSString_methods.substring$2(t6, start0, end);
  95303. }
  95304. 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)))));
  95305. },
  95306. supportsRule$1(start) {
  95307. var _this = this,
  95308. condition = _this._stylesheet0$_supportsCondition$0();
  95309. _this.whitespace$0();
  95310. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  95311. },
  95312. _stylesheet0$_useNamespace$2(url, start) {
  95313. var namespace, basename, dot, t1, exception, _this = this;
  95314. if (_this.scanIdentifier$1("as")) {
  95315. _this.whitespace$0();
  95316. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  95317. }
  95318. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  95319. dot = B.JSString_methods.indexOf$1(basename, ".");
  95320. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  95321. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  95322. try {
  95323. t1 = A.SpanScanner$(namespace, null);
  95324. t1 = new A.Parser1(t1, _this.logger)._parser0$_parseIdentifier$0();
  95325. return t1;
  95326. } catch (exception) {
  95327. if (A.unwrapException(exception) instanceof A.SassFormatException0)
  95328. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  95329. else
  95330. throw exception;
  95331. }
  95332. },
  95333. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  95334. var variableNames, configuration, t1, t2, t3, $name, expression, t4, guarded, endPosition, t5, t6, span, _this = this;
  95335. if (!_this.scanIdentifier$1("with"))
  95336. return null;
  95337. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95338. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  95339. _this.whitespace$0();
  95340. t1 = _this.scanner;
  95341. t1.expectChar$1(40);
  95342. for (t2 = t1.string; true;) {
  95343. _this.whitespace$0();
  95344. t3 = t1._string_scanner$_position;
  95345. t1.expectChar$1(36);
  95346. $name = _this.identifier$1$normalize(true);
  95347. _this.whitespace$0();
  95348. t1.expectChar$1(58);
  95349. _this.whitespace$0();
  95350. expression = _this.expressionUntilComma$0();
  95351. t4 = t1._string_scanner$_position;
  95352. if (allowGuarded && t1.scanChar$1(33))
  95353. if (_this.identifier$0() === "default") {
  95354. _this.whitespace$0();
  95355. guarded = true;
  95356. } else {
  95357. endPosition = t1._string_scanner$_position;
  95358. t5 = t1._sourceFile;
  95359. t6 = new A._FileSpan(t5, t4, endPosition);
  95360. t6._FileSpan$3(t5, t4, endPosition);
  95361. A.throwExpression(new A.StringScannerException(t2, "Invalid flag name.", t6));
  95362. guarded = false;
  95363. }
  95364. else
  95365. guarded = false;
  95366. endPosition = t1._string_scanner$_position;
  95367. t4 = t1._sourceFile;
  95368. span = new A._FileSpan(t4, t3, endPosition);
  95369. span._FileSpan$3(t4, t3, endPosition);
  95370. if (variableNames.contains$1(0, $name))
  95371. A.throwExpression(new A.StringScannerException(t2, string$.The_sa, span));
  95372. variableNames.add$1(0, $name);
  95373. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  95374. if (!t1.scanChar$1(44))
  95375. break;
  95376. _this.whitespace$0();
  95377. if (!_this._stylesheet0$_lookingAtExpression$0())
  95378. break;
  95379. }
  95380. t1.expectChar$1(41);
  95381. return configuration;
  95382. },
  95383. _stylesheet0$_configuration$0() {
  95384. return this._stylesheet0$_configuration$1$allowGuarded(false);
  95385. },
  95386. _stylesheet0$_warnRule$1(start) {
  95387. var value = this._stylesheet0$_expression$0();
  95388. this.expectStatementSeparator$1("@warn rule");
  95389. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  95390. },
  95391. _stylesheet0$_whileRule$2(start, child) {
  95392. var _this = this,
  95393. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  95394. _this._stylesheet0$_inControlDirective = true;
  95395. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  95396. },
  95397. unknownAtRule$2(start, $name) {
  95398. var t2, t3, rule, _this = this, t1 = {},
  95399. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  95400. _this._stylesheet0$_inUnknownAtRule = true;
  95401. t1.value = null;
  95402. t2 = _this.scanner;
  95403. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  95404. if (_this.lookingAtChildren$0())
  95405. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  95406. else {
  95407. _this.expectStatementSeparator$0();
  95408. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  95409. }
  95410. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  95411. return rule;
  95412. },
  95413. _stylesheet0$_disallowedAtRule$1(start) {
  95414. this.almostAnyValue$0();
  95415. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  95416. },
  95417. _stylesheet0$_argumentDeclaration$0() {
  95418. var $arguments, named, restArgument, t3, t4, $name, defaultValue, endPosition, t5, t6, _this = this,
  95419. t1 = _this.scanner,
  95420. t2 = t1._string_scanner$_position;
  95421. t1.expectChar$1(40);
  95422. _this.whitespace$0();
  95423. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  95424. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95425. t3 = t1.string;
  95426. while (true) {
  95427. if (!(t1.peekChar$0() === 36)) {
  95428. restArgument = null;
  95429. break;
  95430. }
  95431. t4 = t1._string_scanner$_position;
  95432. t1.expectChar$1(36);
  95433. $name = _this.identifier$1$normalize(true);
  95434. _this.whitespace$0();
  95435. if (t1.scanChar$1(58)) {
  95436. _this.whitespace$0();
  95437. defaultValue = _this.expressionUntilComma$0();
  95438. } else {
  95439. if (t1.scanChar$1(46)) {
  95440. t1.expectChar$1(46);
  95441. t1.expectChar$1(46);
  95442. _this.whitespace$0();
  95443. restArgument = $name;
  95444. break;
  95445. }
  95446. defaultValue = null;
  95447. }
  95448. endPosition = t1._string_scanner$_position;
  95449. t5 = t1._sourceFile;
  95450. t6 = new A._FileSpan(t5, t4, endPosition);
  95451. t6._FileSpan$3(t5, t4, endPosition);
  95452. $arguments.push(new A.Argument0($name, defaultValue, t6));
  95453. if (!named.add$1(0, $name))
  95454. A.throwExpression(new A.StringScannerException(t3, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span));
  95455. if (!t1.scanChar$1(44)) {
  95456. restArgument = null;
  95457. break;
  95458. }
  95459. _this.whitespace$0();
  95460. }
  95461. t1.expectChar$1(41);
  95462. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  95463. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  95464. },
  95465. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  95466. var positional, t3, t4, named, keywordRest, t5, t6, rest, expression, t7, result, _this = this, _null = null,
  95467. t1 = _this.scanner,
  95468. t2 = t1._string_scanner$_position;
  95469. t1.expectChar$1(40);
  95470. _this.whitespace$0();
  95471. positional = A._setArrayType([], type$.JSArray_Expression_2);
  95472. t3 = type$.String;
  95473. t4 = type$.Expression_2;
  95474. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  95475. t5 = !mixin;
  95476. t6 = t1.string;
  95477. rest = _null;
  95478. while (true) {
  95479. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  95480. keywordRest = _null;
  95481. break;
  95482. }
  95483. expression = _this.expressionUntilComma$1$singleEquals(t5);
  95484. _this.whitespace$0();
  95485. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  95486. _this.whitespace$0();
  95487. t7 = expression.name;
  95488. if (named.containsKey$1(t7))
  95489. A.throwExpression(new A.StringScannerException(t6, "Duplicate argument.", expression.span));
  95490. named.$indexSet(0, t7, _this.expressionUntilComma$1$singleEquals(t5));
  95491. } else if (t1.scanChar$1(46)) {
  95492. t1.expectChar$1(46);
  95493. t1.expectChar$1(46);
  95494. if (rest != null) {
  95495. _this.whitespace$0();
  95496. keywordRest = expression;
  95497. break;
  95498. }
  95499. rest = expression;
  95500. } else if (named.__js_helper$_length !== 0)
  95501. A.throwExpression(new A.StringScannerException(t6, string$.Positi, expression.get$span(expression)));
  95502. else
  95503. positional.push(expression);
  95504. _this.whitespace$0();
  95505. if (!t1.scanChar$1(44)) {
  95506. keywordRest = _null;
  95507. break;
  95508. }
  95509. _this.whitespace$0();
  95510. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  95511. t5 = t1._sourceFile;
  95512. t6 = t1._string_scanner$_position;
  95513. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  95514. t7 = new A._FileSpan(t5, t6, t6);
  95515. t7._FileSpan$3(t5, t6, t6);
  95516. t6 = A._setArrayType([""], type$.JSArray_Object);
  95517. result = A.List_List$from(t6, false, type$.Object);
  95518. result.fixed$length = Array;
  95519. result.immutable$list = Array;
  95520. t5 = new A.Interpolation0(result, t7);
  95521. t5.Interpolation$20(t6, t7);
  95522. positional.push(new A.StringExpression0(t5, false));
  95523. keywordRest = _null;
  95524. break;
  95525. }
  95526. }
  95527. t1.expectChar$1(41);
  95528. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  95529. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  95530. },
  95531. _stylesheet0$_argumentInvocation$0() {
  95532. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  95533. },
  95534. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  95535. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  95536. },
  95537. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  95538. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  95539. },
  95540. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  95541. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, first, next, t4, commaExpressions, spaceExpressions, singleExpression, _this = this,
  95542. _s20_ = "Expected expression.",
  95543. _box_0 = {},
  95544. t1 = until != null;
  95545. if (t1 && until.call$0())
  95546. _this.scanner.error$1(0, _s20_);
  95547. if (bracketList) {
  95548. t2 = _this.scanner;
  95549. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  95550. t2.expectChar$1(91);
  95551. _this.whitespace$0();
  95552. if (t2.scanChar$1(93)) {
  95553. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  95554. t2 = t2.spanFrom$1(beforeBracket);
  95555. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  95556. }
  95557. } else
  95558. beforeBracket = null;
  95559. t2 = _this.scanner;
  95560. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  95561. wasInParentheses = _this._stylesheet0$_inParentheses;
  95562. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  95563. _box_0.allowSlash = true;
  95564. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  95565. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  95566. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  95567. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  95568. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  95569. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  95570. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  95571. $label0$0:
  95572. for (t3 = type$.JSArray_Expression_2; true;) {
  95573. _this.whitespace$0();
  95574. if (t1 && until.call$0())
  95575. break $label0$0;
  95576. first = t2.peekChar$0();
  95577. switch (first) {
  95578. case 40:
  95579. addSingleExpression.call$1(_this._stylesheet0$_parentheses$0());
  95580. break;
  95581. case 91:
  95582. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  95583. break;
  95584. case 36:
  95585. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  95586. break;
  95587. case 38:
  95588. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  95589. break;
  95590. case 39:
  95591. case 34:
  95592. addSingleExpression.call$1(_this.interpolatedString$0());
  95593. break;
  95594. case 35:
  95595. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  95596. break;
  95597. case 61:
  95598. t2.readChar$0();
  95599. if (singleEquals && t2.peekChar$0() !== 61)
  95600. addOperator.call$1(B.BinaryOperator_axY0);
  95601. else {
  95602. t2.expectChar$1(61);
  95603. addOperator.call$1(B.BinaryOperator_nZh0);
  95604. }
  95605. break;
  95606. case 33:
  95607. next = t2.peekChar$1(1);
  95608. if (next === 61) {
  95609. t2.readChar$0();
  95610. t2.readChar$0();
  95611. addOperator.call$1(B.BinaryOperator_Vr90);
  95612. } else {
  95613. if (next != null)
  95614. if ((next | 32) >>> 0 !== 105)
  95615. t4 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  95616. else
  95617. t4 = true;
  95618. else
  95619. t4 = true;
  95620. if (t4)
  95621. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  95622. else
  95623. break $label0$0;
  95624. }
  95625. break;
  95626. case 60:
  95627. t2.readChar$0();
  95628. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oqF0 : B.BinaryOperator_apg0);
  95629. break;
  95630. case 62:
  95631. t2.readChar$0();
  95632. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_Wma0 : B.BinaryOperator_cw10);
  95633. break;
  95634. case 42:
  95635. t2.readChar$0();
  95636. addOperator.call$1(B.BinaryOperator_6pl0);
  95637. break;
  95638. case 43:
  95639. if (_box_0.singleExpression_ == null)
  95640. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  95641. else {
  95642. t2.readChar$0();
  95643. addOperator.call$1(B.BinaryOperator_qbf0);
  95644. }
  95645. break;
  95646. case 45:
  95647. next = t2.peekChar$1(1);
  95648. if (next != null && next >= 48 && next <= 57 || next === 46)
  95649. if (_box_0.singleExpression_ != null) {
  95650. t4 = t2.peekChar$1(-1);
  95651. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  95652. } else
  95653. t4 = true;
  95654. else
  95655. t4 = false;
  95656. if (t4)
  95657. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  95658. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  95659. addSingleExpression.call$1(_this.identifierLike$0());
  95660. else if (_box_0.singleExpression_ == null)
  95661. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  95662. else {
  95663. t2.readChar$0();
  95664. addOperator.call$1(B.BinaryOperator_KlB0);
  95665. }
  95666. break;
  95667. case 47:
  95668. if (_box_0.singleExpression_ == null)
  95669. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  95670. else {
  95671. t2.readChar$0();
  95672. addOperator.call$1(B.BinaryOperator_qpm0);
  95673. }
  95674. break;
  95675. case 37:
  95676. t2.readChar$0();
  95677. addOperator.call$1(B.BinaryOperator_PHH0);
  95678. break;
  95679. case 48:
  95680. case 49:
  95681. case 50:
  95682. case 51:
  95683. case 52:
  95684. case 53:
  95685. case 54:
  95686. case 55:
  95687. case 56:
  95688. case 57:
  95689. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  95690. break;
  95691. case 46:
  95692. if (t2.peekChar$1(1) === 46)
  95693. break $label0$0;
  95694. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  95695. break;
  95696. case 97:
  95697. if (!_this.get$plainCss() && _this.scanIdentifier$1("and"))
  95698. addOperator.call$1(B.BinaryOperator_and_and_2_and0);
  95699. else
  95700. addSingleExpression.call$1(_this.identifierLike$0());
  95701. break;
  95702. case 111:
  95703. if (!_this.get$plainCss() && _this.scanIdentifier$1("or"))
  95704. addOperator.call$1(B.BinaryOperator_or_or_1_or0);
  95705. else
  95706. addSingleExpression.call$1(_this.identifierLike$0());
  95707. break;
  95708. case 117:
  95709. case 85:
  95710. if (t2.peekChar$1(1) === 43)
  95711. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  95712. else
  95713. addSingleExpression.call$1(_this.identifierLike$0());
  95714. break;
  95715. case 98:
  95716. case 99:
  95717. case 100:
  95718. case 101:
  95719. case 102:
  95720. case 103:
  95721. case 104:
  95722. case 105:
  95723. case 106:
  95724. case 107:
  95725. case 108:
  95726. case 109:
  95727. case 110:
  95728. case 112:
  95729. case 113:
  95730. case 114:
  95731. case 115:
  95732. case 116:
  95733. case 118:
  95734. case 119:
  95735. case 120:
  95736. case 121:
  95737. case 122:
  95738. case 65:
  95739. case 66:
  95740. case 67:
  95741. case 68:
  95742. case 69:
  95743. case 70:
  95744. case 71:
  95745. case 72:
  95746. case 73:
  95747. case 74:
  95748. case 75:
  95749. case 76:
  95750. case 77:
  95751. case 78:
  95752. case 79:
  95753. case 80:
  95754. case 81:
  95755. case 82:
  95756. case 83:
  95757. case 84:
  95758. case 86:
  95759. case 87:
  95760. case 88:
  95761. case 89:
  95762. case 90:
  95763. case 95:
  95764. case 92:
  95765. addSingleExpression.call$1(_this.identifierLike$0());
  95766. break;
  95767. case 44:
  95768. if (_this._stylesheet0$_inParentheses) {
  95769. _this._stylesheet0$_inParentheses = false;
  95770. if (_box_0.allowSlash) {
  95771. resetState.call$0();
  95772. break;
  95773. }
  95774. }
  95775. commaExpressions = _box_0.commaExpressions_;
  95776. if (commaExpressions == null)
  95777. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  95778. if (_box_0.singleExpression_ == null)
  95779. t2.error$1(0, _s20_);
  95780. resolveSpaceExpressions.call$0();
  95781. t4 = _box_0.singleExpression_;
  95782. t4.toString;
  95783. commaExpressions.push(t4);
  95784. t2.readChar$0();
  95785. _box_0.allowSlash = true;
  95786. _box_0.singleExpression_ = null;
  95787. break;
  95788. default:
  95789. if (first != null && first >= 128) {
  95790. addSingleExpression.call$1(_this.identifierLike$0());
  95791. break;
  95792. } else
  95793. break $label0$0;
  95794. }
  95795. }
  95796. if (bracketList)
  95797. t2.expectChar$1(93);
  95798. commaExpressions = _box_0.commaExpressions_;
  95799. spaceExpressions = _box_0.spaceExpressions_;
  95800. if (commaExpressions != null) {
  95801. resolveSpaceExpressions.call$0();
  95802. _this._stylesheet0$_inParentheses = wasInParentheses;
  95803. singleExpression = _box_0.singleExpression_;
  95804. if (singleExpression != null)
  95805. commaExpressions.push(singleExpression);
  95806. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  95807. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_rXA0, bracketList, t1);
  95808. } else if (bracketList && spaceExpressions != null) {
  95809. resolveOperations.call$0();
  95810. t1 = _box_0.singleExpression_;
  95811. t1.toString;
  95812. spaceExpressions.push(t1);
  95813. beforeBracket.toString;
  95814. t2 = t2.spanFrom$1(beforeBracket);
  95815. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, true, t2);
  95816. } else {
  95817. resolveSpaceExpressions.call$0();
  95818. if (bracketList) {
  95819. t1 = _box_0.singleExpression_;
  95820. t1.toString;
  95821. t3 = A._setArrayType([t1], t3);
  95822. beforeBracket.toString;
  95823. t2 = t2.spanFrom$1(beforeBracket);
  95824. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  95825. }
  95826. t1 = _box_0.singleExpression_;
  95827. t1.toString;
  95828. return t1;
  95829. }
  95830. },
  95831. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  95832. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  95833. },
  95834. _stylesheet0$_expression$1$bracketList(bracketList) {
  95835. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  95836. },
  95837. _stylesheet0$_expression$0() {
  95838. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  95839. },
  95840. _stylesheet0$_expression$1$until(until) {
  95841. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  95842. },
  95843. expressionUntilComma$1$singleEquals(singleEquals) {
  95844. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  95845. },
  95846. expressionUntilComma$0() {
  95847. return this.expressionUntilComma$1$singleEquals(false);
  95848. },
  95849. _stylesheet0$_isSlashOperand$1(expression) {
  95850. var t1;
  95851. if (!(expression instanceof A.NumberExpression0))
  95852. if (!(expression instanceof A.CalculationExpression0))
  95853. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  95854. else
  95855. t1 = true;
  95856. else
  95857. t1 = true;
  95858. return t1;
  95859. },
  95860. _stylesheet0$_singleExpression$0() {
  95861. var next, _this = this,
  95862. t1 = _this.scanner,
  95863. first = t1.peekChar$0();
  95864. switch (first) {
  95865. case 40:
  95866. return _this._stylesheet0$_parentheses$0();
  95867. case 47:
  95868. return _this._stylesheet0$_unaryOperation$0();
  95869. case 46:
  95870. return _this._stylesheet0$_number$0();
  95871. case 91:
  95872. return _this._stylesheet0$_expression$1$bracketList(true);
  95873. case 36:
  95874. return _this._stylesheet0$_variable$0();
  95875. case 38:
  95876. return _this._stylesheet0$_selector$0();
  95877. case 39:
  95878. case 34:
  95879. return _this.interpolatedString$0();
  95880. case 35:
  95881. return _this._stylesheet0$_hashExpression$0();
  95882. case 43:
  95883. next = t1.peekChar$1(1);
  95884. return A.isDigit0(next) || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  95885. case 45:
  95886. return _this._stylesheet0$_minusExpression$0();
  95887. case 33:
  95888. return _this._stylesheet0$_importantExpression$0();
  95889. case 117:
  95890. case 85:
  95891. if (t1.peekChar$1(1) === 43)
  95892. return _this._stylesheet0$_unicodeRange$0();
  95893. else
  95894. return _this.identifierLike$0();
  95895. case 48:
  95896. case 49:
  95897. case 50:
  95898. case 51:
  95899. case 52:
  95900. case 53:
  95901. case 54:
  95902. case 55:
  95903. case 56:
  95904. case 57:
  95905. return _this._stylesheet0$_number$0();
  95906. case 97:
  95907. case 98:
  95908. case 99:
  95909. case 100:
  95910. case 101:
  95911. case 102:
  95912. case 103:
  95913. case 104:
  95914. case 105:
  95915. case 106:
  95916. case 107:
  95917. case 108:
  95918. case 109:
  95919. case 110:
  95920. case 111:
  95921. case 112:
  95922. case 113:
  95923. case 114:
  95924. case 115:
  95925. case 116:
  95926. case 118:
  95927. case 119:
  95928. case 120:
  95929. case 121:
  95930. case 122:
  95931. case 65:
  95932. case 66:
  95933. case 67:
  95934. case 68:
  95935. case 69:
  95936. case 70:
  95937. case 71:
  95938. case 72:
  95939. case 73:
  95940. case 74:
  95941. case 75:
  95942. case 76:
  95943. case 77:
  95944. case 78:
  95945. case 79:
  95946. case 80:
  95947. case 81:
  95948. case 82:
  95949. case 83:
  95950. case 84:
  95951. case 86:
  95952. case 87:
  95953. case 88:
  95954. case 89:
  95955. case 90:
  95956. case 95:
  95957. case 92:
  95958. return _this.identifierLike$0();
  95959. default:
  95960. if (first != null && first >= 128)
  95961. return _this.identifierLike$0();
  95962. t1.error$1(0, "Expected expression.");
  95963. }
  95964. },
  95965. _stylesheet0$_parentheses$0() {
  95966. var wasInParentheses, start, first, expressions, t1, t2, _this = this;
  95967. if (_this.get$plainCss())
  95968. _this.scanner.error$2$length(0, "Parentheses aren't allowed in plain CSS.", 1);
  95969. wasInParentheses = _this._stylesheet0$_inParentheses;
  95970. _this._stylesheet0$_inParentheses = true;
  95971. try {
  95972. t1 = _this.scanner;
  95973. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  95974. t1.expectChar$1(40);
  95975. _this.whitespace$0();
  95976. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  95977. t1.expectChar$1(41);
  95978. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  95979. t1 = t1.spanFrom$1(start);
  95980. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  95981. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  95982. }
  95983. first = _this.expressionUntilComma$0();
  95984. if (t1.scanChar$1(58)) {
  95985. _this.whitespace$0();
  95986. t1 = _this._stylesheet0$_map$2(first, start);
  95987. return t1;
  95988. }
  95989. if (!t1.scanChar$1(44)) {
  95990. t1.expectChar$1(41);
  95991. t1 = t1.spanFrom$1(start);
  95992. return new A.ParenthesizedExpression0(first, t1);
  95993. }
  95994. _this.whitespace$0();
  95995. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  95996. for (; true;) {
  95997. if (!_this._stylesheet0$_lookingAtExpression$0())
  95998. break;
  95999. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  96000. if (!t1.scanChar$1(44))
  96001. break;
  96002. _this.whitespace$0();
  96003. }
  96004. t1.expectChar$1(41);
  96005. t1 = t1.spanFrom$1(start);
  96006. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  96007. return new A.ListExpression0(t2, B.ListSeparator_rXA0, false, t1);
  96008. } finally {
  96009. _this._stylesheet0$_inParentheses = wasInParentheses;
  96010. }
  96011. },
  96012. _stylesheet0$_map$2(first, start) {
  96013. var t2, key, _this = this,
  96014. t1 = type$.Tuple2_Expression_Expression_2,
  96015. pairs = A._setArrayType([new A.Tuple2(first, _this.expressionUntilComma$0(), t1)], type$.JSArray_Tuple2_Expression_Expression_2);
  96016. for (t2 = _this.scanner; t2.scanChar$1(44);) {
  96017. _this.whitespace$0();
  96018. if (!_this._stylesheet0$_lookingAtExpression$0())
  96019. break;
  96020. key = _this.expressionUntilComma$0();
  96021. t2.expectChar$1(58);
  96022. _this.whitespace$0();
  96023. pairs.push(new A.Tuple2(key, _this.expressionUntilComma$0(), t1));
  96024. }
  96025. t2.expectChar$1(41);
  96026. t2 = t2.spanFrom$1(start);
  96027. return new A.MapExpression0(A.List_List$unmodifiable(pairs, t1), t2);
  96028. },
  96029. _stylesheet0$_hashExpression$0() {
  96030. var start, first, t2, identifier, buffer, _this = this,
  96031. t1 = _this.scanner;
  96032. if (t1.peekChar$1(1) === 123)
  96033. return _this.identifierLike$0();
  96034. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96035. t1.expectChar$1(35);
  96036. first = t1.peekChar$0();
  96037. if (first != null && A.isDigit0(first))
  96038. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  96039. t2 = t1._string_scanner$_position;
  96040. identifier = _this.interpolatedIdentifier$0();
  96041. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  96042. t1.set$state(new A._SpanScannerState(t1, t2));
  96043. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  96044. }
  96045. t2 = new A.StringBuffer("");
  96046. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  96047. t2._contents = "" + A.Primitives_stringFromCharCode(35);
  96048. buffer.addInterpolation$1(identifier);
  96049. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  96050. },
  96051. _stylesheet0$_hexColorContents$1(start) {
  96052. var red, green, blue, alpha, digit4, t2, t3, _this = this,
  96053. digit1 = _this._stylesheet0$_hexDigit$0(),
  96054. digit2 = _this._stylesheet0$_hexDigit$0(),
  96055. digit3 = _this._stylesheet0$_hexDigit$0(),
  96056. t1 = _this.scanner;
  96057. if (!A.isHex0(t1.peekChar$0())) {
  96058. red = (digit1 << 4 >>> 0) + digit1;
  96059. green = (digit2 << 4 >>> 0) + digit2;
  96060. blue = (digit3 << 4 >>> 0) + digit3;
  96061. alpha = null;
  96062. } else {
  96063. digit4 = _this._stylesheet0$_hexDigit$0();
  96064. t2 = digit1 << 4 >>> 0;
  96065. t3 = digit3 << 4 >>> 0;
  96066. if (!A.isHex0(t1.peekChar$0())) {
  96067. red = t2 + digit1;
  96068. green = (digit2 << 4 >>> 0) + digit2;
  96069. blue = t3 + digit3;
  96070. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  96071. } else {
  96072. red = t2 + digit2;
  96073. green = t3 + digit4;
  96074. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  96075. alpha = A.isHex0(t1.peekChar$0()) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  96076. }
  96077. }
  96078. return A.SassColor$rgbInternal0(red, green, blue, alpha, alpha == null ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  96079. },
  96080. _stylesheet0$_isHexColor$1(interpolation) {
  96081. var t1,
  96082. plain = interpolation.get$asPlain();
  96083. if (plain == null)
  96084. return false;
  96085. t1 = plain.length;
  96086. if (t1 !== 3 && t1 !== 4 && t1 !== 6 && t1 !== 8)
  96087. return false;
  96088. t1 = new A.CodeUnits(plain);
  96089. return t1.every$1(t1, A.character0__isHex$closure());
  96090. },
  96091. _stylesheet0$_hexDigit$0() {
  96092. var t1 = this.scanner,
  96093. char = t1.peekChar$0();
  96094. if (char == null || !A.isHex0(char))
  96095. t1.error$1(0, "Expected hex digit.");
  96096. return A.asHex0(t1.readChar$0());
  96097. },
  96098. _stylesheet0$_minusExpression$0() {
  96099. var _this = this,
  96100. next = _this.scanner.peekChar$1(1);
  96101. if (A.isDigit0(next) || next === 46)
  96102. return _this._stylesheet0$_number$0();
  96103. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  96104. return _this.identifierLike$0();
  96105. return _this._stylesheet0$_unaryOperation$0();
  96106. },
  96107. _stylesheet0$_importantExpression$0() {
  96108. var t1 = this.scanner,
  96109. t2 = t1._string_scanner$_position;
  96110. t1.readChar$0();
  96111. this.whitespace$0();
  96112. this.expectIdentifier$1("important");
  96113. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  96114. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  96115. },
  96116. _stylesheet0$_unaryOperation$0() {
  96117. var _this = this,
  96118. t1 = _this.scanner,
  96119. t2 = t1._string_scanner$_position,
  96120. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  96121. if (operator == null)
  96122. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  96123. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix10)
  96124. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  96125. _this.whitespace$0();
  96126. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96127. },
  96128. _stylesheet0$_unaryOperatorFor$1(character) {
  96129. switch (character) {
  96130. case 43:
  96131. return B.UnaryOperator_gg40;
  96132. case 45:
  96133. return B.UnaryOperator_TLI0;
  96134. case 47:
  96135. return B.UnaryOperator_Ix10;
  96136. default:
  96137. return null;
  96138. }
  96139. },
  96140. _stylesheet0$_number$0() {
  96141. var number, unit, t3, _this = this,
  96142. t1 = _this.scanner,
  96143. t2 = t1._string_scanner$_position,
  96144. first = t1.peekChar$0();
  96145. if (first === 43 || first === 45)
  96146. t1.readChar$0();
  96147. if (t1.peekChar$0() !== 46)
  96148. _this._stylesheet0$_consumeNaturalNumber$0();
  96149. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2);
  96150. _this._stylesheet0$_tryExponent$0();
  96151. number = A.double_parse(t1.substring$1(0, t2));
  96152. if (t1.scanChar$1(37))
  96153. unit = "%";
  96154. else {
  96155. if (_this.lookingAtIdentifier$0())
  96156. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  96157. else
  96158. t3 = false;
  96159. unit = t3 ? _this.identifier$1$unit(true) : null;
  96160. }
  96161. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96162. },
  96163. _stylesheet0$_consumeNaturalNumber$0() {
  96164. var t2,
  96165. t1 = this.scanner;
  96166. if (!A.isDigit0(t1.readChar$0()))
  96167. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  96168. while (true) {
  96169. t2 = t1.peekChar$0();
  96170. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  96171. break;
  96172. t1.readChar$0();
  96173. }
  96174. },
  96175. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  96176. var t2,
  96177. t1 = this.scanner;
  96178. if (t1.peekChar$0() !== 46)
  96179. return;
  96180. if (!A.isDigit0(t1.peekChar$1(1))) {
  96181. if (allowTrailingDot)
  96182. return;
  96183. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  96184. }
  96185. t1.readChar$0();
  96186. while (true) {
  96187. t2 = t1.peekChar$0();
  96188. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  96189. break;
  96190. t1.readChar$0();
  96191. }
  96192. },
  96193. _stylesheet0$_tryExponent$0() {
  96194. var next, t2,
  96195. t1 = this.scanner,
  96196. first = t1.peekChar$0();
  96197. if (first !== 101 && first !== 69)
  96198. return;
  96199. next = t1.peekChar$1(1);
  96200. if (!A.isDigit0(next) && next !== 45 && next !== 43)
  96201. return;
  96202. t1.readChar$0();
  96203. if (next === 43 || next === 45)
  96204. t1.readChar$0();
  96205. if (!A.isDigit0(t1.peekChar$0()))
  96206. t1.error$1(0, "Expected digit.");
  96207. while (true) {
  96208. t2 = t1.peekChar$0();
  96209. if (!(t2 != null && t2 >= 48 && t2 <= 57))
  96210. break;
  96211. t1.readChar$0();
  96212. }
  96213. },
  96214. _stylesheet0$_unicodeRange$0() {
  96215. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  96216. _s26_ = "Expected at most 6 digits.",
  96217. t1 = _this.scanner,
  96218. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96219. _this.expectIdentChar$1(117);
  96220. t1.expectChar$1(43);
  96221. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  96222. ++firstRangeLength;
  96223. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  96224. ++firstRangeLength;
  96225. if (firstRangeLength === 0)
  96226. t1.error$1(0, 'Expected hex digit or "?".');
  96227. else if (firstRangeLength > 6)
  96228. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  96229. else if (hasQuestionMark) {
  96230. t2 = t1.substring$1(0, start.position);
  96231. t1 = t1.spanFrom$1(start);
  96232. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  96233. }
  96234. if (t1.scanChar$1(45)) {
  96235. t2 = t1._string_scanner$_position;
  96236. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  96237. ++secondRangeLength;
  96238. if (secondRangeLength === 0)
  96239. t1.error$1(0, "Expected hex digit.");
  96240. else if (secondRangeLength > 6)
  96241. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96242. }
  96243. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  96244. t1.error$1(0, "Expected end of identifier.");
  96245. t2 = t1.substring$1(0, start.position);
  96246. t1 = t1.spanFrom$1(start);
  96247. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  96248. },
  96249. _stylesheet0$_variable$0() {
  96250. var _this = this,
  96251. t1 = _this.scanner,
  96252. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  96253. $name = _this.variableName$0();
  96254. if (_this.get$plainCss())
  96255. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  96256. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  96257. },
  96258. _stylesheet0$_selector$0() {
  96259. var t1, start, _this = this;
  96260. if (_this.get$plainCss())
  96261. _this.scanner.error$2$length(0, string$.The_pa, 1);
  96262. t1 = _this.scanner;
  96263. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96264. t1.expectChar$1(38);
  96265. if (t1.scanChar$1(38)) {
  96266. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  96267. t1.set$position(t1._string_scanner$_position - 1);
  96268. }
  96269. return new A.SelectorExpression0(t1.spanFrom$1(start));
  96270. },
  96271. interpolatedString$0() {
  96272. var t3, t4, buffer, next, second, t5,
  96273. t1 = this.scanner,
  96274. t2 = t1._string_scanner$_position,
  96275. quote = t1.readChar$0();
  96276. if (quote !== 39 && quote !== 34)
  96277. t1.error$2$position(0, "Expected string.", t2);
  96278. t3 = new A.StringBuffer("");
  96279. t4 = A._setArrayType([], type$.JSArray_Object);
  96280. buffer = new A.InterpolationBuffer0(t3, t4);
  96281. for (; true;) {
  96282. next = t1.peekChar$0();
  96283. if (next === quote) {
  96284. t1.readChar$0();
  96285. break;
  96286. } else if (next == null || next === 10 || next === 13 || next === 12)
  96287. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  96288. else if (next === 92) {
  96289. second = t1.peekChar$1(1);
  96290. if (second === 10 || second === 13 || second === 12) {
  96291. t1.readChar$0();
  96292. t1.readChar$0();
  96293. if (second === 13)
  96294. t1.scanChar$1(10);
  96295. } else
  96296. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  96297. } else if (next === 35)
  96298. if (t1.peekChar$1(1) === 123) {
  96299. t5 = this.singleInterpolation$0();
  96300. buffer._interpolation_buffer0$_flushText$0();
  96301. t4.push(t5);
  96302. } else
  96303. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96304. else
  96305. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96306. }
  96307. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  96308. },
  96309. identifierLike$0() {
  96310. var invocation, expression, color, specialFunction, _this = this,
  96311. t1 = _this.scanner,
  96312. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  96313. identifier = _this.interpolatedIdentifier$0(),
  96314. plain = identifier.get$asPlain(),
  96315. lower = A._Cell$(),
  96316. t2 = plain == null,
  96317. t3 = !t2;
  96318. if (t3) {
  96319. if (plain === "if" && t1.peekChar$0() === 40) {
  96320. invocation = _this._stylesheet0$_argumentInvocation$0();
  96321. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  96322. } else if (plain === "not") {
  96323. _this.whitespace$0();
  96324. expression = _this._stylesheet0$_singleExpression$0();
  96325. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  96326. }
  96327. lower._value = plain.toLowerCase();
  96328. if (t1.peekChar$0() !== 40) {
  96329. switch (plain) {
  96330. case "false":
  96331. return new A.BooleanExpression0(false, identifier.span);
  96332. case "null":
  96333. return new A.NullExpression0(identifier.span);
  96334. case "true":
  96335. return new A.BooleanExpression0(true, identifier.span);
  96336. }
  96337. color = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  96338. if (color != null) {
  96339. t1 = identifier.span;
  96340. 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);
  96341. }
  96342. }
  96343. specialFunction = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  96344. if (specialFunction != null)
  96345. return specialFunction;
  96346. }
  96347. switch (t1.peekChar$0()) {
  96348. case 46:
  96349. if (t1.peekChar$1(1) === 46)
  96350. return new A.StringExpression0(identifier, false);
  96351. t1.readChar$0();
  96352. if (t3)
  96353. return _this.namespacedExpression$2(plain, start);
  96354. _this.error$2(0, string$.Interpn, identifier.span);
  96355. break;
  96356. case 40:
  96357. if (t2)
  96358. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96359. else
  96360. return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  96361. default:
  96362. return new A.StringExpression0(identifier, false);
  96363. }
  96364. },
  96365. namespacedExpression$2(namespace, start) {
  96366. var $name, _this = this,
  96367. t1 = _this.scanner;
  96368. if (t1.peekChar$0() === 36) {
  96369. $name = _this.variableName$0();
  96370. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  96371. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  96372. }
  96373. return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96374. },
  96375. trySpecialFunction$2($name, start) {
  96376. var t2, buffer, t3, next, _this = this, _null = null,
  96377. t1 = _this.scanner,
  96378. calculation = t1.peekChar$0() === 40 ? _this._stylesheet0$_tryCalculation$2($name, start) : _null;
  96379. if (calculation != null)
  96380. return calculation;
  96381. switch (A.unvendor0($name)) {
  96382. case "calc":
  96383. case "element":
  96384. case "expression":
  96385. if (!t1.scanChar$1(40))
  96386. return _null;
  96387. t2 = new A.StringBuffer("");
  96388. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  96389. t3 = "" + $name;
  96390. t2._contents = t3;
  96391. t2._contents = t3 + A.Primitives_stringFromCharCode(40);
  96392. break;
  96393. case "progid":
  96394. if (!t1.scanChar$1(58))
  96395. return _null;
  96396. t2 = new A.StringBuffer("");
  96397. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  96398. t3 = "" + $name;
  96399. t2._contents = t3;
  96400. t2._contents = t3 + A.Primitives_stringFromCharCode(58);
  96401. next = t1.peekChar$0();
  96402. while (true) {
  96403. if (next != null) {
  96404. if (!(next >= 97 && next <= 122))
  96405. t3 = next >= 65 && next <= 90;
  96406. else
  96407. t3 = true;
  96408. t3 = t3 || next === 46;
  96409. } else
  96410. t3 = false;
  96411. if (!t3)
  96412. break;
  96413. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96414. next = t1.peekChar$0();
  96415. }
  96416. t1.expectChar$1(40);
  96417. t2._contents += A.Primitives_stringFromCharCode(40);
  96418. break;
  96419. case "url":
  96420. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  96421. default:
  96422. return _null;
  96423. }
  96424. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  96425. t1.expectChar$1(41);
  96426. buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
  96427. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  96428. },
  96429. _stylesheet0$_tryCalculation$2($name, start) {
  96430. var beforeArguments, $arguments, t1, exception, t2, _this = this;
  96431. switch ($name) {
  96432. case "calc":
  96433. $arguments = _this._stylesheet0$_calculationArguments$1(1);
  96434. t1 = _this.scanner.spanFrom$1(start);
  96435. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  96436. case "min":
  96437. case "max":
  96438. t1 = _this.scanner;
  96439. beforeArguments = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96440. $arguments = null;
  96441. try {
  96442. $arguments = _this._stylesheet0$_calculationArguments$0();
  96443. } catch (exception) {
  96444. if (type$.FormatException._is(A.unwrapException(exception))) {
  96445. t1.set$state(beforeArguments);
  96446. return null;
  96447. } else
  96448. throw exception;
  96449. }
  96450. t2 = $arguments;
  96451. t1 = t1.spanFrom$1(start);
  96452. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0(t2), t1);
  96453. case "clamp":
  96454. $arguments = _this._stylesheet0$_calculationArguments$1(3);
  96455. t1 = _this.scanner.spanFrom$1(start);
  96456. return new A.CalculationExpression0($name, A.CalculationExpression__verifyArguments0($arguments), t1);
  96457. default:
  96458. return null;
  96459. }
  96460. },
  96461. _stylesheet0$_calculationArguments$1(maxArgs) {
  96462. var interpolation, $arguments, t2, _this = this,
  96463. t1 = _this.scanner;
  96464. t1.expectChar$1(40);
  96465. interpolation = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  96466. if (interpolation != null) {
  96467. t1.expectChar$1(41);
  96468. return A._setArrayType([interpolation], type$.JSArray_Expression_2);
  96469. }
  96470. _this.whitespace$0();
  96471. $arguments = A._setArrayType([_this._stylesheet0$_calculationSum$0()], type$.JSArray_Expression_2);
  96472. t2 = maxArgs != null;
  96473. while (true) {
  96474. if (!((!t2 || $arguments.length < maxArgs) && t1.scanChar$1(44)))
  96475. break;
  96476. _this.whitespace$0();
  96477. $arguments.push(_this._stylesheet0$_calculationSum$0());
  96478. }
  96479. t1.expectChar$2$name(41, $arguments.length === maxArgs ? '"+", "-", "*", "/", or ")"' : '"+", "-", "*", "/", ",", or ")"');
  96480. return $arguments;
  96481. },
  96482. _stylesheet0$_calculationArguments$0() {
  96483. return this._stylesheet0$_calculationArguments$1(null);
  96484. },
  96485. _stylesheet0$_calculationSum$0() {
  96486. var t1, next, t2, t3, _this = this,
  96487. sum = _this._stylesheet0$_calculationProduct$0();
  96488. for (t1 = _this.scanner; true;) {
  96489. next = t1.peekChar$0();
  96490. t2 = next === 43;
  96491. if (t2 || next === 45) {
  96492. t3 = t1.peekChar$1(-1);
  96493. if (t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12) {
  96494. t3 = t1.peekChar$1(1);
  96495. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  96496. } else
  96497. t3 = true;
  96498. if (t3)
  96499. t1.error$1(0, string$.x22x2b__an);
  96500. t1.readChar$0();
  96501. _this.whitespace$0();
  96502. t2 = t2 ? B.BinaryOperator_qbf0 : B.BinaryOperator_KlB0;
  96503. sum = new A.BinaryOperationExpression0(t2, sum, _this._stylesheet0$_calculationProduct$0(), false);
  96504. } else
  96505. return sum;
  96506. }
  96507. },
  96508. _stylesheet0$_calculationProduct$0() {
  96509. var t1, next, t2, _this = this,
  96510. product = _this._stylesheet0$_calculationValue$0();
  96511. for (t1 = _this.scanner; true;) {
  96512. _this.whitespace$0();
  96513. next = t1.peekChar$0();
  96514. t2 = next === 42;
  96515. if (t2 || next === 47) {
  96516. t1.readChar$0();
  96517. _this.whitespace$0();
  96518. t2 = t2 ? B.BinaryOperator_6pl0 : B.BinaryOperator_qpm0;
  96519. product = new A.BinaryOperationExpression0(t2, product, _this._stylesheet0$_calculationValue$0(), false);
  96520. } else
  96521. return product;
  96522. }
  96523. },
  96524. _stylesheet0$_calculationValue$0() {
  96525. var t2, value, start, ident, lowerCase, calculation, _this = this,
  96526. t1 = _this.scanner,
  96527. next = t1.peekChar$0();
  96528. if (next === 43 || next === 45 || next === 46 || A.isDigit0(next))
  96529. return _this._stylesheet0$_number$0();
  96530. else if (next === 36)
  96531. return _this._stylesheet0$_variable$0();
  96532. else if (next === 40) {
  96533. t2 = t1._string_scanner$_position;
  96534. t1.readChar$0();
  96535. value = _this._stylesheet0$_containsCalculationInterpolation$0() ? new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false) : null;
  96536. if (value == null) {
  96537. _this.whitespace$0();
  96538. value = _this._stylesheet0$_calculationSum$0();
  96539. }
  96540. _this.whitespace$0();
  96541. t1.expectChar$1(41);
  96542. return new A.ParenthesizedExpression0(value, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96543. } else if (!_this.lookingAtIdentifier$0())
  96544. t1.error$1(0, string$.Expectn);
  96545. else {
  96546. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96547. ident = _this.identifier$0();
  96548. if (t1.scanChar$1(46))
  96549. return _this.namespacedExpression$2(ident, start);
  96550. if (t1.peekChar$0() !== 40)
  96551. t1.error$1(0, 'Expected "(" or ".".');
  96552. lowerCase = ident.toLowerCase();
  96553. calculation = _this._stylesheet0$_tryCalculation$2(lowerCase, start);
  96554. if (calculation != null)
  96555. return calculation;
  96556. else if (lowerCase === "if")
  96557. return new A.IfExpression0(_this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96558. else
  96559. return new A.FunctionExpression0(null, ident, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  96560. }
  96561. },
  96562. _stylesheet0$_containsCalculationInterpolation$0() {
  96563. var t2, parens, next, target, t3, _null = null,
  96564. _s64_ = string$.The_gi,
  96565. _s17_ = "Invalid position ",
  96566. brackets = A._setArrayType([], type$.JSArray_int),
  96567. t1 = this.scanner,
  96568. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96569. for (t2 = t1.string.length, parens = 0; t1._string_scanner$_position !== t2;) {
  96570. next = t1.peekChar$0();
  96571. switch (next) {
  96572. case 92:
  96573. target = 1;
  96574. break;
  96575. case 47:
  96576. target = 2;
  96577. break;
  96578. case 39:
  96579. case 34:
  96580. target = 3;
  96581. break;
  96582. case 35:
  96583. target = 4;
  96584. break;
  96585. case 40:
  96586. target = 5;
  96587. break;
  96588. case 123:
  96589. case 91:
  96590. target = 6;
  96591. break;
  96592. case 41:
  96593. target = 7;
  96594. break;
  96595. case 125:
  96596. case 93:
  96597. target = 8;
  96598. break;
  96599. default:
  96600. target = 9;
  96601. break;
  96602. }
  96603. c$0:
  96604. for (; true;)
  96605. switch (target) {
  96606. case 1:
  96607. t1.readChar$0();
  96608. t1.readChar$0();
  96609. break c$0;
  96610. case 2:
  96611. if (!this.scanComment$0())
  96612. t1.readChar$0();
  96613. break c$0;
  96614. case 3:
  96615. this.interpolatedString$0();
  96616. break c$0;
  96617. case 4:
  96618. if (parens === 0 && t1.peekChar$1(1) === 123) {
  96619. if (start._scanner !== t1)
  96620. A.throwExpression(A.ArgumentError$(_s64_, _null));
  96621. t3 = start.position;
  96622. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  96623. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  96624. t1._string_scanner$_position = t3;
  96625. t1._lastMatch = null;
  96626. return true;
  96627. }
  96628. t1.readChar$0();
  96629. break c$0;
  96630. case 5:
  96631. ++parens;
  96632. target = 6;
  96633. continue c$0;
  96634. case 6:
  96635. next.toString;
  96636. brackets.push(A.opposite0(next));
  96637. t1.readChar$0();
  96638. break c$0;
  96639. case 7:
  96640. --parens;
  96641. target = 8;
  96642. continue c$0;
  96643. case 8:
  96644. if (brackets.length === 0 || brackets.pop() !== next) {
  96645. if (start._scanner !== t1)
  96646. A.throwExpression(A.ArgumentError$(_s64_, _null));
  96647. t3 = start.position;
  96648. if ((t3 === 0 ? 1 / t3 < 0 : t3 < 0) || t3 > t2)
  96649. A.throwExpression(A.ArgumentError$(_s17_ + t3, _null));
  96650. t1._string_scanner$_position = t3;
  96651. t1._lastMatch = null;
  96652. return false;
  96653. }
  96654. t1.readChar$0();
  96655. break c$0;
  96656. case 9:
  96657. t1.readChar$0();
  96658. break c$0;
  96659. }
  96660. }
  96661. t1.set$state(start);
  96662. return false;
  96663. },
  96664. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  96665. var t3, t4, buffer, t5, next, endPosition, result, _this = this,
  96666. t1 = _this.scanner,
  96667. t2 = t1._string_scanner$_position;
  96668. if (!t1.scanChar$1(40))
  96669. return null;
  96670. _this.whitespaceWithoutComments$0();
  96671. t3 = new A.StringBuffer("");
  96672. t4 = A._setArrayType([], type$.JSArray_Object);
  96673. buffer = new A.InterpolationBuffer0(t3, t4);
  96674. t5 = "" + ($name == null ? "url" : $name);
  96675. t3._contents = t5;
  96676. t3._contents = t5 + A.Primitives_stringFromCharCode(40);
  96677. for (; true;) {
  96678. next = t1.peekChar$0();
  96679. if (next == null)
  96680. break;
  96681. else if (next === 92)
  96682. t3._contents += A.S(_this.escape$0());
  96683. else {
  96684. if (next !== 33)
  96685. if (next !== 37)
  96686. if (next !== 38)
  96687. t5 = next >= 42 && next <= 126 || next >= 128;
  96688. else
  96689. t5 = true;
  96690. else
  96691. t5 = true;
  96692. else
  96693. t5 = true;
  96694. if (t5)
  96695. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96696. else if (next === 35)
  96697. if (t1.peekChar$1(1) === 123) {
  96698. t5 = _this.singleInterpolation$0();
  96699. buffer._interpolation_buffer0$_flushText$0();
  96700. t4.push(t5);
  96701. } else
  96702. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96703. else if (next === 32 || next === 9 || next === 10 || next === 13 || next === 12) {
  96704. _this.whitespaceWithoutComments$0();
  96705. if (t1.peekChar$0() !== 41)
  96706. break;
  96707. } else if (next === 41) {
  96708. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96709. endPosition = t1._string_scanner$_position;
  96710. t2 = t1._sourceFile;
  96711. t5 = start.position;
  96712. t1 = new A._FileSpan(t2, t5, endPosition);
  96713. t1._FileSpan$3(t2, t5, endPosition);
  96714. t5 = type$.Object;
  96715. t2 = A.List_List$of(t4, true, t5);
  96716. t4 = t3._contents;
  96717. if (t4.length !== 0)
  96718. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  96719. result = A.List_List$from(t2, false, t5);
  96720. result.fixed$length = Array;
  96721. result.immutable$list = Array;
  96722. t3 = new A.Interpolation0(result, t1);
  96723. t3.Interpolation$20(t2, t1);
  96724. return t3;
  96725. } else
  96726. break;
  96727. }
  96728. }
  96729. t1.set$state(new A._SpanScannerState(t1, t2));
  96730. return null;
  96731. },
  96732. _stylesheet0$_tryUrlContents$1(start) {
  96733. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  96734. },
  96735. dynamicUrl$0() {
  96736. var contents, _this = this,
  96737. t1 = _this.scanner,
  96738. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  96739. _this.expectIdentifier$1("url");
  96740. contents = _this._stylesheet0$_tryUrlContents$1(start);
  96741. if (contents != null)
  96742. return new A.StringExpression0(contents, false);
  96743. 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));
  96744. },
  96745. almostAnyValue$1$omitComments(omitComments) {
  96746. var t4, t5, t6, next, commentStart, end, t7, contents, _this = this,
  96747. t1 = _this.scanner,
  96748. t2 = t1._string_scanner$_position,
  96749. t3 = new A.StringBuffer(""),
  96750. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  96751. $label0$1:
  96752. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;) {
  96753. next = t1.peekChar$0();
  96754. switch (next) {
  96755. case 92:
  96756. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96757. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96758. break;
  96759. case 34:
  96760. case 39:
  96761. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  96762. break;
  96763. case 47:
  96764. commentStart = t1._string_scanner$_position;
  96765. if (_this.scanComment$0()) {
  96766. if (t6) {
  96767. end = t1._string_scanner$_position;
  96768. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  96769. }
  96770. } else
  96771. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96772. break;
  96773. case 35:
  96774. if (t1.peekChar$1(1) === 123)
  96775. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  96776. else
  96777. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96778. break;
  96779. case 13:
  96780. case 10:
  96781. case 12:
  96782. if (_this.get$indented())
  96783. break $label0$1;
  96784. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96785. break;
  96786. case 33:
  96787. case 59:
  96788. case 123:
  96789. case 125:
  96790. break $label0$1;
  96791. case 117:
  96792. case 85:
  96793. t7 = t1._string_scanner$_position;
  96794. if (!_this.scanIdentifier$1("url")) {
  96795. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96796. break;
  96797. }
  96798. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  96799. if (contents == null) {
  96800. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  96801. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  96802. t1._string_scanner$_position = t7;
  96803. t1._lastMatch = null;
  96804. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96805. } else
  96806. buffer.addInterpolation$1(contents);
  96807. break;
  96808. default:
  96809. if (next == null)
  96810. break $label0$1;
  96811. if (_this.lookingAtIdentifier$0())
  96812. t3._contents += _this.identifier$0();
  96813. else
  96814. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96815. break;
  96816. }
  96817. }
  96818. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96819. },
  96820. almostAnyValue$0() {
  96821. return this.almostAnyValue$1$omitComments(false);
  96822. },
  96823. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  96824. var t4, t5, t6, t7, wroteNewline, next, t8, start, end, contents, _this = this,
  96825. t1 = _this.scanner,
  96826. t2 = t1._string_scanner$_position,
  96827. t3 = new A.StringBuffer(""),
  96828. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  96829. brackets = A._setArrayType([], type$.JSArray_int);
  96830. $label0$1:
  96831. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;) {
  96832. next = t1.peekChar$0();
  96833. switch (next) {
  96834. case 92:
  96835. t3._contents += A.S(_this.escape$1$identifierStart(true));
  96836. wroteNewline = false;
  96837. break;
  96838. case 34:
  96839. case 39:
  96840. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  96841. wroteNewline = false;
  96842. break;
  96843. case 47:
  96844. if (t1.peekChar$1(1) === 42) {
  96845. t8 = _this.get$loudComment();
  96846. start = t1._string_scanner$_position;
  96847. t8.call$0();
  96848. end = t1._string_scanner$_position;
  96849. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  96850. } else
  96851. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96852. wroteNewline = false;
  96853. break;
  96854. case 35:
  96855. if (t1.peekChar$1(1) === 123)
  96856. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  96857. else
  96858. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96859. wroteNewline = false;
  96860. break;
  96861. case 32:
  96862. case 9:
  96863. if (!wroteNewline) {
  96864. t8 = t1.peekChar$1(1);
  96865. t8 = !(t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12);
  96866. } else
  96867. t8 = true;
  96868. if (t8)
  96869. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96870. else
  96871. t1.readChar$0();
  96872. break;
  96873. case 10:
  96874. case 13:
  96875. case 12:
  96876. if (_this.get$indented())
  96877. break $label0$1;
  96878. t8 = t1.peekChar$1(-1);
  96879. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  96880. t3._contents += "\n";
  96881. t1.readChar$0();
  96882. wroteNewline = true;
  96883. break;
  96884. case 40:
  96885. case 123:
  96886. case 91:
  96887. next.toString;
  96888. t3._contents += A.Primitives_stringFromCharCode(next);
  96889. brackets.push(A.opposite0(t1.readChar$0()));
  96890. wroteNewline = false;
  96891. break;
  96892. case 41:
  96893. case 125:
  96894. case 93:
  96895. if (brackets.length === 0)
  96896. break $label0$1;
  96897. next.toString;
  96898. t3._contents += A.Primitives_stringFromCharCode(next);
  96899. t1.expectChar$1(brackets.pop());
  96900. wroteNewline = false;
  96901. break;
  96902. case 59:
  96903. if (t7 && brackets.length === 0)
  96904. break $label0$1;
  96905. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96906. wroteNewline = false;
  96907. break;
  96908. case 58:
  96909. if (t6 && brackets.length === 0)
  96910. break $label0$1;
  96911. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96912. wroteNewline = false;
  96913. break;
  96914. case 117:
  96915. case 85:
  96916. t8 = t1._string_scanner$_position;
  96917. if (!_this.scanIdentifier$1("url")) {
  96918. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96919. wroteNewline = false;
  96920. break;
  96921. }
  96922. contents = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  96923. if (contents == null) {
  96924. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  96925. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  96926. t1._string_scanner$_position = t8;
  96927. t1._lastMatch = null;
  96928. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96929. } else
  96930. buffer.addInterpolation$1(contents);
  96931. wroteNewline = false;
  96932. break;
  96933. default:
  96934. if (next == null)
  96935. break $label0$1;
  96936. if (_this.lookingAtIdentifier$0())
  96937. t3._contents += _this.identifier$0();
  96938. else
  96939. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96940. wroteNewline = false;
  96941. break;
  96942. }
  96943. }
  96944. if (brackets.length !== 0)
  96945. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  96946. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  96947. t1.error$1(0, "Expected token.");
  96948. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  96949. },
  96950. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  96951. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  96952. },
  96953. _stylesheet0$_interpolatedDeclarationValue$0() {
  96954. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  96955. },
  96956. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  96957. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  96958. },
  96959. interpolatedIdentifier$0() {
  96960. var first, _this = this,
  96961. _s20_ = "Expected identifier.",
  96962. t1 = _this.scanner,
  96963. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  96964. t2 = new A.StringBuffer(""),
  96965. t3 = A._setArrayType([], type$.JSArray_Object),
  96966. buffer = new A.InterpolationBuffer0(t2, t3);
  96967. if (t1.scanChar$1(45)) {
  96968. t2._contents += A.Primitives_stringFromCharCode(45);
  96969. if (t1.scanChar$1(45)) {
  96970. t2._contents += A.Primitives_stringFromCharCode(45);
  96971. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  96972. return buffer.interpolation$1(t1.spanFrom$1(start));
  96973. }
  96974. }
  96975. first = t1.peekChar$0();
  96976. if (first == null)
  96977. t1.error$1(0, _s20_);
  96978. else if (first === 95 || A.isAlphabetic1(first) || first >= 128)
  96979. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  96980. else if (first === 92)
  96981. t2._contents += A.S(_this.escape$1$identifierStart(true));
  96982. else if (first === 35 && t1.peekChar$1(1) === 123) {
  96983. t2 = _this.singleInterpolation$0();
  96984. buffer._interpolation_buffer0$_flushText$0();
  96985. t3.push(t2);
  96986. } else
  96987. t1.error$1(0, _s20_);
  96988. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  96989. return buffer.interpolation$1(t1.spanFrom$1(start));
  96990. },
  96991. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  96992. var t1, t2, t3, next, t4;
  96993. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  96994. next = t2.peekChar$0();
  96995. if (next == null)
  96996. break;
  96997. else {
  96998. if (next !== 95)
  96999. if (next !== 45) {
  97000. if (!(next >= 97 && next <= 122))
  97001. t4 = next >= 65 && next <= 90;
  97002. else
  97003. t4 = true;
  97004. if (!t4)
  97005. t4 = next >= 48 && next <= 57;
  97006. else
  97007. t4 = true;
  97008. t4 = t4 || next >= 128;
  97009. } else
  97010. t4 = true;
  97011. else
  97012. t4 = true;
  97013. if (t4)
  97014. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  97015. else if (next === 92)
  97016. t3._contents += A.S(this.escape$0());
  97017. else if (next === 35 && t2.peekChar$1(1) === 123) {
  97018. t4 = this.singleInterpolation$0();
  97019. buffer._interpolation_buffer0$_flushText$0();
  97020. t1.push(t4);
  97021. } else
  97022. break;
  97023. }
  97024. }
  97025. },
  97026. singleInterpolation$0() {
  97027. var contents, _this = this,
  97028. t1 = _this.scanner,
  97029. t2 = t1._string_scanner$_position;
  97030. t1.expect$1("#{");
  97031. _this.whitespace$0();
  97032. contents = _this._stylesheet0$_expression$0();
  97033. t1.expectChar$1(125);
  97034. if (_this.get$plainCss())
  97035. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97036. return contents;
  97037. },
  97038. _stylesheet0$_mediaQueryList$0() {
  97039. var t4, _this = this,
  97040. t1 = _this.scanner,
  97041. t2 = t1._string_scanner$_position,
  97042. t3 = new A.StringBuffer(""),
  97043. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  97044. for (; true;) {
  97045. _this.whitespace$0();
  97046. _this._stylesheet0$_mediaQuery$1(buffer);
  97047. _this.whitespace$0();
  97048. if (!t1.scanChar$1(44))
  97049. break;
  97050. t4 = t3._contents += A.Primitives_stringFromCharCode(44);
  97051. t3._contents = t4 + A.Primitives_stringFromCharCode(32);
  97052. }
  97053. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97054. },
  97055. _stylesheet0$_mediaQuery$1(buffer) {
  97056. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  97057. if (_this.scanner.peekChar$0() === 40) {
  97058. _this._stylesheet0$_mediaInParens$1(buffer);
  97059. _this.whitespace$0();
  97060. if (_this.scanIdentifier$1(_s3_)) {
  97061. buffer._interpolation_buffer0$_text._contents += " and ";
  97062. _this.expectWhitespace$0();
  97063. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  97064. } else if (_this.scanIdentifier$1("or")) {
  97065. buffer._interpolation_buffer0$_text._contents += " or ";
  97066. _this.expectWhitespace$0();
  97067. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  97068. }
  97069. return;
  97070. }
  97071. identifier1 = _this.interpolatedIdentifier$0();
  97072. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  97073. _this.expectWhitespace$0();
  97074. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  97075. buffer._interpolation_buffer0$_text._contents += "not ";
  97076. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97077. return;
  97078. }
  97079. }
  97080. _this.whitespace$0();
  97081. buffer.addInterpolation$1(identifier1);
  97082. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  97083. return;
  97084. t1 = buffer._interpolation_buffer0$_text;
  97085. t1._contents += A.Primitives_stringFromCharCode(32);
  97086. identifier2 = _this.interpolatedIdentifier$0();
  97087. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  97088. _this.expectWhitespace$0();
  97089. t1._contents += " and ";
  97090. } else {
  97091. _this.whitespace$0();
  97092. buffer.addInterpolation$1(identifier2);
  97093. if (_this.scanIdentifier$1(_s3_)) {
  97094. _this.expectWhitespace$0();
  97095. t1._contents += " and ";
  97096. } else
  97097. return;
  97098. }
  97099. if (_this.scanIdentifier$1("not")) {
  97100. _this.expectWhitespace$0();
  97101. t1._contents += "not ";
  97102. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97103. return;
  97104. }
  97105. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  97106. return;
  97107. },
  97108. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  97109. var t1, t2, _this = this;
  97110. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  97111. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97112. _this.whitespace$0();
  97113. if (!_this.scanIdentifier$1(operator))
  97114. return;
  97115. _this.expectWhitespace$0();
  97116. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  97117. t2 += operator;
  97118. t1._contents = t2;
  97119. t1._contents = t2 + A.Primitives_stringFromCharCode(32);
  97120. }
  97121. },
  97122. _stylesheet0$_mediaOrInterp$1(buffer) {
  97123. var interpolation;
  97124. if (this.scanner.peekChar$0() === 35) {
  97125. interpolation = this.singleInterpolation$0();
  97126. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  97127. } else
  97128. this._stylesheet0$_mediaInParens$1(buffer);
  97129. },
  97130. _stylesheet0$_mediaInParens$1(buffer) {
  97131. var t2, t3, t4, next, t5, _this = this,
  97132. t1 = _this.scanner;
  97133. t1.expectChar$2$name(40, "media condition in parentheses");
  97134. t2 = buffer._interpolation_buffer0$_text;
  97135. t2._contents += A.Primitives_stringFromCharCode(40);
  97136. _this.whitespace$0();
  97137. if (t1.peekChar$0() === 40) {
  97138. _this._stylesheet0$_mediaInParens$1(buffer);
  97139. _this.whitespace$0();
  97140. if (_this.scanIdentifier$1("and")) {
  97141. t2._contents += " and ";
  97142. _this.expectWhitespace$0();
  97143. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  97144. } else if (_this.scanIdentifier$1("or")) {
  97145. t2._contents += " or ";
  97146. _this.expectWhitespace$0();
  97147. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  97148. }
  97149. } else if (_this.scanIdentifier$1("not")) {
  97150. t2._contents += "not ";
  97151. _this.expectWhitespace$0();
  97152. _this._stylesheet0$_mediaOrInterp$1(buffer);
  97153. } else {
  97154. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  97155. buffer._interpolation_buffer0$_flushText$0();
  97156. t4 = buffer._interpolation_buffer0$_contents;
  97157. t4.push(t3);
  97158. if (t1.scanChar$1(58)) {
  97159. _this.whitespace$0();
  97160. t3 = t2._contents += A.Primitives_stringFromCharCode(58);
  97161. t2._contents = t3 + A.Primitives_stringFromCharCode(32);
  97162. t3 = _this._stylesheet0$_expression$0();
  97163. buffer._interpolation_buffer0$_flushText$0();
  97164. t4.push(t3);
  97165. } else {
  97166. next = t1.peekChar$0();
  97167. t3 = next !== 60;
  97168. if (!t3 || next === 62 || next === 61) {
  97169. t2._contents += A.Primitives_stringFromCharCode(32);
  97170. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  97171. if ((!t3 || next === 62) && t1.scanChar$1(61))
  97172. t2._contents += A.Primitives_stringFromCharCode(61);
  97173. t2._contents += A.Primitives_stringFromCharCode(32);
  97174. _this.whitespace$0();
  97175. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  97176. buffer._interpolation_buffer0$_flushText$0();
  97177. t4.push(t5);
  97178. if (!t3 || next === 62) {
  97179. next.toString;
  97180. t3 = t1.scanChar$1(next);
  97181. } else
  97182. t3 = false;
  97183. if (t3) {
  97184. t3 = t2._contents += A.Primitives_stringFromCharCode(32);
  97185. t2._contents = t3 + A.Primitives_stringFromCharCode(next);
  97186. if (t1.scanChar$1(61))
  97187. t2._contents += A.Primitives_stringFromCharCode(61);
  97188. t2._contents += A.Primitives_stringFromCharCode(32);
  97189. _this.whitespace$0();
  97190. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  97191. buffer._interpolation_buffer0$_flushText$0();
  97192. t4.push(t3);
  97193. }
  97194. }
  97195. }
  97196. }
  97197. t1.expectChar$1(41);
  97198. _this.whitespace$0();
  97199. t2._contents += A.Primitives_stringFromCharCode(41);
  97200. },
  97201. _stylesheet0$_expressionUntilComparison$0() {
  97202. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  97203. },
  97204. _stylesheet0$_supportsCondition$0() {
  97205. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  97206. t1 = _this.scanner,
  97207. t2 = t1._string_scanner$_position;
  97208. if (_this.scanIdentifier$1("not")) {
  97209. _this.whitespace$0();
  97210. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  97211. }
  97212. condition = _this._stylesheet0$_supportsConditionInParens$0();
  97213. _this.whitespace$0();
  97214. for (operator = null; _this.lookingAtIdentifier$0();) {
  97215. if (operator != null)
  97216. _this.expectIdentifier$1(operator);
  97217. else if (_this.scanIdentifier$1("or"))
  97218. operator = "or";
  97219. else {
  97220. _this.expectIdentifier$1("and");
  97221. operator = "and";
  97222. }
  97223. _this.whitespace$0();
  97224. right = _this._stylesheet0$_supportsConditionInParens$0();
  97225. endPosition = t1._string_scanner$_position;
  97226. t3 = t1._sourceFile;
  97227. t4 = new A._FileSpan(t3, t2, endPosition);
  97228. t4._FileSpan$3(t3, t2, endPosition);
  97229. condition = new A.SupportsOperation0(condition, right, operator, t4);
  97230. lowerOperator = operator.toLowerCase();
  97231. if (lowerOperator !== "and" && lowerOperator !== "or")
  97232. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  97233. _this.whitespace$0();
  97234. }
  97235. return condition;
  97236. },
  97237. _stylesheet0$_supportsConditionInParens$0() {
  97238. var $name, nameStart, wasInParentheses, identifier, operation, contents, identifier0, t2, $arguments, condition, exception, declaration, _this = this,
  97239. t1 = _this.scanner,
  97240. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97241. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  97242. identifier0 = _this.interpolatedIdentifier$0();
  97243. t2 = identifier0.get$asPlain();
  97244. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  97245. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  97246. if (t1.scanChar$1(40)) {
  97247. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  97248. t1.expectChar$1(41);
  97249. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  97250. } else {
  97251. t2 = identifier0.contents;
  97252. if (t2.length !== 1 || !type$.Expression_2._is(B.JSArray_methods.get$first(t2)))
  97253. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  97254. else
  97255. return new A.SupportsInterpolation0(type$.Expression_2._as(B.JSArray_methods.get$first(t2)), t1.spanFrom$1(start));
  97256. }
  97257. }
  97258. t1.expectChar$1(40);
  97259. _this.whitespace$0();
  97260. if (_this.scanIdentifier$1("not")) {
  97261. _this.whitespace$0();
  97262. condition = _this._stylesheet0$_supportsConditionInParens$0();
  97263. t1.expectChar$1(41);
  97264. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  97265. } else if (t1.peekChar$0() === 40) {
  97266. condition = _this._stylesheet0$_supportsCondition$0();
  97267. t1.expectChar$1(41);
  97268. return condition;
  97269. }
  97270. $name = null;
  97271. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97272. wasInParentheses = _this._stylesheet0$_inParentheses;
  97273. try {
  97274. $name = _this._stylesheet0$_expression$0();
  97275. t1.expectChar$1(58);
  97276. } catch (exception) {
  97277. if (type$.FormatException._is(A.unwrapException(exception))) {
  97278. t1.set$state(nameStart);
  97279. _this._stylesheet0$_inParentheses = wasInParentheses;
  97280. identifier = _this.interpolatedIdentifier$0();
  97281. operation = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  97282. if (operation != null) {
  97283. t1.expectChar$1(41);
  97284. return operation;
  97285. }
  97286. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  97287. t2.addInterpolation$1(identifier);
  97288. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  97289. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  97290. if (t1.peekChar$0() === 58)
  97291. throw exception;
  97292. t1.expectChar$1(41);
  97293. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  97294. } else
  97295. throw exception;
  97296. }
  97297. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  97298. t1.expectChar$1(41);
  97299. return declaration;
  97300. },
  97301. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  97302. var value, _this = this;
  97303. if ($name instanceof A.StringExpression0 && !$name.hasQuotes && B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--"))
  97304. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  97305. else {
  97306. _this.whitespace$0();
  97307. value = _this._stylesheet0$_expression$0();
  97308. }
  97309. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  97310. },
  97311. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  97312. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  97313. t1 = interpolation.contents;
  97314. if (t1.length !== 1)
  97315. return _null;
  97316. expression = B.JSArray_methods.get$first(t1);
  97317. if (!type$.Expression_2._is(expression))
  97318. return _null;
  97319. t1 = _this.scanner;
  97320. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  97321. _this.whitespace$0();
  97322. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  97323. if (operator != null)
  97324. _this.expectIdentifier$1(operator);
  97325. else if (_this.scanIdentifier$1("and"))
  97326. operator = "and";
  97327. else {
  97328. if (!_this.scanIdentifier$1("or")) {
  97329. if (beforeWhitespace._scanner !== t1)
  97330. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  97331. t2 = beforeWhitespace.position;
  97332. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  97333. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  97334. t1._string_scanner$_position = t2;
  97335. return t1._lastMatch = null;
  97336. }
  97337. operator = "or";
  97338. }
  97339. _this.whitespace$0();
  97340. right = _this._stylesheet0$_supportsConditionInParens$0();
  97341. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  97342. endPosition = t1._string_scanner$_position;
  97343. t5 = t1._sourceFile;
  97344. t6 = new A._FileSpan(t5, t2, endPosition);
  97345. t6._FileSpan$3(t5, t2, endPosition);
  97346. operation = new A.SupportsOperation0(t4, right, operator, t6);
  97347. lowerOperator = operator.toLowerCase();
  97348. if (lowerOperator !== "and" && lowerOperator !== "or")
  97349. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  97350. _this.whitespace$0();
  97351. }
  97352. return operation;
  97353. },
  97354. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  97355. var second,
  97356. t1 = this.scanner,
  97357. first = t1.peekChar$0();
  97358. if (first == null)
  97359. return false;
  97360. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || first === 92)
  97361. return true;
  97362. if (first === 35)
  97363. return t1.peekChar$1(1) === 123;
  97364. if (first !== 45)
  97365. return false;
  97366. second = t1.peekChar$1(1);
  97367. if (second == null)
  97368. return false;
  97369. if (second === 35)
  97370. return t1.peekChar$1(2) === 123;
  97371. return second === 95 || A.isAlphabetic1(second) || second >= 128 || second === 92 || second === 45;
  97372. },
  97373. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  97374. var t1 = this.scanner,
  97375. first = t1.peekChar$0();
  97376. if (first == null)
  97377. return false;
  97378. if (first === 95 || A.isAlphabetic1(first) || first >= 128 || A.isDigit0(first) || first === 45 || first === 92)
  97379. return true;
  97380. return first === 35 && t1.peekChar$1(1) === 123;
  97381. },
  97382. _stylesheet0$_lookingAtExpression$0() {
  97383. var next,
  97384. t1 = this.scanner,
  97385. character = t1.peekChar$0();
  97386. if (character == null)
  97387. return false;
  97388. if (character === 46)
  97389. return t1.peekChar$1(1) !== 46;
  97390. if (character === 33) {
  97391. next = t1.peekChar$1(1);
  97392. if (next != null)
  97393. if ((next | 32) >>> 0 !== 105)
  97394. t1 = next === 32 || next === 9 || next === 10 || next === 13 || next === 12;
  97395. else
  97396. t1 = true;
  97397. else
  97398. t1 = true;
  97399. return t1;
  97400. }
  97401. if (character !== 40)
  97402. if (character !== 47)
  97403. if (character !== 91)
  97404. if (character !== 39)
  97405. if (character !== 34)
  97406. if (character !== 35)
  97407. if (character !== 43)
  97408. if (character !== 45)
  97409. if (character !== 92)
  97410. if (character !== 36)
  97411. if (character !== 38)
  97412. t1 = character === 95 || A.isAlphabetic1(character) || character >= 128 || A.isDigit0(character);
  97413. else
  97414. t1 = true;
  97415. else
  97416. t1 = true;
  97417. else
  97418. t1 = true;
  97419. else
  97420. t1 = true;
  97421. else
  97422. t1 = true;
  97423. else
  97424. t1 = true;
  97425. else
  97426. t1 = true;
  97427. else
  97428. t1 = true;
  97429. else
  97430. t1 = true;
  97431. else
  97432. t1 = true;
  97433. else
  97434. t1 = true;
  97435. return t1;
  97436. },
  97437. _stylesheet0$_withChildren$1$3(child, start, create) {
  97438. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  97439. this.whitespaceWithoutComments$0();
  97440. return result;
  97441. },
  97442. _stylesheet0$_withChildren$3(child, start, create) {
  97443. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  97444. },
  97445. _stylesheet0$_urlString$0() {
  97446. var innerError, stackTrace, t2, exception,
  97447. t1 = this.scanner,
  97448. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  97449. url = this.string$0();
  97450. try {
  97451. t2 = A.Uri_parse(url);
  97452. return t2;
  97453. } catch (exception) {
  97454. t2 = A.unwrapException(exception);
  97455. if (type$.FormatException._is(t2)) {
  97456. innerError = t2;
  97457. stackTrace = A.getTraceFromException(exception);
  97458. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  97459. } else
  97460. throw exception;
  97461. }
  97462. },
  97463. _stylesheet0$_publicIdentifier$0() {
  97464. var _this = this,
  97465. t1 = _this.scanner,
  97466. t2 = t1._string_scanner$_position,
  97467. result = _this.identifier$1$normalize(true);
  97468. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  97469. return result;
  97470. },
  97471. _stylesheet0$_assertPublic$2(identifier, span) {
  97472. var first = B.JSString_methods._codeUnitAt$1(identifier, 0);
  97473. if (!(first === 45 || first === 95))
  97474. return;
  97475. this.error$2(0, string$.Privat, span.call$0());
  97476. },
  97477. get$plainCss() {
  97478. return false;
  97479. }
  97480. };
  97481. A.StylesheetParser_parse_closure0.prototype = {
  97482. call$0() {
  97483. var statements, t4,
  97484. t1 = this.$this,
  97485. t2 = t1.scanner,
  97486. t3 = t2._string_scanner$_position;
  97487. t2.scanChar$1(65279);
  97488. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  97489. t2.expectDone$0();
  97490. t4 = t1._stylesheet0$_globalVariables;
  97491. t4 = t4.get$values(t4);
  97492. 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));
  97493. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  97494. },
  97495. $signature: 518
  97496. };
  97497. A.StylesheetParser_parse__closure1.prototype = {
  97498. call$0() {
  97499. var t1 = this.$this;
  97500. if (t1.scanner.scan$1("@charset")) {
  97501. t1.whitespace$0();
  97502. t1.string$0();
  97503. return null;
  97504. }
  97505. return t1._stylesheet0$_statement$1$root(true);
  97506. },
  97507. $signature: 519
  97508. };
  97509. A.StylesheetParser_parse__closure2.prototype = {
  97510. call$1(declaration) {
  97511. var t1 = declaration.name,
  97512. t2 = declaration.expression;
  97513. return A.VariableDeclaration$0(t1, new A.NullExpression0(t2.get$span(t2)), declaration.span, null, false, true, null);
  97514. },
  97515. $signature: 520
  97516. };
  97517. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  97518. call$0() {
  97519. var $arguments,
  97520. t1 = this.$this,
  97521. t2 = t1.scanner;
  97522. t2.expectChar$2$name(64, "@-rule");
  97523. t1.identifier$0();
  97524. t1.whitespace$0();
  97525. t1.identifier$0();
  97526. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  97527. t1.whitespace$0();
  97528. t2.expectChar$1(123);
  97529. return $arguments;
  97530. },
  97531. $signature: 521
  97532. };
  97533. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  97534. call$0() {
  97535. var result = this.production.call$0();
  97536. this.$this.scanner.expectDone$0();
  97537. return result;
  97538. },
  97539. $signature() {
  97540. return this.T._eval$1("0()");
  97541. }
  97542. };
  97543. A.StylesheetParser_parseSignature_closure.prototype = {
  97544. call$0() {
  97545. var $arguments, t2, t3,
  97546. t1 = this.$this,
  97547. $name = t1.identifier$0();
  97548. t1.whitespace$0();
  97549. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  97550. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  97551. else {
  97552. t2 = t1.scanner;
  97553. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  97554. t3 = t2.offset;
  97555. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  97556. }
  97557. t1.scanner.expectDone$0();
  97558. return new A.Tuple2($name, $arguments, type$.Tuple2_String_ArgumentDeclaration);
  97559. },
  97560. $signature: 522
  97561. };
  97562. A.StylesheetParser__statement_closure0.prototype = {
  97563. call$0() {
  97564. return this.$this._stylesheet0$_statement$0();
  97565. },
  97566. $signature: 136
  97567. };
  97568. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  97569. call$0() {
  97570. return this.$this.scanner.spanFrom$1(this.start);
  97571. },
  97572. $signature: 30
  97573. };
  97574. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  97575. call$0() {
  97576. return this.declaration;
  97577. },
  97578. $signature: 523
  97579. };
  97580. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  97581. call$2(children, span) {
  97582. return A.Declaration$nested0(this.name, children, span, null);
  97583. },
  97584. $signature: 100
  97585. };
  97586. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  97587. call$2(children, span) {
  97588. return A.Declaration$nested0(this.name, children, span, this._box_0.value);
  97589. },
  97590. $signature: 100
  97591. };
  97592. A.StylesheetParser__styleRule_closure0.prototype = {
  97593. call$2(children, span) {
  97594. var _this = this,
  97595. t1 = _this.$this;
  97596. if (t1.get$indented() && children.length === 0)
  97597. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  97598. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  97599. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  97600. },
  97601. $signature: 525
  97602. };
  97603. A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
  97604. call$2(children, span) {
  97605. return A.Declaration$nested0(this._box_0.name, children, span, null);
  97606. },
  97607. $signature: 100
  97608. };
  97609. A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
  97610. call$2(children, span) {
  97611. return A.Declaration$nested0(this._box_0.name, children, span, this.value);
  97612. },
  97613. $signature: 100
  97614. };
  97615. A.StylesheetParser__atRootRule_closure1.prototype = {
  97616. call$2(children, span) {
  97617. return A.AtRootRule$0(children, span, this.query);
  97618. },
  97619. $signature: 251
  97620. };
  97621. A.StylesheetParser__atRootRule_closure2.prototype = {
  97622. call$2(children, span) {
  97623. return A.AtRootRule$0(children, span, null);
  97624. },
  97625. $signature: 251
  97626. };
  97627. A.StylesheetParser__eachRule_closure0.prototype = {
  97628. call$2(children, span) {
  97629. var _this = this;
  97630. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  97631. return A.EachRule$0(_this.variables, _this.list, children, span);
  97632. },
  97633. $signature: 527
  97634. };
  97635. A.StylesheetParser__functionRule_closure0.prototype = {
  97636. call$2(children, span) {
  97637. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  97638. },
  97639. $signature: 528
  97640. };
  97641. A.StylesheetParser__forRule_closure1.prototype = {
  97642. call$0() {
  97643. var t1 = this.$this;
  97644. if (!t1.lookingAtIdentifier$0())
  97645. return false;
  97646. if (t1.scanIdentifier$1("to"))
  97647. return this._box_0.exclusive = true;
  97648. else if (t1.scanIdentifier$1("through")) {
  97649. this._box_0.exclusive = false;
  97650. return true;
  97651. } else
  97652. return false;
  97653. },
  97654. $signature: 26
  97655. };
  97656. A.StylesheetParser__forRule_closure2.prototype = {
  97657. call$2(children, span) {
  97658. var t1, _this = this;
  97659. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  97660. t1 = _this._box_0.exclusive;
  97661. t1.toString;
  97662. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  97663. },
  97664. $signature: 529
  97665. };
  97666. A.StylesheetParser__memberList_closure0.prototype = {
  97667. call$0() {
  97668. var t1 = this.$this;
  97669. if (t1.scanner.peekChar$0() === 36)
  97670. this.variables.add$1(0, t1.variableName$0());
  97671. else
  97672. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  97673. },
  97674. $signature: 1
  97675. };
  97676. A.StylesheetParser__includeRule_closure0.prototype = {
  97677. call$2(children, span) {
  97678. return A.ContentBlock$0(this.contentArguments_, children, span);
  97679. },
  97680. $signature: 530
  97681. };
  97682. A.StylesheetParser_mediaRule_closure0.prototype = {
  97683. call$2(children, span) {
  97684. return A.MediaRule$0(this.query, children, span);
  97685. },
  97686. $signature: 531
  97687. };
  97688. A.StylesheetParser__mixinRule_closure0.prototype = {
  97689. call$2(children, span) {
  97690. var _this = this;
  97691. _this.$this._stylesheet0$_inMixin = false;
  97692. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  97693. },
  97694. $signature: 532
  97695. };
  97696. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  97697. call$2(children, span) {
  97698. var _this = this;
  97699. if (_this._box_0.needsDeprecationWarning)
  97700. _this.$this.logger.warn$3$deprecation$span(0, string$.x40_moz_, true, span);
  97701. return A.AtRule$0(_this.name, span, children, _this.value);
  97702. },
  97703. $signature: 252
  97704. };
  97705. A.StylesheetParser_supportsRule_closure0.prototype = {
  97706. call$2(children, span) {
  97707. return A.SupportsRule$0(this.condition, children, span);
  97708. },
  97709. $signature: 534
  97710. };
  97711. A.StylesheetParser__whileRule_closure0.prototype = {
  97712. call$2(children, span) {
  97713. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  97714. return A.WhileRule$0(this.condition, children, span);
  97715. },
  97716. $signature: 535
  97717. };
  97718. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  97719. call$2(children, span) {
  97720. return A.AtRule$0(this.name, span, children, this._box_0.value);
  97721. },
  97722. $signature: 252
  97723. };
  97724. A.StylesheetParser__expression_resetState0.prototype = {
  97725. call$0() {
  97726. var t2,
  97727. t1 = this._box_0;
  97728. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  97729. t2 = this.$this;
  97730. t2.scanner.set$state(this.start);
  97731. t1.allowSlash = true;
  97732. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  97733. },
  97734. $signature: 0
  97735. };
  97736. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  97737. call$0() {
  97738. var t2, t3, t4, t5, t6, t7, _this = this,
  97739. t1 = _this._box_0,
  97740. operator = t1.operators_.pop(),
  97741. left = t1.operands_.pop(),
  97742. right = t1.singleExpression_;
  97743. if (right == null) {
  97744. t2 = _this.$this.scanner;
  97745. t3 = operator.operator.length;
  97746. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  97747. }
  97748. if (t1.allowSlash) {
  97749. t2 = _this.$this;
  97750. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_qpm0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  97751. } else
  97752. t2 = false;
  97753. if (t2)
  97754. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_qpm0, left, right, true);
  97755. else {
  97756. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  97757. t2 = t1.allowSlash = false;
  97758. if (operator === B.BinaryOperator_qbf0 || operator === B.BinaryOperator_KlB0) {
  97759. t3 = _this.$this;
  97760. t4 = t3.scanner.string;
  97761. t5 = right.get$span(right);
  97762. t5 = t5.get$start(t5);
  97763. t6 = right.get$span(right);
  97764. t7 = operator.operator;
  97765. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  97766. t2 = left.get$span(left);
  97767. t2 = B.JSString_methods.codeUnitAt$1(t4, t2.get$end(t2).offset);
  97768. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  97769. }
  97770. if (t2) {
  97771. t2 = left.toString$0(0);
  97772. t4 = right.toString$0(0);
  97773. t5 = left.toString$0(0);
  97774. t6 = right.toString$0(0);
  97775. t1 = t1.singleExpression_;
  97776. t3.logger.warn$3$deprecation$span(0, "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, true, t1.get$span(t1));
  97777. }
  97778. }
  97779. }
  97780. },
  97781. $signature: 0
  97782. };
  97783. A.StylesheetParser__expression_resolveOperations0.prototype = {
  97784. call$0() {
  97785. var t1,
  97786. operators = this._box_0.operators_;
  97787. if (operators == null)
  97788. return;
  97789. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  97790. t1.call$0();
  97791. },
  97792. $signature: 0
  97793. };
  97794. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  97795. call$1(expression) {
  97796. var t2, spaceExpressions, _this = this,
  97797. t1 = _this._box_0;
  97798. if (t1.singleExpression_ != null) {
  97799. t2 = _this.$this;
  97800. if (t2._stylesheet0$_inParentheses) {
  97801. t2._stylesheet0$_inParentheses = false;
  97802. if (t1.allowSlash) {
  97803. _this.resetState.call$0();
  97804. return;
  97805. }
  97806. }
  97807. spaceExpressions = t1.spaceExpressions_;
  97808. if (spaceExpressions == null)
  97809. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  97810. _this.resolveOperations.call$0();
  97811. t2 = t1.singleExpression_;
  97812. t2.toString;
  97813. spaceExpressions.push(t2);
  97814. t1.allowSlash = true;
  97815. }
  97816. t1.singleExpression_ = expression;
  97817. },
  97818. $signature: 536
  97819. };
  97820. A.StylesheetParser__expression_addOperator0.prototype = {
  97821. call$1(operator) {
  97822. var t2, t3, operators, operands, t4, singleExpression,
  97823. t1 = this.$this;
  97824. if (t1.get$plainCss() && operator !== B.BinaryOperator_qpm0 && operator !== B.BinaryOperator_axY0) {
  97825. t2 = t1.scanner;
  97826. t3 = operator.operator.length;
  97827. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  97828. }
  97829. t2 = this._box_0;
  97830. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_qpm0;
  97831. operators = t2.operators_;
  97832. if (operators == null)
  97833. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  97834. operands = t2.operands_;
  97835. if (operands == null)
  97836. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  97837. t3 = this.resolveOneOperation;
  97838. t4 = operator.precedence;
  97839. while (true) {
  97840. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  97841. break;
  97842. t3.call$0();
  97843. }
  97844. operators.push(operator);
  97845. singleExpression = t2.singleExpression_;
  97846. if (singleExpression == null) {
  97847. t3 = t1.scanner;
  97848. t4 = operator.operator.length;
  97849. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  97850. }
  97851. operands.push(singleExpression);
  97852. t1.whitespace$0();
  97853. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  97854. },
  97855. $signature: 537
  97856. };
  97857. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  97858. call$0() {
  97859. var t1, spaceExpressions, singleExpression, t2;
  97860. this.resolveOperations.call$0();
  97861. t1 = this._box_0;
  97862. spaceExpressions = t1.spaceExpressions_;
  97863. if (spaceExpressions != null) {
  97864. singleExpression = t1.singleExpression_;
  97865. if (singleExpression == null)
  97866. this.$this.scanner.error$1(0, "Expected expression.");
  97867. spaceExpressions.push(singleExpression);
  97868. t2 = B.JSArray_methods.get$first(spaceExpressions);
  97869. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  97870. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, false, t2);
  97871. t1.spaceExpressions_ = null;
  97872. }
  97873. },
  97874. $signature: 0
  97875. };
  97876. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  97877. call$0() {
  97878. return this.$this.scanner.peekChar$0() === 44;
  97879. },
  97880. $signature: 26
  97881. };
  97882. A.StylesheetParser__unicodeRange_closure1.prototype = {
  97883. call$1(char) {
  97884. return char != null && A.isHex0(char);
  97885. },
  97886. $signature: 33
  97887. };
  97888. A.StylesheetParser__unicodeRange_closure2.prototype = {
  97889. call$1(char) {
  97890. return char != null && A.isHex0(char);
  97891. },
  97892. $signature: 33
  97893. };
  97894. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  97895. call$0() {
  97896. return this.$this.scanner.spanFrom$1(this.start);
  97897. },
  97898. $signature: 30
  97899. };
  97900. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  97901. call$1(contents) {
  97902. return new A.StringExpression0(contents, false);
  97903. },
  97904. $signature: 538
  97905. };
  97906. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  97907. call$0() {
  97908. var t1 = this.$this.scanner,
  97909. next = t1.peekChar$0();
  97910. if (next === 61)
  97911. return t1.peekChar$1(1) !== 61;
  97912. return next === 60 || next === 62;
  97913. },
  97914. $signature: 26
  97915. };
  97916. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  97917. call$0() {
  97918. return this.$this.scanner.spanFrom$1(this.start);
  97919. },
  97920. $signature: 30
  97921. };
  97922. A.Stylesheet0.prototype = {
  97923. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  97924. var t1, t2, t3, t4, _i, child;
  97925. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  97926. child = t1[_i];
  97927. if (child instanceof A.UseRule0)
  97928. t4.push(child);
  97929. else if (child instanceof A.ForwardRule0)
  97930. t3.push(child);
  97931. else if (!(child instanceof A.SilentComment0) && !(child instanceof A.LoudComment0) && !(child instanceof A.VariableDeclaration0))
  97932. break;
  97933. }
  97934. },
  97935. accept$1$1(visitor) {
  97936. return visitor.visitStylesheet$1(this);
  97937. },
  97938. accept$1(visitor) {
  97939. return this.accept$1$1(visitor, type$.dynamic);
  97940. },
  97941. toString$0(_) {
  97942. var t1 = this.children;
  97943. return (t1 && B.JSArray_methods).join$1(t1, " ");
  97944. },
  97945. get$span(receiver) {
  97946. return this.span;
  97947. }
  97948. };
  97949. A.SupportsExpression0.prototype = {
  97950. get$span(_) {
  97951. var t1 = this.condition;
  97952. return t1.get$span(t1);
  97953. },
  97954. accept$1$1(visitor) {
  97955. return visitor.visitSupportsExpression$1(this);
  97956. },
  97957. accept$1(visitor) {
  97958. return this.accept$1$1(visitor, type$.dynamic);
  97959. },
  97960. toString$0(_) {
  97961. return this.condition.toString$0(0);
  97962. },
  97963. $isExpression0: 1,
  97964. $isAstNode0: 1
  97965. };
  97966. A.ModifiableCssSupportsRule0.prototype = {
  97967. accept$1$1(visitor) {
  97968. return visitor.visitCssSupportsRule$1(this);
  97969. },
  97970. accept$1(visitor) {
  97971. return this.accept$1$1(visitor, type$.dynamic);
  97972. },
  97973. copyWithoutChildren$0() {
  97974. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  97975. },
  97976. $isCssSupportsRule0: 1,
  97977. get$span(receiver) {
  97978. return this.span;
  97979. }
  97980. };
  97981. A.SupportsRule0.prototype = {
  97982. accept$1$1(visitor) {
  97983. return visitor.visitSupportsRule$1(this);
  97984. },
  97985. accept$1(visitor) {
  97986. return this.accept$1$1(visitor, type$.dynamic);
  97987. },
  97988. toString$0(_) {
  97989. var t1 = this.children;
  97990. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  97991. },
  97992. get$span(receiver) {
  97993. return this.span;
  97994. }
  97995. };
  97996. A.NodeToDartImporter.prototype = {
  97997. canonicalize$1(_, url) {
  97998. var t1,
  97999. result = this._sync$_canonicalize.call$2(url.toString$0(0), {fromImport: A.fromImport0()});
  98000. if (result == null)
  98001. return null;
  98002. t1 = self.URL;
  98003. if (result instanceof t1)
  98004. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  98005. t1 = self.Promise;
  98006. if (result instanceof t1)
  98007. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  98008. else
  98009. A.jsThrow(new self.Error(string$.The_ca));
  98010. },
  98011. load$1(_, url) {
  98012. var t1, contents, syntax, t2,
  98013. result = this._sync$_load.call$1(new self.URL(url.toString$0(0)));
  98014. if (result == null)
  98015. return null;
  98016. t1 = self.Promise;
  98017. if (result instanceof t1)
  98018. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  98019. type$.NodeImporterResult._as(result);
  98020. t1 = J.getInterceptor$x(result);
  98021. contents = t1.get$contents(result);
  98022. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  98023. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  98024. syntax = t1.get$syntax(result);
  98025. if (contents == null || syntax == null)
  98026. A.jsThrow(new self.Error(string$.The_lo));
  98027. t2 = A.parseSyntax(syntax);
  98028. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  98029. }
  98030. };
  98031. A.Syntax0.prototype = {
  98032. toString$0(_) {
  98033. return this._syntax0$_name;
  98034. }
  98035. };
  98036. A.TerseLogger0.prototype = {
  98037. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  98038. var firstParagraph, t1, t2, count;
  98039. if (deprecation) {
  98040. firstParagraph = B.JSArray_methods.get$first(message.split("\n\n"));
  98041. t1 = this._terse$_warningCounts;
  98042. t2 = t1.$index(0, firstParagraph);
  98043. count = (t2 == null ? 0 : t2) + 1;
  98044. t1.$indexSet(0, firstParagraph, count);
  98045. if (count > 5)
  98046. return;
  98047. }
  98048. this._terse$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  98049. },
  98050. warn$2$deprecation($receiver, message, deprecation) {
  98051. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, null, null);
  98052. },
  98053. warn$2$span($receiver, message, span) {
  98054. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  98055. },
  98056. warn$3$deprecation$span($receiver, message, deprecation, span) {
  98057. return this.warn$4$deprecation$span$trace($receiver, message, deprecation, span, null);
  98058. },
  98059. warn$2$trace($receiver, message, trace) {
  98060. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  98061. },
  98062. debug$2(_, message, span) {
  98063. return this._terse$_inner.debug$2(0, message, span);
  98064. },
  98065. summarize$1$node(node) {
  98066. var t2, total,
  98067. t1 = this._terse$_warningCounts;
  98068. t1 = t1.get$values(t1);
  98069. t2 = A._instanceType(t1);
  98070. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.TerseLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.TerseLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  98071. if (total > 0) {
  98072. t1 = node ? "" : string$.x0aRun_i;
  98073. this._terse$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  98074. }
  98075. }
  98076. };
  98077. A.TerseLogger_summarize_closure1.prototype = {
  98078. call$1(count) {
  98079. return count > 5;
  98080. },
  98081. $signature: 53
  98082. };
  98083. A.TerseLogger_summarize_closure2.prototype = {
  98084. call$1(count) {
  98085. return count - 5;
  98086. },
  98087. $signature: 154
  98088. };
  98089. A.TypeSelector0.prototype = {
  98090. get$specificity() {
  98091. return 1;
  98092. },
  98093. accept$1$1(visitor) {
  98094. return visitor.visitTypeSelector$1(this);
  98095. },
  98096. accept$1(visitor) {
  98097. return this.accept$1$1(visitor, type$.dynamic);
  98098. },
  98099. addSuffix$1(suffix) {
  98100. var t1 = this.name;
  98101. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace));
  98102. },
  98103. unify$1(compound) {
  98104. var unified, t1;
  98105. if (B.JSArray_methods.get$first(compound) instanceof A.UniversalSelector0 || B.JSArray_methods.get$first(compound) instanceof A.TypeSelector0) {
  98106. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  98107. if (unified == null)
  98108. return null;
  98109. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  98110. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  98111. return t1;
  98112. } else {
  98113. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  98114. B.JSArray_methods.addAll$1(t1, compound);
  98115. return t1;
  98116. }
  98117. },
  98118. isSuperselector$1(other) {
  98119. var t1, t2;
  98120. if (!this.super$SimpleSelector$isSuperselector0(other))
  98121. if (other instanceof A.TypeSelector0) {
  98122. t1 = this.name;
  98123. t2 = other.name;
  98124. if (t1.name === t2.name) {
  98125. t1 = t1.namespace;
  98126. t1 = t1 === "*" || t1 == t2.namespace;
  98127. } else
  98128. t1 = false;
  98129. } else
  98130. t1 = false;
  98131. else
  98132. t1 = true;
  98133. return t1;
  98134. },
  98135. $eq(_, other) {
  98136. if (other == null)
  98137. return false;
  98138. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  98139. },
  98140. get$hashCode(_) {
  98141. var t1 = this.name;
  98142. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  98143. }
  98144. };
  98145. A.Types.prototype = {};
  98146. A.UnaryOperationExpression0.prototype = {
  98147. accept$1$1(visitor) {
  98148. return visitor.visitUnaryOperationExpression$1(this);
  98149. },
  98150. accept$1(visitor) {
  98151. return this.accept$1$1(visitor, type$.dynamic);
  98152. },
  98153. toString$0(_) {
  98154. var t1 = this.operator,
  98155. t2 = t1.operator;
  98156. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  98157. t1 += this.operand.toString$0(0);
  98158. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98159. },
  98160. $isExpression0: 1,
  98161. $isAstNode0: 1,
  98162. get$span(receiver) {
  98163. return this.span;
  98164. }
  98165. };
  98166. A.UnaryOperator0.prototype = {
  98167. toString$0(_) {
  98168. return this.name;
  98169. }
  98170. };
  98171. A.UnitlessSassNumber0.prototype = {
  98172. get$numeratorUnits(_) {
  98173. return B.List_empty;
  98174. },
  98175. get$denominatorUnits(_) {
  98176. return B.List_empty;
  98177. },
  98178. get$hasUnits() {
  98179. return false;
  98180. },
  98181. withValue$1(value) {
  98182. return new A.UnitlessSassNumber0(value, null);
  98183. },
  98184. withSlash$2(numerator, denominator) {
  98185. return new A.UnitlessSassNumber0(this._number1$_value, new A.Tuple2(numerator, denominator, type$.Tuple2_SassNumber_SassNumber_2));
  98186. },
  98187. hasUnit$1(unit) {
  98188. return false;
  98189. },
  98190. hasCompatibleUnits$1(other) {
  98191. return other instanceof A.UnitlessSassNumber0;
  98192. },
  98193. hasPossiblyCompatibleUnits$1(other) {
  98194. return other instanceof A.UnitlessSassNumber0;
  98195. },
  98196. compatibleWithUnit$1(unit) {
  98197. return true;
  98198. },
  98199. coerceToMatch$3(other, $name, otherName) {
  98200. return other.withValue$1(this._number1$_value);
  98201. },
  98202. coerceValueToMatch$3(other, $name, otherName) {
  98203. return this._number1$_value;
  98204. },
  98205. coerceValueToMatch$1(other) {
  98206. return this.coerceValueToMatch$3(other, null, null);
  98207. },
  98208. convertToMatch$3(other, $name, otherName) {
  98209. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  98210. },
  98211. convertValueToMatch$3(other, $name, otherName) {
  98212. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  98213. },
  98214. coerce$3(newNumerators, newDenominators, $name) {
  98215. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  98216. },
  98217. coerce$2(newNumerators, newDenominators) {
  98218. return this.coerce$3(newNumerators, newDenominators, null);
  98219. },
  98220. coerceValue$3(newNumerators, newDenominators, $name) {
  98221. return this._number1$_value;
  98222. },
  98223. coerceValueToUnit$2(unit, $name) {
  98224. return this._number1$_value;
  98225. },
  98226. coerceValueToUnit$1(unit) {
  98227. return this.coerceValueToUnit$2(unit, null);
  98228. },
  98229. greaterThan$1(other) {
  98230. var t1, t2;
  98231. if (other instanceof A.SassNumber0) {
  98232. t1 = this._number1$_value;
  98233. t2 = other._number1$_value;
  98234. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98235. }
  98236. return this.super$SassNumber$greaterThan0(other);
  98237. },
  98238. greaterThanOrEquals$1(other) {
  98239. var t1, t2;
  98240. if (other instanceof A.SassNumber0) {
  98241. t1 = this._number1$_value;
  98242. t2 = other._number1$_value;
  98243. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98244. }
  98245. return this.super$SassNumber$greaterThanOrEquals0(other);
  98246. },
  98247. lessThan$1(other) {
  98248. var t1, t2;
  98249. if (other instanceof A.SassNumber0) {
  98250. t1 = this._number1$_value;
  98251. t2 = other._number1$_value;
  98252. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98253. }
  98254. return this.super$SassNumber$lessThan0(other);
  98255. },
  98256. lessThanOrEquals$1(other) {
  98257. var t1, t2;
  98258. if (other instanceof A.SassNumber0) {
  98259. t1 = this._number1$_value;
  98260. t2 = other._number1$_value;
  98261. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  98262. }
  98263. return this.super$SassNumber$lessThanOrEquals0(other);
  98264. },
  98265. modulo$1(other) {
  98266. if (other instanceof A.SassNumber0)
  98267. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  98268. return this.super$SassNumber$modulo0(other);
  98269. },
  98270. plus$1(other) {
  98271. if (other instanceof A.SassNumber0)
  98272. return other.withValue$1(this._number1$_value + other._number1$_value);
  98273. return this.super$SassNumber$plus0(other);
  98274. },
  98275. minus$1(other) {
  98276. if (other instanceof A.SassNumber0)
  98277. return other.withValue$1(this._number1$_value - other._number1$_value);
  98278. return this.super$SassNumber$minus0(other);
  98279. },
  98280. times$1(other) {
  98281. if (other instanceof A.SassNumber0)
  98282. return other.withValue$1(this._number1$_value * other._number1$_value);
  98283. return this.super$SassNumber$times0(other);
  98284. },
  98285. dividedBy$1(other) {
  98286. var t1, t2;
  98287. if (other instanceof A.SassNumber0) {
  98288. t1 = this._number1$_value / other._number1$_value;
  98289. if (other.get$hasUnits()) {
  98290. t2 = other.get$denominatorUnits(other);
  98291. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  98292. t1 = t2;
  98293. } else
  98294. t1 = new A.UnitlessSassNumber0(t1, null);
  98295. return t1;
  98296. }
  98297. return this.super$SassNumber$dividedBy0(other);
  98298. },
  98299. unaryMinus$0() {
  98300. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  98301. },
  98302. $eq(_, other) {
  98303. if (other == null)
  98304. return false;
  98305. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  98306. },
  98307. get$hashCode(_) {
  98308. var t1 = this.hashCache;
  98309. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  98310. }
  98311. };
  98312. A.UniversalSelector0.prototype = {
  98313. get$specificity() {
  98314. return 0;
  98315. },
  98316. accept$1$1(visitor) {
  98317. return visitor.visitUniversalSelector$1(this);
  98318. },
  98319. accept$1(visitor) {
  98320. return this.accept$1$1(visitor, type$.dynamic);
  98321. },
  98322. unify$1(compound) {
  98323. var unified, t1, _this = this,
  98324. first = B.JSArray_methods.get$first(compound);
  98325. if (first instanceof A.UniversalSelector0 || first instanceof A.TypeSelector0) {
  98326. unified = A.unifyUniversalAndElement0(_this, first);
  98327. if (unified == null)
  98328. return null;
  98329. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  98330. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  98331. return t1;
  98332. } else {
  98333. if (compound.length === 1)
  98334. if (first instanceof A.PseudoSelector0)
  98335. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  98336. else
  98337. t1 = false;
  98338. else
  98339. t1 = false;
  98340. if (t1)
  98341. return null;
  98342. }
  98343. t1 = _this.namespace;
  98344. if (t1 != null && t1 !== "*") {
  98345. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  98346. B.JSArray_methods.addAll$1(t1, compound);
  98347. return t1;
  98348. }
  98349. if (compound.length !== 0)
  98350. return compound;
  98351. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  98352. },
  98353. isSuperselector$1(other) {
  98354. var t1 = this.namespace;
  98355. if (t1 === "*")
  98356. return true;
  98357. if (other instanceof A.TypeSelector0)
  98358. return t1 == other.name.namespace;
  98359. if (other instanceof A.UniversalSelector0)
  98360. return t1 == other.namespace;
  98361. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  98362. },
  98363. $eq(_, other) {
  98364. if (other == null)
  98365. return false;
  98366. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  98367. },
  98368. get$hashCode(_) {
  98369. return J.get$hashCode$(this.namespace);
  98370. }
  98371. };
  98372. A.UnprefixedMapView0.prototype = {
  98373. get$keys(_) {
  98374. return new A._UnprefixedKeys0(this);
  98375. },
  98376. $index(_, key) {
  98377. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  98378. },
  98379. containsKey$1(key) {
  98380. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  98381. },
  98382. remove$1(_, key) {
  98383. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  98384. }
  98385. };
  98386. A._UnprefixedKeys0.prototype = {
  98387. get$iterator(_) {
  98388. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  98389. 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);
  98390. return t1.get$iterator(t1);
  98391. },
  98392. contains$1(_, key) {
  98393. return this._unprefixed_map_view0$_view.containsKey$1(key);
  98394. }
  98395. };
  98396. A._UnprefixedKeys_iterator_closure1.prototype = {
  98397. call$1(key) {
  98398. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  98399. },
  98400. $signature: 8
  98401. };
  98402. A._UnprefixedKeys_iterator_closure2.prototype = {
  98403. call$1(key) {
  98404. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  98405. },
  98406. $signature: 5
  98407. };
  98408. A.JSUrl0.prototype = {};
  98409. A.UseRule0.prototype = {
  98410. UseRule$4$configuration0(url, namespace, span, configuration) {
  98411. var t1, t2, _i, variable;
  98412. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98413. variable = t1[_i];
  98414. if (variable.isGuarded)
  98415. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  98416. }
  98417. },
  98418. accept$1$1(visitor) {
  98419. return visitor.visitUseRule$1(this);
  98420. },
  98421. accept$1(visitor) {
  98422. return this.accept$1$1(visitor, type$.dynamic);
  98423. },
  98424. toString$0(_) {
  98425. var t1 = this.url,
  98426. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  98427. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  98428. dot = B.JSString_methods.indexOf$1(basename, ".");
  98429. t1 = this.namespace;
  98430. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  98431. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  98432. else
  98433. t1 = t2;
  98434. t2 = this.configuration;
  98435. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  98436. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98437. },
  98438. $isAstNode0: 1,
  98439. $isStatement0: 1,
  98440. get$span(receiver) {
  98441. return this.span;
  98442. }
  98443. };
  98444. A.UserDefinedCallable0.prototype = {
  98445. get$name(_) {
  98446. return this.declaration.name;
  98447. },
  98448. $isAsyncCallable0: 1,
  98449. $isCallable0: 1
  98450. };
  98451. A.resolveImportPath_closure1.prototype = {
  98452. call$0() {
  98453. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  98454. },
  98455. $signature: 43
  98456. };
  98457. A.resolveImportPath_closure2.prototype = {
  98458. call$0() {
  98459. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  98460. },
  98461. $signature: 43
  98462. };
  98463. A._tryPathAsDirectory_closure0.prototype = {
  98464. call$0() {
  98465. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  98466. },
  98467. $signature: 43
  98468. };
  98469. A._exactlyOne_closure0.prototype = {
  98470. call$1(path) {
  98471. var t1 = $.$get$context();
  98472. return " " + t1.prettyUri$1(t1.toUri$1(path));
  98473. },
  98474. $signature: 5
  98475. };
  98476. A._PropertyDescriptor0.prototype = {};
  98477. A.futureToPromise_closure0.prototype = {
  98478. call$2(resolve, reject) {
  98479. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  98480. },
  98481. $signature: 539
  98482. };
  98483. A.futureToPromise__closure0.prototype = {
  98484. call$1(result) {
  98485. return this.resolve.call$1(result);
  98486. },
  98487. $signature: 27
  98488. };
  98489. A.futureToPromise__closure1.prototype = {
  98490. call$2(error, stackTrace) {
  98491. A.attachTrace0(error, stackTrace);
  98492. this.reject.call$1(error);
  98493. },
  98494. $signature: 66
  98495. };
  98496. A.objectToMap_closure.prototype = {
  98497. call$2(key, value) {
  98498. this.map.$indexSet(0, key, value);
  98499. return value;
  98500. },
  98501. $signature: 126
  98502. };
  98503. A.indent_closure0.prototype = {
  98504. call$1(line) {
  98505. return B.JSString_methods.$mul(" ", this.indentation) + line;
  98506. },
  98507. $signature: 5
  98508. };
  98509. A.flattenVertically_closure1.prototype = {
  98510. call$1(inner) {
  98511. return A.QueueList_QueueList$from(inner, this.T);
  98512. },
  98513. $signature() {
  98514. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  98515. }
  98516. };
  98517. A.flattenVertically_closure2.prototype = {
  98518. call$1(queue) {
  98519. this.result.push(queue.removeFirst$0());
  98520. return queue.get$length(queue) === 0;
  98521. },
  98522. $signature() {
  98523. return this.T._eval$1("bool(QueueList<0>)");
  98524. }
  98525. };
  98526. A.longestCommonSubsequence_backtrack0.prototype = {
  98527. call$2(i, j) {
  98528. var selection, t1, _this = this;
  98529. if (i === -1 || j === -1)
  98530. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  98531. selection = _this.selections[i][j];
  98532. if (selection != null) {
  98533. t1 = _this.call$2(i - 1, j - 1);
  98534. J.add$1$ax(t1, selection);
  98535. return t1;
  98536. }
  98537. t1 = _this.lengths;
  98538. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  98539. },
  98540. $signature() {
  98541. return this.T._eval$1("List<0>(int,int)");
  98542. }
  98543. };
  98544. A.mapAddAll2_closure0.prototype = {
  98545. call$2(key, inner) {
  98546. var t1 = this.destination,
  98547. innerDestination = t1.$index(0, key);
  98548. if (innerDestination != null)
  98549. innerDestination.addAll$1(0, inner);
  98550. else
  98551. t1.$indexSet(0, key, inner);
  98552. },
  98553. $signature() {
  98554. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  98555. }
  98556. };
  98557. A.CssValue0.prototype = {
  98558. toString$0(_) {
  98559. return J.toString$0$(this.value);
  98560. },
  98561. $isAstNode0: 1,
  98562. get$value(receiver) {
  98563. return this.value;
  98564. },
  98565. get$span(receiver) {
  98566. return this.span;
  98567. }
  98568. };
  98569. A.ValueExpression0.prototype = {
  98570. accept$1$1(visitor) {
  98571. return visitor.visitValueExpression$1(this);
  98572. },
  98573. accept$1(visitor) {
  98574. return this.accept$1$1(visitor, type$.dynamic);
  98575. },
  98576. toString$0(_) {
  98577. return A.serializeValue0(this.value, true, true);
  98578. },
  98579. $isExpression0: 1,
  98580. $isAstNode0: 1,
  98581. get$span(receiver) {
  98582. return this.span;
  98583. }
  98584. };
  98585. A.ModifiableCssValue0.prototype = {
  98586. toString$0(_) {
  98587. return A.serializeSelector0(this.value, true);
  98588. },
  98589. $isAstNode0: 1,
  98590. $isCssValue0: 1,
  98591. get$value(receiver) {
  98592. return this.value;
  98593. },
  98594. get$span(receiver) {
  98595. return this.span;
  98596. }
  98597. };
  98598. A.valueClass_closure.prototype = {
  98599. call$0() {
  98600. var t2,
  98601. t1 = type$.JSClass,
  98602. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  98603. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  98604. t1 = type$.String;
  98605. t2 = type$.Function;
  98606. 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));
  98607. 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));
  98608. return jsClass;
  98609. },
  98610. $signature: 24
  98611. };
  98612. A.valueClass__closure.prototype = {
  98613. call$1($self) {
  98614. return J.toString$0$($self);
  98615. },
  98616. $signature: 44
  98617. };
  98618. A.valueClass__closure0.prototype = {
  98619. call$1($self) {
  98620. return new self.immutable.List($self.get$asList());
  98621. },
  98622. $signature: 540
  98623. };
  98624. A.valueClass__closure1.prototype = {
  98625. call$1($self) {
  98626. return $self.get$hasBrackets();
  98627. },
  98628. $signature: 45
  98629. };
  98630. A.valueClass__closure2.prototype = {
  98631. call$1($self) {
  98632. return $self.get$isTruthy();
  98633. },
  98634. $signature: 45
  98635. };
  98636. A.valueClass__closure3.prototype = {
  98637. call$1($self) {
  98638. return $self.get$realNull();
  98639. },
  98640. $signature: 223
  98641. };
  98642. A.valueClass__closure4.prototype = {
  98643. call$1($self) {
  98644. return $self.get$separator($self).separator;
  98645. },
  98646. $signature: 541
  98647. };
  98648. A.valueClass__closure5.prototype = {
  98649. call$3($self, sassIndex, $name) {
  98650. return $self.sassIndexToListIndex$2(sassIndex, $name);
  98651. },
  98652. call$2($self, sassIndex) {
  98653. return this.call$3($self, sassIndex, null);
  98654. },
  98655. "call*": "call$3",
  98656. $requiredArgCount: 2,
  98657. $defaultValues() {
  98658. return [null];
  98659. },
  98660. $signature: 542
  98661. };
  98662. A.valueClass__closure6.prototype = {
  98663. call$2($self, index) {
  98664. return index < 1 && index >= -1 ? $self : self.undefined;
  98665. },
  98666. $signature: 235
  98667. };
  98668. A.valueClass__closure7.prototype = {
  98669. call$2($self, $name) {
  98670. return $self.assertBoolean$1($name);
  98671. },
  98672. call$1($self) {
  98673. return this.call$2($self, null);
  98674. },
  98675. "call*": "call$2",
  98676. $requiredArgCount: 1,
  98677. $defaultValues() {
  98678. return [null];
  98679. },
  98680. $signature: 543
  98681. };
  98682. A.valueClass__closure8.prototype = {
  98683. call$2($self, $name) {
  98684. return $self.assertColor$1($name);
  98685. },
  98686. call$1($self) {
  98687. return this.call$2($self, null);
  98688. },
  98689. "call*": "call$2",
  98690. $requiredArgCount: 1,
  98691. $defaultValues() {
  98692. return [null];
  98693. },
  98694. $signature: 544
  98695. };
  98696. A.valueClass__closure9.prototype = {
  98697. call$2($self, $name) {
  98698. return $self.assertFunction$1($name);
  98699. },
  98700. call$1($self) {
  98701. return this.call$2($self, null);
  98702. },
  98703. "call*": "call$2",
  98704. $requiredArgCount: 1,
  98705. $defaultValues() {
  98706. return [null];
  98707. },
  98708. $signature: 545
  98709. };
  98710. A.valueClass__closure10.prototype = {
  98711. call$2($self, $name) {
  98712. return $self.assertMap$1($name);
  98713. },
  98714. call$1($self) {
  98715. return this.call$2($self, null);
  98716. },
  98717. "call*": "call$2",
  98718. $requiredArgCount: 1,
  98719. $defaultValues() {
  98720. return [null];
  98721. },
  98722. $signature: 546
  98723. };
  98724. A.valueClass__closure11.prototype = {
  98725. call$2($self, $name) {
  98726. return $self.assertNumber$1($name);
  98727. },
  98728. call$1($self) {
  98729. return this.call$2($self, null);
  98730. },
  98731. "call*": "call$2",
  98732. $requiredArgCount: 1,
  98733. $defaultValues() {
  98734. return [null];
  98735. },
  98736. $signature: 547
  98737. };
  98738. A.valueClass__closure12.prototype = {
  98739. call$2($self, $name) {
  98740. return $self.assertString$1($name);
  98741. },
  98742. call$1($self) {
  98743. return this.call$2($self, null);
  98744. },
  98745. "call*": "call$2",
  98746. $requiredArgCount: 1,
  98747. $defaultValues() {
  98748. return [null];
  98749. },
  98750. $signature: 548
  98751. };
  98752. A.valueClass__closure13.prototype = {
  98753. call$1($self) {
  98754. return $self.tryMap$0();
  98755. },
  98756. $signature: 549
  98757. };
  98758. A.valueClass__closure14.prototype = {
  98759. call$2($self, other) {
  98760. return $self.$eq(0, other);
  98761. },
  98762. $signature: 550
  98763. };
  98764. A.valueClass__closure15.prototype = {
  98765. call$2($self, _) {
  98766. return $self.get$hashCode($self);
  98767. },
  98768. call$1($self) {
  98769. return this.call$2($self, null);
  98770. },
  98771. "call*": "call$2",
  98772. $requiredArgCount: 1,
  98773. $defaultValues() {
  98774. return [null];
  98775. },
  98776. $signature: 551
  98777. };
  98778. A.valueClass__closure16.prototype = {
  98779. call$1($self) {
  98780. return A.serializeValue0($self, true, true);
  98781. },
  98782. $signature: 212
  98783. };
  98784. A.Value0.prototype = {
  98785. get$isTruthy() {
  98786. return true;
  98787. },
  98788. get$separator(_) {
  98789. return B.ListSeparator_undecided_null_undecided0;
  98790. },
  98791. get$hasBrackets() {
  98792. return false;
  98793. },
  98794. get$asList() {
  98795. return A._setArrayType([this], type$.JSArray_Value_2);
  98796. },
  98797. get$lengthAsList() {
  98798. return 1;
  98799. },
  98800. get$isBlank() {
  98801. return false;
  98802. },
  98803. get$isSpecialNumber() {
  98804. return false;
  98805. },
  98806. get$isVar() {
  98807. return false;
  98808. },
  98809. get$realNull() {
  98810. return this;
  98811. },
  98812. sassIndexToListIndex$2(sassIndex, $name) {
  98813. var t1, t2, index,
  98814. indexValue = sassIndex.assertNumber$1($name);
  98815. if (indexValue.get$hasUnits()) {
  98816. t1 = indexValue.get$unitString();
  98817. t2 = indexValue.unitSuggestion$1($name == null ? "index" : $name);
  98818. A.EvaluationContext_current0().warn$2$deprecation(0, "$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, true);
  98819. }
  98820. index = indexValue.assertInt$1($name);
  98821. if (index === 0)
  98822. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  98823. if (Math.abs(index) > this.get$lengthAsList())
  98824. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  98825. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  98826. },
  98827. assertBoolean$1($name) {
  98828. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  98829. },
  98830. assertCalculation$1($name) {
  98831. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  98832. },
  98833. assertColor$1($name) {
  98834. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  98835. },
  98836. assertFunction$1($name) {
  98837. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  98838. },
  98839. assertMap$1($name) {
  98840. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  98841. },
  98842. tryMap$0() {
  98843. return null;
  98844. },
  98845. assertNumber$1($name) {
  98846. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  98847. },
  98848. assertNumber$0() {
  98849. return this.assertNumber$1(null);
  98850. },
  98851. assertString$1($name) {
  98852. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  98853. },
  98854. _value$_selectorString$1($name) {
  98855. var string = this._value$_selectorStringOrNull$0();
  98856. if (string != null)
  98857. return string;
  98858. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noa, $name));
  98859. },
  98860. _value$_selectorStringOrNull$0() {
  98861. var t1, t2, result, t3, _i, complex, string, compound, _this = this, _null = null;
  98862. if (_this instanceof A.SassString0)
  98863. return _this._string0$_text;
  98864. if (!(_this instanceof A.SassList0))
  98865. return _null;
  98866. t1 = _this._list1$_contents;
  98867. t2 = t1.length;
  98868. if (t2 === 0)
  98869. return _null;
  98870. result = A._setArrayType([], type$.JSArray_String);
  98871. t3 = _this._list1$_separator;
  98872. switch (t3) {
  98873. case B.ListSeparator_rXA0:
  98874. for (_i = 0; _i < t2; ++_i) {
  98875. complex = t1[_i];
  98876. if (complex instanceof A.SassString0)
  98877. result.push(complex._string0$_text);
  98878. else if (complex instanceof A.SassList0 && complex._list1$_separator === B.ListSeparator_EVt0) {
  98879. string = complex._value$_selectorStringOrNull$0();
  98880. if (string == null)
  98881. return _null;
  98882. result.push(string);
  98883. } else
  98884. return _null;
  98885. }
  98886. break;
  98887. case B.ListSeparator_zg90:
  98888. return _null;
  98889. default:
  98890. for (_i = 0; _i < t2; ++_i) {
  98891. compound = t1[_i];
  98892. if (compound instanceof A.SassString0)
  98893. result.push(compound._string0$_text);
  98894. else
  98895. return _null;
  98896. }
  98897. break;
  98898. }
  98899. return B.JSArray_methods.join$1(result, t3 === B.ListSeparator_rXA0 ? ", " : " ");
  98900. },
  98901. withListContents$2$separator(contents, separator) {
  98902. var t1 = separator == null ? this.get$separator(this) : separator,
  98903. t2 = this.get$hasBrackets();
  98904. return A.SassList$0(contents, t1, t2);
  98905. },
  98906. withListContents$1(contents) {
  98907. return this.withListContents$2$separator(contents, null);
  98908. },
  98909. greaterThan$1(other) {
  98910. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  98911. },
  98912. greaterThanOrEquals$1(other) {
  98913. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  98914. },
  98915. lessThan$1(other) {
  98916. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  98917. },
  98918. lessThanOrEquals$1(other) {
  98919. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  98920. },
  98921. times$1(other) {
  98922. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  98923. },
  98924. modulo$1(other) {
  98925. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  98926. },
  98927. plus$1(other) {
  98928. if (other instanceof A.SassString0)
  98929. return new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  98930. else if (other instanceof A.SassCalculation0)
  98931. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98932. else
  98933. return new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  98934. },
  98935. minus$1(other) {
  98936. if (other instanceof A.SassCalculation0)
  98937. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98938. else
  98939. return new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  98940. },
  98941. dividedBy$1(other) {
  98942. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  98943. },
  98944. unaryPlus$0() {
  98945. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  98946. },
  98947. unaryMinus$0() {
  98948. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  98949. },
  98950. unaryNot$0() {
  98951. return B.SassBoolean_false0;
  98952. },
  98953. withoutSlash$0() {
  98954. return this;
  98955. },
  98956. toString$0(_) {
  98957. return A.serializeValue0(this, true, true);
  98958. }
  98959. };
  98960. A.VariableExpression0.prototype = {
  98961. accept$1$1(visitor) {
  98962. return visitor.visitVariableExpression$1(this);
  98963. },
  98964. accept$1(visitor) {
  98965. return this.accept$1$1(visitor, type$.dynamic);
  98966. },
  98967. toString$0(_) {
  98968. var t1 = this.namespace,
  98969. t2 = this.name;
  98970. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  98971. },
  98972. $isExpression0: 1,
  98973. $isAstNode0: 1,
  98974. get$span(receiver) {
  98975. return this.span;
  98976. }
  98977. };
  98978. A.VariableDeclaration0.prototype = {
  98979. accept$1$1(visitor) {
  98980. return visitor.visitVariableDeclaration$1(this);
  98981. },
  98982. accept$1(visitor) {
  98983. return this.accept$1$1(visitor, type$.dynamic);
  98984. },
  98985. toString$0(_) {
  98986. var t1 = this.namespace;
  98987. t1 = t1 != null ? "" + (t1 + ".") : "";
  98988. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  98989. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98990. },
  98991. $isAstNode0: 1,
  98992. $isStatement0: 1,
  98993. get$span(receiver) {
  98994. return this.span;
  98995. }
  98996. };
  98997. A.WarnRule0.prototype = {
  98998. accept$1$1(visitor) {
  98999. return visitor.visitWarnRule$1(this);
  99000. },
  99001. accept$1(visitor) {
  99002. return this.accept$1$1(visitor, type$.dynamic);
  99003. },
  99004. toString$0(_) {
  99005. return "@warn " + this.expression.toString$0(0) + ";";
  99006. },
  99007. $isAstNode0: 1,
  99008. $isStatement0: 1,
  99009. get$span(receiver) {
  99010. return this.span;
  99011. }
  99012. };
  99013. A.WhileRule0.prototype = {
  99014. accept$1$1(visitor) {
  99015. return visitor.visitWhileRule$1(this);
  99016. },
  99017. accept$1(visitor) {
  99018. return this.accept$1$1(visitor, type$.dynamic);
  99019. },
  99020. toString$0(_) {
  99021. var t1 = this.children;
  99022. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  99023. },
  99024. get$span(receiver) {
  99025. return this.span;
  99026. }
  99027. };
  99028. (function aliases() {
  99029. var _ = J.LegacyJavaScriptObject.prototype;
  99030. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  99031. _ = A.JsLinkedHashMap.prototype;
  99032. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  99033. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  99034. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  99035. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  99036. _ = A._BufferingStreamSubscription.prototype;
  99037. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  99038. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  99039. _ = A.ListMixin.prototype;
  99040. _.super$ListMixin$setRange = _.setRange$4;
  99041. _ = A.Iterable.prototype;
  99042. _.super$Iterable$where = _.where$1;
  99043. _.super$Iterable$skipWhile = _.skipWhile$1;
  99044. _ = A.ModifiableCssParentNode.prototype;
  99045. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  99046. _ = A.SimpleSelector.prototype;
  99047. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  99048. _.super$SimpleSelector$unify = _.unify$1;
  99049. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  99050. _ = A.Parser.prototype;
  99051. _.super$Parser$silentComment = _.silentComment$0;
  99052. _ = A.StylesheetParser.prototype;
  99053. _.super$StylesheetParser$importArgument = _.importArgument$0;
  99054. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  99055. _ = A.Value.prototype;
  99056. _.super$Value$assertMap = _.assertMap$1;
  99057. _.super$Value$plus = _.plus$1;
  99058. _.super$Value$minus = _.minus$1;
  99059. _.super$Value$dividedBy = _.dividedBy$1;
  99060. _ = A.SassNumber.prototype;
  99061. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  99062. _.super$SassNumber$coerce = _.coerce$3;
  99063. _.super$SassNumber$coerceValue = _.coerceValue$3;
  99064. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  99065. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  99066. _.super$SassNumber$greaterThan = _.greaterThan$1;
  99067. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  99068. _.super$SassNumber$lessThan = _.lessThan$1;
  99069. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  99070. _.super$SassNumber$modulo = _.modulo$1;
  99071. _.super$SassNumber$plus = _.plus$1;
  99072. _.super$SassNumber$minus = _.minus$1;
  99073. _.super$SassNumber$times = _.times$1;
  99074. _.super$SassNumber$dividedBy = _.dividedBy$1;
  99075. _ = A.AnySelectorVisitor.prototype;
  99076. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  99077. _ = A.EveryCssVisitor.prototype;
  99078. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  99079. _ = A.SourceSpanMixin.prototype;
  99080. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  99081. _.super$SourceSpanMixin$$eq = _.$eq;
  99082. _ = A.StringScanner.prototype;
  99083. _.super$StringScanner$readChar = _.readChar$0;
  99084. _.super$StringScanner$scanChar = _.scanChar$1;
  99085. _.super$StringScanner$scan = _.scan$1;
  99086. _.super$StringScanner$matches = _.matches$1;
  99087. _ = A.AnySelectorVisitor0.prototype;
  99088. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  99089. _ = A.EveryCssVisitor0.prototype;
  99090. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  99091. _ = A.ModifiableCssParentNode0.prototype;
  99092. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  99093. _ = A.SassNumber0.prototype;
  99094. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  99095. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  99096. _.super$SassNumber$coerce0 = _.coerce$3;
  99097. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  99098. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  99099. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  99100. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  99101. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  99102. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  99103. _.super$SassNumber$lessThan0 = _.lessThan$1;
  99104. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  99105. _.super$SassNumber$modulo0 = _.modulo$1;
  99106. _.super$SassNumber$plus0 = _.plus$1;
  99107. _.super$SassNumber$minus0 = _.minus$1;
  99108. _.super$SassNumber$times0 = _.times$1;
  99109. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  99110. _ = A.Parser1.prototype;
  99111. _.super$Parser$silentComment0 = _.silentComment$0;
  99112. _ = A.SimpleSelector0.prototype;
  99113. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  99114. _.super$SimpleSelector$unify0 = _.unify$1;
  99115. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  99116. _ = A.StylesheetParser0.prototype;
  99117. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  99118. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  99119. _ = A.Value0.prototype;
  99120. _.super$Value$assertMap0 = _.assertMap$1;
  99121. _.super$Value$plus0 = _.plus$1;
  99122. _.super$Value$minus0 = _.minus$1;
  99123. _.super$Value$dividedBy0 = _.dividedBy$1;
  99124. })();
  99125. (function installTearOffs() {
  99126. var _static_2 = hunkHelpers._static_2,
  99127. _instance_1_i = hunkHelpers._instance_1i,
  99128. _instance_1_u = hunkHelpers._instance_1u,
  99129. _static_1 = hunkHelpers._static_1,
  99130. _static_0 = hunkHelpers._static_0,
  99131. _static = hunkHelpers.installStaticTearOff,
  99132. _instance = hunkHelpers.installInstanceTearOff,
  99133. _instance_2_u = hunkHelpers._instance_2u,
  99134. _instance_0_i = hunkHelpers._instance_0i,
  99135. _instance_0_u = hunkHelpers._instance_0u;
  99136. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 253);
  99137. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  99138. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  99139. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  99140. _static_1(A, "_js_helper_GeneralConstantMap__constantMapHashCode$closure", "GeneralConstantMap__constantMapHashCode", 138);
  99141. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  99142. _instance_1_u(A.GeneralConstantMap.prototype, "get$containsKey", "containsKey$1", 9);
  99143. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  99144. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 139);
  99145. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 139);
  99146. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 139);
  99147. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  99148. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 137);
  99149. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 74);
  99150. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  99151. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 555, 0);
  99152. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  99153. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  99154. }], 556, 1);
  99155. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  99156. return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
  99157. }], 557, 1);
  99158. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  99159. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
  99160. }], 558, 1);
  99161. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  99162. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  99163. }], 559, 0);
  99164. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  99165. return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
  99166. }], 560, 0);
  99167. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  99168. return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
  99169. }], 561, 0);
  99170. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 562, 0);
  99171. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 563, 0);
  99172. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 564, 0);
  99173. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 565, 0);
  99174. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 566, 0);
  99175. _static_1(A, "async___printToZone$closure", "_printToZone", 119);
  99176. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 567, 0);
  99177. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  99178. return [null];
  99179. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 216, 0, 0);
  99180. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 74);
  99181. var _;
  99182. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 27);
  99183. _instance(_, "get$addError", 0, 1, function() {
  99184. return [null];
  99185. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 147, 0, 0);
  99186. _instance_0_i(_, "get$close", "close$0", 332);
  99187. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 27);
  99188. _instance_2_u(_, "get$_addError", "_addError$2", 74);
  99189. _instance_0_u(_, "get$_close", "_close$0", 0);
  99190. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  99191. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  99192. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 427, 0, 0);
  99193. _instance_0_i(_, "get$resume", "resume$0", 0);
  99194. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  99195. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  99196. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 27);
  99197. _instance_2_u(_, "get$_onError", "_onError$2", 74);
  99198. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  99199. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  99200. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  99201. _instance_1_u(_, "get$_handleData", "_handleData$1", 27);
  99202. _instance_2_u(_, "get$_handleError", "_handleError$2", 431);
  99203. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  99204. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 254);
  99205. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 138);
  99206. _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 253);
  99207. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  99208. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  99209. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  99210. _instance_1_i(_, "get$contains", "contains$1", 9);
  99211. _instance_1_i(_, "get$add", "add$1", 9);
  99212. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  99213. _instance_1_u(A.MapMixin.prototype, "get$containsKey", "containsKey$1", 9);
  99214. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  99215. _instance_1_i(A._UnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  99216. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 76);
  99217. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 138);
  99218. _static_2(A, "core__identical$closure", "identical", 254);
  99219. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  99220. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  99221. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 27);
  99222. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  99223. return A.max(a, b, type$.num);
  99224. }], 569, 1);
  99225. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 27);
  99226. _instance(_, "get$setError", 0, 1, function() {
  99227. return [null];
  99228. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 147, 0, 0);
  99229. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  99230. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  99231. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  99232. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 227);
  99233. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  99234. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  99235. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  99236. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  99237. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99238. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99239. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99240. _instance_1_u(_ = A.SelectorList.prototype, "get$_complexContainsParentSelector", "_complexContainsParentSelector$1", 15);
  99241. _instance_1_u(_, "get$isSuperselector", "isSuperselector$1", 65);
  99242. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99243. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99244. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99245. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  99246. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 202);
  99247. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 202);
  99248. _static_1(A, "functions___isUnique$closure", "_isUnique", 14);
  99249. _static_1(A, "color0___opacify$closure", "_opacify", 23);
  99250. _static_1(A, "color0___transparentize$closure", "_transparentize", 23);
  99251. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  99252. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  99253. _instance_0_u(_, "get$string", "string$0", 32);
  99254. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  99255. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 435, 0, 0);
  99256. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 114);
  99257. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 114);
  99258. _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"], 482, 0, 0);
  99259. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99260. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99261. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  99262. return {color: null};
  99263. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 113, 0, 0);
  99264. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 27);
  99265. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99266. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99267. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 27);
  99268. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  99269. _static_1(A, "utils__isPublic$closure", "isPublic", 8);
  99270. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 217);
  99271. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 15);
  99272. _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"], 350, 0, 0);
  99273. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 164);
  99274. _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"], 504, 0, 0);
  99275. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 164);
  99276. _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 262);
  99277. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 263);
  99278. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 264);
  99279. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 118);
  99280. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  99281. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  99282. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  99283. return {color: null};
  99284. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 113, 0, 0);
  99285. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 93);
  99286. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 93);
  99287. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 93);
  99288. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 93);
  99289. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 179);
  99290. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 179);
  99291. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  99292. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  99293. }], 573, 0);
  99294. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  99295. return A._collect($event, soFar, type$.dynamic);
  99296. }], 574, 0);
  99297. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99298. _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"], 304, 0, 0);
  99299. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 195);
  99300. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 217);
  99301. _static_1(A, "color2___opacify$closure", "_opacify0", 25);
  99302. _static_1(A, "color2___transparentize$closure", "_transparentize0", 25);
  99303. _static(A, "compile__compile$closure", 1, function() {
  99304. return [null];
  99305. }, ["call$2", "call$1"], ["compile0", function(path) {
  99306. return A.compile0(path, null);
  99307. }], 575, 0);
  99308. _static(A, "compile__compileString$closure", 1, function() {
  99309. return [null];
  99310. }, ["call$2", "call$1"], ["compileString0", function(text) {
  99311. return A.compileString0(text, null);
  99312. }], 576, 0);
  99313. _static(A, "compile__compileAsync$closure", 1, function() {
  99314. return [null];
  99315. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  99316. return A.compileAsync1(path, null);
  99317. }], 577, 0);
  99318. _static(A, "compile__compileStringAsync$closure", 1, function() {
  99319. return [null];
  99320. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  99321. return A.compileStringAsync1(text, null);
  99322. }], 578, 0);
  99323. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 579);
  99324. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 255);
  99325. _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"], 390, 0, 0);
  99326. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 195);
  99327. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 255);
  99328. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 13);
  99329. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 580);
  99330. _static_2(A, "legacy__render$closure", "render", 581);
  99331. _static_1(A, "legacy__renderSync$closure", "renderSync", 582);
  99332. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99333. _instance_1_u(_ = A.SelectorList0.prototype, "get$_list2$_complexContainsParentSelector", "_list2$_complexContainsParentSelector$1", 16);
  99334. _instance_1_u(_, "get$isSuperselector", "isSuperselector$1", 61);
  99335. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99336. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  99337. return {color: null};
  99338. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 113, 0, 0);
  99339. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 27);
  99340. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  99341. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  99342. _instance_0_u(_, "get$string", "string$0", 32);
  99343. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99344. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99345. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99346. _static_1(A, "sass__main$closure", "main0", 583);
  99347. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  99348. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99349. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99350. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  99351. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 501);
  99352. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 118);
  99353. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99354. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 27);
  99355. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  99356. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  99357. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 516, 0, 0);
  99358. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
  99359. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
  99360. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99361. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  99362. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  99363. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 584);
  99364. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 585);
  99365. _static_1(A, "utils0__isPublic$closure", "isPublic0", 8);
  99366. _static(A, "path__absolute$closure", 1, function() {
  99367. return [null, null, null, null, null, null];
  99368. }, ["call$7", "call$1", "call$2", "call$3", "call$4", "call$6", "call$5"], ["absolute", function(part1) {
  99369. return A.absolute(part1, null, null, null, null, null, null);
  99370. }, function(part1, part2) {
  99371. return A.absolute(part1, part2, null, null, null, null, null);
  99372. }, function(part1, part2, part3) {
  99373. return A.absolute(part1, part2, part3, null, null, null, null);
  99374. }, function(part1, part2, part3, part4) {
  99375. return A.absolute(part1, part2, part3, part4, null, null, null);
  99376. }, function(part1, part2, part3, part4, part5, part6) {
  99377. return A.absolute(part1, part2, part3, part4, part5, part6, null);
  99378. }, function(part1, part2, part3, part4, part5) {
  99379. return A.absolute(part1, part2, part3, part4, part5, null, null);
  99380. }], 586, 0);
  99381. _static_1(A, "path__prettyUri$closure", "prettyUri", 88);
  99382. _static_1(A, "character__isWhitespace$closure", "isWhitespace", 33);
  99383. _static_1(A, "character__isNewline$closure", "isNewline", 33);
  99384. _static_1(A, "character__isHex$closure", "isHex", 33);
  99385. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 42);
  99386. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 42);
  99387. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 42);
  99388. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 42);
  99389. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 57);
  99390. _static_1(A, "character0__isWhitespace$closure", "isWhitespace0", 33);
  99391. _static_1(A, "character0__isNewline$closure", "isNewline0", 33);
  99392. _static_1(A, "character0__isHex$closure", "isHex0", 33);
  99393. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 42);
  99394. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 42);
  99395. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 42);
  99396. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 42);
  99397. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 439);
  99398. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 57);
  99399. _static_1(A, "value0__wrapValue$closure", "wrapValue", 392);
  99400. })();
  99401. (function inheritance() {
  99402. var _mixin = hunkHelpers.mixin,
  99403. _inherit = hunkHelpers.inherit,
  99404. _inheritMany = hunkHelpers.inheritMany;
  99405. _inherit(A.Object, null);
  99406. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapMixin, A.Error, A._ListBase_Object_ListMixin, A.SentinelValue, A.ListIterator, A.Iterator, A.ExpandIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A._Required, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._IterationMarker, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A.StreamTransformerBase, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._AddStreamState, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.__SetBase_Object_SetMixin, A._LinkedHashSetCell, A._LinkedHashSetIterator, A.ListMixin, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.SetMixin, A._UnmodifiableSetMixin, A.Codec, A._Base64Encoder, A.ChunkedConversionSink, A._JsonStringifier, A.StringConversionSinkMixin, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.RuneIterator, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.Expando, A._JSRandom, A.ArgParser, A.ArgResults, A.Option, A.OptionType, A.Parser0, A._Usage, A.ErrorResult, A.ValueResult, A.StreamCompleter, A.StreamGroup, A._StreamGroupState, A.StreamQueue, A._NextRequest, A.Repl, A.ReplAdapter, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._MapEntry, A.MapEquality, A._QueueList_Object_ListMixin, A._DelegatingIterableBase, A.UnmodifiableSetMixin, A.Context, A._PathDirection, A._PathRelation, A.Style, A.ParsedPath, A.PathException, A.CssMediaQuery, A._SingletonCssMediaQueryMergeResult, A.MediaQuerySuccessfulMergeResult, A.AstNode, A.ModifiableCssValue, 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.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.FileSystemException, A.Stderr, A._QuietLogger, A.StderrLogger, A.TerseLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, 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.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor, 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.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.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A._ArgumentResults1, A._LoadedStylesheet1, A.EveryCssVisitor0, A.SassScriptException0, 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.ListExpression0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A._SingletonCssMediaQueryMergeResult0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.FileSystemException0, A.Stderr0, A.NodeToDartLogger, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ImporterResult0, A.ReturnRule0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.SelectorExpression0, A._SerializeVisitor0, A.SerializeResult0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StatementSearchVisitor0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.SupportsExpression0, A.TerseLogger0, A.UnaryOperationExpression0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.ModifiableCssValue0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
  99407. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JSArray, J.JSNumber, J.JSString, A.NativeTypedData]);
  99408. _inherit(J.LegacyJavaScriptObject, J.JavaScriptObject);
  99409. _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]);
  99410. _inherit(J.JSUnmodifiableArray, J.JSArray);
  99411. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  99412. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._ConstantMapKeyIterable, A.IterableBase, A._StringAllMatchesIterable, A.Runes]);
  99413. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  99414. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  99415. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  99416. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.ConstantStringMap_values_closure, A.GeneralConstantMap__typeTest_closure, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__chainForeignFuture_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A.Stream_Stream$fromFuture_closure, A.Stream_length_closure, A._CustomZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallback_closure, A._HashMap_values_closure, A._LinkedCustomHashMap_closure, A.MapMixin_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A._convertDataTree__convert, A.ArgParser__addOption_closure, A._Usage__writeOption_closure, A._Usage__buildAllowedList_closure, A.StreamGroup__onListen_closure, A.StreamGroup__onCancel_closure, A.StreamQueue__ensureListening_closure, A.alwaysValid_closure, A.ReplAdapter_runAsync__closure, A.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.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__complexContainsParentSelector_closure, A.SelectorList__complexContainsParentSelector__closure, 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.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._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_closure, A.module_closure0, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module__closure, A.module_closure7, 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._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._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.TerseLogger_summarize_closure, A.TerseLogger_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__closure0, 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_closure9, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitStyleRule_closure14, 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_closure2, 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__performInterpolation_closure0, 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_closure1, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitStyleRule_closure6, 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_closure0, 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__performInterpolation_closure, 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.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__closure2, 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_closure25, A._EvaluateVisitor_visitStyleRule_closure29, A._EvaluateVisitor_visitStyleRule_closure30, 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_closure6, 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__performInterpolation_closure2, 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_closure8, A.module_closure9, A.module_closure10, A.module_closure11, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module__closure0, A.module_closure16, 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.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__closure1, 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_closure17, A._EvaluateVisitor_visitStyleRule_closure21, A._EvaluateVisitor_visitStyleRule_closure22, 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_closure4, 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__performInterpolation_closure1, 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._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._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__closure0, A.SelectorList__complexContainsParentSelector_closure0, A.SelectorList__complexContainsParentSelector__closure0, 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._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.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._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.TerseLogger_summarize_closure1, A.TerseLogger_summarize_closure2, 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]);
  99417. _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.Primitives_functionNoSuchMethod_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A.Future_wait_handleError, A._Future__chainForeignFuture_closure0, A.Stream_Stream$fromFuture_closure0, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A.MapMixin_addAll_closure, A._JsonStringifier_writeMap_closure, A.NoSuchMethodError_toString_closure, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, A.Parser_parse_closure, A.StreamQueue__ensureListening_closure1, A.futureToPromise_closure, A.PathMap__create_closure, A.IfRule_toString_closure, A.ComplexSelector_specificity_closure, A.CompoundSelector_specificity_closure, A.ExtensionStore_addExtensions_closure, A.ExtensionStore_addExtensions__closure1, A.ExtensionStore_clone_closure, A._weaveParents_closure, A.paths_closure, A._updateComponents_updateRgb, A._deepMergeImpl_closure, A._nest__closure0, A._append__closure0, A.StylesheetParser__declarationOrBuffer_closure, A.StylesheetParser__declarationOrBuffer_closure0, A.StylesheetParser__styleRule_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure, A.StylesheetParser__propertyOrVariableDeclaration_closure0, A.StylesheetParser__atRootRule_closure, A.StylesheetParser__atRootRule_closure0, A.StylesheetParser__eachRule_closure, A.StylesheetParser__functionRule_closure, A.StylesheetParser__forRule_closure0, A.StylesheetParser__includeRule_closure, A.StylesheetParser_mediaRule_closure, A.StylesheetParser__mixinRule_closure, A.StylesheetParser_mozDocumentRule_closure, A.StylesheetParser_supportsRule_closure, A.StylesheetParser__whileRule_closure, A.StylesheetParser_unknownAtRule_closure, A.StylesheetGraph__recanonicalizeImportsForNode_closure, A.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassMap_asList_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure2, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__evaluateArguments_closure1, A._EvaluateVisitor__evaluateMacroArguments_closure1, A._EvaluateVisitor__addRestMap_closure, A.SingleMapping_toJson_closure0, A.Highlighter__collateLines_closure0, A.Frame_Frame$parseV8_closure_parseLocation, A.TransformByHandlers_transformByHandlers__closure1, A.RateLimit__debounceAggregate_closure, A._EvaluateVisitor__closure8, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A._updateComponents_updateRgb0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A.colorClass__closure, A.colorClass__closure0, A._parseFunctions_closure0, A.ComplexSelector_specificity_closure0, A.CompoundSelector_specificity_closure0, A._EvaluateVisitor__closure5, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_addExtensions_closure1, A.ExtensionStore_addExtensions__closure4, A.ExtensionStore_clone_closure0, A._weaveParents_closure3, A.paths_closure0, A.IfRule_toString_closure0, A.render_closure1, A._parseFunctions_closure, A.legacyListClass_closure0, A.legacyListClass_closure3, A.listClass__closure0, A._deepMergeImpl_closure0, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.mapClass__closure1, A.SassMap_asList_closure0, A.main_closure0, A.main_closure1, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.numberClass__closure10, A.numberClass__closure11, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, A.main_printError, A._nest__closure2, A._append__closure2, A.legacyStringClass_closure1, A.StylesheetParser__declarationOrBuffer_closure1, A.StylesheetParser__declarationOrBuffer_closure2, A.StylesheetParser__styleRule_closure0, A.StylesheetParser__propertyOrVariableDeclaration_closure1, A.StylesheetParser__propertyOrVariableDeclaration_closure2, A.StylesheetParser__atRootRule_closure1, A.StylesheetParser__atRootRule_closure2, A.StylesheetParser__eachRule_closure0, A.StylesheetParser__functionRule_closure0, A.StylesheetParser__forRule_closure2, A.StylesheetParser__includeRule_closure0, A.StylesheetParser_mediaRule_closure0, A.StylesheetParser__mixinRule_closure0, A.StylesheetParser_mozDocumentRule_closure0, A.StylesheetParser_supportsRule_closure0, A.StylesheetParser__whileRule_closure0, A.StylesheetParser_unknownAtRule_closure0, A.futureToPromise_closure0, A.futureToPromise__closure1, A.objectToMap_closure, A.longestCommonSubsequence_backtrack0, A.mapAddAll2_closure0, A.valueClass__closure6, A.valueClass__closure14]);
  99418. _inherit(A.CastList, A._CastListBase);
  99419. _inherit(A.MapBase, A.MapMixin);
  99420. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
  99421. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.NullThrownError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.CyclicInitializationError]);
  99422. _inherit(A.ListBase, A._ListBase_Object_ListMixin);
  99423. _inherit(A.UnmodifiableListBase, A.ListBase);
  99424. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  99425. _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.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.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__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure4, A._EvaluateVisitor_visitExtendRule_closure0, 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__visitMediaQueries_closure0, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule_closure12, 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_closure1, 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_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure1, A._EvaluateVisitor_visitExtendRule_closure, 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__visitMediaQueries_closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitStyleRule_closure4, 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__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__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure8, A._EvaluateVisitor_visitAtRootRule_closure9, A._EvaluateVisitor_visitAtRootRule_closure10, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure6, A._EvaluateVisitor_visitEachRule_closure10, A._EvaluateVisitor_visitExtendRule_closure2, 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__visitMediaQueries_closure2, A._EvaluateVisitor_visitStyleRule_closure23, A._EvaluateVisitor_visitStyleRule_closure24, A._EvaluateVisitor_visitStyleRule_closure26, A._EvaluateVisitor_visitStyleRule_closure27, A._EvaluateVisitor_visitStyleRule_closure28, 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_closure5, 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__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor_visitAtRootRule_closure7, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure4, A._EvaluateVisitor_visitEachRule_closure7, A._EvaluateVisitor_visitExtendRule_closure1, 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__visitMediaQueries_closure1, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitStyleRule_closure19, A._EvaluateVisitor_visitStyleRule_closure20, 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_closure3, 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.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]);
  99426. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  99427. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
  99428. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  99429. _inheritMany(A.Iterator, [A.MappedIterator, A.WhereIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator]);
  99430. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  99431. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  99432. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  99433. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  99434. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  99435. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  99436. _inheritMany(A.ConstantMap, [A.ConstantStringMap, A.GeneralConstantMap]);
  99437. _inherit(A.Instantiation1, A.Instantiation);
  99438. _inherit(A.NullError, A.TypeError);
  99439. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  99440. _inheritMany(A.IterableBase, [A._AllMatchesIterable, A._SyncStarIterable, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  99441. _inherit(A.NativeTypedArray, A.NativeTypedData);
  99442. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  99443. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  99444. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  99445. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  99446. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  99447. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  99448. _inherit(A._TypeError, A._Error);
  99449. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  99450. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  99451. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  99452. _inherit(A._ControllerStream, A._StreamImpl);
  99453. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  99454. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  99455. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  99456. _inherit(A._ExpandStream, A._ForwardingStream);
  99457. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  99458. _inherit(A._IdentityHashMap, A._HashMap);
  99459. _inheritMany(A.JsLinkedHashMap, [A._LinkedIdentityHashMap, A._LinkedCustomHashMap]);
  99460. _inherit(A._SetBase, A.__SetBase_Object_SetMixin);
  99461. _inheritMany(A._SetBase, [A._LinkedHashSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin]);
  99462. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  99463. _inherit(A._UnmodifiableSet, A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin);
  99464. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  99465. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  99466. _inherit(A.Converter, A.StreamTransformerBase);
  99467. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
  99468. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  99469. _inherit(A.ByteConversionSink, A.ChunkedConversionSink);
  99470. _inheritMany(A.ByteConversionSink, [A.ByteConversionSinkBase, A._Utf8StringSinkAdapter]);
  99471. _inherit(A._Base64EncoderSink, A.ByteConversionSinkBase);
  99472. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  99473. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  99474. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  99475. _inherit(A.StringConversionSinkBase, A.StringConversionSinkMixin);
  99476. _inherit(A._StringSinkConversionSink, A.StringConversionSinkBase);
  99477. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  99478. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  99479. _inherit(A._DataUri, A._Uri);
  99480. _inherit(A.ArgParserException, A.FormatException);
  99481. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  99482. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  99483. _inherit(A._CastQueueList, A.QueueList);
  99484. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  99485. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  99486. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  99487. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  99488. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  99489. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  99490. _inherit(A.InternalStyle, A.Style);
  99491. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  99492. _inherit(A.CssNode, A.AstNode);
  99493. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  99494. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  99495. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  99496. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  99497. _inherit(A.CssStylesheet, A.CssParentNode);
  99498. _inheritMany(A._Enum, [A.BinaryOperator, A.UnaryOperator, A.AttributeOperator, A.Combinator, A.ExtendMode, A.Syntax, A.CalculationOperator, A.ListSeparator, A.OutputStyle, A.LineFeed, A.AttributeOperator0, A.BinaryOperator0, A.CalculationOperator0, A.Combinator0, A.ListSeparator0, A.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  99499. _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]);
  99500. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  99501. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  99502. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  99503. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  99504. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  99505. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  99506. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  99507. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  99508. _inherit(A.ExplicitConfiguration, A.Configuration);
  99509. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.SassException0]);
  99510. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  99511. _inherit(A.MultiSpanSassRuntimeException, A.MultiSpanSassException);
  99512. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  99513. _inherit(A.MergedExtension, A.Extension);
  99514. _inherit(A.Importer, A.AsyncImporter);
  99515. _inherit(A.FilesystemImporter, A.Importer);
  99516. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  99517. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  99518. _inherit(A.CssParser, A.ScssParser);
  99519. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  99520. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A._SassNull, A.SassNumber, A.SassString]);
  99521. _inherit(A.SassArgumentList, A.SassList);
  99522. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  99523. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  99524. _inherit(A.SingleMapping, A.Mapping);
  99525. _inherit(A.FileLocation, A.SourceLocationMixin);
  99526. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  99527. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  99528. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  99529. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  99530. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A._SassNull0, A.SassString0]);
  99531. _inherit(A.SassArgumentList0, A.SassList0);
  99532. _inheritMany(A.AsyncImporter0, [A.NodeToDartAsyncImporter, A.NodeToDartAsyncFileImporter, A.Importer0]);
  99533. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  99534. _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]);
  99535. _inherit(A.CssNode0, A.AstNode0);
  99536. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  99537. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  99538. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  99539. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  99540. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  99541. _inherit(A.CompileStringOptions, A.CompileOptions);
  99542. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  99543. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  99544. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  99545. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  99546. _inherit(A.CssParser0, A.ScssParser0);
  99547. _inherit(A._NodeException, A.JsError);
  99548. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  99549. _inherit(A.MultiSpanSassRuntimeException0, A.MultiSpanSassException0);
  99550. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  99551. _inheritMany(A.Importer0, [A.NodeToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter, A.NodeToDartImporter]);
  99552. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  99553. _inherit(A.MergedExtension0, A.Extension0);
  99554. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  99555. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  99556. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  99557. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  99558. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  99559. _inherit(A.CssStylesheet0, A.CssParentNode0);
  99560. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  99561. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListMixin);
  99562. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListMixin);
  99563. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  99564. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin);
  99565. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  99566. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  99567. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  99568. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  99569. _mixin(A._ListBase_Object_ListMixin, A.ListMixin);
  99570. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  99571. _mixin(A.__SetBase_Object_SetMixin, A.SetMixin);
  99572. _mixin(A.__UnmodifiableSet__SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  99573. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  99574. _mixin(A._QueueList_Object_ListMixin, A.ListMixin);
  99575. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  99576. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  99577. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  99578. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  99579. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  99580. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  99581. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  99582. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  99583. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  99584. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  99585. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  99586. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  99587. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  99588. })();
  99589. var init = {
  99590. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  99591. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
  99592. mangledNames: {},
  99593. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(CssNode)", "bool(CssNode0)", "bool(String)", "bool(Object?)", "SassNumber0(List<Value0>)", "SassNumber(List<Value>)", "int()", "bool(SimpleSelector0)", "bool(SimpleSelector)", "bool(ComplexSelector)", "bool(ComplexSelector0)", "SassString0(List<Value0>)", "SassString(List<Value>)", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "SassColor(List<Value>)", "JSClass0()", "SassColor0(List<Value0>)", "bool()", "~(Object?)", "Null(~())", "Future<Null>(Future<~>())", "FileSpan()", "double(double)", "String()", "bool(int?)", "Value0?()", "Value()", "Value(Value)", "SassMap(List<Value>)", "Future<~>()", "Value?()", "SassMap0(List<Value0>)", "Value0(Value0)", "bool(num,num)", "String?()", "String(Object)", "bool(Value0)", "bool(ComplexSelectorComponent0)", "SelectorList()", "List<String>()", "SelectorList0()", "bool(ComplexSelectorComponent)", "Value0()", "double(SassColor0)", "bool(int)", "ValueExpression0(Value0)", "~(Value,Value)", "~(Value0,Value0)", "double(double,double)", "ValueExpression(Value)", "~(Value)", "~(Value0)", "bool(SelectorList0)", "~(Module0<Callable0>)", "bool(Value)", "Null(@)", "bool(SelectorList)", "Null(Object,StackTrace)", "ComplexSelector(ComplexSelector)", "ComplexSelector0(ComplexSelector0)", "Future<Value0>()", "~(Module<Callable>)", "Future<Value?>()", "Future<Value>()", "Future<Value0?>()", "~(Object,StackTrace)", "Frame()", "@(@)", "Future<Value?>(Statement)", "~(String,Value)", "SassRuntimeException(AstNode)", "Future<String>(Object?)", "Uri(Uri)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Declaration(List<Statement>,FileSpan)", "Value?(Statement)", "Object()", "~(String,Value0)", "Null(_NodeSassColor,num)", "String(@)", "@()", "Null([Object?])", "Stylesheet?()", "Future<Value0>(List<Value0>)", "Frame(String)", "double(Value)", "double(Value0)", "int(Uri)", "Value0?(Statement0)", "SassRuntimeException0(AstNode0)", "Future<Value0?>(Statement0)", "Declaration0(List<Statement0>,FileSpan)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Tuple3<Importer,Uri,Uri>?()", "List<CssMediaQuery>()", "bool(_Highlight)", "Null(Module0<AsyncCallable0>)", "Callable?()", "List<CssMediaQuery0>()", "bool(ModifiableCssNode0)", "Null(Module<AsyncCallable>)", "AsyncCallable?()", "String(Expression0)", "bool(Object)", "String(String{color:@})", "Statement()", "AsyncCallable0?()", "AtRootQuery()", "bool(Module0<AsyncCallable0>)", "~(Object)", "~(String)", "Map<ComplexSelector,Extension>()", "Iterable<String>(Module0<AsyncCallable0>)", "int(_NodeSassColor)", "bool(Module<Callable>)", "int(SassColor0)", "Iterable<String>(Module<Callable>)", "~(String,Object?)", "AtRootQuery0()", "bool(Module0<Callable0>)", "Callable0?()", "bool(Module<AsyncCallable>)", "Iterable<String>(Module<AsyncCallable>)", "Map<ComplexSelector0,Extension0>()", "String(Expression)", "bool(ModifiableCssNode)", "bool(@)", "Statement0()", "~(@)", "int(Object?)", "~(~())", "Iterable<String>(Module0<Callable0>)", "double(SassNumber0,SassNumber0[String?,String?])", "Uri?/()", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "Uri(String)", "~(Object[StackTrace?])", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "~(String[~])", "bool(Statement)", "int(int)", "bool(Import)", "VariableDeclaration()", "AtRootRule(List<Statement>,FileSpan)", "AtRule(List<Statement>,FileSpan)", "Set<0^>()<Object?>", "Entry(Entry)", "int(double)", "~(@,@)", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "~(Module<AsyncCallable>)", "~(Object?,Object?)", "List<ExtensionStore>()", "int(ComplexSelector)", "bool(ModifiableCssParentNode)", "AsyncCallable?(Module<AsyncCallable>)", "Future<SassNumber>()", "MapKeySet<Module<AsyncCallable>>(Map<Module<AsyncCallable>,AstNode>)", "bool(UseRule)", "bool(ForwardRule)", "Map<String,AsyncCallable>(Module<AsyncCallable>)", "Future<Object>()", "Future<Tuple3<AsyncImporter,Uri,Uri>?>()", "Trace(String)", "AstNode?()", "String(SassNumber)", "Frame(Tuple2<String,AstNode>)", "SassNumber()", "Future<Value>(List<Value>)", "int(Frame)", "String(Frame)", "Trace()", "bool(Frame)", "Callable?(Module<Callable>)", "bool(String?)", "MapKeySet<Module<Callable>>(Map<Module<Callable>,AstNode>)", "AsyncCallable0?(Module0<AsyncCallable0>)", "MapKeySet<Module0<AsyncCallable0>>(Map<Module0<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module0<AsyncCallable0>)", "AstNode0(AstNode0)", "SassFunction0(List<Value0>)", "Map<String,Callable>(Module<Callable>)", "~(Module0<AsyncCallable0>)", "List<ExtensionStore0>()", "~(Uint8List,String,int)", "bool(ModifiableCssParentNode0)", "~(Iterable<ExtensionStore>)", "Future<SassNumber0>()", "bool(UseRule0)", "bool(ForwardRule0)", "List<Extension>()", "AstNode0?()", "String(SassNumber0)", "Frame(Tuple2<String,AstNode0>)", "Future<Tuple3<AsyncImporter0,Uri,Uri>?>()", "0&(@[@])", "String(Value0)", "bool(Queue<Object?>)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "~([Object?])", "Object(Object)", "Callable0?(Module0<Callable0>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode0>)", "Map<String,Callable0>(Module0<Callable0>)", "~(String,@)", "String(int)", "Value0?(Value0)", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "SassNumber0()", "String(_NodeException)", "Future<~>?()", "List<Extension0>()", "double(double,double?,num)", "int(int,double?)", "bool(Statement0)", "bool(Import0)", "Tuple3<Importer0,Uri,Uri>?()", "Value0(int)", "@(Value0,num)", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "double(SassNumber0,Object,Object[String?])", "int(ComplexSelector0)", "~(String,Function)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "bool(Object?,Object?)", "~(Iterable<ExtensionStore0>)", "SassArgumentList0(Object,Object,Object[String?])", "CssValue<String>(Interpolation)", "UseRule()", "UserDefinedCallable<Environment>(ContentBlock)", "String(Combinator)", "Value(Expression)", "~(ContentBlock)", "~(List<Statement>)", "~(CssMediaQuery)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "~(String,int?)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "int(int,SimpleSelector)", "String(Trace)", "StyleRule(List<Statement>,FileSpan)", "String(MapEntry<String,ConfiguredValue>)", "Frame(String,String)", "int(String?)", "EachRule(List<Statement>,FileSpan)", "Frame(Frame)", "int(int,int)", "Value?(Module<Callable>)", "Module<Callable>?(Module<Callable>)", "String(Argument0)", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "ImmutableMap(SassArgumentList0)", "ContentBlock(List<Statement>,FileSpan)", "WhileRule(List<Statement>,FileSpan)", "Value0?(Module0<AsyncCallable0>)", "Module0<AsyncCallable0>?(Module0<AsyncCallable0>)", "MediaRule(List<Statement>,FileSpan)", "MixinRule(List<Statement>,FileSpan)", "FileSpan?(MapEntry<Module0<AsyncCallable0>,AstNode0>)", "Map<String,Value0>(Module0<AsyncCallable0>)", "Map<String,AstNode0>(Module0<AsyncCallable0>)", "Expression(Expression)", "FileSpan?(MapEntry<Module<Callable>,AstNode>)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "SupportsRule(List<Statement>,FileSpan)", "Map<String,Value>(Module<Callable>)", "Map<String,AstNode>(Module<Callable>)", "Null(@,StackTrace)", "~(Expression)", "Future<~>(List<Value0>)", "@(String)", "~(BinaryOperator)", "Future<EvaluateResult0>()", "Uint8List(@,@)", "Module0<AsyncCallable0>(Module0<AsyncCallable0>)", "SassNumber(Value)", "StringExpression(Interpolation)", "DateTime(StylesheetNode)", "Future<CssValue0<Value0>>(Expression0)", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "Future<Value0?>(Value0)", "~(Uri,StylesheetNode?)", "bool(Extension)", "Future<CssValue0<String>>(Interpolation0)", "Set<ModifiableCssValue<SelectorList>>()", "SassList(ComplexSelector)", "Object?(Object?)", "String(Tuple2<Expression,Expression>)", "Iterable<ComplexSelector>(ComplexSelector)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "Future<@>()", "~(SimpleSelector,Map<ComplexSelector,Extension>)", "~(ComplexSelector,Extension)", "Null(Map<SimpleSelector,Map<ComplexSelector,Extension>>)", "Map<SimpleSelector,Map<ComplexSelector,Extension>>?(List<Extension>)", "~(Set<ModifiableCssValue<SelectorList>>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "Future<Value0>(Expression0)", "List<SimpleSelector>(Extender)", "List<Extender>?(SimpleSelector)", "List<Extender>(PseudoSelector)", "SassScriptException()", "Value(Object)", "SassMap(Value)", "SingleUnitSassNumber(double)", "Future<Stylesheet0?>()", "bool(Tuple3<AsyncImporter0,Uri,Uri>)", "Uri(Tuple3<AsyncImporter0,Uri,Uri>)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "0&(Object[Object?])", "List<List<Extender>>(List<Extender>)", "Expression0(Expression0)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "~(SimpleSelector,Set<ModifiableCssValue<SelectorList>>)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "bool(Queue<List<ComplexSelectorComponent>>)", "SassMap(SassMap)", "0&(List<Value0>)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "SassString(SimpleSelector)", "double(_NodeSassColor)", "bool(List<Iterable<ComplexSelectorComponent>>)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "bool(PseudoSelector)", "SelectorList?(PseudoSelector)", "SimpleSelector(SimpleSelector)", "Future<~>(List<Value>)", "AsyncImporter0(NodeImporter0)", "0&(@)", "@(@,String)", "int(int,ComplexSelectorComponent0)", "String(Combinator0)", "int(int,SimpleSelector0)", "String(MapEntry<String,ConfiguredValue0>)", "String(BuiltInCallable0)", "Future<EvaluateResult>()", "~(String,Option)", "Value0?(Module0<Callable0>)", "Module0<Callable0>?(Module0<Callable0>)", "String(int,IfClause)", "Module<AsyncCallable>(Module<AsyncCallable>)", "FileSpan?(MapEntry<Module0<Callable0>,AstNode0>)", "Map<String,Value0>(Module0<Callable0>)", "Map<String,AstNode0>(Module0<Callable0>)", "bool(String?,String?)", "String(Argument)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "_Future<@>(@)", "Object(Value0)", "bool(Tuple3<Importer,Uri,Uri>)", "EvaluateResult0()", "Module0<Callable0>(Module0<Callable0>)", "CssValue0<Value0>(Expression0)", "Future<CssValue<Value>>(Expression)", "~(int,@)", "CssValue0<String>(Interpolation0)", "Value?(Module<AsyncCallable>)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "Future<Value?>(Value)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableCssValue0<SelectorList0>>()", "Module<AsyncCallable>?(Module<AsyncCallable>)", "Future<CssValue<String>>(Interpolation)", "~(SimpleSelector0,Map<ComplexSelector0,Extension0>)", "~(ComplexSelector0,Extension0)", "Null(Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>)", "Map<SimpleSelector0,Map<ComplexSelector0,Extension0>>?(List<Extension0>)", "~(Set<ModifiableCssValue0<SelectorList0>>)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "String(BuiltInCallable)", "List<SimpleSelector0>(Extender0)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableCssValue0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "bool(Queue<List<ComplexSelectorComponent0>>)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "~([Future<~>?])", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "~(@,StackTrace)", "CompoundSelector()", "~(Object?,Object,Object?)", "Tuple2<String,String>(String)", "Statement({root:bool})", "Stylesheet0?()", "bool(Tuple3<Importer0,Uri,Uri>)", "Uri(Tuple3<Importer0,Uri,Uri>)", "int(num)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "String(Value)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "Null(_NodeSassList,int?[bool?,SassList0?])", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassList0(Object[Object?,_ConstructorOptions?])", "FileSpan?(MapEntry<Module<AsyncCallable>,AstNode>)", "String(Tuple2<Expression0,Expression0>)", "SassMap0(Value0)", "SassMap0(SassMap0)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "Map<String,Value>(Module<AsyncCallable>)", "int(_NodeSassMap)", "Map<String,AstNode>(Module<AsyncCallable>)", "SassMap0(Object[ImmutableMap?])", "ImmutableMap(SassMap0)", "@(SassMap0,Object)", "SassNumber0(Value0)", "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)", "int(int,ComplexSelectorComponent)", "int?(SassNumber0)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "Future<Value>(Expression)", "~(Symbol0,@)", "Stylesheet()", "Statement?()", "~(List<Value0>)", "SassScriptException0()", "VariableDeclaration(VariableDeclaration)", "String(Object,@,@[@])", "ArgumentDeclaration()", "~(String,StackTrace?)", "Future<Stylesheet?>()", "Uri(Tuple3<Importer,Uri,Uri>)", "SassString0(SimpleSelector0)", "CompoundSelector0()", "~(CssMediaQuery0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "JSUrl0?(FileSpan)", "bool(Tuple3<AsyncImporter,Uri,Uri>)", "~(List<Value>)", "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})", "0&(List<Value>)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "Tuple2<String,ArgumentDeclaration0>()", "VariableDeclaration0()", "Null(@,@)", "StyleRule0(List<Statement0>,FileSpan)", "Uri(Tuple3<AsyncImporter,Uri,Uri>)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "EvaluateResult()", "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?])", "Module<Callable>(Module<Callable>)", "List<Value>(Value)", "bool(List<Value>)", "~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)", "0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?Object?>", "0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?Object?Object?>", "0^()(Zone,ZoneDelegate,Zone,0^())<Object?>", "0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?Object?>", "0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?Object?Object?>", "AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)", "~(Zone?,ZoneDelegate?,Zone,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~())", "Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))", "~(Zone,ZoneDelegate,Zone,String)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)", "CssValue<Value>(Expression)", "0^(0^,0^)<num>", "Value?(Value)", "Null(Function,Function)", "~(String,int)", "~(Object,StackTrace,EventSink<0^>)<Object?>", "List<0^>(0^,List<0^>?)<Object?>", "NodeCompileResult(String[CompileOptions?])", "NodeCompileResult(String[CompileStringOptions?])", "Promise(String[CompileOptions?])", "Promise(String[CompileStringOptions?])", "Importer0(Object?)", "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?)", "Null(RenderResult)", "ArgParser()"],
  99594. interceptorsByTag: null,
  99595. leafTags: null,
  99596. arrayRti: Symbol("$ti")
  99597. };
  99598. A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module1":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporter0":"LegacyJavaScriptObject","CanonicalizeOptions":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","NodeImporterResult1":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","NodeLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","NativeFloat32List":"NativeTypedArrayOfDouble","JSBool":{"bool":[]},"JSNull":{"Null":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"_NodeSassColor":[],"_Channels":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList":[],"ImmutableMap":[],"NodeImporter0":[],"NodeImporterResult0":[],"NodeImporterResult1":[],"_NodeSassList":[],"_ConstructorOptions":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_NodeSassNumber":[],"_ConstructorOptions0":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_NodeSassString":[],"_ConstructorOptions1":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"]},"JSString":{"String":[],"Comparable":["String"]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListMixin":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListMixin.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapMixin":["3","4"],"Map":["3","4"],"MapMixin.K":"3","MapMixin.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListIterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_ConstantMapKeyIterable":{"Iterable":["1"],"Iterable.E":"1"},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListMixin":["double"],"JavaScriptIndexingBehavior":["double"],"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"ListMixin.E":"double"},"NativeTypedArrayOfInt":{"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListMixin":["int"],"Uint8List":[],"JavaScriptIndexingBehavior":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_ExpandStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedIdentityHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1"},"IterableBase":{"Iterable":["1"]},"ListBase":{"ListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"MapMixin":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"ListIterable":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_SetBase":{"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_UnmodifiableSet":{"_SetBase":["1"],"SetMixin":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"NullThrownError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"CyclicInitializationError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListMixin":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListMixin.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListMixin":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListMixin.E":"2","QueueList.E":"2"},"UnmodifiableSetView":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"Map":["String?","1"]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"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":[]},"ModifiableCssValue":{"CssValue":["1"],"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":[]},"AttributeSelector":{"SimpleSelector":[]},"ClassSelector":{"SimpleSelector":[]},"IDSelector":{"SimpleSelector":[]},"ParentSelector":{"SimpleSelector":[]},"PlaceholderSelector":{"SimpleSelector":[]},"PseudoSelector":{"SimpleSelector":[]},"TypeSelector":{"SimpleSelector":[]},"UniversalSelector":{"SimpleSelector":[]},"_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":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module":["1"]},"ForwardedModuleView":{"Module":["1"]},"ShadowedModuleView":{"Module":["1"]},"LimitedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MergedMapView":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"UnprefixedMapView":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_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":[]},"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":[]},"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":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"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":[]},"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":[]},"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":[]},"LimitedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"CssMediaRule0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapMixin":["1","2"],"Map":["1","2"],"MapMixin.K":"1","MapMixin.V":"2"},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[]},"PlainCssCallable0":{"Callable0":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[]},"PublicMemberMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module0":["1"]},"SilentComment0":{"Statement0":[],"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":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[]},"UnprefixedMapView0":{"MapMixin":["String","1"],"Map":["String","1"],"MapMixin.K":"String","MapMixin.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable0":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssValue0":{"CssValue0":["1"],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Expression":{"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"Callable":{"AsyncCallable":[]},"Callable0":{"AsyncCallable0":[]},"Expression0":{"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
  99599. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"ArrayIterator":1,"ListIterator":1,"MappedIterator":2,"WhereIterator":1,"ExpandIterator":2,"TakeIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"StreamTransformerBase":2,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"IterableBase":1,"ListBase":1,"MapBase":2,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_ListBase_Object_ListMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"__SetBase_Object_SetMixin":1,"__UnmodifiableSet__SetBase__UnmodifiableSetMixin":1,"ChunkedConversionSink":1,"_StringSinkConversionSink":1,"Iterator":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
  99600. var string$ = {
  99601. x0a_BUG_: "\n\nBUG: This should include a source span!",
  99602. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  99603. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  99604. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  99605. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  99606. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  99607. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  99608. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  99609. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  99610. x20It_wi: " It will be omitted from the generated CSS.",
  99611. 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",
  99612. x20in_in: " in interpolation here.\nIt may end up represented as ",
  99613. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  99614. x20is_av: " is available from multiple global modules.",
  99615. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  99616. x20is_noa: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  99617. 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",
  99618. x20must_: " must not be greater than the number of characters in the file, ",
  99619. x20repet: " repetitive deprecation warnings omitted.",
  99620. 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",
  99621. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  99622. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  99623. x20was_n: " was not declared with !default in the @used module.",
  99624. x20was_p: " was passed both by position and by name.",
  99625. x21globa: "!global isn't allowed for variables in other modules.",
  99626. 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',
  99627. 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',
  99628. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  99629. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  99630. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  99631. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  99632. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  99633. x22packa: '"package:" URLs aren\'t supported on this platform.',
  99634. x24css_a: "$css and $module may not both be passed at once.",
  99635. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  99636. x24selec: "$selectors: At least one selector must be passed.",
  99637. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  99638. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  99639. x29x0a_Morx20: ")\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  99640. x29x0a_Morx3a: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  99641. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  99642. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  99643. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  99644. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  99645. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  99646. x2c_whic: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  99647. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.\n",
  99648. x3d_____: "===== asynchronous gap ===========================\n",
  99649. 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.",
  99650. x40conte: "@content is only allowed within mixin declarations.",
  99651. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  99652. x40exten: "@extend may only be used within style rules.",
  99653. x40forwa: "@forward rules must be written before any other rules.",
  99654. x40funct: "@function if($condition, $if-true, $if-false) {",
  99655. x40use_r: "@use rules must be written before any other rules.",
  99656. A_list: "A list with more than one element must have an explicit separator.",
  99657. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  99658. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  99659. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  99660. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  99661. 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.",
  99662. At_rul: "At-rules may not be used within nested declarations.",
  99663. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  99664. Cannotfq: "Cannot extract a file path from a URI with a query component",
  99665. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  99666. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  99667. Could_: 'Could not find an option with short name "-',
  99668. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  99669. Declarm: "Declarations may only be used within style rules.",
  99670. Declarwa: 'Declarations whose names begin with "--" may not be nested.',
  99671. Declarwu: 'Declarations whose names begin with "--" must have StringExpression values (was `',
  99672. Either: "Either options.data or options.file must be set.",
  99673. Entrie: "Entries may not be removed from MergedMapView.",
  99674. 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",
  99675. Evalua: "Evaluation handles @include and its content block together.",
  99676. Expand: "Expandos are not allowed on strings, numbers, booleans or null",
  99677. Expectn: "Expected number, variable, function, or calculation.",
  99678. Expectv: "Expected variable, mixin, or function name",
  99679. Functi: "Functions may not be declared in control directives.",
  99680. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  99681. If_con: "If conditions is longer than one element, conjunction may not be null.",
  99682. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  99683. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  99684. Indent: "Indenting at the beginning of the document is illegal.",
  99685. Interpn: "Interpolation isn't allowed in namespaces.",
  99686. Interpp: "Interpolation isn't allowed in plain CSS.",
  99687. Invali: 'Invalid return value for custom function "',
  99688. It_s_n: "It's not clear which file to import. Found:\n",
  99689. May_on: "May only contains Strings or Expressions.",
  99690. Media_: "Media rules may not be used within nested declarations.",
  99691. Mixinsb: "Mixins may not be declared in control directives.",
  99692. Mixinscf: "Mixins may not contain function declarations.",
  99693. Mixinscm: "Mixins may not contain mixin declarations.",
  99694. Modulel: "Module loop: this module is already being loaded.",
  99695. Modulen: "Module namespaces aren't allowed in plain CSS.",
  99696. Nested: "Nested declarations aren't allowed in plain CSS.",
  99697. New_en: "New entries may not be added to MergedMapView.",
  99698. No_Sasc: "No Sass callable is currently being evaluated.",
  99699. No_Sass: "No Sass stylesheet is currently being evaluated.",
  99700. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  99701. Only_2: "Only 2 slash-separated elements allowed, but ",
  99702. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  99703. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  99704. Other_: "Other modules' members can't be defined with !global.",
  99705. Passin: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  99706. Placeh: "Placeholder selectors aren't allowed here.",
  99707. Plain_: "Plain CSS functions don't support keyword arguments.",
  99708. Positi: "Positional arguments must come before keyword arguments.",
  99709. Privat: "Private members can't be accessed from outside their modules.",
  99710. RGB_pa: "RGB parameters may not be passed along with ",
  99711. Sass_v: "Sass variables aren't allowed in plain CSS.",
  99712. Silent: "Silent comments aren't allowed in plain CSS.",
  99713. Style_: "Style rules may not be used within nested declarations.",
  99714. Suppor: "Supports rules may not be used within nested declarations.",
  99715. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  99716. The_ca: "The canonicalize() method must return a URL.",
  99717. The_fie: "The findFileUrl() method must return a URL.",
  99718. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  99719. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  99720. The_lo: "The load() function must return an object with contents and syntax fields.",
  99721. The_pa: "The parent selector isn't allowed in plain CSS.",
  99722. The_sa: "The same variable may only be configured once.",
  99723. The_ta: 'The target selector was not found.\nUse "@extend ',
  99724. There_: "There's already a module with namespace \"",
  99725. This_d: 'This declaration has no argument named "$',
  99726. This_f: "This function isn't allowed in plain CSS.",
  99727. This_ma: 'This module and the new module both define a variable named "$',
  99728. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  99729. This_s: "This selector doesn't have any properties and won't be rendered.",
  99730. This_v: "This variable was not declared with !default in the @used module.",
  99731. Top_le: 'Top-level selectors may not contain the parent selector "&".',
  99732. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  99733. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  99734. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  99735. Variab_: "Variable keyword argument map must have string keys.\n",
  99736. Variabs: "Variable keyword arguments must be a map (was ",
  99737. You_ma: "You may not @extend selectors across media queries.",
  99738. You_pr: "You probably don't mean to use the color value ",
  99739. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  99740. addExt_: "addExtension() can't be called for a const ExtensionStore.",
  99741. addExts: "addExtensions() can't be called for a const ExtensionStore.",
  99742. addSel: "addSelector() can't be called for a const ExtensionStore.",
  99743. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  99744. conten: "content-exists() may only be called within a mixin.",
  99745. leadin: "leadingCombinators and components may not both be empty.",
  99746. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  99747. math_r: "math.random() will no longer ignore $limit units (",
  99748. must_b: "must be a UniversalSelector or a TypeSelector",
  99749. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  99750. semico: "semicolons aren't allowed in the indented syntax.",
  99751. throug: "through() must return false for at least one parent of "
  99752. };
  99753. var type$ = (function rtii() {
  99754. var findType = A.findType;
  99755. return {
  99756. $env_1_1_String: findType("@<String>"),
  99757. ArgParser: findType("ArgParser"),
  99758. Argument: findType("Argument"),
  99759. ArgumentDeclaration: findType("ArgumentDeclaration"),
  99760. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  99761. Argument_2: findType("Argument0"),
  99762. AstNode: findType("AstNode"),
  99763. AstNode_2: findType("AstNode0"),
  99764. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  99765. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  99766. AsyncCallable: findType("AsyncCallable"),
  99767. AsyncCallable_2: findType("AsyncCallable0"),
  99768. AsyncImporter: findType("AsyncImporter0"),
  99769. BuiltInCallable: findType("BuiltInCallable"),
  99770. BuiltInCallable_2: findType("BuiltInCallable0"),
  99771. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  99772. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  99773. BuiltInModule_Callable: findType("BuiltInModule<Callable>"),
  99774. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable0>"),
  99775. Callable: findType("Callable"),
  99776. Callable_2: findType("Callable0"),
  99777. ChangeType: findType("ChangeType"),
  99778. Combinator: findType("Combinator"),
  99779. Combinator_2: findType("Combinator0"),
  99780. Comparable_dynamic: findType("Comparable<@>"),
  99781. Comparable_nullable_Object: findType("Comparable<Object?>"),
  99782. CompileResult: findType("CompileResult"),
  99783. CompileResult_2: findType("CompileResult0"),
  99784. ComplexSelector: findType("ComplexSelector"),
  99785. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  99786. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  99787. ComplexSelector_2: findType("ComplexSelector0"),
  99788. Configuration: findType("Configuration"),
  99789. Configuration_2: findType("Configuration0"),
  99790. ConfiguredValue: findType("ConfiguredValue"),
  99791. ConfiguredValue_2: findType("ConfiguredValue0"),
  99792. ConfiguredVariable: findType("ConfiguredVariable"),
  99793. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  99794. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  99795. ConstantStringMap_String_Null: findType("ConstantStringMap<String,Null>"),
  99796. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  99797. CssAtRule: findType("CssAtRule"),
  99798. CssAtRule_2: findType("CssAtRule0"),
  99799. CssComment: findType("CssComment"),
  99800. CssComment_2: findType("CssComment0"),
  99801. CssImport: findType("CssImport"),
  99802. CssImport_2: findType("CssImport0"),
  99803. CssMediaQuery: findType("CssMediaQuery"),
  99804. CssMediaQuery_2: findType("CssMediaQuery0"),
  99805. CssMediaRule: findType("CssMediaRule"),
  99806. CssMediaRule_2: findType("CssMediaRule0"),
  99807. CssParentNode: findType("CssParentNode"),
  99808. CssParentNode_2: findType("CssParentNode0"),
  99809. CssStyleRule: findType("CssStyleRule"),
  99810. CssStyleRule_2: findType("CssStyleRule0"),
  99811. CssStylesheet: findType("CssStylesheet"),
  99812. CssStylesheet_2: findType("CssStylesheet0"),
  99813. CssSupportsRule: findType("CssSupportsRule"),
  99814. CssSupportsRule_2: findType("CssSupportsRule0"),
  99815. CssValue_List_String: findType("CssValue<List<String>>"),
  99816. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  99817. CssValue_SelectorList: findType("CssValue<SelectorList>"),
  99818. CssValue_SelectorList_2: findType("CssValue0<SelectorList0>"),
  99819. CssValue_String: findType("CssValue<String>"),
  99820. CssValue_String_2: findType("CssValue0<String>"),
  99821. CssValue_Value: findType("CssValue<Value>"),
  99822. CssValue_Value_2: findType("CssValue0<Value0>"),
  99823. DateTime: findType("DateTime"),
  99824. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  99825. Error: findType("Error"),
  99826. EvaluateResult: findType("EvaluateResult"),
  99827. EvaluateResult_2: findType("EvaluateResult0"),
  99828. EvaluationContext: findType("EvaluationContext"),
  99829. EvaluationContext_2: findType("EvaluationContext0"),
  99830. Exception: findType("Exception"),
  99831. Expression: findType("Expression"),
  99832. Expression_2: findType("Expression0"),
  99833. Extender: findType("Extender"),
  99834. Extender_2: findType("Extender0"),
  99835. Extension: findType("Extension"),
  99836. Extension_2: findType("Extension0"),
  99837. FileSpan: findType("FileSpan"),
  99838. FormatException: findType("FormatException"),
  99839. Frame: findType("Frame"),
  99840. Function: findType("Function"),
  99841. FutureOr_EvaluateResult: findType("EvaluateResult/"),
  99842. FutureOr_EvaluateResult_2: findType("EvaluateResult0/"),
  99843. FutureOr_nullable_Uri: findType("Uri?/"),
  99844. Future_dynamic: findType("Future<@>"),
  99845. Future_void: findType("Future<~>"),
  99846. IfClause: findType("IfClause"),
  99847. IfClause_2: findType("IfClause0"),
  99848. ImmutableList: findType("ImmutableList"),
  99849. ImmutableMap: findType("ImmutableMap"),
  99850. Import: findType("Import"),
  99851. Import_2: findType("Import0"),
  99852. Importer: findType("Importer0"),
  99853. ImporterResult: findType("ImporterResult"),
  99854. ImporterResult_2: findType("ImporterResult0"),
  99855. InternalStyle: findType("InternalStyle"),
  99856. Interpolation: findType("Interpolation"),
  99857. InterpolationBuffer: findType("InterpolationBuffer"),
  99858. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  99859. Interpolation_2: findType("Interpolation0"),
  99860. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  99861. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  99862. Iterable_dynamic: findType("Iterable<@>"),
  99863. JSArray_Argument: findType("JSArray<Argument>"),
  99864. JSArray_Argument_2: findType("JSArray<Argument0>"),
  99865. JSArray_AstNode: findType("JSArray<AstNode>"),
  99866. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  99867. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  99868. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  99869. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  99870. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  99871. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  99872. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  99873. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  99874. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  99875. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  99876. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  99877. JSArray_Callable: findType("JSArray<Callable>"),
  99878. JSArray_Callable_2: findType("JSArray<Callable0>"),
  99879. JSArray_Combinator: findType("JSArray<Combinator>"),
  99880. JSArray_Combinator_2: findType("JSArray<Combinator0>"),
  99881. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  99882. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  99883. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  99884. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  99885. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  99886. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  99887. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  99888. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  99889. JSArray_CssNode: findType("JSArray<CssNode>"),
  99890. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  99891. JSArray_Entry: findType("JSArray<Entry>"),
  99892. JSArray_Expression: findType("JSArray<Expression>"),
  99893. JSArray_Expression_2: findType("JSArray<Expression0>"),
  99894. JSArray_Extender: findType("JSArray<Extender>"),
  99895. JSArray_Extender_2: findType("JSArray<Extender0>"),
  99896. JSArray_Extension: findType("JSArray<Extension>"),
  99897. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  99898. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  99899. JSArray_Extension_2: findType("JSArray<Extension0>"),
  99900. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  99901. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  99902. JSArray_Frame: findType("JSArray<Frame>"),
  99903. JSArray_IfClause: findType("JSArray<IfClause>"),
  99904. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  99905. JSArray_Import: findType("JSArray<Import>"),
  99906. JSArray_Import_2: findType("JSArray<Import0>"),
  99907. JSArray_Importer: findType("JSArray<Importer0>"),
  99908. JSArray_Importer_2: findType("JSArray<Importer>"),
  99909. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  99910. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  99911. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  99912. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  99913. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  99914. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  99915. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  99916. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  99917. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  99918. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  99919. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  99920. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  99921. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  99922. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  99923. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  99924. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable>>"),
  99925. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable0>>"),
  99926. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  99927. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  99928. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  99929. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  99930. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  99931. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  99932. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  99933. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  99934. JSArray_Module_AsyncCallable: findType("JSArray<Module<AsyncCallable>>"),
  99935. JSArray_Module_AsyncCallable_2: findType("JSArray<Module0<AsyncCallable0>>"),
  99936. JSArray_Module_Callable: findType("JSArray<Module<Callable>>"),
  99937. JSArray_Module_Callable_2: findType("JSArray<Module0<Callable0>>"),
  99938. JSArray_Object: findType("JSArray<Object>"),
  99939. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  99940. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  99941. JSArray_SassList: findType("JSArray<SassList>"),
  99942. JSArray_SassList_2: findType("JSArray<SassList0>"),
  99943. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  99944. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  99945. JSArray_Statement: findType("JSArray<Statement>"),
  99946. JSArray_Statement_2: findType("JSArray<Statement0>"),
  99947. JSArray_String: findType("JSArray<String>"),
  99948. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  99949. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  99950. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  99951. JSArray_Trace: findType("JSArray<Trace>"),
  99952. JSArray_Tuple2_Expression_Expression: findType("JSArray<Tuple2<Expression,Expression>>"),
  99953. JSArray_Tuple2_Expression_Expression_2: findType("JSArray<Tuple2<Expression0,Expression0>>"),
  99954. JSArray_Tuple2_String_AstNode: findType("JSArray<Tuple2<String,AstNode>>"),
  99955. JSArray_Tuple2_String_AstNode_2: findType("JSArray<Tuple2<String,AstNode0>>"),
  99956. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>>"),
  99957. JSArray_Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<Tuple2<ArgumentDeclaration,Value(List<Value>)>>"),
  99958. JSArray_Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("JSArray<Tuple4<Uri,bool,Importer,Uri?>>"),
  99959. JSArray_Uri: findType("JSArray<Uri>"),
  99960. JSArray_UseRule: findType("JSArray<UseRule>"),
  99961. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  99962. JSArray_Value: findType("JSArray<Value>"),
  99963. JSArray_Value_2: findType("JSArray<Value0>"),
  99964. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  99965. JSArray__Highlight: findType("JSArray<_Highlight>"),
  99966. JSArray__Line: findType("JSArray<_Line>"),
  99967. JSArray_dynamic: findType("JSArray<@>"),
  99968. JSArray_int: findType("JSArray<int>"),
  99969. JSArray_nullable_String: findType("JSArray<String?>"),
  99970. JSClass: findType("JSClass0"),
  99971. JSFunction: findType("JSFunction0"),
  99972. JSNull: findType("JSNull"),
  99973. JSUrl: findType("JSUrl0"),
  99974. JavaScriptFunction: findType("JavaScriptFunction"),
  99975. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  99976. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  99977. JsSystemError: findType("JsSystemError"),
  99978. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  99979. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  99980. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  99981. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  99982. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  99983. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  99984. List_Extension: findType("List<Extension>"),
  99985. List_ExtensionStore: findType("List<ExtensionStore>"),
  99986. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  99987. List_Extension_2: findType("List<Extension0>"),
  99988. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  99989. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  99990. List_Module_AsyncCallable: findType("List<Module<AsyncCallable>>"),
  99991. List_Module_AsyncCallable_2: findType("List<Module0<AsyncCallable0>>"),
  99992. List_Module_Callable: findType("List<Module<Callable>>"),
  99993. List_Module_Callable_2: findType("List<Module0<Callable0>>"),
  99994. List_String: findType("List<String>"),
  99995. List_Value: findType("List<Value>"),
  99996. List_Value_2: findType("List<Value0>"),
  99997. List_WatchEvent: findType("List<WatchEvent>"),
  99998. List_dynamic: findType("List<@>"),
  99999. List_int: findType("List<int>"),
  100000. List_nullable_Object: findType("List<Object?>"),
  100001. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module<AsyncCallable>>"),
  100002. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module0<AsyncCallable0>>"),
  100003. MapKeySet_Module_Callable: findType("MapKeySet<Module<Callable>>"),
  100004. MapKeySet_Module_Callable_2: findType("MapKeySet<Module0<Callable0>>"),
  100005. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  100006. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  100007. MapKeySet_String: findType("MapKeySet<String>"),
  100008. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  100009. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  100010. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  100011. Map_String_AstNode: findType("Map<String,AstNode>"),
  100012. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  100013. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  100014. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  100015. Map_String_Callable: findType("Map<String,Callable>"),
  100016. Map_String_Callable_2: findType("Map<String,Callable0>"),
  100017. Map_String_Value: findType("Map<String,Value>"),
  100018. Map_String_Value_2: findType("Map<String,Value0>"),
  100019. Map_String_dynamic: findType("Map<String,@>"),
  100020. Map_dynamic_dynamic: findType("Map<@,@>"),
  100021. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  100022. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  100023. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  100024. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  100025. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  100026. MediaQuerySuccessfulMergeResult: findType("MediaQuerySuccessfulMergeResult"),
  100027. MediaQuerySuccessfulMergeResult_2: findType("MediaQuerySuccessfulMergeResult0"),
  100028. MixinRule: findType("MixinRule"),
  100029. MixinRule_2: findType("MixinRule0"),
  100030. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  100031. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  100032. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  100033. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  100034. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  100035. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  100036. ModifiableCssNode: findType("ModifiableCssNode"),
  100037. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  100038. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  100039. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  100040. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  100041. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  100042. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  100043. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  100044. ModifiableCssValue_SelectorList: findType("ModifiableCssValue<SelectorList>"),
  100045. ModifiableCssValue_SelectorList_2: findType("ModifiableCssValue0<SelectorList0>"),
  100046. Module_AsyncCallable: findType("Module<AsyncCallable>"),
  100047. Module_AsyncCallable_2: findType("Module0<AsyncCallable0>"),
  100048. Module_Callable: findType("Module<Callable>"),
  100049. Module_Callable_2: findType("Module0<Callable0>"),
  100050. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  100051. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  100052. NativeUint8List: findType("NativeUint8List"),
  100053. Never: findType("0&"),
  100054. NodeCompileResult: findType("NodeCompileResult"),
  100055. NodeImporter: findType("NodeImporter0"),
  100056. NodeImporterResult: findType("NodeImporterResult0"),
  100057. NodeImporterResult_2: findType("NodeImporterResult1"),
  100058. Null: findType("Null"),
  100059. Object: findType("Object"),
  100060. Option: findType("Option"),
  100061. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  100062. PathMap_String: findType("PathMap<String>"),
  100063. PathMap_nullable_String: findType("PathMap<String?>"),
  100064. Promise: findType("Promise"),
  100065. PseudoSelector: findType("PseudoSelector"),
  100066. PseudoSelector_2: findType("PseudoSelector0"),
  100067. RangeError: findType("RangeError"),
  100068. RegExpMatch: findType("RegExpMatch"),
  100069. RenderContextOptions: findType("RenderContextOptions0"),
  100070. RenderResult: findType("RenderResult"),
  100071. Result_String: findType("Result<String>"),
  100072. SassArgumentList: findType("SassArgumentList"),
  100073. SassArgumentList_2: findType("SassArgumentList0"),
  100074. SassBoolean: findType("SassBoolean"),
  100075. SassBoolean_2: findType("SassBoolean0"),
  100076. SassColor: findType("SassColor"),
  100077. SassColor_2: findType("SassColor0"),
  100078. SassList: findType("SassList"),
  100079. SassList_2: findType("SassList0"),
  100080. SassMap: findType("SassMap"),
  100081. SassMap_2: findType("SassMap0"),
  100082. SassNumber: findType("SassNumber"),
  100083. SassNumber_2: findType("SassNumber0"),
  100084. SassRuntimeException: findType("SassRuntimeException"),
  100085. SassRuntimeException_2: findType("SassRuntimeException0"),
  100086. SassString: findType("SassString"),
  100087. SassString_2: findType("SassString0"),
  100088. SelectorList: findType("SelectorList"),
  100089. SelectorList_2: findType("SelectorList0"),
  100090. Set_ModifiableCssValue_SelectorList: findType("Set<ModifiableCssValue<SelectorList>>"),
  100091. Set_ModifiableCssValue_SelectorList_2: findType("Set<ModifiableCssValue0<SelectorList0>>"),
  100092. SimpleSelector: findType("SimpleSelector"),
  100093. SimpleSelector_2: findType("SimpleSelector0"),
  100094. SourceFile: findType("SourceFile"),
  100095. SourceLocation: findType("SourceLocation"),
  100096. SourceSpan: findType("SourceSpan"),
  100097. SourceSpanFormatException: findType("SourceSpanFormatException"),
  100098. SourceSpanWithContext: findType("SourceSpanWithContext"),
  100099. SpanColorFormat: findType("SpanColorFormat"),
  100100. SpanColorFormat_2: findType("SpanColorFormat0"),
  100101. StackTrace: findType("StackTrace"),
  100102. Statement: findType("Statement"),
  100103. Statement_2: findType("Statement0"),
  100104. StaticImport: findType("StaticImport"),
  100105. StaticImport_2: findType("StaticImport0"),
  100106. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  100107. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  100108. StreamQueue_String: findType("StreamQueue<String>"),
  100109. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  100110. String: findType("String"),
  100111. StylesheetNode: findType("StylesheetNode"),
  100112. Symbol: findType("Symbol0"),
  100113. Timer: findType("Timer"),
  100114. Trace: findType("Trace"),
  100115. Tuple2_Expression_Expression: findType("Tuple2<Expression,Expression>"),
  100116. Tuple2_Expression_Expression_2: findType("Tuple2<Expression0,Expression0>"),
  100117. Tuple2_ModifiableCssStylesheet_ExtensionStore: findType("Tuple2<ModifiableCssStylesheet,ExtensionStore>"),
  100118. Tuple2_ModifiableCssStylesheet_ExtensionStore_2: findType("Tuple2<ModifiableCssStylesheet0,ExtensionStore0>"),
  100119. Tuple2_PseudoSelector_int: findType("Tuple2<PseudoSelector,int>"),
  100120. Tuple2_PseudoSelector_int_2: findType("Tuple2<PseudoSelector0,int>"),
  100121. Tuple2_SassNumber_SassNumber: findType("Tuple2<SassNumber,SassNumber>"),
  100122. Tuple2_SassNumber_SassNumber_2: findType("Tuple2<SassNumber0,SassNumber0>"),
  100123. Tuple2_String_ArgumentDeclaration: findType("Tuple2<String,ArgumentDeclaration0>"),
  100124. Tuple2_String_AstNode: findType("Tuple2<String,AstNode>"),
  100125. Tuple2_String_AstNode_2: findType("Tuple2<String,AstNode0>"),
  100126. Tuple2_String_SourceSpan: findType("Tuple2<String,SourceSpan>"),
  100127. Tuple2_String_String: findType("Tuple2<String,String>"),
  100128. Tuple2_Uri_bool: findType("Tuple2<Uri,bool>"),
  100129. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration,Value/(List<Value>)>"),
  100130. Tuple2_of_ArgumentDeclaration_and_FutureOr_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration0,Value0/(List<Value0>)>"),
  100131. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value: findType("Tuple2<ArgumentDeclaration0,Value0(List<Value0>)>"),
  100132. Tuple2_of_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("Tuple2<ArgumentDeclaration,Value(List<Value>)>"),
  100133. Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList: findType("Tuple2<ExtensionStore,Map<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>>"),
  100134. Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2: findType("Tuple2<ExtensionStore0,Map<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>>"),
  100135. Tuple2_of_List_Expression_and_Map_String_Expression: findType("Tuple2<List<Expression>,Map<String,Expression>>"),
  100136. Tuple2_of_List_Expression_and_Map_String_Expression_2: findType("Tuple2<List<Expression0>,Map<String,Expression0>>"),
  100137. Tuple2_of_List_Uri_and_List_Uri: findType("Tuple2<List<Uri>,List<Uri>>"),
  100138. Tuple2_of_Map_of_Uri_and_nullable_StylesheetNode_and_Map_of_Uri_and_nullable_StylesheetNode: findType("Tuple2<Map<Uri,StylesheetNode?>,Map<Uri,StylesheetNode?>>"),
  100139. Tuple2_of_Set_String_and_Set_String: findType("Tuple2<Set<String>,Set<String>>"),
  100140. Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>"),
  100141. Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>"),
  100142. Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>"),
  100143. Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>"),
  100144. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri: findType("Tuple4<Uri,bool,AsyncImporter,Uri?>"),
  100145. Tuple4_of_Uri_and_bool_and_AsyncImporter_and_nullable_Uri_2: findType("Tuple4<Uri,bool,AsyncImporter0,Uri?>"),
  100146. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri: findType("Tuple4<Uri,bool,Importer,Uri?>"),
  100147. Tuple4_of_Uri_and_bool_and_Importer_and_nullable_Uri_2: findType("Tuple4<Uri,bool,Importer0,Uri?>"),
  100148. Type: findType("Type"),
  100149. TypeError: findType("TypeError"),
  100150. Uint8List: findType("Uint8List"),
  100151. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  100152. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  100153. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  100154. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  100155. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  100156. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  100157. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  100158. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  100159. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  100160. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  100161. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  100162. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  100163. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  100164. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  100165. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  100166. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  100167. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  100168. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  100169. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  100170. UnmodifiableSetView_String: findType("UnmodifiableSetView<String>"),
  100171. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView<StylesheetNode>"),
  100172. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  100173. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  100174. Uri: findType("Uri"),
  100175. UseRule: findType("UseRule"),
  100176. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  100177. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  100178. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  100179. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  100180. Value: findType("Value"),
  100181. Value_2: findType("Value0"),
  100182. Value_Function_List_Value: findType("Value(List<Value>)"),
  100183. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  100184. VariableDeclaration: findType("VariableDeclaration"),
  100185. VariableDeclaration_2: findType("VariableDeclaration0"),
  100186. WatchEvent: findType("WatchEvent"),
  100187. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  100188. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  100189. WhereIterable_String: findType("WhereIterable<String>"),
  100190. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  100191. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  100192. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  100193. _ArgumentResults: findType("_ArgumentResults0"),
  100194. _ArgumentResults_2: findType("_ArgumentResults2"),
  100195. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  100196. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  100197. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  100198. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  100199. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  100200. _EventRequest_dynamic: findType("_EventRequest<@>"),
  100201. _Future_Object: findType("_Future<Object>"),
  100202. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  100203. _Future_String: findType("_Future<String>"),
  100204. _Future_bool: findType("_Future<bool>"),
  100205. _Future_dynamic: findType("_Future<@>"),
  100206. _Future_int: findType("_Future<int>"),
  100207. _Future_nullable_Object: findType("_Future<Object?>"),
  100208. _Future_void: findType("_Future<~>"),
  100209. _Highlight: findType("_Highlight"),
  100210. _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"),
  100211. _LinkedIdentityHashMap_SimpleSelector_int: findType("_LinkedIdentityHashMap<SimpleSelector,int>"),
  100212. _LinkedIdentityHashMap_SimpleSelector_int_2: findType("_LinkedIdentityHashMap<SimpleSelector0,int>"),
  100213. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  100214. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  100215. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  100216. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  100217. _LoadedStylesheet: findType("_LoadedStylesheet0"),
  100218. _LoadedStylesheet_2: findType("_LoadedStylesheet2"),
  100219. _MapEntry: findType("_MapEntry"),
  100220. _NodeException: findType("_NodeException"),
  100221. _UnmodifiableSet_String: findType("_UnmodifiableSet<String>"),
  100222. bool: findType("bool"),
  100223. double: findType("double"),
  100224. dynamic: findType("@"),
  100225. dynamic_Function: findType("@()"),
  100226. dynamic_Function_Object: findType("@(Object)"),
  100227. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  100228. int: findType("int"),
  100229. legacy_Never: findType("0&*"),
  100230. legacy_Object: findType("Object*"),
  100231. nullable_AstNode: findType("AstNode?"),
  100232. nullable_AstNode_2: findType("AstNode0?"),
  100233. nullable_FileSpan: findType("FileSpan?"),
  100234. nullable_Future_Null: findType("Future<Null>?"),
  100235. nullable_Future_void: findType("Future<~>?"),
  100236. nullable_ImporterResult: findType("ImporterResult0?"),
  100237. nullable_Object: findType("Object?"),
  100238. nullable_SourceFile: findType("SourceFile?"),
  100239. nullable_SourceSpan: findType("SourceSpan?"),
  100240. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  100241. nullable_String: findType("String?"),
  100242. nullable_Stylesheet: findType("Stylesheet?"),
  100243. nullable_StylesheetNode: findType("StylesheetNode?"),
  100244. nullable_Stylesheet_2: findType("Stylesheet0?"),
  100245. nullable_Tuple2_String_String: findType("Tuple2<String,String>?"),
  100246. nullable_Tuple3_AsyncImporter_Uri_Uri: findType("Tuple3<AsyncImporter,Uri,Uri>?"),
  100247. nullable_Tuple3_AsyncImporter_Uri_Uri_2: findType("Tuple3<AsyncImporter0,Uri,Uri>?"),
  100248. nullable_Tuple3_Importer_Uri_Uri: findType("Tuple3<Importer,Uri,Uri>?"),
  100249. nullable_Tuple3_Importer_Uri_Uri_2: findType("Tuple3<Importer0,Uri,Uri>?"),
  100250. nullable_Uri: findType("Uri?"),
  100251. nullable_Value: findType("Value?"),
  100252. nullable_Value_2: findType("Value0?"),
  100253. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  100254. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  100255. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  100256. nullable__Highlight: findType("_Highlight?"),
  100257. nullable__LoadedStylesheet: findType("_LoadedStylesheet0?"),
  100258. nullable__LoadedStylesheet_2: findType("_LoadedStylesheet2?"),
  100259. num: findType("num"),
  100260. void: findType("~"),
  100261. void_Function_Object: findType("~(Object)"),
  100262. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  100263. };
  100264. })();
  100265. (function constants() {
  100266. var makeConstList = hunkHelpers.makeConstList;
  100267. B.Interceptor_methods = J.Interceptor.prototype;
  100268. B.JSArray_methods = J.JSArray.prototype;
  100269. B.JSBool_methods = J.JSBool.prototype;
  100270. B.JSInt_methods = J.JSInt.prototype;
  100271. B.JSNumber_methods = J.JSNumber.prototype;
  100272. B.JSString_methods = J.JSString.prototype;
  100273. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  100274. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  100275. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  100276. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  100277. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  100278. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  100279. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  100280. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  100281. B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  100282. B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  100283. B.AttributeOperator_8aB = new A.AttributeOperator("*=", "substring");
  100284. B.AttributeOperator_8aB0 = new A.AttributeOperator0("*=", "substring");
  100285. B.AttributeOperator_BGd = new A.AttributeOperator("$=", "suffix");
  100286. B.AttributeOperator_BGd0 = new A.AttributeOperator0("$=", "suffix");
  100287. B.AttributeOperator_ES6 = new A.AttributeOperator("=", "equal");
  100288. B.AttributeOperator_ES60 = new A.AttributeOperator0("=", "equal");
  100289. B.AttributeOperator_eot = new A.AttributeOperator("^=", "prefix");
  100290. B.AttributeOperator_eot0 = new A.AttributeOperator0("^=", "prefix");
  100291. B.AttributeOperator_ivT = new A.AttributeOperator("|=", "dash");
  100292. B.AttributeOperator_ivT0 = new A.AttributeOperator0("|=", "dash");
  100293. B.AttributeOperator_r60 = new A.AttributeOperator("~=", "include");
  100294. B.AttributeOperator_r600 = new A.AttributeOperator0("~=", "include");
  100295. B.BinaryOperator_6pl = new A.BinaryOperator("times", "*", 6, "times");
  100296. B.BinaryOperator_6pl0 = new A.BinaryOperator0("times", "*", 6, "times");
  100297. B.BinaryOperator_KlB = new A.BinaryOperator("minus", "-", 5, "minus");
  100298. B.BinaryOperator_KlB0 = new A.BinaryOperator0("minus", "-", 5, "minus");
  100299. B.BinaryOperator_PHH = new A.BinaryOperator("modulo", "%", 6, "modulo");
  100300. B.BinaryOperator_PHH0 = new A.BinaryOperator0("modulo", "%", 6, "modulo");
  100301. B.BinaryOperator_Vr9 = new A.BinaryOperator("not equals", "!=", 3, "notEquals");
  100302. B.BinaryOperator_Vr90 = new A.BinaryOperator0("not equals", "!=", 3, "notEquals");
  100303. B.BinaryOperator_Wma = new A.BinaryOperator("greater than or equals", ">=", 4, "greaterThanOrEquals");
  100304. B.BinaryOperator_Wma0 = new A.BinaryOperator0("greater than or equals", ">=", 4, "greaterThanOrEquals");
  100305. B.BinaryOperator_and_and_2_and = new A.BinaryOperator("and", "and", 2, "and");
  100306. B.BinaryOperator_and_and_2_and0 = new A.BinaryOperator0("and", "and", 2, "and");
  100307. B.BinaryOperator_apg = new A.BinaryOperator("less than", "<", 4, "lessThan");
  100308. B.BinaryOperator_apg0 = new A.BinaryOperator0("less than", "<", 4, "lessThan");
  100309. B.BinaryOperator_axY = new A.BinaryOperator("single equals", "=", 0, "singleEquals");
  100310. B.BinaryOperator_axY0 = new A.BinaryOperator0("single equals", "=", 0, "singleEquals");
  100311. B.BinaryOperator_cw1 = new A.BinaryOperator("greater than", ">", 4, "greaterThan");
  100312. B.BinaryOperator_cw10 = new A.BinaryOperator0("greater than", ">", 4, "greaterThan");
  100313. B.BinaryOperator_nZh = new A.BinaryOperator("equals", "==", 3, "equals");
  100314. B.BinaryOperator_nZh0 = new A.BinaryOperator0("equals", "==", 3, "equals");
  100315. B.BinaryOperator_oqF = new A.BinaryOperator("less than or equals", "<=", 4, "lessThanOrEquals");
  100316. B.BinaryOperator_oqF0 = new A.BinaryOperator0("less than or equals", "<=", 4, "lessThanOrEquals");
  100317. B.BinaryOperator_or_or_1_or = new A.BinaryOperator("or", "or", 1, "or");
  100318. B.BinaryOperator_or_or_1_or0 = new A.BinaryOperator0("or", "or", 1, "or");
  100319. B.BinaryOperator_qbf = new A.BinaryOperator("plus", "+", 5, "plus");
  100320. B.BinaryOperator_qbf0 = new A.BinaryOperator0("plus", "+", 5, "plus");
  100321. B.BinaryOperator_qpm = new A.BinaryOperator("divided by", "/", 6, "dividedBy");
  100322. B.BinaryOperator_qpm0 = new A.BinaryOperator0("divided by", "/", 6, "dividedBy");
  100323. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  100324. B.C_AsciiCodec = new A.AsciiCodec();
  100325. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  100326. B.C_Base64Encoder = new A.Base64Encoder();
  100327. B.C_Base64Codec = new A.Base64Codec();
  100328. B.C_DefaultEquality = new A.DefaultEquality();
  100329. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  100330. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  100331. B.C_EmptyIterator = new A.EmptyIterator();
  100332. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  100333. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  100334. B.C_IterableEquality = new A.IterableEquality();
  100335. B.C_JS_CONST = function getTagFallback(o) {
  100336. var s = Object.prototype.toString.call(o);
  100337. return s.substring(8, s.length - 1);
  100338. };
  100339. B.C_JS_CONST0 = function() {
  100340. var toStringFunction = Object.prototype.toString;
  100341. function getTag(o) {
  100342. var s = toStringFunction.call(o);
  100343. return s.substring(8, s.length - 1);
  100344. }
  100345. function getUnknownTag(object, tag) {
  100346. if (/^HTML[A-Z].*Element$/.test(tag)) {
  100347. var name = toStringFunction.call(object);
  100348. if (name == "[object Object]") return null;
  100349. return "HTMLElement";
  100350. }
  100351. }
  100352. function getUnknownTagGenericBrowser(object, tag) {
  100353. if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
  100354. return getUnknownTag(object, tag);
  100355. }
  100356. function prototypeForTag(tag) {
  100357. if (typeof window == "undefined") return null;
  100358. if (typeof window[tag] == "undefined") return null;
  100359. var constructor = window[tag];
  100360. if (typeof constructor != "function") return null;
  100361. return constructor.prototype;
  100362. }
  100363. function discriminator(tag) { return null; }
  100364. var isBrowser = typeof navigator == "object";
  100365. return {
  100366. getTag: getTag,
  100367. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  100368. prototypeForTag: prototypeForTag,
  100369. discriminator: discriminator };
  100370. };
  100371. B.C_JS_CONST6 = function(getTagFallback) {
  100372. return function(hooks) {
  100373. if (typeof navigator != "object") return hooks;
  100374. var ua = navigator.userAgent;
  100375. if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
  100376. if (ua.indexOf("Chrome") >= 0) {
  100377. function confirm(p) {
  100378. return typeof window == "object" && window[p] && window[p].name == p;
  100379. }
  100380. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  100381. }
  100382. hooks.getTag = getTagFallback;
  100383. };
  100384. };
  100385. B.C_JS_CONST1 = function(hooks) {
  100386. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  100387. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  100388. };
  100389. B.C_JS_CONST2 = function(hooks) {
  100390. var getTag = hooks.getTag;
  100391. var prototypeForTag = hooks.prototypeForTag;
  100392. function getTagFixed(o) {
  100393. var tag = getTag(o);
  100394. if (tag == "Document") {
  100395. if (!!o.xmlVersion) return "!Document";
  100396. return "!HTMLDocument";
  100397. }
  100398. return tag;
  100399. }
  100400. function prototypeForTagFixed(tag) {
  100401. if (tag == "Document") return null;
  100402. return prototypeForTag(tag);
  100403. }
  100404. hooks.getTag = getTagFixed;
  100405. hooks.prototypeForTag = prototypeForTagFixed;
  100406. };
  100407. B.C_JS_CONST5 = function(hooks) {
  100408. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  100409. if (userAgent.indexOf("Firefox") == -1) return hooks;
  100410. var getTag = hooks.getTag;
  100411. var quickMap = {
  100412. "BeforeUnloadEvent": "Event",
  100413. "DataTransfer": "Clipboard",
  100414. "GeoGeolocation": "Geolocation",
  100415. "Location": "!Location",
  100416. "WorkerMessageEvent": "MessageEvent",
  100417. "XMLDocument": "!Document"};
  100418. function getTagFirefox(o) {
  100419. var tag = getTag(o);
  100420. return quickMap[tag] || tag;
  100421. }
  100422. hooks.getTag = getTagFirefox;
  100423. };
  100424. B.C_JS_CONST4 = function(hooks) {
  100425. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  100426. if (userAgent.indexOf("Trident/") == -1) return hooks;
  100427. var getTag = hooks.getTag;
  100428. var quickMap = {
  100429. "BeforeUnloadEvent": "Event",
  100430. "DataTransfer": "Clipboard",
  100431. "HTMLDDElement": "HTMLElement",
  100432. "HTMLDTElement": "HTMLElement",
  100433. "HTMLPhraseElement": "HTMLElement",
  100434. "Position": "Geoposition"
  100435. };
  100436. function getTagIE(o) {
  100437. var tag = getTag(o);
  100438. var newTag = quickMap[tag];
  100439. if (newTag) return newTag;
  100440. if (tag == "Object") {
  100441. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  100442. }
  100443. return tag;
  100444. }
  100445. function prototypeForTagIE(tag) {
  100446. var constructor = window[tag];
  100447. if (constructor == null) return null;
  100448. return constructor.prototype;
  100449. }
  100450. hooks.getTag = getTagIE;
  100451. hooks.prototypeForTag = prototypeForTagIE;
  100452. };
  100453. B.C_JS_CONST3 = function(hooks) { return hooks; }
  100454. ;
  100455. B.C_JsonCodec = new A.JsonCodec();
  100456. B.C_ListEquality0 = new A.ListEquality();
  100457. B.C_ListEquality = new A.ListEquality();
  100458. B.C_MapEquality = new A.MapEquality();
  100459. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  100460. B.C_SentinelValue = new A.SentinelValue();
  100461. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  100462. B.C_Utf8Codec = new A.Utf8Codec();
  100463. B.C_Utf8Encoder = new A.Utf8Encoder();
  100464. B.C__DelayedDone = new A._DelayedDone();
  100465. B.C__HasContentVisitor = new A._HasContentVisitor();
  100466. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  100467. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  100468. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  100469. B.C__JSRandom = new A._JSRandom();
  100470. B.C__Required = new A._Required();
  100471. B.C__RootZone = new A._RootZone();
  100472. B.C__SassNull = new A._SassNull();
  100473. B.C__SassNull0 = new A._SassNull0();
  100474. B.CalculationOperator_2bx = new A.CalculationOperator("minus", "-", 1, "minus");
  100475. B.CalculationOperator_2bx0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  100476. B.CalculationOperator_IyK = new A.CalculationOperator("plus", "+", 1, "plus");
  100477. B.CalculationOperator_IyK0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  100478. B.CalculationOperator_OvN = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  100479. B.CalculationOperator_OvN0 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  100480. B.CalculationOperator_jFr = new A.CalculationOperator("times", "*", 2, "times");
  100481. B.CalculationOperator_jFr0 = new A.CalculationOperator0("times", "*", 2, "times");
  100482. B.ChangeType_add = new A.ChangeType("add");
  100483. B.ChangeType_modify = new A.ChangeType("modify");
  100484. B.ChangeType_remove = new A.ChangeType("remove");
  100485. B.Combinator_4QF = new A.Combinator("+", "nextSibling");
  100486. B.Combinator_4QF0 = new A.Combinator0("+", "nextSibling");
  100487. B.Combinator_Cht = new A.Combinator(">", "child");
  100488. B.Combinator_Cht0 = new A.Combinator0(">", "child");
  100489. B.Combinator_Htt = new A.Combinator("~", "followingSibling");
  100490. B.Combinator_Htt0 = new A.Combinator0("~", "followingSibling");
  100491. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  100492. B.Map_empty11 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue>"));
  100493. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty11, null);
  100494. B.Map_empty12 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  100495. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty12, null);
  100496. B.Duration_0 = new A.Duration(0);
  100497. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  100498. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  100499. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  100500. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  100501. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  100502. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  100503. B.JsonEncoder_null = new A.JsonEncoder(null);
  100504. B.LineFeed_SsD = new A.LineFeed0("lf", "\n", "lf");
  100505. B.LineFeed_gg4 = new A.LineFeed0("crlf", "\r\n", "crlf");
  100506. B.LineFeed_lf = new A.LineFeed("lf");
  100507. B.LineFeed_oyU = new A.LineFeed0("cr", "\r", "cr");
  100508. B.LineFeed_t2a = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  100509. B.ListSeparator_EVt = new A.ListSeparator("space", " ", "space");
  100510. B.ListSeparator_EVt0 = new A.ListSeparator0("space", " ", "space");
  100511. B.ListSeparator_rXA = new A.ListSeparator("comma", ",", "comma");
  100512. B.ListSeparator_rXA0 = new A.ListSeparator0("comma", ",", "comma");
  100513. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  100514. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  100515. B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
  100516. B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
  100517. B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  100518. B.List_Opy = A._setArrayType(makeConstList(["em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "q", "in", "pt", "pc", "px"]), type$.JSArray_String);
  100519. B.Map_Op0VJ = new A.ConstantStringMap(15, {em: null, ex: null, ch: null, rem: null, vw: null, vh: null, vmin: null, vmax: null, cm: null, mm: null, q: null, in: null, pt: null, pc: null, px: null}, B.List_Opy, type$.ConstantStringMap_String_Null);
  100520. B.Set_Opyzl = new A._UnmodifiableSet(B.Map_Op0VJ, type$._UnmodifiableSet_String);
  100521. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  100522. B.Map_EGso3 = new A.ConstantStringMap(4, {deg: null, grad: null, rad: null, turn: null}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_Null);
  100523. B.Set_EGJh = new A._UnmodifiableSet(B.Map_EGso3, type$._UnmodifiableSet_String);
  100524. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  100525. B.Map_maDht = new A.ConstantStringMap(2, {s: null, ms: null}, B.List_s_ms, type$.ConstantStringMap_String_Null);
  100526. B.Set_maSD = new A._UnmodifiableSet(B.Map_maDht, type$._UnmodifiableSet_String);
  100527. B.List_hz_khz = A._setArrayType(makeConstList(["hz", "khz"]), type$.JSArray_String);
  100528. B.Map_kfoGx = new A.ConstantStringMap(2, {hz: null, khz: null}, B.List_hz_khz, type$.ConstantStringMap_String_Null);
  100529. B.Set_kfn1 = new A._UnmodifiableSet(B.Map_kfoGx, type$._UnmodifiableSet_String);
  100530. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  100531. B.Map_H20 = new A.ConstantStringMap(3, {dpi: null, dpcm: null, dppx: null}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_Null);
  100532. B.Set_H2nB4 = new A._UnmodifiableSet(B.Map_H20, type$._UnmodifiableSet_String);
  100533. B.List_AqW = A._setArrayType(makeConstList([B.Set_Opyzl, B.Set_EGJh, B.Set_maSD, B.Set_kfn1, B.Set_H2nB4]), A.findType("JSArray<Set<String>>"));
  100534. B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  100535. B.List_IoD = A._setArrayType(makeConstList([B.Combinator_4QF]), type$.JSArray_Combinator);
  100536. B.List_IoD0 = A._setArrayType(makeConstList([B.Combinator_4QF0]), type$.JSArray_Combinator_2);
  100537. B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  100538. B.List_Kw1 = A._setArrayType(makeConstList([B.Combinator_Htt]), type$.JSArray_Combinator);
  100539. B.List_Kw10 = A._setArrayType(makeConstList([B.Combinator_Htt0]), type$.JSArray_Combinator_2);
  100540. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  100541. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  100542. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  100543. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  100544. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_Combinator);
  100545. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_Combinator_2);
  100546. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  100547. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  100548. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  100549. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  100550. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  100551. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  100552. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  100553. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  100554. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  100555. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  100556. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  100557. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  100558. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
  100559. B.List_empty6 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module<0&>>"));
  100560. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  100561. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  100562. B.List_empty7 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  100563. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  100564. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  100565. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  100566. B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  100567. B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  100568. B.List_qFt = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  100569. B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  100570. B.List_qg40 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  100571. B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  100572. B.List_K2O = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms", "Hz", "kHz", "dpi", "dpcm", "dppx"]), type$.JSArray_String);
  100573. B.List_aha = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  100574. B.Map_ahsJO = new A.ConstantStringMap(7, {in: 1, cm: 0.39370078740157477, pc: 0.16666666666666666, mm: 0.03937007874015748, q: 0.00984251968503937, pt: 0.013888888888888888, px: 0.010416666666666666}, B.List_aha, type$.ConstantStringMap_String_double);
  100575. B.Map_ahM6L = new A.ConstantStringMap(7, {in: 2.54, cm: 1, pc: 0.42333333333333334, mm: 0.1, q: 0.025, pt: 0.035277777777777776, px: 0.026458333333333334}, B.List_aha, type$.ConstantStringMap_String_double);
  100576. B.Map_ahNsa = new A.ConstantStringMap(7, {in: 6, cm: 2.3622047244094486, pc: 1, mm: 0.2362204724409449, q: 0.05905511811023623, pt: 0.08333333333333333, px: 0.0625}, B.List_aha, type$.ConstantStringMap_String_double);
  100577. B.Map_ahPSt = new A.ConstantStringMap(7, {in: 25.4, cm: 10, pc: 4.233333333333333, mm: 1, q: 0.25, pt: 0.35277777777777775, px: 0.26458333333333334}, B.List_aha, type$.ConstantStringMap_String_double);
  100578. B.Map_ahgya = new A.ConstantStringMap(7, {in: 101.6, cm: 40, pc: 16.933333333333334, mm: 4, q: 1, pt: 1.411111111111111, px: 1.0583333333333333}, B.List_aha, type$.ConstantStringMap_String_double);
  100579. B.Map_ahGvh = new A.ConstantStringMap(7, {in: 72, cm: 28.346456692913385, pc: 12, mm: 2.834645669291339, q: 0.7086614173228347, pt: 1, px: 0.75}, B.List_aha, type$.ConstantStringMap_String_double);
  100580. B.Map_ahkuc = new A.ConstantStringMap(7, {in: 96, cm: 37.79527559055118, pc: 16, mm: 3.7795275590551185, q: 0.9448818897637796, pt: 1.3333333333333333, px: 1}, B.List_aha, type$.ConstantStringMap_String_double);
  100581. B.Map_EGyvr = new A.ConstantStringMap(4, {deg: 1, grad: 0.9, rad: 57.29577951308232, turn: 360}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100582. B.Map_EGfqB = new A.ConstantStringMap(4, {deg: 1.1111111111111112, grad: 1, rad: 63.66197723675813, turn: 400}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100583. B.Map_EGswR = new A.ConstantStringMap(4, {deg: 0.017453292519943295, grad: 0.015707963267948967, rad: 1, turn: 6.283185307179586}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100584. B.Map_EGY2F = new A.ConstantStringMap(4, {deg: 0.002777777777777778, grad: 0.0025, rad: 0.15915494309189535, turn: 1}, B.List_deg_grad_rad_turn, type$.ConstantStringMap_String_double);
  100585. B.Map_ma2bi = new A.ConstantStringMap(2, {s: 1, ms: 0.001}, B.List_s_ms, type$.ConstantStringMap_String_double);
  100586. B.Map_maDht0 = new A.ConstantStringMap(2, {s: 1000, ms: 1}, B.List_s_ms, type$.ConstantStringMap_String_double);
  100587. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  100588. B.Map_0IpUe = new A.ConstantStringMap(2, {Hz: 1, kHz: 1000}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  100589. B.Map_0IVs0 = new A.ConstantStringMap(2, {Hz: 0.001, kHz: 1}, B.List_Hz_kHz, type$.ConstantStringMap_String_double);
  100590. B.Map_H2OWd = new A.ConstantStringMap(3, {dpi: 1, dpcm: 2.54, dppx: 96}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  100591. B.Map_H24em = new A.ConstantStringMap(3, {dpi: 0.39370078740157477, dpcm: 1, dppx: 37.79527559055118}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  100592. B.Map_H25Om = new A.ConstantStringMap(3, {dpi: 0.010416666666666666, dpcm: 0.026458333333333334, dppx: 1}, B.List_dpi_dpcm_dppx, type$.ConstantStringMap_String_double);
  100593. B.Map_K2BWj = new A.ConstantStringMap(18, {in: B.Map_ahsJO, cm: B.Map_ahM6L, pc: B.Map_ahNsa, mm: B.Map_ahPSt, q: B.Map_ahgya, pt: B.Map_ahGvh, px: B.Map_ahkuc, deg: B.Map_EGyvr, grad: B.Map_EGfqB, rad: B.Map_EGswR, turn: B.Map_EGY2F, s: B.Map_ma2bi, ms: B.Map_maDht0, Hz: B.Map_0IpUe, kHz: B.Map_0IVs0, dpi: B.Map_H2OWd, dpcm: B.Map_H24em, dppx: B.Map_H25Om}, B.List_K2O, A.findType("ConstantStringMap<String,Map<String,double>>"));
  100594. B.List_U8g = A._setArrayType(makeConstList(["length", "angle", "time", "frequency", "pixel density"]), type$.JSArray_String);
  100595. B.Map_U8AHF = new A.ConstantStringMap(5, {length: B.List_aha, angle: B.List_deg_grad_rad_turn, time: B.List_s_ms, frequency: B.List_Hz_kHz, "pixel density": B.List_dpi_dpcm_dppx}, B.List_U8g, A.findType("ConstantStringMap<String,List<String>>"));
  100596. B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode>"));
  100597. B.Map_empty7 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,AstNode0>"));
  100598. B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression>"));
  100599. B.Map_empty9 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Expression0>"));
  100600. B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<AsyncCallable>>"));
  100601. B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module<Callable>>"));
  100602. B.Map_empty10 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<AsyncCallable0>>"));
  100603. B.Map_empty6 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  100604. B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value>"));
  100605. B.Map_empty8 = new A.ConstantStringMap(0, {}, B.List_empty, A.findType("ConstantStringMap<String,Value0>"));
  100606. B.List_empty26 = A._setArrayType(makeConstList([]), A.findType("JSArray<Symbol0>"));
  100607. B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty26, A.findType("ConstantStringMap<Symbol0,@>"));
  100608. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_String);
  100609. B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty27, A.findType("ConstantStringMap<String?,String>"));
  100610. B.OptionType_YwU = new A.OptionType("OptionType.single");
  100611. B.OptionType_nMZ = new A.OptionType("OptionType.flag");
  100612. B.OptionType_qyr = new A.OptionType("OptionType.multiple");
  100613. B.OutputStyle_0 = new A.OutputStyle("expanded");
  100614. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  100615. B.OutputStyle_1 = new A.OutputStyle("compressed");
  100616. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  100617. B.SassBoolean_false = new A.SassBoolean(false);
  100618. B.SassBoolean_false0 = new A.SassBoolean0(false);
  100619. B.SassBoolean_true = new A.SassBoolean(true);
  100620. B.SassBoolean_true0 = new A.SassBoolean0(true);
  100621. B.SassList_Sof = new A.SassList(B.List_empty7, B.ListSeparator_rXA, false);
  100622. B.SassList_Sof0 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, false);
  100623. B.SassList_nj9 = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  100624. B.Map_empty13 = new A.ConstantStringMap(0, {}, B.List_empty7, A.findType("ConstantStringMap<Value,Value>"));
  100625. B.SassMap_Map_empty = new A.SassMap(B.Map_empty13);
  100626. B.Map_empty14 = new A.ConstantStringMap(0, {}, B.List_empty19, A.findType("ConstantStringMap<Value0,Value0>"));
  100627. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty14);
  100628. B.Map_2Vaha = new A.GeneralConstantMap([91, null, 46, null, 35, null, 37, null, 58, null, 38, null, 42, null, 124, null], A.findType("GeneralConstantMap<int,Null>"));
  100629. B.Set_2Vk2 = new A._UnmodifiableSet(B.Map_2Vaha, A.findType("_UnmodifiableSet<int>"));
  100630. B.List_is_matches_where = A._setArrayType(makeConstList(["is", "matches", "where"]), type$.JSArray_String);
  100631. B.Map_YEyLX = new A.ConstantStringMap(3, {is: null, matches: null, where: null}, B.List_is_matches_where, type$.ConstantStringMap_String_Null);
  100632. B.Set_YEQji = new A._UnmodifiableSet(B.Map_YEyLX, type$._UnmodifiableSet_String);
  100633. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery);
  100634. B.Map_empty15 = new A.ConstantStringMap(0, {}, B.List_empty28, A.findType("ConstantStringMap<CssMediaQuery,Null>"));
  100635. B.Set_empty0 = new A._UnmodifiableSet(B.Map_empty15, A.findType("_UnmodifiableSet<CssMediaQuery>"));
  100636. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_CssMediaQuery_2);
  100637. B.Map_empty16 = new A.ConstantStringMap(0, {}, B.List_empty29, A.findType("ConstantStringMap<CssMediaQuery0,Null>"));
  100638. B.Set_empty4 = new A._UnmodifiableSet(B.Map_empty16, A.findType("_UnmodifiableSet<CssMediaQuery0>"));
  100639. B.List_empty30 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable);
  100640. B.Map_empty17 = new A.ConstantStringMap(0, {}, B.List_empty30, A.findType("ConstantStringMap<Module<AsyncCallable>,Null>"));
  100641. B.Set_empty1 = new A._UnmodifiableSet(B.Map_empty17, A.findType("_UnmodifiableSet<Module<AsyncCallable>>"));
  100642. B.List_empty31 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable);
  100643. B.Map_empty18 = new A.ConstantStringMap(0, {}, B.List_empty31, A.findType("ConstantStringMap<Module<Callable>,Null>"));
  100644. B.Set_empty = new A._UnmodifiableSet(B.Map_empty18, A.findType("_UnmodifiableSet<Module<Callable>>"));
  100645. B.List_empty32 = A._setArrayType(makeConstList([]), type$.JSArray_Module_AsyncCallable_2);
  100646. B.Map_empty19 = new A.ConstantStringMap(0, {}, B.List_empty32, A.findType("ConstantStringMap<Module0<AsyncCallable0>,Null>"));
  100647. B.Set_empty5 = new A._UnmodifiableSet(B.Map_empty19, A.findType("_UnmodifiableSet<Module0<AsyncCallable0>>"));
  100648. B.List_empty33 = A._setArrayType(makeConstList([]), type$.JSArray_Module_Callable_2);
  100649. B.Map_empty20 = new A.ConstantStringMap(0, {}, B.List_empty33, A.findType("ConstantStringMap<Module0<Callable0>,Null>"));
  100650. B.Set_empty3 = new A._UnmodifiableSet(B.Map_empty20, A.findType("_UnmodifiableSet<Module0<Callable0>>"));
  100651. B.List_empty34 = A._setArrayType(makeConstList([]), type$.JSArray_StylesheetNode);
  100652. B.Map_empty21 = new A.ConstantStringMap(0, {}, B.List_empty34, A.findType("ConstantStringMap<StylesheetNode,Null>"));
  100653. B.Set_empty2 = new A._UnmodifiableSet(B.Map_empty21, A.findType("_UnmodifiableSet<StylesheetNode>"));
  100654. B.StderrLogger_false = new A.StderrLogger(false);
  100655. B.StderrLogger_false0 = new A.StderrLogger0(false);
  100656. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  100657. B.Symbol__inImportRule = new A.Symbol("_inImportRule");
  100658. B.Symbol_call = new A.Symbol("call");
  100659. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  100660. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  100661. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  100662. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  100663. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  100664. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  100665. B.List_empty35 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue<SelectorList>>"));
  100666. B.Map_empty22 = new A.ConstantStringMap(0, {}, B.List_empty35, A.findType("ConstantStringMap<CssValue<SelectorList>,ModifiableCssValue<SelectorList>>"));
  100667. B.Tuple2_EmptyExtensionStore_Map_empty = new A.Tuple2(B.C_EmptyExtensionStore, B.Map_empty22, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList);
  100668. B.List_empty36 = A._setArrayType(makeConstList([]), A.findType("JSArray<CssValue0<SelectorList0>>"));
  100669. B.Map_empty23 = new A.ConstantStringMap(0, {}, B.List_empty36, A.findType("ConstantStringMap<CssValue0<SelectorList0>,ModifiableCssValue0<SelectorList0>>"));
  100670. B.Tuple2_EmptyExtensionStore_Map_empty0 = new A.Tuple2(B.C_EmptyExtensionStore0, B.Map_empty23, type$.Tuple2_of_ExtensionStore_and_Map_of_CssValue_SelectorList_and_ModifiableCssValue_SelectorList_2);
  100671. B.Type_Null_Yyn = A.typeLiteral("Null");
  100672. B.Type_Object_xQ6 = A.typeLiteral("Object");
  100673. B.UnaryOperator_Ix1 = new A.UnaryOperator("divide", "/", "divide");
  100674. B.UnaryOperator_Ix10 = new A.UnaryOperator0("divide", "/", "divide");
  100675. B.UnaryOperator_TLI = new A.UnaryOperator("minus", "-", "minus");
  100676. B.UnaryOperator_TLI0 = new A.UnaryOperator0("minus", "-", "minus");
  100677. B.UnaryOperator_gg4 = new A.UnaryOperator("plus", "+", "plus");
  100678. B.UnaryOperator_gg40 = new A.UnaryOperator0("plus", "+", "plus");
  100679. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  100680. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  100681. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  100682. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  100683. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  100684. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  100685. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  100686. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  100687. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  100688. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  100689. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  100690. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  100691. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  100692. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  100693. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  100694. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  100695. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  100696. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  100697. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  100698. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  100699. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  100700. B._IterationMarker_null_2 = new A._IterationMarker(null, 2);
  100701. B._PathDirection_8Gl = new A._PathDirection("at root");
  100702. B._PathDirection_988 = new A._PathDirection("below root");
  100703. B._PathDirection_FIw = new A._PathDirection("reaches root");
  100704. B._PathDirection_ZGD = new A._PathDirection("above root");
  100705. B._PathRelation_different = new A._PathRelation("different");
  100706. B._PathRelation_equal = new A._PathRelation("equal");
  100707. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  100708. B._PathRelation_within = new A._PathRelation("within");
  100709. B._SingletonCssMediaQueryMergeResult_empty = new A._SingletonCssMediaQueryMergeResult("empty");
  100710. B._SingletonCssMediaQueryMergeResult_empty0 = new A._SingletonCssMediaQueryMergeResult0("empty");
  100711. B._SingletonCssMediaQueryMergeResult_unrepresentable = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  100712. B._SingletonCssMediaQueryMergeResult_unrepresentable0 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  100713. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  100714. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  100715. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  100716. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  100717. B._StringStackTrace_3uE = new A._StringStackTrace("");
  100718. B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  100719. B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  100720. B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  100721. B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  100722. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  100723. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  100724. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  100725. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  100726. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  100727. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  100728. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  100729. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  100730. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  100731. B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  100732. })();
  100733. (function staticFields() {
  100734. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  100735. $.printToZone = null;
  100736. $.Primitives__identityHashCodeProperty = null;
  100737. $.BoundClosure__receiverFieldNameCache = null;
  100738. $.BoundClosure__interceptorFieldNameCache = null;
  100739. $.getTagFunction = null;
  100740. $.alternateTagFunction = null;
  100741. $.prototypeForTagFunction = null;
  100742. $.dispatchRecordsForInstanceTags = null;
  100743. $.interceptorsForUncacheableTags = null;
  100744. $.initNativeDispatchFlag = null;
  100745. $._nextCallback = null;
  100746. $._lastCallback = null;
  100747. $._lastPriorityCallback = null;
  100748. $._isInCallbackLoop = false;
  100749. $.Zone__current = B.C__RootZone;
  100750. $._RootZone__rootDelegate = null;
  100751. $._toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  100752. $._fs = null;
  100753. $._currentUriBase = null;
  100754. $._current = null;
  100755. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  100756. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  100757. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  100758. $._realCaseCache = function() {
  100759. var t1 = type$.String;
  100760. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  100761. }();
  100762. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  100763. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  100764. $._glyphs = B.C_UnicodeGlyphSet;
  100765. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  100766. $._realCaseCache0 = function() {
  100767. var t1 = type$.String;
  100768. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  100769. }();
  100770. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  100771. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  100772. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  100773. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  100774. })();
  100775. (function lazyInitializers() {
  100776. var _lazyFinal = hunkHelpers.lazyFinal,
  100777. _lazy = hunkHelpers.lazy;
  100778. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  100779. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  100780. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  100781. toString: function() {
  100782. return "$receiver$";
  100783. }
  100784. })));
  100785. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  100786. toString: function() {
  100787. return "$receiver$";
  100788. }
  100789. })));
  100790. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  100791. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100792. var $argumentsExpr$ = "$arguments$";
  100793. try {
  100794. null.$method$($argumentsExpr$);
  100795. } catch (e) {
  100796. return e.message;
  100797. }
  100798. }()));
  100799. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  100800. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100801. var $argumentsExpr$ = "$arguments$";
  100802. try {
  100803. (void 0).$method$($argumentsExpr$);
  100804. } catch (e) {
  100805. return e.message;
  100806. }
  100807. }()));
  100808. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  100809. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100810. try {
  100811. null.$method$;
  100812. } catch (e) {
  100813. return e.message;
  100814. }
  100815. }()));
  100816. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  100817. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  100818. try {
  100819. (void 0).$method$;
  100820. } catch (e) {
  100821. return e.message;
  100822. }
  100823. }()));
  100824. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  100825. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  100826. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  100827. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  100828. var t1 = type$.dynamic;
  100829. return A.HashMap_HashMap(t1, t1);
  100830. });
  100831. _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
  100832. _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
  100833. _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))));
  100834. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
  100835. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  100836. _lazy($, "_hasErrorStackProperty", "$get$_hasErrorStackProperty", () => new Error().stack != void 0);
  100837. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
  100838. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  100839. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  100840. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  100841. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  100842. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  100843. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  100844. _lazyFinal($, "context", "$get$context", () => new A.Context(type$.InternalStyle._as($.$get$Style_platform()), null));
  100845. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  100846. _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)));
  100847. _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)));
  100848. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  100849. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  100850. _lazyFinal($, "colorsByName", "$get$colorsByName", () => {
  100851. var _null = null;
  100852. 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);
  100853. });
  100854. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  100855. var t2, t3,
  100856. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor, type$.String);
  100857. for (t2 = $.$get$colorsByName(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  100858. t3 = t2.get$current(t2);
  100859. t1.$indexSet(0, t3.value, t3.key);
  100860. }
  100861. return t1;
  100862. });
  100863. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  100864. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  100865. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  100866. var t1 = type$.BuiltInCallable,
  100867. t2 = A.List_List$of($.$get$global0(), true, t1);
  100868. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  100869. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  100870. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  100871. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  100872. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  100873. B.JSArray_methods.addAll$1(t2, $.$get$global());
  100874. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  100875. return A.UnmodifiableListView$(t2, t1);
  100876. });
  100877. _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));
  100878. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  100879. _lazyFinal($, "global", "$get$global0", () => {
  100880. var _s27_ = "$red, $green, $blue, $alpha",
  100881. _s19_ = "$red, $green, $blue",
  100882. _s37_ = "$hue, $saturation, $lightness, $alpha",
  100883. _s29_ = "$hue, $saturation, $lightness",
  100884. _s17_ = "$hue, $saturation",
  100885. _s15_ = "$color, $amount",
  100886. t1 = type$.String,
  100887. t2 = type$.Value_Function_List_Value;
  100888. 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);
  100889. });
  100890. _lazyFinal($, "module", "$get$module", () => {
  100891. var _s9_ = "lightness",
  100892. _s10_ = "saturation",
  100893. _s6_ = "$color", _s5_ = "alpha",
  100894. t1 = type$.String,
  100895. t2 = type$.Value_Function_List_Value;
  100896. return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure()), $.$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_closure0()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure1(), "$channels", new A.module_closure2()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure3()), A._function4("blackness", _s6_, new A.module_closure4()), 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_closure5(), "$args...", new A.module_closure6()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure7()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_Callable), null, null, type$.Callable);
  100897. });
  100898. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  100899. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  100900. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  100901. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  100902. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  100903. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  100904. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  100905. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  100906. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  100907. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  100908. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  100909. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  100910. _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));
  100911. _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));
  100912. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  100913. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  100914. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  100915. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  100916. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  100917. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  100918. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  100919. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  100920. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  100921. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  100922. _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));
  100923. _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));
  100924. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  100925. _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)));
  100926. _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)));
  100927. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  100928. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  100929. _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)));
  100930. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  100931. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  100932. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  100933. _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));
  100934. _lazyFinal($, "module2", "$get$module2", () => {
  100935. var _null = null;
  100936. 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);
  100937. });
  100938. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  100939. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  100940. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  100941. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  100942. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  100943. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  100944. _lazyFinal($, "_abs", "$get$_abs", () => A._numberFunction("abs", new A._abs_closure()));
  100945. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  100946. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  100947. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  100948. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._function1("sqrt", "$number", new A._sqrt_closure()));
  100949. _lazyFinal($, "_acos", "$get$_acos", () => A._function1("acos", "$number", new A._acos_closure()));
  100950. _lazyFinal($, "_asin", "$get$_asin", () => A._function1("asin", "$number", new A._asin_closure()));
  100951. _lazyFinal($, "_atan", "$get$_atan", () => A._function1("atan", "$number", new A._atan_closure()));
  100952. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  100953. _lazyFinal($, "_cos", "$get$_cos", () => A._function1("cos", "$number", new A._cos_closure()));
  100954. _lazyFinal($, "_sin", "$get$_sin", () => A._function1("sin", "$number", new A._sin_closure()));
  100955. _lazyFinal($, "_tan", "$get$_tan", () => A._function1("tan", "$number", new A._tan_closure()));
  100956. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  100957. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  100958. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  100959. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  100960. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  100961. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  100962. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  100963. _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));
  100964. _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));
  100965. _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));
  100966. _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));
  100967. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  100968. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  100969. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  100970. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  100971. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  100972. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  100973. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  100974. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  100975. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  100976. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  100977. _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));
  100978. _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()], type$.JSArray_Callable), null, null, type$.Callable));
  100979. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  100980. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  100981. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  100982. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  100983. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  100984. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  100985. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  100986. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  100987. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  100988. _lazyFinal($, "stderr", "$get$stderr", () => new A.Stderr(J.get$stderr$x(self.process)));
  100989. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  100990. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  100991. var t1 = $.$get$globalFunctions();
  100992. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  100993. t1.add$1(0, "if");
  100994. t1.remove$1(0, "rgb");
  100995. t1.remove$1(0, "rgba");
  100996. t1.remove$1(0, "hsl");
  100997. t1.remove$1(0, "hsla");
  100998. t1.remove$1(0, "grayscale");
  100999. t1.remove$1(0, "invert");
  101000. t1.remove$1(0, "alpha");
  101001. t1.remove$1(0, "opacity");
  101002. t1.remove$1(0, "saturate");
  101003. return t1;
  101004. });
  101005. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  101006. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  101007. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  101008. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  101009. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  101010. var t2, t3, t4,
  101011. t1 = type$.String;
  101012. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  101013. for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  101014. t3 = t2.get$current(t2);
  101015. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  101016. t1.$indexSet(0, t4.get$current(t4), t3);
  101017. }
  101018. return t1;
  101019. });
  101020. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  101021. var _i, set, t2,
  101022. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  101023. for (_i = 0; _i < 5; ++_i) {
  101024. set = B.List_AqW[_i];
  101025. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  101026. t1.$indexSet(0, t2.get$current(t2), set);
  101027. }
  101028. return t1;
  101029. });
  101030. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  101031. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  101032. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  101033. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  101034. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  101035. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  101036. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  101037. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  101038. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  101039. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  101040. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  101041. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  101042. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  101043. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  101044. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  101045. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  101046. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  101047. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  101048. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  101049. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  101050. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  101051. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  101052. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  101053. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  101054. _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
  101055. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  101056. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  101057. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  101058. _lazyFinal($, "global6", "$get$global7", () => {
  101059. var _s27_ = "$red, $green, $blue, $alpha",
  101060. _s19_ = "$red, $green, $blue",
  101061. _s37_ = "$hue, $saturation, $lightness, $alpha",
  101062. _s29_ = "$hue, $saturation, $lightness",
  101063. _s17_ = "$hue, $saturation",
  101064. _s15_ = "$color, $amount",
  101065. t1 = type$.String,
  101066. t2 = type$.Value_Function_List_Value_2;
  101067. 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);
  101068. });
  101069. _lazyFinal($, "module5", "$get$module5", () => {
  101070. var _s9_ = "lightness",
  101071. _s10_ = "saturation",
  101072. _s6_ = "$color", _s5_ = "alpha",
  101073. t1 = type$.String,
  101074. t2 = type$.Value_Function_List_Value_2;
  101075. return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure8()), $.$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_closure9()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure10(), "$channels", new A.module_closure11()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure12()), A._function11("blackness", _s6_, new A.module_closure13()), 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_closure14(), "$args...", new A.module_closure15()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure16()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_Callable_2), null, null, type$.Callable_2);
  101076. });
  101077. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  101078. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  101079. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  101080. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  101081. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  101082. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  101083. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  101084. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  101085. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  101086. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  101087. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  101088. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  101089. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  101090. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  101091. 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));
  101092. return t1;
  101093. });
  101094. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  101095. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => {
  101096. var _null = null;
  101097. 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);
  101098. });
  101099. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  101100. var t2, t3,
  101101. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.SassColor_2, type$.String);
  101102. for (t2 = $.$get$colorsByName0(), t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  101103. t3 = t2.get$current(t2);
  101104. t1.$indexSet(0, t3.value, t3.key);
  101105. }
  101106. return t1;
  101107. });
  101108. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  101109. var t1 = $.$get$globalFunctions0();
  101110. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  101111. t1.add$1(0, "if");
  101112. t1.remove$1(0, "rgb");
  101113. t1.remove$1(0, "rgba");
  101114. t1.remove$1(0, "hsl");
  101115. t1.remove$1(0, "hsla");
  101116. t1.remove$1(0, "grayscale");
  101117. t1.remove$1(0, "invert");
  101118. t1.remove$1(0, "alpha");
  101119. t1.remove$1(0, "opacity");
  101120. t1.remove$1(0, "saturate");
  101121. return t1;
  101122. });
  101123. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  101124. _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
  101125. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  101126. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  101127. var t1 = type$.BuiltInCallable_2,
  101128. t2 = A.List_List$of($.$get$global7(), true, t1);
  101129. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  101130. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  101131. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  101132. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  101133. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  101134. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  101135. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  101136. return A.UnmodifiableListView$(t2, t1);
  101137. });
  101138. _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));
  101139. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  101140. _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));
  101141. _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));
  101142. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  101143. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  101144. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  101145. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  101146. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  101147. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  101148. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  101149. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  101150. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  101151. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  101152. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  101153. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  101154. 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));
  101155. return t1;
  101156. });
  101157. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  101158. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  101159. _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));
  101160. _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));
  101161. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  101162. _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)));
  101163. _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)));
  101164. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  101165. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  101166. _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)));
  101167. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  101168. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  101169. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  101170. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  101171. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  101172. 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));
  101173. return t1;
  101174. });
  101175. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  101176. _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));
  101177. _lazyFinal($, "module8", "$get$module8", () => {
  101178. var _null = null;
  101179. 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);
  101180. });
  101181. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  101182. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  101183. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  101184. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  101185. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  101186. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  101187. _lazyFinal($, "_abs0", "$get$_abs0", () => A._numberFunction0("abs", new A._abs_closure0()));
  101188. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  101189. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  101190. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  101191. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._function8("sqrt", "$number", new A._sqrt_closure0()));
  101192. _lazyFinal($, "_acos0", "$get$_acos0", () => A._function8("acos", "$number", new A._acos_closure0()));
  101193. _lazyFinal($, "_asin0", "$get$_asin0", () => A._function8("asin", "$number", new A._asin_closure0()));
  101194. _lazyFinal($, "_atan0", "$get$_atan0", () => A._function8("atan", "$number", new A._atan_closure0()));
  101195. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  101196. _lazyFinal($, "_cos0", "$get$_cos0", () => A._function8("cos", "$number", new A._cos_closure0()));
  101197. _lazyFinal($, "_sin0", "$get$_sin0", () => A._function8("sin", "$number", new A._sin_closure0()));
  101198. _lazyFinal($, "_tan0", "$get$_tan0", () => A._function8("tan", "$number", new A._tan_closure0()));
  101199. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  101200. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  101201. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  101202. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  101203. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  101204. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  101205. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  101206. _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));
  101207. _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));
  101208. _lazyFinal($, "stderr0", "$get$stderr0", () => new A.Stderr0(J.get$stderr$x(self.process)));
  101209. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  101210. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  101211. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  101212. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  101213. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  101214. 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));
  101215. return t1;
  101216. });
  101217. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  101218. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  101219. var t2, t3, t4,
  101220. t1 = type$.String;
  101221. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  101222. for (t2 = B.Map_U8AHF.get$entries(B.Map_U8AHF), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  101223. t3 = t2.get$current(t2);
  101224. for (t4 = J.get$iterator$ax(t3.value), t3 = t3.key; t4.moveNext$0();)
  101225. t1.$indexSet(0, t4.get$current(t4), t3);
  101226. }
  101227. return t1;
  101228. });
  101229. _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));
  101230. _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));
  101231. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  101232. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  101233. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  101234. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  101235. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  101236. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  101237. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  101238. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  101239. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  101240. var _i, set, t2,
  101241. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  101242. for (_i = 0; _i < 5; ++_i) {
  101243. set = B.List_AqW[_i];
  101244. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  101245. t1.$indexSet(0, t2.get$current(t2), set);
  101246. }
  101247. return t1;
  101248. });
  101249. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  101250. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  101251. _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));
  101252. _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()], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  101253. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  101254. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  101255. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  101256. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  101257. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  101258. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  101259. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  101260. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  101261. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  101262. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  101263. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  101264. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  101265. return t1;
  101266. });
  101267. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  101268. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  101269. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  101270. _lazyFinal($, "_jsThrow", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  101271. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  101272. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  101273. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  101274. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  101275. })();
  101276. (function nativeSupport() {
  101277. !function() {
  101278. var intern = function(s) {
  101279. var o = {};
  101280. o[s] = 1;
  101281. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  101282. };
  101283. init.getIsolateTag = function(name) {
  101284. return intern("___dart_" + name + init.isolateTag);
  101285. };
  101286. var tableProperty = "___dart_isolate_tags_";
  101287. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  101288. var rootProperty = "_ZxYxX";
  101289. for (var i = 0;; i++) {
  101290. var property = intern(rootProperty + "_" + i + "_");
  101291. if (!(property in usedProperties)) {
  101292. usedProperties[property] = 1;
  101293. init.isolateTag = property;
  101294. break;
  101295. }
  101296. }
  101297. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  101298. }();
  101299. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: J.Interceptor, DataView: A.NativeTypedData, ArrayBufferView: A.NativeTypedData, Float32Array: A.NativeTypedArrayOfDouble, Float64Array: A.NativeTypedArrayOfDouble, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  101300. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, DataView: true, ArrayBufferView: false, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  101301. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  101302. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101303. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101304. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  101305. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101306. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  101307. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  101308. })();
  101309. Function.prototype.call$0 = function() {
  101310. return this();
  101311. };
  101312. Function.prototype.call$1 = function(a) {
  101313. return this(a);
  101314. };
  101315. Function.prototype.call$2 = function(a, b) {
  101316. return this(a, b);
  101317. };
  101318. Function.prototype.call$3$1 = function(a) {
  101319. return this(a);
  101320. };
  101321. Function.prototype.call$2$1 = function(a) {
  101322. return this(a);
  101323. };
  101324. Function.prototype.call$1$1 = function(a) {
  101325. return this(a);
  101326. };
  101327. Function.prototype.call$3 = function(a, b, c) {
  101328. return this(a, b, c);
  101329. };
  101330. Function.prototype.call$4 = function(a, b, c, d) {
  101331. return this(a, b, c, d);
  101332. };
  101333. Function.prototype.call$3$3 = function(a, b, c) {
  101334. return this(a, b, c);
  101335. };
  101336. Function.prototype.call$2$2 = function(a, b) {
  101337. return this(a, b);
  101338. };
  101339. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  101340. return this(a, b, c, d, e, f);
  101341. };
  101342. Function.prototype.call$5 = function(a, b, c, d, e) {
  101343. return this(a, b, c, d, e);
  101344. };
  101345. Function.prototype.call$1$0 = function() {
  101346. return this();
  101347. };
  101348. Function.prototype.call$2$0 = function() {
  101349. return this();
  101350. };
  101351. Function.prototype.call$2$3 = function(a, b, c) {
  101352. return this(a, b, c);
  101353. };
  101354. Function.prototype.call$1$2 = function(a, b) {
  101355. return this(a, b);
  101356. };
  101357. convertAllToFastObject(holders);
  101358. convertToFastObject($);
  101359. (function(callback) {
  101360. if (typeof document === "undefined") {
  101361. callback(null);
  101362. return;
  101363. }
  101364. if (typeof document.currentScript != "undefined") {
  101365. callback(document.currentScript);
  101366. return;
  101367. }
  101368. var scripts = document.scripts;
  101369. function onLoad(event) {
  101370. for (var i = 0; i < scripts.length; ++i)
  101371. scripts[i].removeEventListener("load", onLoad, false);
  101372. callback(event.target);
  101373. }
  101374. for (var i = 0; i < scripts.length; ++i)
  101375. scripts[i].addEventListener("load", onLoad, false);
  101376. })(function(currentScript) {
  101377. init.currentScript = currentScript;
  101378. var callMain = A.main1;
  101379. if (typeof dartMainRunner === "function")
  101380. dartMainRunner(callMain, []);
  101381. else
  101382. callMain([]);
  101383. });
  101384. })();
  101385. }